LCM_Inpaint-Outpaint_Comfy
ComfyUI custom nodes for inpainting/outpainting using the new latent consistency model (LCM)
Inpaint
Outpaint
Prompt Weighting
Note: Requires CPU inference (select CPU in LCMLoader Node). (facing error that i dont know how to fix when using GPU)
Add '+' for more effect and '-' for less effect. Adding more '+' or '-' increases the effects.
FreeU
ReferenceOnly
Style Transfer
Image Variations
Promptless Outpainting
Image Blending
ControlNet/T2I Adapter
for t2iadapter, should place the models in 'ComfyUI/models/controlnet/t2i_adapter_canny' (change canny with the name of the model) for controlnet, should place the models in 'ComfyUI/models/controlnet/cn_canny' (change canny with the name of the model)
How to Use:
Clone into custom_nodes folder inside your ComfyUI directory
git clone https://github.com/taabata/LCM_Inpaint-Outpaint_Comfy
Install requirements after changing directory to LCM_Inpaint-Outpaint_Comfy folder
cd LCM_Inpaint-Outpaint_Comfy
pip install -r requirements.txt
Download the model in diffusers format from https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7/tree/main and place it inside model/diffusers folder in your ComfyUI directory. (The name of the model folder should be "LCM_Dreamshaper_v7")
Load the workflow by choosing the .json file for inpainting or outpainting.
Credits
nagolinc's img2img script
patrickvonplaten's StableDiffusionReferencePipeline