black-forest-labs/flux-2-dev
Quality image generation and editing with support for reference images
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
prompt * | string | Text description of the image to generate. | — | — |
aspect_ratio | string | Aspect ratio for the generated image. Use 'match_input_image' to match the first input image's aspect ratio. | "1:1" | match_input_image custom 1:1 16:9 3:2 2:3 4:5 5:4 9:16 3:4 4:3 |
disable_safety_checker | boolean | Disable safety checker for generated images. | false | — |
go_fast | boolean | Run faster predictions with additional optimizations. | true | — |
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). | — | min: 256, max: 1440 |
input_images | array | List of input images for image-to-image generation. Maximum 4 images. Must be jpeg, png, gif, or webp. | | — |
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 |
seed | integer | Random seed. Set for reproducible generation. | — | — |
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). | — | min: 256, max: 1440 |
prompt required string Text description of the image to generate.
aspect_ratio string Aspect ratio for the generated image. Use 'match_input_image' to match the first input image's aspect ratio.
"1:1" disable_safety_checker boolean Disable safety checker for generated images.
false go_fast boolean Run faster predictions with additional optimizations.
true 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).
input_images array List of input images for image-to-image generation. Maximum 4 images. Must be jpeg, png, gif, or webp.
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 seed integer Random seed. Set for reproducible generation.
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).
7bba46bdde86 Updated: 2/26/2026 1.2M runs
cinemasetfree.com