File size: 846 Bytes
20716cc
 
 
 
 
 
 
 
 
 
 
c6b12cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
title: Test
emoji: πŸ“Š
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 3.28.2
app_file: app.py
pinned: false
---


# ControlnetWithBackground
### Controlnet
### Inpainting
### Stable diffusion

Use controlnet to generate sketches and characters, and keep the background unchanged.

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.

Support skeletal character generation and sketch generation.

Optimize an inpaint model for the general domain against the stablediffusion-inpaint model.

![model image](https://huggingface.co/spaces/hirol/ControlnetWithBackground/blob/main/house.png)