> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ninjachat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Nano Banana

> nano-banana — Fast image generation for high-volume tasks. $0.03/image.

|              |                                          |
| ------------ | ---------------------------------------- |
| **Model ID** | `nano-banana`                            |
| **Provider** | Google                                   |
| **Cost**     | \$0.03/img                               |
| **Tier**     | Budget                                   |
| **Speed**    | Fast                                     |
| **Best for** | Fast image generation, high-volume tasks |

## Description

Google's efficient image generation model (Gemini 2.5 Flash Image). Optimized for speed and high-volume, low-latency image generation tasks.

## Features

* Text-to-image
* Image editing
* Aspect ratios: 1:1, 16:9, 9:16, 3:4, 4:3

## Example

```bash theme={null}
curl -X POST https://www.ninjachat.ai/api/v1/images \
  -H "Authorization: Bearer nj_sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "nano-banana", "prompt": "A sunset over mountains, photorealistic"}'
```

```python theme={null}
import requests, os

r = requests.post("https://www.ninjachat.ai/api/v1/images",
    headers={"Authorization": f"Bearer {os.environ['NINJACHAT_API_KEY']}"},
    json={"model": "nano-banana", "prompt": "A sunset over mountains, photorealistic"}
)
print(r.json()["images"][0]["url"])
```

***

**Guides:** [Image Generation](/image-generation) | [All Models](/models) | [Pricing](/pricing) | [Error Handling](/error-handling)
