# Nano Banana 2.1 API

> Google's Nano Banana 2.1: text to image and image editing, up to 4K. By Google, on Revana from $0.03 per image.

- Model id: `nano-banana-2.1`
- Kind: image
- Maker: Google
- Tasks: Text to image, Image to image
- Resolutions: 1K, 2K, 4K
- Aspect ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9, 1:4, 4:1, 1:8, 8:1
- Input images: up to 14
- Routes: 3 (starts on the cheapest, falls back automatically)
- Status: live on the API
- Page: https://revana.si/models/nano-banana-2.1

## Price (per image, USD)

| Setting | Price | Credits |
|---|---|---|
| 1K | $0.03 | 3 |
| 2K | $0.03 | 3 |
| 4K | $0.04 | 4 |

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": "nano-banana-2.1",
  "input": {
    "prompt": "A product photo of a ceramic coffee cup on a linen tablecloth, soft morning light",
    "resolution": "1K",
    "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

- [Veo 3.1 Fast](https://revana.si/models/veo-3.1-fast.md): from $0.08 per second of video
- [Veo 3.1](https://revana.si/models/veo-3.1.md): from $0.20 per second of video
- [Nano Banana Pro](https://revana.si/models/nano-banana-pro.md): from $0.04 per image
- [Nano Banana 2](https://revana.si/models/nano-banana-2.md): from $0.03 per image
- [Nano Banana](https://revana.si/models/nano-banana.md): from $0.03 per image
- [Gemini Omni](https://revana.si/models/gemini-omni.md): from $0.10 per second of video

