You're looking at a specific version of this model. Jump to the model overview.
black-forest-labs /flux-pro:84de981c
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_prompt |
string
|
Image to use with Flux Redux. This is used together with the text prompt to guide the generation towards the composition of the image_prompt. Must be jpeg, png, gif, or webp.
|
|
| aspect_ratio |
None
|
1:1
|
Aspect ratio for the generated image
|
| width |
integer
|
Min: 256 Max: 1440 |
Width of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32). Note: Ignored in img2img and inpainting modes.
|
| height |
integer
|
Min: 256 Max: 1440 |
Height of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32). Note: Ignored in img2img and inpainting modes.
|
| steps |
integer
|
25
Min: 1 Max: 50 |
Number of diffusion steps
|
| 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.
|
| interval |
number
|
2
Min: 1 Max: 4 |
Interval is a setting that increases the variance in possible outputs letting the model be a tad more dynamic in what outputs it may produce in terms of composition, color, detail, and prompt interpretation. Setting this value low will ensure strong prompt following with more consistent outputs, setting it higher will produce more dynamic or varied outputs.
|
| safety_tolerance |
integer
|
2
Min: 1 Max: 6 |
Safety tolerance, 1 is most strict and 6 is most permissive
|
| prompt_upsampling |
boolean
|
False
|
Automatically modify the prompt for more creative generation
|
| seed |
integer
|
Random seed. Set for reproducible generation
|
|
| output_format |
None
|
webp
|
Format of the output images.
|
| 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
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'format': 'uri', 'title': 'Output', 'type': 'string'}