Nano Banana Pro API

Google flagship studio image generation and multi-image composition across 10 aspect ratios, 1K/2K/4K resolutions (default 2K), and up to 14 reference images included at no extra charge.

GoogleAvailablenano-banana-proPOST /v1/images/generations
From$0.0390/ img(3.900 Credits / img)$0.134-71%
Model Highlights2K–4K Studio · 14 Refs Included · 10 Ratios
Best For2K & 4K luxury product hero photography · 14-reference multi-SKU & character consistency · Editorial posters & accurate in-image typography
InputUTF-8 prompt · Optional 1–14 HTTPS ref images
Output & DeliveryJPEG / PNG · 30-day signed HTTPS URL

Nano Banana Pro Web Studio & API Playground

Preview live credit estimates and export cURL without signing in, or sign in to upload local reference images and generate real samples.

Configure Image Task

nano-banana-pro · POST /v1/images/generations
Live quote
168 chars
Presets:
Reference Images (Optional)0/14

Upload local files or paste HTTPS URLs; up to 14 reference images included at +0 Credits.

Click to upload or drag images hereJPG, PNG, WebP · ≤ 30MB each · max 14 files
Estimated cost~$0.03903.900 Credits
16:9 · 2K
Ready
Nano Banana Pro sample output
Adjust settings on the left or switch to the JSON tab to inspect the payload

Nano Banana Pro API Pricing & Budget Guide

Fixed per-image pricing: 3.9 Credits (1K / 2K) or 5.8 Credits (4K) per image. Passing 1–14 reference images in image_urls adds 0 extra Credits.

First Test Cost

Save 71%
$0.0390/ img
3.900 Credits / imgvs $0.134 official
  • $10 top-up yields ~256 images (2K) ($1 = 100 Credits, no subscription)
  • $0 charged on failed or timed-out tasks—100% of held credits return automatically

Testing Budget Guide

$1 = 100 Credits
  • $10 (1,000 Credits)256 images (2K) · 172 images (4K)
  • $50 (5,000 Credits)1,282 images (2K) · 862 images (4K)
  • $100 (10,000 Credits)2,564 images (2K) · 1,724 images (4K)
SpecificationRef creditsUSD equivOfficial referencePer $10
1K output · 0–14 ref images included3.900000 Credits$0.0390$0.134~256 images
2K output (default) · 0–14 ref images included3.900000 Credits$0.0390$0.134~256 images
4K ultra-HD output · 0–14 ref images included5.800000 Credits$0.0580$0.240~172 images

Interactive Volume Cost Calculator

Choose output settings and expected call volume to estimate your spend in Credits and USD.

Interactive Specification Cost Calculator
nano-banana-pro
Output resolution (resolution)Same price across all ratios
Reference images (0–14)Included (+0 Credits)
0 / 14
Price per Call
3.90Credits / image
≈ $0.0390 USD ($1 = 100 Credits)Save 71% vs. official estimate
Output resolution tier
2K · 3.900 Credits
Reference images (0–14)
Text-to-image (+0 Credits)
$10 (1,000 Credits) output
~256 images
1,000 runs: $39.003,900 Credits
Official estimate: $134.00You save $95.00
Fixed per-image rate across all aspect ratios; 0–14 reference images included at +0 Credits; failed calls charge 0 Credits.

About Nano Banana Pro, Integration & Model Comparison

Flagship 2K–4K studio visual · Up to 14 refs

012K–4K Studio · 14 Refs Included · 10 Ratios

Core Capabilities

Nano Banana Pro API is Google’s flagship studio image generation and multi-reference composition model, engineered for photorealistic commercial visuals, sharp packaging typography, and multi-subject scene consistency. Behind POST /v1/images/generations, it outputs 1K, default 2K, and native 4K imagery across 10 standard aspect ratios and accepts up to 14 reference image_urls in a single request.

02POST /v1/images/generations

Input Specs & 30-Day Delivery

Input
UTF-8 prompt · Optional 1–14 HTTPS ref images
Output
JPEG / PNG · 30-day signed HTTPS URL
03$0.0390 / img · -71%

Pricing Advantage & $0 Failure Protection

On Callmodels, Nano Banana Pro uses deterministic per-image billing: 3.9 Credits ($0.0390) for 1K or 2K output (-71% vs. official list) and 5.8 Credits ($0.0580) for 4K output (-76% vs. official list), with 0 extra Credits for reference images and $0 charged on failed calls.

Three Ways to Use Nano Banana Pro

Use in Claude & ChatGPT (Zero-Code MCP)

