---
title: Nano Banana | Runware Docs
url: https://runware.ai/docs/models/google-nano-banana
description: High quality multi image generation for complex visuals
---
# Nano Banana

Gemini Flash Image 2.5, commonly known as Nano Banana, generates and edits images from rich prompts and multi image inputs. It maintains character identity across frames. It supports targeted edits and completions that use strong world knowledge. Ideal for visual apps that need speed and control.

- **ID**: `google:4@1`
- **Status**: live
- **Creator**: Google
- **Release Date**: August 26, 2025
- **Capabilities**: Text to Image, Image to Image, Image Editing

## Pricing

Each image generation costs $0.039 at 1024x1024.

- **1024x1024**: `$0.039`

## Compatibility & Validation

Either provide `inputs.referenceImages`, or specify `width/height`.

---

`width` and `height` must be used together.

---

The following dimension combinations are supported:

| Configuration | Dimensions |
| --- | --- |
| `1K (1:1)` | `1024x1024` |
| `1K (3:2)` | `1248x832` |
| `1K (2:3)` | `832x1248` |
| `1K (4:3)` | `1184x864` |
| `1K (3:4)` | `864x1184` |
| `1K (5:4)` | `1152x896` |
| `1K (4:5)` | `896x1152` |
| `1K (16:9)` | `1344x768` |
| `1K (9:16)` | `768x1344` |
| `1K (21:9)` | `1536x672` |

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/google-nano-banana#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/google-nano-banana#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/google-nano-banana#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/google-nano-banana#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/google-nano-banana#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/google-nano-banana#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/google-nano-banana#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/google-nano-banana#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/google-nano-banana#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/google-nano-banana#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking. When enabled, defaults to `fast` mode.

#### [mode](https://runware.ai/docs/models/google-nano-banana#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for image generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Performs a single check.

### [ttl](https://runware.ai/docs/models/google-nano-banana#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/google-nano-banana#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/google-nano-banana#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `20`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [referenceImages](https://runware.ai/docs/models/google-nano-banana#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`

List of reference images (UUID, URL, Data URI, or Base64).

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/google-nano-banana#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `google:4@1`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [positivePrompt](https://runware.ai/docs/models/google-nano-banana#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `2`
- **Max**: `3000`

Text prompt describing elements to include in the generated output.

