You're looking at a specific version of this model. Jump to the model overview.
black-forest-labs /flux-kontext-dev:a1408d2c
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.
|
num_inference_steps |
integer
|
30
Min: 4 Max: 50 |
Number of inference steps
|
guidance |
number
|
2.5
Max: 10 |
Guidance scale for generation
|
seed |
integer
|
Random seed for reproducible generation. Leave blank for random.
|
|
output_format |
None
|
webp
|
Output image format
|
output_quality |
integer
|
80
Max: 100 |
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
|
disable_safety_checker |
boolean
|
False
|
Disable NSFW safety checker
|
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'}