You're looking at a specific version of this model. Jump to the model overview.

stability-ai /stable-diffusion-inpainting:95b72231

Input

string
Shift + Return to add a new line

Input prompt

Default: "a vision of paradise. unreal engine"

*file
Preview
image

Initial image to generate variations of. Will be resized to height x width

*file
Preview
mask

Black and white image to use as mask for inpainting over the image provided. White pixels are inpainted and black pixels are preserved.

integer

Height of generated image in pixels. Needs to be a multiple of 64

Default: 512

integer

Width of generated image in pixels. Needs to be a multiple of 64

Default: 512

string
Shift + Return to add a new line

Specify things to not see in the output

integer
(minimum: 1, maximum: 4)

Number of images to generate.

Default: 1

integer
(minimum: 1, maximum: 500)

Number of denoising steps

Default: 50

number
(minimum: 1, maximum: 20)

Scale for classifier-free guidance

Default: 7.5

string

Choose a scheduler.

Default: "DPMSolverMultistep"

integer

Random seed. Leave blank to randomize the seed

boolean

This model’s safety checker can’t be disabled when running on the website. Learn more about platform safety on Replicate.

Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)

Default: false

Output

output
Generated in

This example was created by a different version, stability-ai/stable-diffusion-inpainting:e5a34f91.