# Nano Banana

> Google Gemini image-gen. Native edit-mode (image-in + prompt → image-out). 3 size tiers (512/1K/2K). RETIRING 2026-10-20 — Google discontinues the Gemini 2.5 endpoint it runs on; use nano-banana-3-flash, same price.

Human version: https://kymaapi.com/models/nano-banana
Live JSON: `GET https://kymaapi.com/v1/models` (no auth required)

## Facts

- **Model ID**: `nano-banana` — pass this as `model` in the request body
- **Creator**: Google
- **Released**: 2025-08-26
- **Price**: $0.046 / image

## Call it

```bash
curl https://kymaapi.com/v1/images/generations \
  -H "Authorization: Bearer $KYMA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "nano-banana", "prompt": "..."}'
```

## Positioning

Nano Banana is a fast, low-cost image generation and editing model from Google. Reach for it when you need native in-context editing or rapid, budget-friendly iteration on visual assets.

## About

This is Google’s Gemini-based image generation model. It accepts text and image inputs to produce images, with native support for edit-mode workflows where you pass an existing image and a prompt to generate a modified output. It offers three resolution tiers: 512, 1024, and 2048.

On Kyma, it runs on the cheap tier with fast inference speeds and supports prompt caching for repeated prefixes. The endpoint is scheduled for retirement on 2026-10-20 as Google discontinues the underlying Gemini 2.5 endpoint; Kyma will automatically handle request failover if serving paths degrade, and responses will include exact costs in the usage.cost field. It does not support reasoning or structured outputs, and it is strictly an image-to-image or text-to-image generator.

## Use cases

- **In-context image editing** — Pass a source image with a text prompt to modify specific regions or apply new styles.
- **Low-cost asset iteration** — Generate multiple visual drafts quickly while staying within a tight compute budget.
- **Style transfer workflows** — Apply consistent visual themes across different base images using text-guided transformations.

## Not ideal for

Do not use this model for tasks requiring structured JSON outputs, complex logical reasoning, or high-fidelity photorealism beyond its standard resolution tiers.

## Pick something else when

- You need a direct successor after the 2026-10-20 retirement → `nano-banana-3-flash`
- You need higher resolution or premium photorealism → `imagen-4-ultra`
- You need vector graphics or design-ready assets → `recraft-v4-vector-pro`

## See also

- All models: https://kymaapi.com/models.md
- Pricing: https://kymaapi.com/pricing.md
- Other models by Google: https://kymaapi.com/models?q=Google
