stability-ai
/
stable-diffusion-inpainting
Fill in masked parts of images with Stable Diffusion
Run stability-ai/stable-diffusion-inpainting with an API
Input schema
Black and white image to use as mask for inpainting over the image provided. White pixels are inpainted and black pixels are preserved.
Random seed. Leave blank to randomize the seed
Initial image to generate variations of. Will be resized to height x width
Width of generated image in pixels. Needs to be a multiple of 64
- Default
- 512
Height of generated image in pixels. Needs to be a multiple of 64
- Default
- 512
Input prompt
- Default
- "a vision of paradise. unreal engine"
Choose a scheduler.
- Default
- "DPMSolverMultistep"
Number of images to generate.
- Default
- 1
- Minimum
- 1
- Maximum
- 4
Scale for classifier-free guidance
- Default
- 7.5
- Minimum
- 1
- Maximum
- 20
Specify things to not see in the output
Number of denoising steps
- Default
- 50
- Minimum
- 1
- Maximum
- 500
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)
Output schema
- Type
- uri[]