CivArchive
    ModelSwap FashionStable ComfyUi Workflow - v1.0
    NSFW
    Preview 4288522
    Preview 4288523
    Preview 4288524
    Preview 4288528
    Preview 4288532
    Preview 4288539
    Preview 4288541
    Preview 4288542
    Preview 4288543
    Preview 4288545

    Introducing the "ModelSwap FashionStable" Workflow for the Fashion Industry and Online Shops

    Hello Fashion Innovators and Online Retailers,

    I'm excited to share a groundbreaking workflow designed specifically for the fashion industry and online shops. This workflow revolutionizes how we present clothing online, offering a unique blend of technology and creativity.

    What this workflow does

    👉

    It starts with a photo of a model in an outfit. The workflow then skillfully generates a new background and another person wearing the same, unchanged outfit from the original image.

    This magic happens thanks to the deepfashion_2 model, which allows for precise selection of clothing items to remain constant.

    Efforts have been made to ensure this workflow is as unbiased as possible.

    It includes automatic skin color detection and a separate feature for headscarves and faces, promoting inclusivity and diversity.

    All sample photos used are free images from www.pexels.com.

    Key Features:

    Automatic Mask Creation: Generates various masks for clothing, face, full body, and hands, and combines them seamlessly.

    Clothing Selection: Utilize deepfashion_2 segments to select clothing items for masking.

    Regional Ip_Adapter: For precise, generation of the new Model Face and Skin.

    Skin Tone Detection: Automatically recognizes different skin tones.

    Headscarf Friendly: Efficiently works with images featuring headscarves.

    Ultimate Upscaling: Incorporates Tile Control_Net for superior image quality.

    Color-Coded Sampler and Nodes: Easily understand which node is used for each sampler.

    Integrated Previews: Numerous previews included to visualize the ongoing process and node usage.

    Known Bugs:

    Some input images may not be recognized by the detectors.

    Occasionally, cutting edges are visible (try different seeds or backgrounds to mitigate this).

    Hands may not be perfectly rendered. Improvements have been made, but it's not flawless.

    Some issues with Ultimate Upscaler still being fine-tuned.

    How to use this workflow

    👉

    Load the model's clothing image into the "image_clothes" loader and a portrait image of the new model into the "Face_new_model" loader.

    Customize the prompts for the model and background.

    Start the workflow with the "Generate" button.

    Tips about this workflow

    👉

    The settings of the ultimate upscaler can be further optimized.

    If hand quality is less critical, and you wish to alter the model's hairstyle or add accessories like a Santa Claus hat, increase the denoise value in "Person_Detailer."

    The cfg is set relatively low for more photorealistic images, but feel free to experiment with higher values.

    This workflow promises to be a game-changer for showcasing fashion online. Give it a try and experience the difference!

    Description

    SDXL

    FAQ

    Comments (11)

    GizDrakDec 10, 2023
    CivitAI

    I cannot get this to work. Everything works up tell it gets to the Person_Detailer group and then the SEGSDetailer errors out. RuntimeError: The size of tensor a (704) must match the size of tensor b (693) at non-singleton dimension 1

    denrakeiw
    Author
    Dec 10, 2023

    Try updating the custom nodes and comfyui. Use 'Update All' in the manager.

    geiryang980Dec 11, 2023
    CivitAI

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

    comfyui-mixlab-nodes [WIP] 🔗

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

    geiryang980Dec 11, 2023

    JUST cannot download the node, pity

    cyrilstyleDec 13, 2023

    same issue here, and it is downloaded but the pack is not working for some reasons (ive installed the requirements too)

    denrakeiw
    Author
    Dec 13, 2023

    Installation

    manually install, simply clone the repo into the custom_nodes directory with this command:

    cd ComfyUI/custom_nodes git clone https://github.com/shadowcz007/comfyui-mixlab-nodes.git

    Install the requirements:

    run directly:

    cd ComfyUI/custom_nodes/comfyui-mixlab-nodes install.bat

    or install the requirements using:

    ../../../python_embeded/python.exe -s -m pip install -r requirements.txt

    If you are using a venv, make sure you have it activated before installation and use:

    pip3 install -r requirements.txt
    sinistry447Feb 21, 2024
    CivitAI

    I am trying to use this but I am getting an error of

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

    PrepareImageAndMaskForInpaint

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

    denrakeiw
    Author
    Feb 21, 2024

    Have you updated ComfyUI and installed all the missing nodes?

    denrakeiw
    Author
    Feb 21, 2024

    Have you updated ComfyUI and installed all the missing nodes?

    sinistry447Feb 22, 2024

    @denrakeiw yes pretty sure I did. Console failure says: 0.0 seconds (IMPORT FAILED): C:\Users\***\OneDrive\Documents\ComfyUI\ComfyUI\custom_nodes\comfyui-art-venture

    denrakeiw
    Author
    Feb 22, 2024

    @sinistry447 Which node is causing the error? Is it a node from the ComfyUI Art Venture pack?

    Workflows
    SDXL 1.0

    Details

    Downloads
    807
    Platform
    CivitAI
    Platform Status
    Available
    Created
    12/7/2023
    Updated
    5/13/2026
    Deleted
    -

    Files

    modelswapFashionstable_v10.zip

    Mirrors