← All models
Black Forest Labs · Image model
FLUX.2 Pro
black-forest-labs/flux.2-pro- Image
A high-end image generation and editing model focused on frontier-level visual quality and reliability. It delivers strong prompt adherence, stable lighting, sharp textures, and consistent character/style reproduction across multi-reference inputs....
Specifications
- Input
- text, image
- Output
- image
- Editing
- yes, up to 8 reference images
- Images per call
- 1
- Served by
- Black Forest Labs
Request options
Validated against these values; anything else returns 400 with the allowed list.
- aspect_ratio
- 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, auto
- output_format
- png, jpeg
- seed
- boolean
Use it
POST /api/v1/images · /images/edits · MCP generate_image · edit_image · full reference
curl https://omnirail.org/api/v1/images \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"black-forest-labs/flux.2-pro","prompt":"a lighthouse at dawn, 35mm film","aspect_ratio":"1:1"}'