Segment anything and edit, swap, inpaint on them using Flux.2 Klein (or Dev)! Crop and stitch makes it so irrelevant parts of the image will not be altered, it will be faster and you can precisely control which edit...
Profil d'exécution
Description de la source
Segment anything and edit, swap, inpaint on them using Flux.2 Klein (or Dev)! Crop and stitch makes it so irrelevant parts of the image will not be altered, it will be faster and you can precisely control which edit (or reference image) goes where.
How to use the workflow
IMPORTANT TL;DR first on setting up the most important things. After setting the models, you have to at least prompt on the initialize node (top prompt will be applied to each segment, bottom is per-segment-prompt). At the Reference settings you have to prompt what to edit. These are the most important things, the rest you can adjust as you get to know the workflow better.
Initialize
Commentaire généré par l’IA
Explication générée par l’IA à partir des détails de la source et de la configuration. Les suggestions sont clairement signalées.
Use Flux.2 / Klein Inpaint Segment Ultimate Edit to segment parts of an input image and edit, swap, or inpaint them with Flux.2 Klein or Dev. It takes an image, model, CLIP, VAE, prompts, and optional reference images, and produces edited images.
It segments prompted areas, applies a shared prompt and per-segment prompts, and can process all resulting segments or only selected ones.
Crop-and-stitch focuses edits on selected areas; unmasked areas are not touched.
Choose a simple edit with no reference images or a reference edit with up to four reference images; both options have SAM2 and SAM3 versions.
When there are more segments than reference images, the remaining segments run as normal edits without a reference.
Select the model, CLIP, and VAE, upload the image, and enter a shared prompt plus one prompt per segment on Initialize.
For a reference edit, prompt what to edit in Reference settings and preview the segments before selecting which to use.
Suggestion · non vérifié
The listed model files are flux-2-klein-9b.safetensors, flux2-vae.safetensors, and qwen_3_8b.safetensors.
The listed node packs include ComfyUI_Comfyroll_CustomNodes, comfyui_essentials, comfyui_layerstyle, comfyui-crystools, comfyui-easy-use, and comfyui-impact-pack.
They also include comfyui-inpaint-cropandstitch, comfyui-kjnodes, comfyui-rmbg, masquerade-nodes-comfyui, pr-was-node-suite-comfyui-47064894, and was-ns.
Reference settings let you adjust reference-image scale, background removal, the target segment prompt, segmentation confidence, mask expansion or blur, subtraction of protected areas, SAM2 or SAM3, and whether to use all or selected segments.
Sampling settings include random or manual seed, steps, sampler, guidance, Flux.2, Beta with model, or normal schedulers, plus segmented-area scaling during cropping.
A segmentation confidence around 0.3–0.5 is suggested.
Suggestion · non vérifié
Before use, verify that flux2-vae.safetensors, pr-was-node-suite-comfyui-47064894, and was-ns are available in your ComfyUI setup.
Suggestion · non vérifié
Faut-il modifier cela ?
Connectez-vous pour envoyer une demande de modification.
Sources
1 sourceExtraits de sources
1 extraitSource context: 2215 downloads · Type Workflows · Base model Flux.2 Klein 9B
Reference settings
Load image 1-4
Loop sampler
I have included 2 types of workflows, both with SAM2 and SAM3 version:
Estimation des besoins VRAM
Estimation indisponible
32,2 GB sur 2 de 3 fichiers de modèle. Total des fichiers du modèle + 25 % de surcharge de chargement + 2 Go de tampon d'exécution, arrondi à l'unité supérieure.
Exigences
Exigences 15Checkpoint · 16.9 GB · SAFETENSORS · bf16 · full · Unknown
flux2-vae.safetensors
PossibleVAE · Unknown
Text encoder · 15.3 GB · SAFETENSORS · Unknown
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
pr-was-node-suite-comfyui-47064894
Non résoluPack de nœud · Registry
was-ns
Non résoluPack de nœud · Registry