# Flux 2 Pro API

> Black Forest Labs' production model. Photoreal detail, reliable hands and faces, and multi-reference editing. By Black Forest Labs, on Revana from $0.03 per image.

- Model id: `flux-2-pro`
- Kind: image
- Maker: Black Forest Labs
- Tasks: Text to image, Image to image
- Resolutions: 1MP, 2MP, 3MP, 4MP
- Aspect ratios: auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21
- Input images: up to 8
- Routes: 1
- Status: live on the API
- Page: https://revana.si/models/flux-2-pro

## Price (per image, USD)

| Setting | Price | Credits |
|---|---|---|
| 1MP | $0.03 | 3 |
| 2MP | $0.05 | 5 |
| 3MP | $0.06 | 6 |
| 4MP | $0.08 | 8 |

100 credits = $1. Charged once, only for the route that succeeds; failed generations cost nothing.

## Request

POST https://api.revana.si/v1/generations with `Authorization: Bearer $REVANA_API_KEY`:

```json
{
  "model": "flux-2-pro",
  "input": {
    "prompt": "A product photo of a ceramic coffee cup on a linen tablecloth, soft morning light",
    "resolution": "1MP",
    "aspect_ratio": "16:9"
  }
}
```

Poll `GET /v1/generations/{id}` until `status` is `succeeded` or `failed`, then download `GET /v1/generations/{id}/content`. Full API: https://revana.si/llms.txt

## Similar models

- [Flux 3 Video](https://revana.si/models/flux-3-video.md): from $0.06 per second of video
- [Flux 2 Flex](https://revana.si/models/flux-2-flex.md): from $0.05 per image
- [Flux 2 Max](https://revana.si/models/flux-2-max.md): from $0.07 per image
- [Flux 3](https://revana.si/models/flux-3.md): from $0.05 per image
- [Flux Kontext Max](https://revana.si/models/flux-kontext-max.md): from $0.07 per image
- [Flux Kontext Pro](https://revana.si/models/flux-kontext-pro.md): from $0.04 per image

