sepal / sdxl-inpainting

Stable Diffusion XL specifically trained on Inpainting by huggingface

  • Public
  • 9.5K runs
  • L40S
  • GitHub

Input

string
Shift + Return to add a new line

Input prompt

Default: "An astronaut riding a rainbow unicorn"

string
Shift + Return to add a new line

Input Negative Prompt

Default: ""

file
Preview
image

Input image for img2img or inpaint mode

file
Preview
mask

Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.

integer
(minimum: 1, maximum: 500)

Number of denoising steps

Default: 50

number
(minimum: 1, maximum: 50)

Scale for classifier-free guidance

Default: 7.5

number
(minimum: 0, maximum: 1)

Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image

Default: 0.8

integer

Random seed. Leave blank to randomize the seed

Output

output
Generated in

Run time and cost

This model costs approximately $0.0036 to run on Replicate, or 277 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 4 seconds.