Nano Banana Pro API pricing overview
Nano Banana Pro is an AI image generation model for high-quality visual creation, including product posters, ecommerce images, social media creatives, brand assets, and reference-image based edits. On UniAll AI, the public model id is `NanoBananaPro-1K`.
The model supports both text-to-image and image-to-image workflows, with one optional reference image and selectable output resolution.
Pricing by resolution
For API usage, Nano Banana Pro is billed per generated image:
| Resolution | API price | |---|---:| | 1K | $0.0825 / image | | 2K | $0.0825 / image | | 4K | $0.165 / image |
For standard user generation, pricing is:
| Resolution | User price | |---|---:| | 1K | $0.102 / image | | 2K | $0.102 / image | | 4K | $0.204 / image |
Failed generations are refund eligible when the task fails. Automatic retry is not enabled by default.
What Nano Banana Pro can generate
Nano Banana Pro is designed for professional image output where detail, composition, and format control matter. Common uses include:
- Product posters and ecommerce hero images
- Text-to-image concept generation
- Image-to-image creation from a reference image
- Brand visuals and social media graphics
- 1K quick previews, 2K production drafts, and 4K higher-resolution assets
Supported aspect ratios include `1:1`, `16:9`, `9:16`, `4:3`, and `3:4`. You can request 1 to 4 images per task.
API usage
Nano Banana Pro uses an async image generation endpoint:
```http POST /v1/images/generations ```
Example request:
```json { "model": "NanoBananaPro-1K", "generation_mode": "image_to_image", "prompt": "A premium product poster with clean lighting and sharp details.", "image_url": "https://example.com/reference.png", "aspect_ratio": "1:1", "resolution": "1K", "num_images": 1 } ```
For text-to-image, send `generation_mode: "text_to_image"` and omit `image_url`. For image-to-image, include both `prompt` and `image_url`.
Key parameters
| Parameter | Required | Description | |---|---:|---| | `model` | Yes | Use `NanoBananaPro-1K` as the public model id. | | `prompt` | Yes | Text instruction for the image. | | `generation_mode` | Yes | Use `text_to_image` or `image_to_image`. | | `image_url` | Required for image-to-image | Reference image URL. Supports PNG, JPEG, and WebP. | | `aspect_ratio` | No | Defaults to `1:1`. | | `resolution` | No | Choose `1K`, `2K`, or `4K`. | | `num_images` | No | Generate 1 to 4 images. |
Who should use Nano Banana Pro API
Nano Banana Pro is a strong fit for developers, ecommerce teams, creative automation platforms, marketing tools, and agencies that need image generation through an API rather than manual prompting. It is especially useful when teams need predictable pricing per image and flexible output sizes from preview to 4K.
常见问题
How much does the Nano Banana Pro API cost?
Nano Banana Pro API pricing is $0.0825 per image for 1K and 2K outputs, and $0.165 per image for 4K outputs on UniAll AI.
What is the model id for Nano Banana Pro?
The public model id is `NanoBananaPro-1K`. You can use it with the `/v1/images/generations` endpoint and select the desired `resolution` parameter.
Does Nano Banana Pro support image-to-image generation?
Yes. Nano Banana Pro supports both text-to-image and image-to-image generation. For image-to-image, provide a `prompt` and an `image_url` reference image.