SDXL Refiner 提示詞

使用精煉模型增強SDXL圖像。

Input

Describe the image. The base model draws it from this prompt.

The prompt the refiner uses to add detail in the last steps; usually the same as the prompt, or a more detailed version of it.

SDXL works best at about 1 megapixel, e.g. 1024×1024 or 1344×768.

SDXL works best at about 1 megapixel, e.g. 1024×1024 or 1344×768.

Advanced settings

How closely to follow the prompt.

Default: 8

What to avoid in the result.

The step where the refiner takes over from the base model. Keep it below Steps; about 80% of Steps works well.

Default: 20

Leave empty for a new result each run. Enter a number to repeat one.

Total sampling steps, shared by the base and the refiner.

Default: 25

Output
Output
Example

試試範例

關於此工作流程

此 ComfyUI 工作流程用於透過 refiner 模型,強化由 Stable Diffusion XL(SDXL)模型生成的圖片。它利用一系列節點產生更精緻的輸出,兼顧品質與觀感。工作流程先使用 CheckpointLoaderSimple 節點載入基礎 SDXL 模型,該節點會針對所選 SD 模型版本自動套用最佳化設定。接著,使用 EmptyLatentImage 節點生成初始 latent 圖,作為後續精修的畫布。

此工作流程的核心在於使用 CLIPTextEncode 節點解讀文字提示詞,來引導圖像生成流程。KSamplerAdvanced 節點會向影像加入可控雜訊,讓模型以迭代方式精修並提升輸出。精修完成後,VAEDecode 節點把 latent 資料轉換為可見影像格式,以便進行最後調整。最後由 SaveImage 節點將強化後影像以 PNG 格式保存。此工作流程特別適合需要高品質精修影像的創作者與設計師,因為它結合了 SDXL 模型與進階的精修技術。

問答