Nano Banana Pro

nano-banana-pro Pro

Gemini 3 Pro Image: top quality, complex compositions and infographics.

Pricing: $0.02 per image · failed tasks — $0 · ~2.5 min

Run with API
Upload a photo and describe what to change. API model: nano-banana-pro

Input

image_input * — your photo (required) ?
Click to choose a photo
or drop it here · JPG, PNG, WebP up to 15 MB · up to 8
Examples:
aspect_ratio — image shape ?
resolution — quality ?
output_format — file format ?

Output

Nano Banana Pro — Google

The result will appear here.
It usually takes ~2.5 min.

“Infographic: how the solar system works, with labels”
“Cinematic portrait of a woman in neon Tokyo, 35 mm”
“Sneaker ad poster with the headline "Run further"”

1. Create a task POST /api/v1/jobs/createTask

curl -X POST https://ai.aimixmedia.site/api/v1/jobs/createTask \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-123" \
  -d '{
  "model": "nano-banana-pro",
  "callBackUrl": "https://your-app.example/callback",
  "input": {
    "prompt": "Infographic: how the solar system works, with labels",
    "image_input": [
      "https://example.com/photo.jpg"
    ],
    "aspect_ratio": "1:1",
    "resolution": "1K",
    "output_format": "png"
  }
}'
import time, requests

API = "https://ai.aimixmedia.site/api/v1"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}

task = requests.post(f"{API}/jobs/createTask", headers=HEADERS, json={
    "model": "nano-banana-pro",
    "callBackUrl": "https://your-app.example/callback",
    "input": {
        "prompt": "Infographic: how the solar system works, with labels",
        "image_input": [
            "https://example.com/photo.jpg"
        ],
        "aspect_ratio": "1:1",
        "resolution": "1K",
        "output_format": "png"
    }
}).json()
task_id = task["data"]["taskId"]

while True:
    info = requests.get(f"{API}/jobs/recordInfo", headers=HEADERS, params={"taskId": task_id}).json()["data"]
    if info["state"] in ("success", "fail"):
        break
    time.sleep(4)
print(info["state"], info.get("resultJson") or info.get("failMsg"))
const API = "https://ai.aimixmedia.site/api/v1";
const headers = { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" };

const { data } = await fetch(`${API}/jobs/createTask`, {
  method: "POST", headers,
  body: JSON.stringify({
    "model": "nano-banana-pro",
    "callBackUrl": "https://your-app.example/callback",
    "input": {
      "prompt": "Infographic: how the solar system works, with labels",
      "image_input": [
        "https://example.com/photo.jpg"
      ],
      "aspect_ratio": "1:1",
      "resolution": "1K",
      "output_format": "png"
    }
  }),
}).then((r) => r.json());

let info;
do {
  await new Promise((r) => setTimeout(r, 4000));
  info = (await fetch(`${API}/jobs/recordInfo?taskId=${data.taskId}`, { headers }).then((r) => r.json())).data;
} while (!["success", "fail"].includes(info.state));
console.log(info.state, info.resultJson ?? info.failMsg);

Response: {"code":200,"msg":"success","data":{"taskId":"task_..."}}. callBackUrl and Idempotency-Key are optional.

2. Status and result GET /api/v1/jobs/recordInfo

curl "https://ai.aimixmedia.site/api/v1/jobs/recordInfo?taskId=TASK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"

data.state: waiting | queuing | generating | success | fail. On success data.resultJson is a JSON string with resultUrls.

3. Upload a photo (optional) POST /api/v1/files/upload

curl -X POST https://ai.aimixmedia.site/api/v1/files/upload \
  -H "Authorization: Bearer YOUR_API_KEY" -F "file=@photo.jpg"

Returns data.url — pass it in input.image_input. Any public https URL works too.

Input parameters

FieldTypeValues
prompt *stringup to 10000 chars
image_input *string[] (URL)up to 8 URLs
aspect_ratiostring1:1 | 2:3 | 3:2 | 3:4 | 4:3 | 4:5 | 5:4 | 9:16 | 16:9 | 21:9 | auto · default 1:1
resolutionstring1K | 2K | 4K · default 1K
output_formatstringpng | jpg · default png
You need an API key ? — create one in the dashboard.

Model docs Callbacks & signature

Nano Banana Pro — Google

Nano Banana Pro (Gemini 3 Pro Image) is Google's flagship image model for complex scenes, infographics, posters and photorealism. Accepts up to 8 reference images.

The model works through the scene more carefully, so a task takes longer — usually 2–3 minutes.

Pricing

Image to Image · nano-banana-pro$0.02
Text to Image · nano-banana-pro$0.02
Task failed$0 (auto refund)
Retry with the same Idempotency-Key$0

Retention

Results are kept for 30 days, run history forever. Download important files in time.

API model ID: nano-banana-pro · aliases: google/nano-banana-pro