
FLUX.2 output: Photorealistic portrait with complex lighting and texture details.

FLUX.2 [flex] text rendering: Complex typography with multiple hex color specifications, clean layout, and professional presentation design
Capabilities
Explore why FLUX.2 is the choice for professional workflows.- Photorealism & Detail
- Typography & Design
- Creative & Culture
- Advanced Control
Close the gap between Generated and Real.
FLUX.2 produces realistic image details up to 4MP: accurate hands, faces, fabrics, logos, and small objects that other models miss. Ideal for creative photography, e-commerce shots, and product marketing.




Bulldog + glam nails

Tiger in the forest

Retro computer + pixel cabin

Face in the cold
Integration
Integrate FLUX.2 text-to-image generation into your application in three steps.1
Authenticate
Get your API key from the BFL Dashboard. You will use this in the
x-key header.2
Create a Generation Request
Send a POST request to
/v1/flux-2-pro or /v1/flux-2-flex. The prompt is required.3
Check Pricing
The API response includes pricing information. The
cost field shows the credits charged for the request.4
Retrieve the Result
Poll the
polling_url until the status is Ready.Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt | string | — | Required. Text description of the image to generate. |
width | integer | 1024 | Output width in pixels. Must be a multiple of 16. |
height | integer | 1024 | Output height in pixels. Must be a multiple of 16. |
seed | integer | random | Set for reproducible results. |
safety_tolerance | integer | 2 | Moderation level: 0 (strict) to 6 (permissive). |
output_format | string | "jpeg" | Output format: "jpeg" or "png". |
| Parameter | Type | Default | Description |
|---|---|---|---|
steps | integer | 50 | [flex only] Number of inference steps. Maximum: 50, default: 50. Higher = more detail, slower. |
guidance | float | 4.5 | [flex only] Guidance scale. Controls how closely the output follows the prompt. Minimum: 1.5, maximum: 10, default: 4.5. Higher = closer prompt adherence. |
Model Selection
| [pro] | [flex] | |
|---|---|---|
| Best for | Production workflows | Maximum quality |
| Speed | < 10 seconds | Higher latency |
| Controls | Standard | Adjustable steps & guidance |
| Pricing | $0.03 / image | $0.06 / image |
FLUX.2 [pro]
Fast & EfficientBest balance of speed and cost. Ideal for high-volume applications needing fast turnaround.
FLUX.2 [flex]
Maximum QualityHighest detail and prompt adherence. Best for final production assets where quality is priority.

