CivArchive
    Change Clothes - v1.0
    Preview 8370723

    I designed a set of custom nodes based on diffusers instead of ComfyUI's own KSampler. available at https://github.com/Jannchie/ComfyUI-J.

    I used it to implement a workflow to change the character's clothes and share the idea with you.

    This is a composite application of diffusers pipeline custom node. Includes:

    • Reference only

    • ControlNet

    • Inpainting

    • Texture Inversion

    A checkpoint for stablediffusion 1.5 is all your need. But for full automation, I use the Comfyui_segformer_b2_clothes custom node for generating masks. you can draw your own masks without it.

    Do not use it to generate NSFW content, please.

    Description

    FAQ

    Comments (10)

    ArnAbbasMar 23, 2024
    CivitAI

    Getting error:

    When loading the graph, the following node types were not found:

    segformer_b2_clothes

    Nodes that have failed to load will show as red on the graph.

    Tried to re-install via ComfyUI manager - no luck. Model downloaded into the checkpoints folder.

    Jannchie
    Author
    Mar 23, 2024· 1 reaction

    There is a catch here, the node segformer_b2_clothes needs to put the model in the custom_nodes/segformer_b2_clothes/checkpoints folder.

    ArnAbbasMar 23, 2024

    @jannchie361 And I did exactly this. No luck.

    Jannchie
    Author
    Mar 23, 2024· 2 reactions

    @ArnAbbas Your checkpoints folder should include a segformer_b2_clothes folder with all the files from https://huggingface.co/mattmdjaga/segformer_b2_clothes here.

    ArnAbbasMar 23, 2024· 2 reactions

    @jannchie361 YES! You are right! That was the issue. I did the following (from WSL2 bash):

    1) cd custom_nodes\Comfyui_segformer_b2_clothes\checkpoints
    2) git lfs install
    3) git clone https://huggingface.co/mattmdjaga/segformer_b2_clothes

    And this did the trick!
    Thank you @jannchie361

    Rainmaker666Sep 24, 2024

    @ArnAbbas mine isn't working, still import failed

    Alex_LeungJul 29, 2024
    CivitAI

    show up a lot of error When start Queue Prompt :

    Error occurred when executing DiffusersPipeline: expected str, bytes or os.PathLike object, not list

    how to fix it plz :)

    CallMeMaybeAug 21, 2024
    CivitAI

    This is very cool, but unfortunately since it isn't scalable with different models and lora the way that ksamplers are it's quickly outdated. Is this still being developed or is it simply going to be a 1.5 method exclusively? It would be very cool to use with flux.

    beinian1Feb 3, 2025· 2 reactions
    CivitAI

    Why is the workflow gone?

    XXSWQNov 25, 2025
    CivitAI

    Is it possible to add a clothes reference?

    Workflows
    SD 1.5

    Details

    Downloads
    2,117
    Platform
    CivitAI
    Platform Status
    Available
    Created
    3/22/2024
    Updated
    5/7/2026
    Deleted
    -

    Files

    changeClothes_v10.zip

    Mirrors

    CivitAI (1 mirrors)