FLUX.2 Klein 9B:圖像擴充

使用FLUX.2 Klein 9B模型智慧擴充和展開圖像內容。輸入圖像以產生無縫擴圖和擴充構圖。

Input

The picture to extend; the new area is painted to match it.

Pixels to add at the bottom.

Pixels to add on the left (after scaling the image to about 1.5 MP).

Pixels to add on the right.

Pixels to add at the top.

Advanced settings

Soft blend width at the seam, in pixels.

Default: 40

The edit instruction. The new area is marked green; the default asks the model to fill it in.

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

Flux.2 Klein is distilled for 4 steps.

Default: 4

Output
Output
Example

試試範例

關於此工作流程

「FLUX.2 Klein 9B:圖像擴展」工作流程專為利用 FLUX.2 Klein 9B 模型擴展與增強圖像而設計。此流程擅長外延(outpainting),即在維持原始風格與內容下,延伸圖像邊界。流程結合 SamplerCustomAdvanced、CLIPLoader、RandomNoise 等進階節點,產生無縫延伸的圖像。透過 ComfyUI-Color-Matcher 與 comfyui-kjnodes,確保色彩一致與風格連貫,特別適合藝術家與設計師將有限素材擴展為大幅構圖。

技術上,流程先用 LoadImage 載入圖像,經 VAEEncode 節點編碼至潛在空間,再用 ImagePadForOutpaint 節點擴展畫布。Flux2Scheduler 與 UNETLoader 節點協同產生新圖像內容,自然融合原有內容。CFGGuider 與 KSamplerSelect 節點根據提示詞與條件細緻調控生成。外延完成後,VAEDecode 節點將潛在表示轉回可見圖像,供儲存或後續編輯。

問答