CivArchive
    ComfyUI beginner friendly Flux.2 Klein 4B GGUF Simple Cloth Swap Workflow by Sarcastic TOFU - Flux2k4B_GGUF_CLOTH_v1
    NSFW
    Preview 118684064
    Preview 118684076
    Preview 118684078
    Preview 118684081
    Preview 118684321
    Preview 118684327
    Preview 118684373

    This is a very simple ComfyUI beginner friendly Flux.2 Klein 4B GGUF Simple Cloth Swap Workflow that will work with very simple text editing instructions in natural language to swap cloth of your desired target image's subject. With this workflow I demonstrated two scenarios of cloth swapping - #1. in the primary scenario you simply isolate and extract the clothing from clothing reference image (Picture 2) and just swap the clothing of your target image (Picture 1) keeping everything else (lighting, environment, face, pose and background) as it is; this works very well and in #2. not only you extract and swap cloths but you also perform other modifications on the output (lighting, environment, footwear, background and image aspect ratio of output), this has some minor issues (extra digits in feet, sligtly off rendering of footwear) that may need further microediting. I have included prompts and examples for both scenarios. I used a Q8 Model that works well with my 8GB AMD GPU. But is you have better GPU you can simply swap the model with full unquantized Flux.2 Klein 4B model or on the other side if you have a weaker GPU you can find other low grade hardware supported GGUF models from here ( Unsloth's HuggingFace repo for Flux.2 Klein 4B GGUF models - https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/tree/main ) and other mathing resources.

    The Flux.2 Klein 4B and 9B models are a new family of high-speed AI image generators that use a "rectified flow" architecture to unify image generation and professional-grade editing into a single, compact package. These models are significantly faster than older versions because they use "step-distillation," which allows them to create high-quality images in just 4 steps—achieving sub-second speeds on modern hardware—rather than the dozens of steps required by previous models. The 4B variant is released under a permissive Apache 2.0 License for both personal and commercial use, while the more powerful 9B variant uses a Non-Commercial License intended for research and personal projects. Both models support 11 native aspect ratios ranging from 1:1 square to 21:9 ultrawide and 9:21 vertical, and they can produce sharp images up to 4 megapixels (such as 2048x2048). To make them even more accessible, there are Q (Quantized) models like the FP8 (8-bit) and NVFP4 (4-bit) versions, which reduce the "brain size" of the model to save memory; specifically, the FP8 version is about 1.6x faster and uses 40% less VRAM, while the NVFP4 version is up to 2.7x faster and uses 55% less VRAM. Because of these optimizations, the 4B model can run on systems with as little as 8GB to 12GB of VRAM and can even operate (with the lowest Flux.2 Klein 4B Q2 or Q3 GGUFs) on very low grade 6GB, 4GB, 2GB VRAM GPUs or even on modern integrated graphics (iGPUs) from the latest laptop or mini PC chips.

    You need a Hugging Face account to download your necessary files (Details are mentioned below). Make sure you install GGUF addon for ComfyUI using ComfyUI manager or any other missing nodes you may have and place the correct files in correct places. Also check out my other workflows for SD 1.5 + SDXL 1.0, WAN 2.1, WAN 2.2, MagicWAN Image v2, QWEN, HunyuanImage-2.1, HiDream, KREA, Chroma, AuraFlow, Z-Image Turbo and Flux. Feel free to toss some yellow Buzz on stuffs you like.

    How to use this -

    #1. Just select your desired Flux.2 Klein 4B GGUF (or swap it with full model) models first and now

    #2. now select your images for editing - on the very left target image (Picture 1) & then a clothing reference image on the right (Picture 2)

    #3. on next step enter your image editing instructions. (be very precise & targeted, like examples given)

    #4. then select how many output images you want (Change the number besides the "Run" button)

    #5. after this select image sampling methods, CFG, steps etc. settings (you may wanna stay with defaults)

    #5. finally press the run button to generate. That's it..

    ** This workflow uses SAM3 (Segment Anything Model 3) model inside the "Isolate Clothing" subgraph to isolate and extract clothing from clothing reference image (Picture 2), on your first run it may take extra 1 & half to 2 minutes to automatically download the SAM3 model if you don't have it already but once it is downloaded on every next executions of this workflow it will work faster.

    Required Files

    ================

    Flux.2 Klein 4B Models -

    -----------------------

    ### Download Link for Flux.2 Klein 4B GGUF Model used

    ------------------------------------------------------

    https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/resolve/main/flux-2-klein-4b-Q8_0.gguf

    ### Download Link for Flux.2 Klein 4B Text Encoder used

    --------------------------------------------------------

    https://huggingface.co/Comfy-Org/flux2-klein-4B/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors

    ### Download Link for Flux.2 Klein 4B VAE used

    -----------------------------------------------

    https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors

    Description

    FAQ

    Comments (9)

    jackond181Mar 1, 2026· 1 reaction
    CivitAI

    I run the workflow but quickly end within the red SAM3 node, and I don't think it download the model in the background, how can I fix that?

    sarcastictofu
    Author
    Mar 1, 2026

    use ComfyUI manager to download SAM3.. usually the node itself downloads SAM3.. you may need to reinstall the node.. ComfyUI kinda sometimes breaks nodes on update.

    sarcastictofu
    Author
    Mar 2, 2026

    @jackond181 I am also working on a more refined version of this workflow that will not require SAM3 or any other segmentation tool.. and that will also save your cloth swap generation settings in simple text (.txt) files.. stay connected to my CivitAI Profile...

    jackond181Mar 3, 2026

    @sarcastictofu Awesome!

    InsecureErasureMar 2, 2026· 1 reaction
    CivitAI

    This workflow works great! I replaced the models with quantized versions of FLUX.2 Klein 9B and Qwen3 8B and the results are impressive. I managed to fit the models in 8 GB VRAM without performance issues. Big kudos!

    sarcastictofu
    Author
    Mar 3, 2026

    This has some issues though, sometimes it gives very bad feet, also I am tired of SAM3 and some of the nodes becoming buggy on latest ComfyUI update.. I have fixed this workflow and added other tweaks that I am gonna upload soon.. but the new one only will work with 9B.. 4B is good but better Cloth swapping needed extra juice that 9B provides.

    sarcastictofu
    Author
    Mar 5, 2026

    @InsecureErasure glad that you like this one, I have an updated and improved cloth swap workflow that does not use SAM3 (but the new workflow is for 9B model only for now), if with very latest update of ComfyUI your SAM3 node becomes broken you can use this one - https://civitai.com/models/2443347/comfyui-beginner-friendly-flux2-klein-9b-gguf-simple-cloth-swap-workflow-by-sarcastic-tofu

    eryzMar 6, 2026
    CivitAI

    great work!
    did you had any problems related to overlap the desired garments onto the reference image?
    like the reference has a person with pants, and the desired garment to be weared is a short.
    The image results is only the short weared over the pants, the model does not remove the pants.
    Did you faced any problem like that? if so, how did you avoid it?