# Google Nano Banana 2.1 Edit API

> Nano Banana 2.1 Edit is Google's latest fast image editing model, fusing up to 14 reference images with stronger subject consistency and 1K to 4K output.

Source: https://www.sandbase.ai/models/google/nano-banana-2.1/edit
API reference: https://www.sandbase.ai/models/google/nano-banana-2.1/edit/docs

## Facts

- Provider: Google
- Type: Image model
- Model ID: `google/nano-banana-2.1/edit`
- Price: From $0.04 per run (15% off list price)
- Capabilities: image to image, commercial
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/nano-banana-2.1/edit",
  "images": [
    "https://ai.google.dev/static/gemini-api/docs/images/man_in_white_glasses.jpg"
  ],
  "prompt": "Make a 3 panel comic in a gritty, noir art style with high-contrast black and white inks. Put the character in a humurous scene.",
  "resolution": "1K",
  "output_format": "png",
  "enable_web_search": false,
  "enable_image_search": false
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Google Nano Banana 2.1 Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "google/nano-banana-2.1/edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Google account?

No. One SandBase API key and balance gives you access to Google Nano Banana 2.1 Edit and the other models in the catalog; you do not need to sign up with Google separately.
