Update README.md
Browse files
README.md
CHANGED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: hirol/Any-inpainting
|
3 |
+
emoji: 🌖
|
4 |
+
license: mit
|
5 |
+
---
|
6 |
+
|
7 |
+
inpaint model based anything
|
8 |
+
|
9 |
+
origin url: https://huggingface.co/spaces/hirol/controlnetOverMask
|
10 |
+
|
11 |
+
# hirol/Any-inpainting
|
12 |
+
|
13 |
+
# ControlnetWithBackground
|
14 |
+
### Controlnet
|
15 |
+
### Inpainting
|
16 |
+
### Stable diffusion
|
17 |
+
|
18 |
+
Use controlnet to generate sketches and characters, and keep the background unchanged.
|
19 |
+
|
20 |
+
Usually when we generate a very perfect background image, we want to add image elements, but using controlnet directly will affect the original background. This project aims to add elements to the page while keeping the background unchanged, and can directly operate on the original background.
|
21 |
+
|
22 |
+
Support skeletal character generation and sketch generation.
|
23 |
+
|
24 |
+
Optimize an inpaint model for the general domain against the stablediffusion-inpaint model.
|
25 |
+
|
26 |
+
### Two modes, openpose control and manuscript control
|
27 |
+
#### openpose control
|
28 |
+
Add character skeletons to a forest scene generated by SD, and keep the background unchanged to generate controllable characters
|
29 |
+
<img src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/person.png" width="400" height="300">
|
30 |
+
<video width="320" height="240" controls>
|
31 |
+
<source src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/person_control.mp4" type="video/mp4">
|
32 |
+
</video>
|
33 |
+
|
34 |
+
#### manuscript control
|
35 |
+
Added manuscript houses to an SD generated forest scene
|
36 |
+
<img src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/house.png" width="600" height="300">
|
37 |
+
<video width="320" height="240" controls>
|
38 |
+
<source src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/house.mp4" type="video/mp4">
|
39 |
+
</video>
|
40 |
+
Added manuscript chairs to an SD generated snow scene
|
41 |
+
<img src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/chair.png" width="600" height="300">
|
42 |
+
|