Connect Callmodels Remote MCP to Claude, ChatGPT, or Google Gemini via zero-key browser sign-in. Run Nano Banana Pro in plain English inside chat with upfront price quotes before any spend.

Connect Chat Assistant

Direct HTTPS REST API

Send standard JSON requests to POST /v1/images/generations on https://api.callmodels.dev with account-scoped Idempotency-Key deduplication and 30-day signed result URLs—zero vendor SDK lock-in.

Jump to API Reference

Integrate with AI Coding Agents (Cursor / Claude Code)

Copy a self-contained engineering prompt with exact endpoint, schema constraints, polling loop, and error handling—paste straight into Cursor, Claude Code, or Codex.

Production Use Cases

2K ($0.0390) · 4K ($0.0580)

2K & 4K luxury product hero photography

Generate glass, metal, skincare, and architectural hero visuals at native 2K by default or upgrade to 4K print-ready resolution for $0.058.

image_urls (1..14) · $0 extra ref fee

14-reference multi-SKU & character consistency

Combine product packshots, model portraits, fabric swatches, and lighting references in one call with zero per-reference surcharge.

3:4 / 16:9 / 21:9 · 2K / 4K

Editorial posters & accurate in-image typography

Render clean headlines, bottle labels, and storefront signage directly inside complex photographic scenes.

Sibling & Family Model Comparison

ModelBilling ModeMax SpecStarting PriceOutput per $10Best For
Nano Banana ProFixed per image4K · 14 refs included · 10 ratios$0.0390 / img256 imgs (2K)2K–4K flagship studio photography, typography & 14-ref fusion
Nano Banana 2.1Fixed per image4K · 14 refs · 14 ratios (4:1–8:1)$0.0220 / img454 imgs (1K)Fast low-cost 1K–4K generation, 4:1/8:1 banners & 14-ref edits
Grok Imagine Image 2.0Fixed per image2K · n=1..10 batch · 1–3 refs$0.0375 / img266 imgs (1K low)Cinematic aesthetics, mobile 19.5:9/20:9 & n=1..10 batch variants
GPT Image 2.6 FlareActual tokens4K · 16 refs · Mask & GIF$0.0139 / img~721 imgs (16:9 low)Fast production, 16-ref/mask editing & animated GIFs
GPT Image 2.6 SunburstActual tokens4K · Studio precision · 16 refs$0.0139 / img~721 imgs (16:9 low)Hero product renders, macro materials, mask edits & GIFs
Seedream 5.5Fixed per image2K · One output per request · PNG/JPEG$0.0200 / img500 imgs (1K / 1.5K)Fixed per-image rates and transparent cutouts

Itemized Call Billing & 30-Day Result Delivery

Atomic Hold & Settlement · Nano Banana Pro

$0 on Failure
Rate lock
Locked at HTTP 202 acceptance
Idempotency
24h Idempotency-Key
Starting rate
$0.0390 / img (3.900 Credits / img)
Failed or timed out
0 Credits (100% hold returned)

How billing and 30-day file delivery work

  1. 1
    Submitting a request locks the published rate and temporarily holds the maximum credits for your chosen specification.
  2. 2
    Once generation finishes, Callmodels verifies output file integrity and metadata before marking the task completed.
  3. 3
    Exact usage is settled against the locked rate, any unused hold returns immediately to your balance, and a 30-day HTTPS link is signed.
  4. 4
    Your backend or browser reads https://files.callmodels.dev/... directly for 30 days without passing an API key.

Nano Banana Pro API FAQ

Why are 1K and 2K priced the same on Nano Banana Pro?

Nano Banana Pro defaults to 2K studio output, and both 1K and 2K tiers share the same flat rate of 3.9 Credits ($0.0390) per image. Unless you specifically need smaller pixel dimensions at 1K, we recommend keeping the default 2K resolution.

Do reference images in image_urls cost extra Credits?

No. Passing 1 to 14 HTTPS reference images in image_urls is included in the flat per-image rate on both Nano Banana Pro and Nano Banana 2.1.

When should I choose Nano Banana Pro vs. Nano Banana 2.1?

Pick Nano Banana Pro when maximum commercial realism, lighting depth, and dense typography matter most ($0.0390 at 2K). Pick Nano Banana 2.1 for faster turnaround, lower 1K/2K/4K unit cost (from $0.0220), or ultra-wide 4:1 / 8:1 banner ratios.

What image file format does Nano Banana Pro return?

Completed tasks verify actual output magic bytes (JPEG or PNG) and return a 30-day signed HTTPS URL on files.callmodels.dev with the matching Content-Type. Do not pass an output_format field in the request body.

