From 1d1a0683abb3d3030a832871fa116bf34f03a6da Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Sun, 3 Mar 2024 21:23:45 -0500 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3b4c4e2..9dd9c83 100644 --- a/README.md +++ b/README.md @@ -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