# Google Nano Banana Pro Text to Image API

> Nano Banana Pro is Google's new state-of-the-art image generation and editing model

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

## Facts

- Provider: Google
- Type: Image model
- Model ID: `google/nano-banana-pro`
- Price: From $0.11 per run (15% off list price)
- Capabilities: text 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-pro",
  "prompt": "a cat sitting on a windowsill, golden hour lighting, photorealistic",
  "resolution": "1K",
  "aspect_ratio": "1:1",
  "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 Pro Text to Image through SandBase?

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

## README

### Nano Banana Pro Text to Image

Nano Banana Pro (Gemini 3 Pro Image) is Google's highest-quality image model: strong reasoning over the prompt, accurate multilingual text in the image, and 1K to 4K output.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 50,000 characters. |
| `aspect_ratio` | `21:9` / `16:9` / `3:2` / `4:3` / `5:4` / `1:1` / `4:5` / `3:4` / `2:3` / `9:16` | `1:1` | Output frame shape. |
| `output_format` | `jpeg` / `png` | `png` | Output file format. |
| `resolution` | `1K` / `2K` / `4K` | `1K` | Sets the per-image rate. |

#### Billing

$0.134 per image at 1K or 2K and $0.24 at 4K, Google's list price.

| Request | 1K | 2K | 4K |
|---|---|---|---|
| One image | $0.134 | $0.134 | $0.24 |

Failed runs are not charged.

#### Prompting

- Describe the image like a brief to a designer: subject, layout, style, and text.
- Quote all text that must appear.
- Use 2K or 4K for posters and print.

#### Limits

- One image per request.

#### Also on SandBase

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