Downloads · 30 days
2K
2% of all-time downloads
destitech/controlnet-inpaint-dreamer-sdxl
controlnet-inpaint-dreamer-sdxl is a image-to-image model from destitech. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as openrail.
This ControlNet has been conditioned on Inpainting and Outpainting.
Downloads · 30 days
2K
2% of all-time downloads
All-time downloads
116K
Public
Parameters
1.3B
15.1 GB on disk
Likes
125
Public
Click a slice to open those files.
.safetensors15 GB · 100%
From the Hugging Face model README
This ControlNet has been conditioned on Inpainting and Outpainting.
It is an early alpha version made by experimenting in order to learn more about controlnet.
You want to support this kind of work and the development of this model ? Feel free to buy me a coffee !
It is designed to work with Stable Diffusion XL. It should work with any model based on it.
The image to inpaint or outpaint is to be used as input of the controlnet in a txt2img pipeline with denoising set to 1.0. The part to in/outpaint should be colors in solid white.
Depending on the prompts, the rest of the image might be kept as is or modified more or less.
Model link Model link - fp16 version - Built by OzzyGT
OzzyGT made a really good guide on how to use this model for outpainting, give it a try Here !
A big thank you to him for pointing me out how to name the files for diffusers compatibility and for the fp16 version, you should be able to use it this way with both normal and fp16 version:
from diffusers import ControlNetModel
import torch
controlnet = ControlNetModel.from_pretrained(
"destitech/controlnet-inpaint-dreamer-sdxl", torch_dtype=torch.float16, variant="fp16"
)
<a href="./workflows/workflow-preview.png"><img style="margin:0;padding:0;" src="./workflows/workflow-preview.png"/></a> <br/> <a href="./workflows/masked.png"><img width="256" style="margin:0;padding:0;" src="./workflows/masked.png"/></a> <a href="./workflows/output_cyberpunk_manor.png"><img width="256" style="margin:0;padding:0;" src="./workflows/output_cyberpunk_manor.png"/></a> <a href="./workflows/output_casual_woman.png"><img width="256" style="margin:0;padding:0;" src="./workflows/output_casual_woman.png"/></a>
<a href="./tests/test1.jpeg"><img width="768" style="margin:0;padding:0;" src="./tests/test1-thumb.jpeg"/></a> <br/> <a href="./tests/test2.jpeg"><img width="768" style="margin:0;padding:0;" src="./tests/test2-thumb.jpeg"/></a>