Skip to content

Commit 8eac3c2

Browse files
Add basic inpainting examples.
1 parent 747888a commit 8eac3c2

File tree

6 files changed

+26
-0
lines changed

6 files changed

+26
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ This [repo](https://github.com/comfyanonymous/ComfyUI_examples) contains example
66

77
[Img2Img](img2img)
88

9+
[Inpainting](inpaint)
10+
911
[Area Composition](area_composition)
1012

1113
[Noisy Latent Composition](noisy_latent_composition)
14+

inpaint/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Inpaint Examples
2+
3+
In this example we will be using this image. Download it and place it in your input folder.
4+
5+
![Example](yosemite_inpaint_example.png)
6+
7+
This image has had part of it erased to alpha with gimp, the alpha channel is what we will be using as a mask for the inpainting. If using GIMP make sure you save the values of the transparent pixels for best results.
8+
9+
10+
The following images can be loaded in [ComfyUI](https://github.com/comfyanonymous/ComfyUI) to get the full workflow.
11+
12+
Inpainting a cat with the v2 inpainting model:
13+
14+
![Example](inpain_model_cat.png)
15+
16+
Inpainting a woman with the v2 inpainting model:
17+
18+
![Example](inpain_model_woman.png)
19+
20+
It also works with non inpainting models. Here's an example with the anythingV3 model:
21+
22+
![Example](inpaint_anythingv3_woman.png)
23+

inpaint/inpain_model_cat.png

1.15 MB
Loading

inpaint/inpain_model_woman.png

1.15 MB
Loading
1.14 MB
Loading
1.41 MB
Loading

0 commit comments

Comments
 (0)