Type | Workflows |
Stats | 3,330 |
Reviews | (110) |
Published | Feb 22, 2024 |
Base Model | |
Hash | AutoV2 2875EF0377 |
(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
Install Impact pack custom nodes;
Install ControlNet Auxiliary Preprocessors custom nodes;
Download ViT-H SAM model and place it in "\ComfyUI\ComfyUI\models\sams\";
Download ControlNet Openpose model (both .pth and .yaml files), and put it into "\comfy\ComfyUI\models\controlnet";
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
Write prompt and negative for background. Keep everything not related to person there, including tags like "masterpiece" or "raw photo";
Write prompt and negative for left person;
Write prompt and negative for right person;
Select model, tune settings if you want;
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.
Install WAS Node Suite custom nodes;
(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