santa hat
deerdeer nosedeer glow
Sign In

SDXL Compositing Images Workflow (ComfyUI)

103
1.2k
20
Updated: Oct 5, 2024
toolcompositionworkflowmasking
Type
Other
Stats
641
Reviews
Published
Sep 21, 2023
Base Model
SDXL 1.0
Hash
AutoV2
6E8C41B47D
default creator card background decoration
Grockster's Avatar
Grockster

While we're waiting for SDXL ControlNet Inpainting for ComfyUI, here's a decent alternative. It allows you to create a separate background and foreground using basic masking. Works VERY well!.

Version 4 includes 4 different workflows based on your needs!

Also if you want a tutorial teaching you how to do copying/pasting/blending, here's a video:

PRE-REQUISITES

  • WAS Node Suite

  • Impact Pack

  • Node Nesting module

  • Masquerade Nodes

  • Mile High Styler

INSTALLATION

  • Go to Comfy Manager -> Fetch Updates -> Install Custom Nodes for any missing custom nodes

  • Copy the nested_nodes JSON files into the nested_nodes folder under the nested nodes module

  • Enter Prompt for Subject 1

  • Enter prompt for Subject 2 that will be pasted into Subject 1's scene

  • In the preview box "Mask LOCATION for Subject 2" mask out the area where you want your second subject to be pasted (it will automatically be resized to fit the area you mask

  • In the preview box "Mask Cut out Subject 2", use SAM Detector or mask out the area you want to cut and paste into other image's scene

  • Enter prompt that describes the full scene under the "Check Placement" area

  • You may want to cancel the render a few times while you tweak your settings, but this is a VERY quick/efficient workflow