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

black-forest-labs /flux-kontext-pro:0a138193

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 description of what you want to generate, or the instruction on how to edit the given image.
input_image
string
Image to use as reference. Must be jpeg, png, gif, or webp.
aspect_ratio
None
match_input_image
Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
prompt_upsampling
boolean
False
Automatic prompt improvement
seed
integer
Random seed. Set for reproducible generation
output_format
None
png
Output format for the generated image
safety_tolerance
integer
2

Max: 6

Safety tolerance, 0 is most strict and 6 is most permissive. 2 is currently the maximum allowed when input images are used.

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