Flux.1 dev seamless outpainting workflow
详情
下载文件
模型描述
这是一个适用于Flux.1开发模型的无缝外绘工作流,无需任何提示词。它能无缝衔接图像边缘而不留痕迹,并支持局部图像扩展,完全无需输入任何提示词。
1. 蒙版设置 mask
蒙版的涂抹方式有两种(默认第一种)。
1) 在需要扩图的边缘,涂上不规则的蒙版,以防止图像衔接处过于明显,此时需在LayerUnity中开启invert mask(默认已开启)。
2) 对不想改变的主体涂上蒙版,并使用较不规则的蒙版边缘,此时需在LayerUnity中关闭invert mask。
There are two ways to apply the mask (with the first option being the default):
1) Apply an irregular mask to the edges where the image needs to be extended, to prevent the image seams from being too noticeable. In this case, make sure to enable “invert mask” in LayerUnity (this is enabled by default).
2) Apply a mask to the subject you don’t want to change, using a more irregular mask edge. In this case, make sure to disable “invert mask” in LayerUnity.
2. 参数 setting
1)x_percent y_percent
x_percent 增大,图像主体右移,反之左移。
y_percent 增大,图像主体上移,反之下移。
When x_percent increases, the main subject of the image shifts to the right, and vice versa to the left.
When y_percent increases, the main subject of the image moves upwards, and vice versa downwards.
2)expand
开启invert 时,expand设为-1
关闭invert 时,expand设为1
默认开启invert,expand为-1
When “invert” is enabled, set “expand” to -1.
When “invert” is disabled, set “expand” to 1.
By default, “invert” is enabled, and “expand” is set to -1.
3、模型 model
1)LLM 模型:大语言模型组,首次运行会自动下载,若下载失败可手动下载后放置于 ComfyUI/models/LLM/unsloth--Meta-Llama-3.1-8B-Instruct 文件夹,下载地址:https://huggingface.co/unsloth/Meta-Llama-3.1-8B-Instruct(全部文件)
2)Clip Vision:https://huggingface.co/google/siglip-so400m-patch14-384/tree/main 下载所有文件并放置于 ComfyUI\models\clip_vision\google--siglip-so400m-patch14-384 文件夹
3)Joy Caption LoRA:https://huggingface.co/spaces/fancyfeast/joy-caption-alpha-two 下载所有文件并放置于 ComfyUI\models\Joy_caption\cgrkzexw-599808
4)阿里巴巴工作室的 Flux Dev ControlNet Inpainting Beta 模型,下载后放入 models/controlnet/flux 文件夹,下载地址:https://huggingface.co/alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta/tree/main
1)LLM 模型:
• 大语言模型组将在首次运行时自动下载。
• 若下载失败,可手动下载文件并放置于以下文件夹:
ComfyUI/models/LLM/unsloth--Meta-Llama-3.1-8B-Instruct
• 下载地址:https://huggingface.co/unsloth/Meta-Llama-3.1-8B-Instruct(下载所有文件)
2)Clip Vision:
• 从以下地址下载所有文件:
https://huggingface.co/google/siglip-so400m-patch14-384/tree/main
• 放置于文件夹:
ComfyUI/models/clip_vision/google--siglip-so400m-patch14-384
3)Joy Caption LoRA:
• 从以下地址下载所有文件:https://huggingface.co/spaces/fancyfeast/joy-caption-alpha-two
• 放置于文件夹:
ComfyUI/models/Joy_caption/cgrkzexw-599808
4)阿里巴巴工作室的 Flux Dev ControlNet Inpainting Beta 模型:
• 下载后放入 models/controlnet/flux 文件夹
• 下载地址:https://huggingface.co/alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta/tree/main

