by Google

Google's lightest Nano Banana: quick 1K images and edits from up to ten pictures

google/nano-banana-2-lite/text-to-image
Nano Banana 2 Lite AI Image Generator online
  • Up to 10 reference images
  • 14 aspect ratios
  • Create Image
  • Edit Image

About Nano Banana 2 Lite

The Nano Banana 2 Lite API wraps Google's Gemini 3.1 Flash Lite Image model across two minimal-schema endpoints—text-to-image and multi-image edit—running exclusively at 1K resolution. It is engineered for high-volume draft generation, banner layout automation and budget-conscious consumer apps that do not need 4K exports.

Call it with the model name google/nano-banana-2-lite/text-to-image on POST /jobs/createTask, from $0.0267.

Introduction

Nano Banana 2 Lite turns a text description into a 1K image of roughly one million pixels.

Key features

Fourteen ratios cover square, portrait and landscape formats, including 1:8 and 8:1.

Request parameters

ParameterRequiredDescription
promptYesDescribe what you want to make.
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 2:3 · 3:2 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 21:9 · 1:4 · 4:1 · 1:8 · 8:1 · Default: 1:1

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per image
Standard$0.0267

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

The rainy train-window example combines a reading seat, an open book and warm interior light.

Prompt guide & pro tips

Write the objects and lighting that define the scene, then choose a ratio rather than requesting a larger output tier.

API quick start

Call the Nano Banana 2 Lite API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model google/nano-banana-2-lite/text-to-image and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "google/nano-banana-2-lite/text-to-image",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "aspect_ratio": "1:1"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

What to build with the Nano Banana 2 Lite API

  • High-volume prompt exploration tiers that generate cheap 1K previews before users upgrade winning picks to 4K.
  • Automated web header, email banner and vertical strip builders leveraging 4:1, 8:1, 1:4 and 1:8 aspect ratios.
  • Single-subject seasonal, lighting and background swap tools with flat per-image unit economics.

Nano Banana 2 Lite parameter notes

  • Only prompt and aspect_ratio exist on text-to-image (plus image_urls up to 10 items on edit); no resolution, seed or negative_prompt fields are accepted.
  • aspect_ratio supports 14 shapes including extreme banners (4:1, 8:1) and tall vertical strips (1:4, 1:8).
  • Both text-to-image and edit share the exact same flat 1K per-image rate with no extra reference-image surcharge.

How Nano Banana 2 Lite API pricing adds up

Billed at a single flat per-image rate across both text-to-image and edit endpoints regardless of aspect ratio or reference count. Use /jobs/quote to confirm live rates before bulk queuing.

  • Create Image: $0.0267 per run, $2.67 for 100 runs

Async jobs, webhooks and rate limits

Every Nano Banana 2 Lite request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for google/nano-banana-2-lite/text-to-image never runs or bills twice.

Common Nano Banana 2 Lite API errors

errorCodeWhat it usually means and how to fix it
invalid_requestStrip unsupported keys like resolution or seed, and verify image_urls contains 1 to 10 valid URIs on edit.
content_rejectedGoogle upstream safety filters blocked the prompt or reference image; report the message cleanly to the caller.
timeoutOccasional upstream queue spikes can stretch a job past a minute; allow generous async webhook or polling windows.

Nano Banana 2 Lite API questions

How much does the Nano Banana 2 Lite API cost?

Nano Banana 2 Lite starts at $0.0267 per image with Create Image, its lowest-priced task. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Nano Banana 2 Lite in the API?

Put google/nano-banana-2-lite/text-to-image for Create Image; google/nano-banana-2-lite/edit for Edit Image in the model field of POST /jobs/createTask.

Does adding more reference images to Nano Banana 2 Lite edit increase the cost?

No. Edit calls bill at the same flat 1K per-image rate whether you attach one reference photo or ten.

Can I upgrade a user's Lite draft to 4K using the same prompt?

Yes. Pass the approved prompt and aspect_ratio directly to Nano Banana 2.1 with resolution set to 2k or 4k.

Why should my webhook handler tolerate occasional longer waits on Lite?

Most jobs finish well under a minute, but periodic upstream queue bursts can delay individual tasks; prefer webhooks over short synchronous timeouts.

What are the limits of the Nano Banana 2 Lite API?

Aspect ratios: 1:1 · 2:3 · 3:2 · 3:4 · 4:3 · 4:5 +8; Prompt length (characters): 20,000. Requests outside these limits are rejected before anything is charged.

Can I try Nano Banana 2 Lite without writing code?

Run Nano Banana 2 Lite in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Nano Banana models

Nano Banana 2.1 renders up to 4K and takes up to fourteen references. Nano Banana 2 Lite stays at 1K and costs less per picture.

More about Nano Banana 2 Lite