SD ControlNet Inpainting Demo
5.0
0 reviewsDescription
Preface
The workflow shows how Controlnet can be used for inpainting. Â The workflow is for testing and learning purposes. Each step is documented by a preview of an image.
Prerequisites
One needs a SD model. Each SD model can be used in principle. For the ControlNet one needs a working ControlNet model.
What the Workflow Does
The workflow can be used to exchange parts of an image by other content.
How to Use the Workflow
Load an image for inpainting using the Load Image node. Then right click on the mouse  in the node and select  Open in MaskEditor. The image is then opened in a window wide editor window. Now a mask can be painted by a brush. The content of the painted mask will be exchanged.
Special Feature
I installed a node which allows the visualisation of latent images. On can check how to latent images are developed  until the VAE decoder creates an image from them.
References
[1] Â https://huggingface.co/lllyasviel/ControlNet-v1-1/blob/main/control_v11p_sd15_inpaint.pth
[2] Â https://github.com/martijnat/comfyui-previewlatent
Discussion
(No comments yet)
Loading...
Reviews
No reviews yet
Versions (3)
- latest (8 months ago)
- v20241231-165740
- v20241231-135715
Node Details
Primitive Nodes (1)
Note (1)
Custom Nodes (17)
ComfyUI
- ControlNetLoader (1)
- ControlNetApplyAdvanced (1)
- LoadImage (1)
- CLIPTextEncode (2)
- SaveImage (1)
- MaskToImage (1)
- PreviewImage (2)
- KSampler (1)
- VAEEncode (1)
- RepeatLatentBatch (1)
- VAEDecode (1)
- CheckpointLoaderSimple (1)
- InpaintPreprocessor (1)
- PreviewLatent (2)
Model Details
Checkpoints (1)
v1-5-pruned-emaonly.safetensors
LoRAs (0)