My stuff

  • My Workflows

  • Liked Workflows

  • Following Workflows

Go to OpenArt main site
Upload workflow

SD ControlNet Inpainting Demo

5.0

0 reviews
2
1.3K
139
1
Description

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...

Author

8
1.4K
4
10.7K

No reviews yet

  • - latest (8 months ago)

  • - v20241231-165740

  • - v20241231-135715

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)

ComfyUI Nodes for Inference.Core

  • - InpaintPreprocessor (1)

  • - PreviewLatent (2)

Checkpoints (1)

v1-5-pruned-emaonly.safetensors

LoRAs (0)