FLUX.2 [pro]
FLUX.2 [pro] is the FLUX.2 generation launch model. It pairs a rectified-flow transformer with a Mistral-3 24B vision-language model (VLM), introducing multi-reference image synthesis and exact color matching at up to 4 megapixels.
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({ model: 'bfl/flux-2-pro', prompt: 'A red balloon on a wooden table.'});Playground
Try out FLUX.2 [pro] by Black Forest Labs. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.
P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.
More models by Black Forest Labs
| Model |
|---|
About FLUX.2 [pro]
FLUX.2 [pro] is Black Forest Labs's FLUX.2 generation launch model, released on N/A. The FLUX.2 architecture departs from FLUX.1 by pairing a rectified-flow transformer with a Mistral-3 24B vision-language model (VLM) as the text conditioning component, retrained with a new VAE. The VLM handles semantic understanding of complex prompts and reference inputs. The flow transformer handles image synthesis. Together they enable FLUX.2's improved reference image handling.
The multi-reference capability accepts up to 10 input images to guide generation simultaneously. In practice, you can supply a product photo, a lighting reference, a composition reference, and a style example together. The model synthesizes all of them coherently into a new image. Exact color matching (producing output that hits specific hex values or matches reference palette samples) directly benefits brand asset production where color accuracy is non-negotiable.
At up to 4 megapixels output resolution, FLUX.2 [pro] is the entry point to the FLUX.2 generation for teams whose workflows need the multi-reference architecture. FLUX.2 Max extends the quality ceiling further. FLUX.2 [pro] is the generation baseline that introduced the paradigm.
What To Consider When Choosing a Provider
- Configuration: For commercial workflows using branded visual assets as references, confirm licensing terms with your provider for multi-reference generation use. Check N/A before you scale traffic.
- Zero Data Retention: AI Gateway does not currently support Zero Data Retention for this model. See the documentation for models that support ZDR.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
When to Use FLUX.2 [pro]
Best For
- Multi-reference brand asset generation: Supplying product photos, brand color palettes, and composition references simultaneously produces on-brand imagery without manual post-production color correction
- Exact color matching workflows: Fashion, product photography, and graphic design pipelines where output must match specific color values benefit from the precise color fidelity
- High-resolution commercial production: At up to 4MP, output is suitable for print materials, large-format advertising, and other applications where pixel density matters
- FLUX.2 architecture adoption: Teams moving from FLUX.1 to the FLUX.2 generation use FLUX.2 [pro] as the baseline model, then evaluate FLUX.2 Max for the quality ceiling
Consider Alternatives When
- Iterative multi-turn image editing is the workflow: FLUX Kontext Pro is purpose-built for sequential edits to the same image, a different paradigm from reference-guided generation
- Interactive or real-time generation is needed: FLUX.2 Klein is optimized for sub-second generation, a different performance tier
- The FLUX.1 workflow already works well: FLUX 1.1 Pro is the recommended production model for FLUX.1-generation pipelines and may not require an architectural upgrade
Conclusion
FLUX.2 [pro] is the FLUX.2 generation's foundation: multi-reference synthesis, exact color matching, and 4 MP resolution in the model that introduced Black Forest Labs's paired VLM architecture. For teams whose workflows need branded, color-accurate, multi-reference image generation, it's the starting point for the FLUX.2 generation.
Frequently Asked Questions
What makes FLUX.2 architecturally different from FLUX.1?
FLUX.2 pairs a rectified-flow transformer with a Mistral-3 24B vision-language model (VLM) for text conditioning. This replaces the T5/CLIP conditioning used in FLUX.1. The VLM enables richer semantic understanding of complex prompts and reference images.
How does multi-reference synthesis work with up to 10 input images?
Submit up to 10 images alongside your text prompt. The model synthesizes a new image that incorporates elements (style, color, composition, subjects) from the references according to your prompt instructions.
What does exact color matching mean in practice?
The model can reproduce specific color values from reference images or color samples with high fidelity. For brand asset workflows where output must match a defined palette, this reduces or eliminates post-production color correction.
How does FLUX.2 [pro] compare to FLUX.2 Max?
Both are FLUX.2-generation models. FLUX.2 [pro] is the production-tier release. FLUX.2 Max targets the quality ceiling with additional fidelity and typography improvements for the most demanding commercial work.
What resolution does FLUX.2 [pro] support?
Up to 4 megapixels. Specific dimension combinations depend on the provider. Refer to available providers for available aspect ratios and resolutions.
What does FLUX.2 [pro] cost per image?
This page lists the current rates. Multiple providers can serve FLUX.2 [pro], so AI Gateway surfaces live pricing rather than a single fixed figure.
How do I generate images with FLUX.2 [pro] on AI Gateway?
Use the identifier
bfl/flux-2-prowithgenerateImagefrom the AI SDK. Submit text prompts and optional reference images. AI Gateway routes the request to available providers automatically.