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

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Nano Banana 2.1 API

> Nano Banana 2.1 API on Venice: image generation and image editing up to 4K, from $0.10 per image. Anonymized access without your identity.



## Nano Banana 2.1 API

Nano Banana 2.1 is an image generation and image editing model by Google, available on the Venice API as `nano-banana-2-1`. The provider of this model may retain prompt data (though it is anonymized by Venice). For sensitive content, use a private model.

Nano Banana 2.1 is an update to Google's Gemini-based Nano Banana 2 image model, generating at up to 4K from prompts of up to 32,768 characters. It pairs with Nano Banana 2.1 Edit.

### Nano Banana 2.1 API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `nano-banana-2-1` | Generate | Anonymized | \$0.10 / image |
| `nano-banana-2-1-edit` | Edit | Anonymized | \$0.10 / edit |

### Nano Banana 2.1 specifications

| Spec | Value |
| - | - |
| Provider | Google |
| Released | Oct 6, 2026 |
| Privacy | Anonymized |
| Status | Stable |
| Resolutions | 1K, 2K, 4K |
| Aspect ratios | 1:1, 5:4, 4:3, 3:2, 16:9, 21:9, 4:1, 8:1, 4:5, 3:4, 2:3, 9:16, 1:4, 1:8 |
| Prompt limit | 32,768 characters |

### How to use the Nano Banana 2.1 API

Send requests to `POST https://api.venice.ai/api/v1/image/generate` with `"model": "nano-banana-2-1"` and your API key.

```bash theme={"system"}
curl https://api.venice.ai/api/v1/image/generate \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-2-1",
    "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
    "resolution": "1K",
    "aspect_ratio": "1:1"
  }'
```

### Related models

* [Nano Banana 2 API](https://docs.venice.ai/models/nano-banana-2.md): \$0.10 / image
* [GPT Image 2.6 Flare API](https://docs.venice.ai/models/gpt-image-2-6-flare.md): \$0.09 / image
* [GPT Image 2.6 Sunburst API](https://docs.venice.ai/models/gpt-image-2-6-sunburst.md): \$0.09 / image
* [Flux 3 API](https://docs.venice.ai/models/flux-3-image.md): \$0.12 / image
* [Kling Image 4.0 API](https://docs.venice.ai/models/kling-image-4-0.md): \$0.08 / image


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.