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

black-forest-labs /flux-fill-pro:9609ba73

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
Text prompt for image generation
image
string
The image to inpaint. Can contain an alpha mask. Must be jpeg, png, gif, or webp.
mask
string
A black-and-white image that describes the part of the image to inpaint. Black areas will be preserved while white areas will be inpainted. Must have the same size as image. Optional if you provide an alpha mask in the original image. Must be jpeg, png, gif, or webp.
outpaint
None
None
A quick option for outpainting an input image. Mask will be ignored.
seed
integer
Random seed. Set for reproducible generation
steps
integer
50

Min: 1

Max: 50

Number of diffusion steps. Higher values yield finer details but increase processing time.
prompt_upsampling
boolean
False
Automatically modify the prompt for more creative generation
guidance
number
3

Min: 2

Max: 5

Controls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt.
safety_tolerance
integer
2

Min: 1

Max: 6

Safety tolerance, 1 is most strict and 6 is most permissive
output_format
None
jpg
Format of the output images.

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'}