07d0c469efe488f60a7693a25b29a77109a82882
ComfyUI-layerdiffusion
ComfyUI implementation of https://github.com/layerdiffusion/LayerDiffusion.
Installation
run pip install -r requirements.txt to install python dependencies. You might experience version conflict on diffusers if you have other extensions
that depends on other versions of diffusers.
Workflows
Generate foreground
Generate foreground (RGB + alpha)
If you want more control of getting RGB image and alpha channel mask separately, you can use this workflow.
Blending (FG/BG)
Extract FG from Blended + BG
Extract BG from Blended + FG
Forge impl's sanity check sets Stop at to 0.5 to get better quality BG.
This workflow might be inferior comparing to other object removal workflows.
Note
- Currently only SDXL is supported. See https://github.com/layerdiffusion/sd-forge-layerdiffusion#model-notes for more details.
TODO
- Foreground conditioning
- Background conditioning
- Blended + foreground => background
- Blended + background => foreground
- Support
Stop atparam
Languages
Python
100%