What happens if a Nano Banana Pro call fails or times out?

Failed or timed-out calls charge 0 Credits and automatically release 100% of held credits back to your wallet and API key quota.

Nano Banana Pro API Reference & Code Examples

Submit to POST /v1/images/generations with your Bearer key and a stable Idempotency-Key. Query the returned task ID for its result links and settled credits.

Building with Cursor, Claude Code, or Codex? Copy the AI Integration Prompt

Includes exact endpoint, parameter constraints, async polling loop, and error handling—paste straight into your coding agent.

Standalone Docs Page
Endpointhttps://api.callmodels.dev/v1/images/generationsGET /v1/tasks/{task_id}
Public model IDs
nano-banana-proFlagship 1K / 2K / 4K Generation & 1–14 Reference Edit
ParameterTypeAllowed values & notes
Authorizationheader · Required
string
Bearer sk-... server-side API key from your account.
Idempotency-Keyheader · Optional (recommended)
string
1 to 255 ASCII chars. Prevents duplicate submissions and charges for 24h.
modelbody · Required
"nano-banana-pro"
Stable public model ID for Google Nano Banana Pro.
promptbody · Required
string
1 to 10,000 UTF-8 characters describing the desired image or multi-reference composition.
resolutionbody · Optional ("2K")
"1K" | "2K" | "4K"
Output resolution tier ("1K" / "2K" = 3.9 Credits; "4K" = 5.8 Credits).
sizebody · Optional ("auto")
"auto" | "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "4:5" | "5:4" | "21:9"
Supports "auto" and 10 standard aspect ratios at identical per-tier pricing.
image_urlsbody · Optional (omitted)
string[] (1..14)
Optional 1–14 downloadable HTTPS reference images (JPG/PNG/WebP), included at 0 extra Credits.
nbody · Optional (1)
1
Outputs 1 image per task; submit concurrent async tasks for batch throughput.
# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/images/generations" \
  -H "Authorization: Bearer $CALLMODELS_API_KEY" \
  -H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{
  "model": "nano-banana-pro",
  "prompt": "Hand-blown amber botanical perfume flacon on travertine stone, warm studio rim light",
  "size": "16:9",
  "resolution": "2K"
}'

# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
  curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
    -H "Authorization: Bearer $CALLMODELS_API_KEY"
fi
HTTP/1.1 200 OK
X-Request-Id: req_example
Cache-Control: no-store

{
  "id": "task_01e561ba-859e-47fe-be79-60bc6f1d6499",
  "model": "nano-banana-pro",
  "object": "image.generation.task",
  "created_at": "2026-11-21T00:00:00.000Z",
  "status": "completed",
  "results": [
    {
      "type": "image",
      "url": "https://files.callmodels.dev/task_01e561ba-859e-47fe-be79-60bc6f1d6499/0.jpg?expires=1797811200&sig=example",
      "expires_at": "2026-12-21T00:00:00.000Z"
    }
  ],
  "usage": {
    "cost_credits": "3.9"
  }
}
HTTP / Task Error CodeCause & Recommended HandlingBilling Impact
400 invalid_parameter
400 model_not_found
Use the model ID and parameters documented for the endpoint. Correct the JSON before sending again.0 Credits for this rejection
401 invalid_api_key
Check the server-side Bearer key, expiration and revocation status.0 Credits for this rejection
402 insufficient_balance
402 key_quota_exceeded
Check available account credits and the key’s total and daily limits with GET /v1/credits.0 Credits for this rejection
403 model_access_denied
403 account_disabled
Check the model allowlist and account status.0 Credits for this rejection
404 not_found
Check the task ID or original Idempotency-Key and the account that submitted it.0 Credits for this rejection
409 idempotency_key_conflict
Use the original JSON for this job. Assign a fresh key only to a new job.0 Credits for this rejection
413 body_too_large
415 unsupported_media_type
Send application/json with a request body no larger than 128 KiB.0 Credits for this rejection
500 internal_error
503 service_unavailable
503 model_unavailable
On a timeout or transient error, look up the original job and retry only with its original key and body.Check the task record
Task: delivery_failed
Task: submission_unknown
Task: submission_rejected
Task: upstream_failed
Task: timeout
The task ended. Its hold was released. Review error.code before creating a separate generation job.0 Credits charged

Ready to Ship with Nano Banana Pro API?

Sign in with Google to create scoped sk- API keys, top up from $10 with no monthly commitment, and pay $0 on failed calls.