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

zf-kbot /sd-inpaint:af731e42

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
Input prompt
image
string
Input Inpaint Image
mask
string
Input Mask Image
max_size
integer
1024
Max size of image, If the input image exceeds this value, it will be scaled to max size. 0 is no size
mask_threshold
number
0.1

Min: 0.01

Max: 1

If the mask is None, the threshold for mask recognition applies: the smaller the threshold, the larger the recognition range.
grow_factor
integer
0
The size of the mask expansion
blur_factor
integer
0
Blur Factor of Mask.
padding_mask_crop
integer
The size of margin in the crop to be applied to the image and masking.
strength
number
0.7

Max: 1

The weight of image
negative_prompt
string
Input Negative Prompt
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
scheduler
string (enum)
K_EULER

Options:

DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM

scheduler
guidance_scale
number
7

Min: 1

Max: 20

Scale for classifier-free guidance
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'}