# Google Nano Banana 2 Lite Edit API

> Nano Banana 2 Lite Edit is Google's low-latency, cost-efficient image editing model (Gemini 3.1 Flash Lite Image). Edit and combine supplied images with a text prompt; output is a 1K image.

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

## Facts

- Provider: Google
- Type: Image model
- Model ID: `google/nano-banana-2-lite/edit`
- Price: $0.03 per run
- Capabilities: image to image
- 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-lite/edit",
  "images": [
    "https://static.sandbase.ai/examples/google/nano-banana-2-lite/edit/input_images_0.png",
    "https://static.sandbase.ai/examples/google/nano-banana-2-lite/edit/input_images_1.png"
  ],
  "prompt": "make a photo of the man driving the car down the california coastline",
  "output_format": "png"
}'
```

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 Lite Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "google/nano-banana-2-lite/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 Lite Edit and the other models in the catalog; you do not need to sign up with Google separately.

## README

### Nano Banana 2 Lite Edit

Nano Banana 2 Lite Edit: fast, low-cost edits and multi-image composition at 1K with Gemini 3.1 Flash Lite Image.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 50,000 characters. |
| `images` | image URL[], required | — | Images to edit or combine, Image 1, Image 2, … |
| `output_format` | `jpeg` / `png` | `png` | Output file format. |
| `system_prompt` | string | — | Optional standing instructions applied to every request. |
| `thinking_level` | `minimal` / `high` | — | `high` reasons more about the prompt before drawing; `minimal` is faster. |
| `aspect_ratio` | `21:9` / `16:9` / `3:2` / `4:3` / `5:4` / `1:1` / `4:5` / `3:4` / `2:3` / `9:16` | — | Omit to follow the first input image. |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

$0.0336 per 1K image, Google's list price.

| Request | Price |
|---|---|
| One image | $0.0336 |

Failed runs are not charged.

#### Prompting

- Keep prompts direct; use `thinking_level: high` for complex layouts.

#### Limits

- Output is 1K only.

#### Also on SandBase

Other Nano Banana endpoints: `google/nano-banana-pro`, `google/nano-banana-pro/edit`, `google/nano-banana-2`, `google/nano-banana-2/edit`, `google/nano-banana-2-lite`.
