First Test Cost
Save 35%- $10 top-up yields ~454 images (1K) ($1 = 100 Credits, no subscription)
- $0 charged on failed or timed-out tasks—100% of held credits return automatically
High-speed Google image generation and 14-reference editing across 14 aspect ratios (including ultra-wide 4:1, 8:1, 1:4, and 1:8 banners) and 1K/2K/4K resolutions with deterministic per-image pricing.
nano-banana-2.1POST /v1/images/generationsPreview live credit estimates and export cURL without signing in, or sign in to upload local reference images and generate real samples.
Upload local files or paste HTTPS URLs; up to 14 reference images included at +0 Credits.

Fixed per-image pricing: 2.2 Credits (1K), 2.6 Credits (2K), or 3.4 Credits (4K) per image, with 0–14 reference images included at 0 extra Credits.
| Specification | Ref credits | USD equiv | Official reference | Per $10 |
|---|---|---|---|---|
| 1K output (default) · 0–14 ref images included | 2.200000 Credits | $0.0220 | ~454 images | |
| 2K output · 0–14 ref images included | 2.600000 Credits | $0.0260 | ~384 images | |
| 4K ultra-HD output · 0–14 ref images included | 3.400000 Credits | $0.0340 | ~294 images |
Choose output settings and expected call volume to estimate your spend in Credits and USD.
nano-banana-2.1Fast 1K–4K image & 14-ref editing · 14 ratios
Nano Banana 2.1 API is Google’s high-speed 1K/2K/4K image generation and 14-reference editing model. It supports 14 aspect ratios—including standard 1:1, 16:9, 9:16, 21:9 plus panoramic 4:1, 8:1, 1:4, and 1:8 formats—making it ideal for web banners, UI headers, e-commerce catalogs, and multi-image composition.
With flat per-image pricing of 2.2 Credits ($0.0220) at 1K (-35% vs. official), 2.6 Credits ($0.0260) at 2K, and 3.4 Credits ($0.0340) at 4K (-70% vs. official), Nano Banana 2.1 includes up to 14 reference images at no extra cost.
Connect Callmodels Remote MCP to Claude, ChatGPT, or Google Gemini via zero-key browser sign-in. Run Nano Banana 2.1 in plain English inside chat with upfront price quotes before any spend.
Connect Chat AssistantSend 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 ReferenceCopy a self-contained engineering prompt with exact endpoint, schema constraints, polling loop, and error handling—paste straight into Cursor, Claude Code, or Codex.
Generate 454 images per $10 at 1K or 294 native 4K images per $10 with zero token-count variance.
Render native panoramic ribbons and vertical scroll strips directly without awkward post-cropping.
Pass up to 14 reference images for virtual try-on, interior restyling, or storyboard continuity without increasing per-call cost.
| Model | Billing Mode | Max Spec | Starting Price | Output per $10 | Best For |
|---|---|---|---|---|---|
| Nano Banana Pro | Fixed per image | 4K · 14 refs included · 10 ratios | $0.0390 / img | 256 imgs (2K) | 2K–4K flagship studio photography, typography & 14-ref fusion |
| Nano Banana 2.1 | Fixed per image | 4K · 14 refs · 14 ratios (4:1–8:1) | $0.0220 / img | 454 imgs (1K) | Fast low-cost 1K–4K generation, 4:1/8:1 banners & 14-ref edits |
| Grok Imagine Image 2.0 | Fixed per image | 2K · n=1..10 batch · 1–3 refs | $0.0375 / img | 266 imgs (1K low) | Cinematic aesthetics, mobile 19.5:9/20:9 & n=1..10 batch variants |
| GPT Image 2.6 Flare | Actual tokens | 4K · 16 refs · Mask & GIF | $0.0139 / img | ~721 imgs (16:9 low) | Fast production, 16-ref/mask editing & animated GIFs |
| GPT Image 2.6 Sunburst | Actual tokens | 4K · Studio precision · 16 refs | $0.0139 / img | ~721 imgs (16:9 low) | Hero product renders, macro materials, mask edits & GIFs |
| Seedream 5.5 | Fixed per image | 2K · One output per request · PNG/JPEG | $0.0200 / img | 500 imgs (1K / 1.5K) | Fixed per-image rates and transparent cutouts |
Nano Banana 2.1 charges a flat 2.2 Credits ($0.0220) at 1K, 2.6 Credits ($0.0260) at 2K, and 3.4 Credits ($0.0340) at 4K across all 14 aspect ratios.
In addition to the 10 standard ratios (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9), Nano Banana 2.1 supports extreme panoramic and vertical ratios: "4:1", "8:1", "1:4", and "1:8".
No. Passing 1 to 14 HTTPS URLs in image_urls adds 0 extra Credits—you pay only the output resolution rate.
Yes. Every completed image returns a 30-day signed HTTPS link on files.callmodels.dev that works directly inside image_urls on POST /v1/videos/generations.
Invalid parameters return HTTP 400 with 0 Credits held, and any failed or timed-out task releases 100% of held credits automatically.
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.
Includes exact endpoint, parameter constraints, async polling loop, and error handling—paste straight into your coding agent.
https://api.callmodels.dev/v1/images/generationsGET /v1/tasks/{task_id}nano-banana-2.1Fast 1K / 2K / 4K Image Generation & 1–14 Reference Edit| Parameter | Type | Allowed 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-2.1" | Stable public model ID for Google Nano Banana 2.1. |
promptbody · Required | string | 1 to 10,000 UTF-8 characters describing the image or multi-reference edit. |
resolutionbody · Optional ("1K") | "1K" | "2K" | "4K" | Output resolution tier ("1K" = 2.2, "2K" = 2.6, "4K" = 3.4 Credits). |
sizebody · Optional ("auto") | "auto" | 14 aspect ratios ("1:1".."8:1") | Supports "auto", "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9", "1:4", "4:1", "1:8", and "8:1". |
image_urlsbody · Optional (omitted) | string[] (1..14) | Optional 1–14 downloadable HTTPS reference images, 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-2.1",
"prompt": "Sunlit cedar and glass architectural pavilion beside a still alpine mirror pool",
"size": "16:9",
"resolution": "1K"
}'
# 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"
fiHTTP/1.1 200 OK
X-Request-Id: req_example
Cache-Control: no-store
{
"id": "task_01e561ba-859e-47fe-be79-60bc6f1d6499",
"model": "nano-banana-2.1",
"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": "2.2"
}
}| HTTP / Task Error Code | Cause & Recommended Handling | Billing 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 |
Sign in with Google to create scoped sk- API keys, top up from $10 with no monthly commitment, and pay $0 on failed calls.