Parameters
| Name | Description | Type | Required | Enums |
|---|---|---|---|---|
| prompt | Editing instruction describing the desired transformation | string | Yes | - |
| aspectRatio | Output image aspect ratio | string | No | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 |
| image | Input image URLs. Pass 1–14 images; all images are used together as reference context for the edit. | string[] | Yes | - |
| imageSize | Output image resolution | string | No | 1K, 2K, 4K |
Pricing
Unit: $/img
| Dimension | Pricing |
|---|---|
| imageSize: 1K | 0.1300 |
| imageSize: 2K | 0.1300 |
| imageSize: 4K | 0.2200 |
Related Models
- google/nano-banana: Nano Banana image generation model. Returns results via async task polling. Supports prompt and optional aspect ratio.
- google/nano-banana-2: Nano Banana 2 text-to-image model. Supports 14 aspect ratios and 512-4K resolution.
- google/nano-banana-pro: Nano Banana Pro image generation model with higher quality output. Supports aspect ratio and image size (1K/2K/4K resolution).
- google/nano-banana-2-edit: Nano Banana 2 image editing model. Supports image and video inputs, multiple aspect ratios, and resolutions up to 4K.
- google/nano-banana-edit: Nano Banana image editing model. Transforms images based on prompt instructions. Accepts an image URL.




