Flux.1 dev seamless outpainting workflow
詳細
ファイルをダウンロード
モデル説明
これはFlux.1 devモデル用のシームレスなアウトペンティングワークフローであり、プロンプトは不要です。画像の境界を跡を残すことなくシームレスに接合し、任何のプロンプトなしでローカルな画像拡張が可能です。
1. マスク設定 mask
マスクの塗り方は2通りあります(デフォルトは最初の方法)。
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)alimamaスタジオの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。
- AlimamaスタジオのFlux Dev ControlNet Inpainting Betaモデル。
•ダウンロード後、models/controlnet/fluxフォルダにファイルを配置してください。
•ダウンロードリンク:https://huggingface.co/alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta/tree/main。

