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

zsxkib /flux-schnell-inpainting:1e52688c

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
image
string
Input image for inpainting
mask
string
Mask image
prompt
string
Text prompt for inpainting
strength
number
0.85

Max: 1

Strength of inpainting
num_inference_steps
integer
30

Min: 1

Max: 50

Number of inference steps
seed
integer
Random seed. Leave blank to randomize the seed
output_format
string (enum)
webp

Options:

webp, jpg, png

Format of the output image
output_quality
integer
80

Max: 100

Quality of the output image, from 0 to 100. 100 is best quality, 0 is lowest quality.

Output schema

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

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