
Generate images at a selected resolution
Pair a written brief with the available resolution, aspect ratio and output format.
Generate or edit at up to 4K with ten references and a broad ratio set that includes ultra-tall 1:8 and ultra-wide 8:1 canvases.
nano-banana-2-1Your generated image will appear here.
Set your inputs, then generate.
Compare this model with endpoints that support the same operation, or continue to a workflow guide built around a specific product requirement.
The Nano Banana 2.1 API is built for 4K image generation and multi-image editing. Alongside text-to-image and image-to-image modes, it accepts up to ten references and adds explicit resolution, wide aspect-ratio and output-format controls for developers comparing image API pricing.


Pair a written brief with the available resolution, aspect ratio and output format.

Provide supported source images and describe the intended change while keeping the request reproducible.

Run the same brief through the Nano Banana family with matching settings and record each route's price.
Configure the published inputs, submit an authenticated task, and track the same task ID until the Nano Banana 2.1 result is ready.
Use text-to-image for a new composition or image-to-image with as many as ten reference URLs.
Set 1K, 2K, or 4K, choose a standard or extreme ratio, and pick PNG or JPG output.
Review the exact live price for those settings before sending the model ID and tracking the task.
Choose Nano Banana 2.1 when the application needs both generation and editing plus an explicit output resolution. Compare its available values and current price with Nano Banana and Nano Banana Pro rather than relying on family-level assumptions.
Compare published configurations and the calculated cost for one request. Video totals include the selected duration; image totals are calculated per output.
| Configuration | Unit price | One request | 100 requests |
|---|---|---|---|
| image to image · 4K | $0.063 / image | $0.063 | $6.3 |
| image to image · 2K | $0.042 / image | $0.042 | $4.2 |
| image to image · 1K | $0.028 / image | $0.028 | $2.8 |
| text to image · 4K | $0.063 / image | $0.063 | $6.3 |
| text to image · 2K | $0.042 / image | $0.042 | $4.2 |
| text to image · 1K | $0.028 / image | $0.028 | $2.8 |
Review the accepted values and requirements for every published operation before you build the request body.
| Parameter | Accepted values | Requirement |
|---|---|---|
prompt | Text, up to 20000 characters | Required |
resolution | 1K, 2K, 4K | Required |
aspect_ratio | 1:1, 2:3, 3:2, 1:4, 4:1, 3:4, 4:3, 4:5, 5:4, 1:8, 8:1, 9:16, 16:9, 21:9, auto | Optional |
output_format | png, jpg | Optional |
| Parameter | Accepted values | Requirement |
|---|---|---|
prompt | Text, up to 20000 characters | Required |
image_urls | Up to 10 URLs | Required |
resolution | 1K, 2K, 4K | Required |
aspect_ratio | 1:1, 2:3, 3:2, 1:4, 4:1, 3:4, 4:3, 4:5, 5:4, 1:8, 8:1, 9:16, 16:9, 21:9, auto | Optional |
output_format | png, jpg | Optional |
Yes. The current generation and editing schemas both list 1K, 2K, and 4K resolutions.
In addition to common layouts, Nano Banana 2.1 publishes 1:4, 4:1, 1:8, and 8:1 options.
Text to Image, Image to Image. The playground shows only priced configurations with a parameter definition. Live availability is checked before enabling submission.
Configure your request, open the API tab, and copy the example. It submits to our task API and polls the returned task ID. Keep your API key on your server.
Read the Nano Banana 2.1 API reference →Nano Banana 2.1 adds explicit 4K output and the widest ratio set in its family. Compare the base and Pro routes on reference count, ratio coverage, and current per-image price.
Swipe horizontally to compare every column.
| Model | Provider | Supported modes | Key controls | Published unit price |
|---|---|---|---|---|
| Nano Banana 2.1Current model | Text to Image, Image to Image | prompt, resolution, aspect ratio, output format, image urls | $0.028 / imageView API | |
| Nano Banana | Text to Image, Image to Image | prompt, aspect ratio, output format, image urls | $0.028 / imageView API | |
| Nano Banana Pro | Text to Image, Image to Image | prompt, resolution, aspect ratio, output format, image urls | $0.126 / imageView API | |
| Seedream 5 Lite | ByteDance | Text to Image, Image to Image | prompt, resolution, aspect ratio, output format, image urls | $0.0385 / imageView API |