Chenlei Hu 9b44d4e351 Add FG/BG blending (#8)
* Add cond support

* hijack calculate_weight

* Add examples
2024-03-03 23:41:56 -05:00
2024-03-03 23:41:56 -05:00
2024-03-02 17:55:16 -05:00
2024-03-02 17:55:16 -05:00
2024-03-02 17:55:16 -05:00
2024-03-03 23:41:56 -05:00
2024-03-02 18:00:49 -05:00
2024-03-03 21:23:45 -05:00
2024-03-03 18:31:48 -05:00

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

rgba

Generate foreground (RGB + alpha)

If you want more control of getting RGB image and alpha channel mask separately, you can use this workflow. readme1

Note

TODO

  • Foreground conditioning
  • Background conditioning
S
Description
No description provided
Readme Apache-2.0
123 KiB
Languages
Python 100%