Nano Banana Pro 2 API is coming to APIMart. Until it launches, the workspace below uses the current Nano Banana Pro (Gemini 3 Pro Image) parameters, so you can prepare prompts, reference images and settings in advance and run them on launch day.
Nano Banana Pro 2 API workspace
This workspace is configured with Nano Banana Pro (Gemini 3 Pro Image) parameters and will sync when Nano Banana Pro 2 launches on APIMart. RUN stays disabled until then.
Up to 14 public http(s) image URLs, as with Nano Banana Pro. JPEG, PNG or WebP, up to 30 MB each. Base64 data URIs can be entered in JSON.
Auto lets the model choose the aspect ratio. As with Nano Banana Pro, each request returns 1 image.
Review the prompt and input images before submission. Flagged requests create no task and incur no charge.
Your images will appear here
Nano Banana Pro 2 API is on its way to APIMart. Today's Nano Banana Pro, Google's Gemini 3 Pro Image model, already renders legible text in many languages, blends up to 14 reference images and outputs up to 4K. The workspace uses those parameters, so your nano-banana-pro-2 requests are ready when the model goes live.
These Nano Banana Pro 2 API examples use APIMart's common asynchronous task format and the workspace parameters, which follow Nano Banana Pro and will be synced when Nano Banana Pro 2 launches.
Save your APIMart API key as APIMART_API_KEY. The Nano Banana Pro 2 API examples send Authorization: Bearer <key> for submission and task queries.
POST /v1/images/generations with model set to nano-banana-pro-2, your prompt, size and resolution. Add image_urls to edit or combine reference images. Read the task ID from data[0].task_id.
Use GET /v1/tasks/{task_id}. For a completed task, read data.result.images[0].url[0]; for a failed task, read data.error.message.
See the APIMart documentation for APIMart authentication and general API usage.
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro-2",
"prompt": "A minimalist poster for a jazz night, bold title text \"Blue Hour Sessions\", a saxophone silhouette against a deep blue gradient, clean typography",
"size": "16:9",
"resolution": "2K",
"n": 1
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "nano-banana-pro-2",
"prompt": "A minimalist poster for a jazz night, bold title text \"Blue Hour Sessions\", a saxophone silhouette against a deep blue gradient, clean typography",
"size": "16:9",
"resolution": "2K",
"n": 1
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(3)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro-2",
"prompt": "Place this perfume bottle on a white marble counter in soft morning light and keep the label text sharp and unchanged",
"image_urls": [
"https://example.com/product.jpg"
],
"size": "1:1",
"resolution": "2K",
"n": 1
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: nano-banana-pro-2 | The model value used in this Nano Banana Pro 2 workspace and its examples. The final model ID will be confirmed when the model goes live. |
prompt | string | Required | Default: — | Image description or editing instruction. Put any text that should appear in the image in quotes. |
image_urls | string[] | Optional | Default: — | Up to 14 reference images, as public http(s) URLs or Base64 data URIs (data:image/png;base64,...). Nano Banana Pro accepts JPEG, PNG and WebP up to 30 MB each. |
size | string | Optional | Default: auto | Aspect ratio: auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 or 21:9. |
resolution | string | Optional | Default: 1K | 1K, 2K or 4K, in uppercase. |
n | integer | Optional | Default: 1 | Number of images. Only 1 is supported, as with Nano Banana Pro. |
nsfw_check | boolean | Optional | Default: false | Set to true to moderate the prompt and input images before the task is created. |
The workspace follows Nano Banana Pro, so you can build Nano Banana Pro 2 requests on parameters that already work today.
Get prompts and reference images ready now, then run them when Nano Banana Pro 2 goes live on APIMart.
Create your API key, set up the prompt and reference images, then review the JSON.
Create an API key in the APIMart console. The same key works for every model on APIMart, and requests send it as Authorization: Bearer <key>.
Describe the image, add up to 14 reference images as http(s) URLs, then choose the aspect ratio and the resolution.
Switch to JSON to check every field. RUN stays disabled until Nano Banana Pro 2 is available on APIMart.
Answers about Nano Banana Pro 2 availability, the workspace parameters, API keys and naming.
Nano Banana Pro 2 is the upcoming Pro-tier model APIMart is preparing to offer in the Nano Banana family of Google image models. The current Pro model is Nano Banana Pro, also called Gemini 3 Pro Image, which Google released in November 2025.
Not yet. This page is a preview: you can prepare and check nano-banana-pro-2 requests in the workspace, but RUN stays disabled and no tasks are submitted until the model is available on APIMart. Nano Banana Pro is available on APIMart today.
Nano Banana Pro 2 is listed under Coming Soon. This page and the workspace will switch to live generation as soon as it launches on APIMart, and any parameter changes will be reflected in the workspace and API example.
Nano Banana Pro is the current Pro-tier Nano Banana model on APIMart, with documented parameters. Using them lets you prepare realistic Nano Banana Pro 2 requests now. Every parameter will be checked and synced when Nano Banana Pro 2 launches.
The workspace and API examples use nano-banana-pro-2. APIMart will confirm the final model ID when Nano Banana Pro 2 goes live, and this page will be updated if it changes.
Prices will appear on this page when Nano Banana Pro 2 launches on APIMart. For reference, current Nano Banana Pro prices for 1K, 2K and 4K are listed on the Nano Banana Pro model page.
Create an API key in the APIMart console. One APIMart API key works for all models, so you will not need a separate key for Nano Banana Pro 2.
Up to 14, following Nano Banana Pro. Enter them as public http(s) URLs in the form, or as JPEG, PNG or WebP Base64 data URIs in JSON. Nano Banana Pro accepts files up to 30 MB each and keeps up to 5 people consistent.
1K, 2K or 4K, and auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 or 21:9. These match Nano Banana Pro on APIMart and will be synced for Nano Banana Pro 2 at launch.
Yes. Nano Banana Pro, the current Pro model, renders legible text from short taglines to longer paragraphs in multiple languages. Write posters, menus or infographics with the exact text in quotes, and keep the prompts ready for Nano Banana Pro 2.
Nano Banana 2 is Google's Gemini 3.1 Flash Image, a Flash-tier model built for speed, and Nano Banana 2.1 is the newer Flash-tier model. Nano Banana Pro 2 belongs to the Pro tier, the line of Nano Banana Pro. Nano Banana 2 and 2.1 are already available on APIMart.
This page will list the differences when Nano Banana Pro 2 launches on APIMart. For reference, Nano Banana Pro offers 1K to 4K output, up to 14 reference images, consistency for up to 5 people and legible multilingual text.
Yes. The cURL and Python examples use APIMart's common /v1/images/generations and /v1/tasks endpoints, so you can build the integration now. Only the model ID and parameters may change at launch.
Yes. Gemini Nano Banana Pro 2 and Google Nano Banana Pro 2 just add the brand name, and you may also see Nano Banana 2 Pro, NanoBanana Pro 2, Nano-Banana-Pro-2 or Nano Banana Pro2. They all refer to the same upcoming model, which this workspace calls nano-banana-pro-2. It is not Nano Banana 2, the Flash-tier model.
Explore more models in the same category.

MiniMax H3 Image
Built for image quality and prompt adherence. It handles text-to-image, reference-based generation and image editing. MiniMax says it can generate a 4K (4096 × 4096) image in under 10 seconds and work with up to 16 reference images. In Chinese launch coverage, MiniMax puts its speed at about 1.5 to 2 times that of mainstream tools.

MiniMax H3 Image Highspeed
Built for speed. The same coverage puts it at about 3 to 4 times faster than mainstream tools, which suits batch jobs or anything that needs fast turnaround.

Seedream 5.5
Seedream 5.5 brings your imagination to life through expressive visuals. From dreamy illustrations to cinematic scenes and product concepts, explore color, texture, and light to shape images that tell your story.

GPT Image 2.6 Sunburst
GPT Image 2.6 Sunburst brings a fresh burst of creativity to your ideas. From vibrant illustrations to atmospheric scenes and striking product concepts, explore rich colors, expressive lighting, and thoughtful compositions that make your vision shine.