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...
Perfil de ejecución
Descripción de la fuente
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
Comentario generado por IA
Explicación generada por IA basada en los detalles de la fuente y la configuración. Las sugerencias están claramente identificadas.
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.
Sugerencia · sin verificar
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.
Sugerencia · sin verificar
Before use, verify that flux2-vae.safetensors, pr-was-node-suite-comfyui-47064894, and was-ns are available in your ComfyUI setup.
Sugerencia · sin verificar
¿Es necesario editarlo?
Inicia sesión para solicitar una edición.
Fuentes
1 fuenteExtractos de fuentes
1 extractoSource 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:
Requisito de VRAM estimado
Estimación no disponible
32,2 GB en 2 de 3 archivos de modelos. Total de archivos de modelos + 25 % de sobrecarga de carga + 2 GB de margen de ejecución, redondeado hacia arriba.
Requisitos
15 requisitosCheckpoint · 16.9 GB · SAFETENSORS · bf16 · full · Unknown
flux2-vae.safetensors
PosibleVAE · Unknown
Text encoder · 15.3 GB · SAFETENSORS · Unknown
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
Paquete de nodos · Registry
pr-was-node-suite-comfyui-47064894
No resueltoPaquete de nodos · Registry
was-ns
No resueltoPaquete de nodos · Registry