**Learn more** (2 resources):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [width](https://runware.ai/docs/models/google-nano-banana#request-width)

- **Type**: `integer`
- **Required**: true
- **Paired with**: height

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

### [height](https://runware.ai/docs/models/google-nano-banana#request-height)

- **Type**: `integer`
- **Required**: true
- **Paired with**: width

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

**Provider Settings**

Parameters specific to this model provider. These must be nested inside the \`providerSettings.google\` object.

### [safetyTolerance](https://runware.ai/docs/models/google-nano-banana#request-providersettings-google-safetytolerance)

- **Path**: `providerSettings.google.safetyTolerance`
- **Type**: `string`
- **Default**: `none`

Safety filter tolerance level. Use `off` to use Google's defaults.

**Allowed values**: `high` `medium` `low` `none` `off`

## Response Parameters

### [taskType](https://runware.ai/docs/models/google-nano-banana#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/google-nano-banana#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/google-nano-banana#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/google-nano-banana#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/google-nano-banana#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/google-nano-banana#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [seed](https://runware.ai/docs/models/google-nano-banana#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/google-nano-banana#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/google-nano-banana#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Subterranean Fungal Tram Station (Text to Image)

![Subterranean Fungal Tram Station](https://assets.runware.ai/examples/google-nano-banana/eeb6f2ec-f793-4edb-9cb0-597ecdfa07db.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "b5a975f7-5e51-4a35-acf7-f4f8006cff34",
  "model": "google:4@1",
  "positivePrompt": "A vast underground tram platform carved into volcanic stone, transformed into a public transit hub beneath a forest of colossal amber and indigo mushrooms. Sleek ceramic tram cars wait beside tracks that curve into a glowing tunnel, while commuters in practical weathered coats carry woven baskets, mechanical tool cases, and paper parcels. The ceiling is crowded with hanging roots, mineral drips, ventilation ducts, and suspended lantern globes shaped like seed pods. Small maintenance robots roll along the platform, reflecting warm highlights on wet basalt. Moss-covered signage uses elegant geometric symbols, benches are made from polished dark wood and cast metal, and puddles mirror the luminous caps overhead. Atmosphere of hushed wonder and everyday routine, cinematic depth, ultra-detailed textures, believable scale, volumetric haze, high dynamic range, wide-angle environmental shot, imaginative but grounded science-fantasy realism.",
  "width": 1344,
  "height": 768,
  "providerSettings": {
    "google": {
      "safetyTolerance": "off"
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "b5a975f7-5e51-4a35-acf7-f4f8006cff34",
  "imageUUID": "be8792b6-c4e1-4c21-b1fd-c2b92141e4be",
  "imageURL": "https://im.runware.ai/image/os/a22d05/ws/2/ii/be8792b6-c4e1-4c21-b1fd-c2b92141e4be.jpg",
  "seed": 963629215,
  "cost": 0.039
}
```

---

### Rainy Rooftop Kite Workshop (Image to Image)

![Rainy Rooftop Kite Workshop](https://assets.runware.ai/examples/google-nano-banana/45b98282-3bca-4417-9dc5-37a20438a8b1.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "b7848026-d92e-4c2d-be54-57fa65e520e9",
  "model": "google:4@1",
  "positivePrompt": "Using the reference images as visual guidance, create a cinematic wide scene of a rainy rooftop kite workshop in an old coastal city. Blend the shed interior details, wet roof textures, and manta-shaped kite design into one believable environment. Show a partially open workshop with handmade flying machines hanging from beams, worktables covered in brushes, lacquer bowls, cut paper, bamboo spars, and tangled string. Outside, slick roof tiles reflect the gray sky and shallow puddles ripple in light drizzle. Feature one large manta-inspired kite being assembled near the doorway, with intricate indigo fabric panels, translucent fins, and copper joints. Mood is quiet, inventive, and slightly windswept. Emphasize tactile materials, layered depth, atmospheric perspective, realistic lighting, and crisp fine-detail rendering.",
  "width": 1248,
  "height": 832,
  "providerSettings": {
    "google": {
      "safetyTolerance": "off"
    }
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/0e5fca34-715c-4833-8a78-faf80483d54e.jpg",
      "https://assets.runware.ai/assets/inputs/f6f959be-0328-451e-81dd-94a741678ab2.jpg",
      "https://assets.runware.ai/assets/inputs/1fc7bab6-893d-48bf-a70c-1c51008900df.jpg"
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "b7848026-d92e-4c2d-be54-57fa65e520e9",
  "imageUUID": "f9defe1a-45bc-4dfc-b7a9-d9b3415a6edc",
  "imageURL": "https://im.runware.ai/image/os/a09d21/ws/2/ii/f9defe1a-45bc-4dfc-b7a9-d9b3415a6edc.jpg",
  "seed": 1807705428,
  "cost": 0.039
}
```

---

### Clockwork Aviary Winter Atrium (Image to Image)

![Clockwork Aviary Winter Atrium](https://assets.runware.ai/examples/google-nano-banana/908a1658-c0be-49ba-b03c-e554e59ecbd3.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "5d034aaf-9912-4d37-940c-a9aae4f74c89",
  "model": "google:4@1",
  "positivePrompt": "Using the reference images as inspiration, create a richly detailed wide scene inside a vast winter conservatory transformed into a clockwork aviary. Brass-and-ivory mechanical birds perch among bare branches and suspended rings, with intricate gears and tiny winding keys integrated into their bodies. Frost traces the glass ceiling, soft daylight filters through misty panes, and the tiled floor reflects scattered gold highlights. Blend botanical architecture with precise horological craftsmanship, emphasizing elegant scale, believable materials, crisp fine detail, cinematic depth, and a quiet wonder-filled mood. No text, no people.",
  "width": 1248,
  "height": 832,
  "providerSettings": {
    "google": {
      "safetyTolerance": "off"
    }
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/f141620d-fed3-4049-826d-72b5fc4d1622.jpg",
      "https://assets.runware.ai/assets/inputs/ded3e076-979b-4765-ba90-fec8ac5c0662.jpg",
      "https://assets.runware.ai/assets/inputs/b116a184-727b-4eac-8d7e-dfa28e784ce6.jpg"
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "5d034aaf-9912-4d37-940c-a9aae4f74c89",
  "imageUUID": "419b04b5-332e-409b-9e95-8f2f099c9727",
  "imageURL": "https://im.runware.ai/image/os/a22d05/ws/2/ii/419b04b5-332e-409b-9e95-8f2f099c9727.jpg",
  "seed": 307836537,
  "cost": 0.039
}
```

---

### Windworn Desert Aerostat Encampment (Image to Image)

![Windworn Desert Aerostat Encampment](https://assets.runware.ai/examples/google-nano-banana/47fe870c-dd26-4cd8-b674-c4846498b1f4.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "4f6c3357-a8e0-42d5-ae64-09be3432afff",
  "model": "google:4@1",
  "positivePrompt": "Using the reference images, create a sweeping adventure scene in a remote desert camp beneath towering red sandstone arches. Feature the same explorer as the central figure, preserving the layered robe silhouette, goggles, and travel gear from the character reference. Incorporate the patched aerostat design from the vehicle reference, moored with heavy ropes beside tents and supply crates. Blend the canyon landscape from the environment reference into a believable world with drifting dust, long afternoon shadows, faded textiles, scattered navigation instruments, and signs of a long expedition. Emphasize rich texture, grounded realism, dynamic composition, and a sense of quiet anticipation before departure.",
  "width": 1248,
  "height": 832,
  "providerSettings": {
    "google": {
      "safetyTolerance": "off"
    }
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/e5039b30-c30e-4c85-aa63-d139b28040c8.jpg",
      "https://assets.runware.ai/assets/inputs/8533714f-7fa7-4b66-a08c-8d07b5006270.jpg",
      "https://assets.runware.ai/assets/inputs/e51c44ec-9856-47c4-867c-27cf5f5c8eb3.jpg"
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "4f6c3357-a8e0-42d5-ae64-09be3432afff",
  "imageUUID": "07691e39-275c-4a09-a99d-e8f3eb453237",
  "imageURL": "https://im.runware.ai/image/os/a17d13/ws/2/ii/07691e39-275c-4a09-a99d-e8f3eb453237.jpg",
  "seed": 861121150,
  "cost": 0.039
}
```