CivArchive
    OnOff | ComfyUI workflow - v1.1
    NSFW
    Preview 6944558
    Preview 6944562

    (check v1.0 page for more images)

    This workflow generates a person twice, on the same background at the same pose, and concatenates pictures together. Possible applications:

    • Show person clothed/nude

    • Compare different outfits

    • Compare characters

    • Test LoRAs

    Installation and dependencies

    1. Install Impact pack custom nodes;

    2. Install ControlNet Auxiliary Preprocessors custom nodes;

    3. Download ViT-H SAM model and place it in "\ComfyUI\ComfyUI\models\sams\";

    4. Download ControlNet Openpose model (both .pth and .yaml files), and put it into "\comfy\ComfyUI\models\controlnet";

    5. Download and open this workflow.

    Resources

    Any model, any VAE, any LoRAs. If you choise SDXL model, make sure to load appropriate SDXL ControlNet model.

    How to use

    1. Write prompt and negative for background. Keep everything not related to person there, including tags like "masterpiece" or "raw photo";

    2. Write prompt and negative for left person;

    3. Write prompt and negative for right person;

    4. Select model, tune settings if you want;

    5. Run it!

    OnOff_Upscaler

    In archive, there is the companion workflow called "OnOff_Upscaler". It splits your OnOff picture in two, upscales both, and conjoin them back. It will load prompts automatically.

    1. Install WAS Node Suite custom nodes;

    2. (optional) Install prompt-info custom nodes;

    Notes

    • In the workflow you can find the variable called "Background insertion step". Increase it if background feels inconsistent, and decrease if persons look copy-pasted;

    • OpenPose ControlNet struggles with anime, latex and obscured bodies. If clothes is skintight, you can use Depth ControlNet instead, it will work great;

    • Left image is generated first. If you want to swap them at the end, just do it on the second to last node called "ImageCompositeMasked". Useful with LoRAs forcing specific pose.

    • If you only want to join two different pictures together, without control, look for simplistic BeforeAfter workflow instead.

    Sometimes, there is a bug with loading values in primitives. Default values are:

    OnOff workflow:

    • Steps: 25

    • Background insertion step: 11

    • CFG Scale: 6.6

    • Sampler: dpmpp_sde_gpu

    • Scheduler: karras

    • Width: 512

    • Height: 768

    OnOff_Upscaler workflow:

    • Upscale method: bilinear

    • Steps: 27

    • CFG Scale: 8.0

    • Sampler: dpmpp_2m

    • Scheduler: karras

    • Denoise: 0.41

    Check out my other workflows

    Description

    Automatic prompt read for OnOff_Upscaler. 22.02.2024

    FAQ

    Workflows
    SD 1.5

    Details

    Downloads
    10,350
    Platform
    CivitAI
    Platform Status
    Available
    Created
    2/22/2024
    Updated
    4/22/2026
    Deleted
    -

    Files

    onoffComfyuiWorkflow_v11.zip

    Mirrors

    CivitAI (1 mirrors)