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 execução
Descrição da fonte
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
Comentário gerado por IA
Explicação gerada por IA com base nos detalhes da fonte e da configuração. As sugestões são 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.
Sugestão · não verificado
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.
Sugestão · não verificado
Before use, verify that flux2-vae.safetensors, pr-was-node-suite-comfyui-47064894, and was-ns are available in your ComfyUI setup.
Sugestão · não verificado
Isso precisa ser editado?
Faça login para enviar uma solicitação de edição.
Fontes
1 fonteTrechos de fonte
1 trechoSource 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:
Estimativa de requisito VRAM
Estimativa indisponível
32,2 GB distribuídos em 2 de 3 arquivos de modelo. Total de arquivos do modelo + 25% de overhead de carregamento + 2 GB de buffer de execução, arredondado para cima.
Requisitos
Requisitos 15Checkpoint · 16.9 GB · SAFETENSORS · bf16 · full · Unknown
flux2-vae.safetensors
PossívelVAE · Unknown
Text encoder · 15.3 GB · SAFETENSORS · Unknown
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
Pacote de nós · Registry
pr-was-node-suite-comfyui-47064894
Não resolvidoPacote de nós · Registry
was-ns
Não resolvidoPacote de nós · Registry