Update README.md

This commit is contained in:
Chenlei Hu
2024-03-03 21:23:45 -05:00
committed by GitHub
parent f6191954a5
commit 1d1a0683ab
+8 -3
View File
@@ -1,14 +1,19 @@
# ComfyUI-layerdiffusion
ComfyUI implementation of https://github.com/layerdiffusion/LayerDiffusion.
![image](https://github.com/huchenlei/ComfyUI-layerdiffusion/assets/20929282/413945a2-0948-405e-b524-e164ba54325d)
## 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](https://github.com/huchenlei/ComfyUI-layerdiffusion/blob/main/examples/layer_diffusion_fg_example_rgba.json)
![rgba](https://github.com/huchenlei/ComfyUI-layerdiffusion/assets/20929282/5e6085e5-d997-4a0a-b589-257d65eb1eb2)
### [Generate foreground (RGB + alpha)](https://github.com/huchenlei/ComfyUI-layerdiffusion/blob/main/examples/layer_diffusion_fg_example.json)
If you want more control of getting RGB image and alpha channel mask separately, you can use this workflow.
![readme1](https://github.com/huchenlei/ComfyUI-layerdiffusion/assets/20929282/4825b81c-7089-4806-bce7-777229421707)
## Note
- `Apply Mask to Image` node comes from [comfyui-tooling-nodes](https://github.com/Acly/comfyui-tooling-nodes) package
- Currently only SDXL is supported. See https://github.com/layerdiffusion/sd-forge-layerdiffusion#model-notes for more details.
## TODO