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" | custom1:116:93:22:34:55:49:163:44: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" | webpjpgpng |
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 |
promptrequiredstringText prompt for image generation
aspect_ratiostringAspect ratio for the generated image
"1:1"guidancenumberControls 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.
3min: 2, max: 5heightintegerHeight 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_promptstringImage 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.
intervalnumberDeprecated
2min: 1, max: 4output_formatstringFormat of the output images.
"webp"output_qualityintegerQuality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
80min: 0, max: 100prompt_upsamplingbooleanAutomatically modify the prompt for more creative generation
falsesafety_toleranceintegerSafety tolerance, 1 is most strict and 6 is most permissive
2min: 1, max: 6seedintegerRandom seed. Set for reproducible generation
stepsintegerDeprecated
25min: 1, max: 50widthintegerWidth 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.
ce4035b99fc7Updated: 7/25/202613.9M runs
cinemasetfree.com