← Back to all generators

black-forest-labs/flux-2-dev

Quality image generation and editing with support for 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 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.

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
disable_safety_checker boolean

Disable safety checker for generated images.

Default: false
go_fast boolean

Run faster predictions with additional optimizations.

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

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
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
Version: 7bba46bdde86 Updated: 2/26/2026 1.2M runs