Downloads · 30 days
5
1% of all-time downloads
hirol/Any-inpainting
Any-inpainting is a text-to-image model from hirol. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as mit.
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
461
Public
Repo size
5.5 GB
Likes
4
Public
Click a slice to open those files.
.bin5.5 GB · 100%
From the Hugging Face model README
inpaint model based anything
origin url: https://huggingface.co/spaces/hirol/controlnetOverMask
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.
Add character skeletons to a forest scene generated by SD, and keep the background unchanged to generate controllable characters <img src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/person.png" width="400" height="300"> <video width="320" height="240" controls> <source src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/person_control.mp4" type="video/mp4"> </video>
Added manuscript houses to an SD generated forest scene <img src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/house.png" width="600" height="300"> <video width="320" height="240" controls> <source src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/house.mp4" type="video/mp4"> </video> Added manuscript chairs to an SD generated snow scene <img src="https://huggingface.co/spaces/hirol/ControlnetWithBackground/resolve/main/chair.png" width="600" height="300">