# FLUX.2 [max] API (Black Forest Labs)

> FLUX.2 [max] is Black Forest Labs' top FLUX.2 model, with the most detail, texture and typography and the best prompt following, up to 4 megapixels.

Page: https://cheapergen.com/models/bfl/flux-2-max · API reference: https://cheapergen.com/models/bfl/flux-2-max/api

## Pricing
Official list price source: BFL API list price for FLUX.2 [max] ($0.07 for the first output megapixel, $0.03 per additional MP; input images $0.03 / MP). Prices verified 2026-10-16.

| Tier | Official | Cheaper Gen. | Save |
|---|---|---|---|
| 1 MP | $0.0700/image | $0.0616/image | 12% |
| 2 MP | $0.1000/image | $0.0880/image | 12% |
| 3 MP | $0.1300/image | $0.1144/image | 12% |
| 4 MP | $0.1600/image | $0.1408/image | 12% |

## Specs
- Resolutions: 1 · 2 · 3 · 4 MP
- Aspect ratios: 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 · 21:9 · 9:21

## Endpoints

### Text to Image — `POST https://cheapergen.com/api/v1/run/bfl/flux-2-max/text-to-image`

| Param | Type | Required | Description |
|---|---|---|---|
| prompt | string | yes | Describe the shot: subject, action, camera movement, lighting and style. |
| aspect_ratio | string (enum) (1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21) | no | Output image shape. |
| resolution | string (enum) (1MP, 2MP, 3MP, 4MP) | no | Output size in megapixels (1 MP ≈ 1024×1024). FLUX.2 is billed per megapixel. |
| prompt_upsampling | boolean | no | Let the model expand and rewrite the prompt before generating. |
| seed | integer | no | Use the same seed and settings to reproduce a result. Leave empty for random. |

```bash
curl -X POST https://cheapergen.com/api/v1/run/bfl/flux-2-max/text-to-image \
  -H "Authorization: Bearer $CHEAPERGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "Editorial photo of a ceramic vase with dried flowers on a linen-covered table, soft north light, film grain",
  "aspect_ratio": "1:1",
  "resolution": "1MP"
}'
```

## Getting the result
Jobs are async. Poll `GET https://cheapergen.com/api/v1/generations/{id}` until status is succeeded/failed/canceled, or pass `webhook_url`. Failed generations are refunded automatically.

## FAQ
**How is FLUX.2 [max] priced?**
FLUX.2 [max] is billed per image by output megapixels, like Black Forest Labs' own API: a price for the first megapixel and a price for each additional one. Failed generations are not charged.

**Is this the official FLUX.2 [max]?**
Yes. Requests run on Black Forest Labs' FLUX.2 [max] model through official API channels, at a lower price than the BFL list price.

**Can I use the output commercially?**
Yes, outputs of the FLUX API models can be used commercially, subject to Black Forest Labs' terms and our Terms of Service.

FLUX.2 [max] is developed by Black Forest Labs. Cheaper Gen. provides API access and does not own the model.