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

daanelson /speedy-stable-diffusion-inpainting:c6489923

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
a vision of paradise. unreal engine
Input prompt
image
string
Initial image to generate variations of. Will be resized to height x width
mask
string
Black and white image to use as mask for inpainting over the image provided. White pixels are inpainted and black pixels are preserved.
height
integer
512

Min: 64

Max: 1024

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

Min: 64

Max: 1024

Width of generated image in pixels. Needs to be a multiple of 64
negative_prompt
string
Specify things to not see in the output
num_outputs
integer
1

Min: 1

Max: 4

Number of images to generate.
num_inference_steps
integer
50

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
7.5

Min: 1

Max: 20

Scale for classifier-free guidance
scheduler
string (enum)
DPMSolverMultistep

Options:

DDIM, K_EULER, DPMSolverMultistep, K_EULER_ANCESTRAL, PNDM, KLMS

Choose a scheduler.
seed
integer
Random seed. Leave blank to randomize the seed

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}