← Back to all generators

black-forest-labs/flux-2-pro

High-quality image generation and editing with support for eight reference images

Capabilities

1:1 4:3 3:4 16:9 9:16 2:3 3:2 Reference Images Seed

Cost

Community model (estimated from hardware time)

Input Parameters

prompt required string

Text prompt for image generation

aspect_ratio string

Aspect ratio for the generated image. Use 'match_input_image' to match the first input image's aspect ratio.

Default: "1:1"
match_input_image custom 1:1 16:9 3:2 2:3 4:5 5:4 9:16 3:4 4:3
height integer

Height of the generated image. 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: 2048
input_images array

List of input images for image-to-image generation. Maximum 8 images. Must be jpeg, png, gif, or webp.

Default:
output_format string

Format of the output images.

Default: "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

Default: 80 min: 0, max: 100
resolution string

Resolution in megapixels. Up to 4 MP is possible, but 2 MP or below is recommended. The maximum image size is 2048x2048, which means that high-resolution images may not respect the resolution if aspect ratio is not 1:1. Resolution is not used when aspect_ratio is 'custom'. When aspect_ratio is 'match_input_image', use 'match_input_image' to match the input image's resolution (clamped to 0.5-4 MP).

Default: "1 MP"
match_input_image 0.5 MP 1 MP 2 MP 4 MP
safety_tolerance integer

Safety tolerance, 1 is most strict and 5 is most permissive

Default: 2 min: 1, max: 5
seed integer

Random seed. Set for reproducible generation

width integer

Width of the generated image. 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: 2048
Version: 285631b5656a Updated: 2/26/2026 3.1M runs