black-forest-labs/flux-pro
State-of-the-art image generation with top of the line prompt following, visual quality, image detail and output diversity.
Capabilities
Cost
$0.050 / image
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
prompt * | string | Text prompt for image generation | — | — |
aspect_ratio | string | Aspect ratio for the generated image | "1:1" | custom 1:1 16:9 3:2 2:3 4:5 5:4 9:16 3:4 4:3 |
guidance | number | 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. | 3 | min: 2, max: 5 |
height | integer | 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. | — | min: 256, max: 1440 |
image_prompt | string (uri) | 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. | — | — |
interval | number | Deprecated | 2 | min: 1, max: 4 |
output_format | string | Format of the output images. | "webp" | webp jpg png |
output_quality | integer | Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs | 80 | min: 0, max: 100 |
prompt_upsampling | boolean | Automatically modify the prompt for more creative generation | false | — |
safety_tolerance | integer | Safety tolerance, 1 is most strict and 6 is most permissive | 2 | min: 1, max: 6 |
seed | integer | Random seed. Set for reproducible generation | — | — |
steps | integer | Deprecated | 25 | min: 1, max: 50 |
width | integer | 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. | — | min: 256, max: 1440 |
prompt required string Text prompt for image generation
aspect_ratio string Aspect ratio for the generated image
"1:1" guidance number 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.
3 min: 2, max: 5 height integer 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.
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.
interval number Deprecated
2 min: 1, max: 4 output_format string Format of the output images.
"webp" output_quality integer Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
80 min: 0, max: 100 prompt_upsampling boolean Automatically modify the prompt for more creative generation
false safety_tolerance integer Safety tolerance, 1 is most strict and 6 is most permissive
2 min: 1, max: 6 seed integer Random seed. Set for reproducible generation
steps integer Deprecated
25 min: 1, max: 50 width integer 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.
ce4035b99fc7 Updated: 2/26/2026 13.9M runs
cinemasetfree.com