Início
Explorar
black-forest-labs/flux-2-pro/text-to-image
FLUX.2 Pro Text-to-image
Texto para Imagem
PRO

FLUX.2 Pro Text-to-Image API by Black Forest Labs

black-forest-labs/flux-2-pro/text-to-image
Text-to-image

FLUX.2 Pro is a state-of-the-art text-to-image generation model that raises the bar for photorealistic quality, prompt fidelity, and production reliability. Built on a multimodal flow matching architecture, it delivers up to 4MP coherent scenes with realistic lighting, spatial logic, and fine detail that close the gap with professional photography.

FLUX.2 Pro — Text to Image

Developer: Black Forest Labs
Model ID: black-forest-labs/flux-2-pro/text-to-image
Release Date: November 25, 2025

Overview

FLUX.2 Pro is a state-of-the-art text-to-image generation model that raises the bar for photorealistic quality, prompt fidelity, and production reliability. Built on a multimodal flow matching architecture, it delivers up to 4MP coherent scenes with realistic lighting, spatial logic, and fine detail that close the gap with professional photography.

FLUX.2 Pro is designed for real-world production pipelines, combining maximum quality with practical generation speeds — typically under 10 seconds — making it suitable for high-throughput commercial workflows.

Key Capabilities

  • Production-grade quality up to 4MP — High-fidelity, coherent scenes with realistic lighting, spatial logic, and fine detail.
  • Brand-accurate results — Exact hex-color matching, reliable typography, and structured controls (JSON, pose guidance) for fewer manual fixes and stronger brand compliance.
  • Strong prompt fidelity — Precise positioning, physics-aware lighting, and composition control with support for up to 32K tokens for long and detailed prompts.
  • Balanced speed and quality — Optimized to deliver maximum quality while keeping generation times practical, enabling real-world production pipelines.

Use Cases

  • Commercial advertising — High-quality product visuals, campaign assets, and promotional imagery at scale.
  • Brand asset creation — Logos, signage, and branded content with hex-code color accuracy and typographic precision.
  • Creative production — Concept art, editorial illustration, and photorealistic scene generation.
  • Rapid prototyping — Fast iteration on visual ideas without manual editing overhead.

Input Parameters

ParameterTypeDefaultRangeDescription
promptstringText description of the image to generate. Required.
widthinteger1024256–2048Width of the generated image in pixels.
heightinteger1024256–2048Height of the generated image in pixels.
output_formatstringjpegjpeg, pngOutput image format.
safety_toleranceinteger20–5Moderation strictness level. 0 = most strict, 5 = least strict.
seedinteger-1Random seed for reproducibility. Use -1 for a random seed.

Output

Returns a URL to the generated image. The model supports asynchronous generation: the response first contains a polling URL, which resolves to the final image once generation is complete.

Output formats: JPEG, PNG Maximum resolution: 4 megapixels (e.g., 2048×2048)

Pricing

Pricing is based on the resolution of the generated image, measured in megapixels (MP). 1 MP = 1,048,576 pixels (e.g., 1024×1024). Resolution is capped at 4 MP for billing purposes.

SKUs

SKUDescriptionUnit Price
sku_gen_first_mpFirst megapixel of the generated image$0.03
sku_gen_extra_mpEach additional megapixel beyond the first (up to 4 MP)$0.015

Formula

cost = sku_gen_first_mp + max(0, min(4, ceil(width × height / 1,048,576)) - 1) × sku_gen_extra_mp

Examples

ResolutionMegapixels (billed)Cost
1024×10241 MP$0.030
1024×15362 MP$0.045
1536×15363 MP (ceil)$0.060
2048×20484 MP$0.075

Megapixels are always rounded up (ceil). The first megapixel is billed at 0.03;eachadditionalmegapixelisbilledat0.03; each additional megapixel is billed at 0.015. Resolution beyond 4 MP is not additionally charged.

Explorar Modelos Semelhantes

Uma API para toda a IA de mídia.

Explorar Todos os Modelos

Join our Discord community

Join the Discord community for the latest model updates, prompts, and support.