Nano Banana 2 Lite API
Nano Banana 2 Lite is Roko’s current low-cost 1K image tier at $0.018 per output, with n from 1 to 4, seven common aspect ratios, async tasks, and an OpenAI-compatible endpoint. The catalog does not disclose a verifiable upstream version ID.
- Public model ID
nano-banana-2-lite- Output tiers
1K only- Batch parameter
n up to 4 per request- Endpoint
POST /v1/images/tasks- Catalog snapshot
What is Nano Banana 2 Lite?
Nano Banana 2 Lite is Roko’s current low-cost 1K image tier: $0.018 per output, with up to four outputs per request. The public catalog does not disclose a verifiable upstream version ID, so this page does not equate it with a specific official Google SKU.
Current support covers text-to-image, image-to-image, seven common ratios (1:1, 3:2, 2:3, 16:9, 9:16, 4:3, 3:4), async image tasks, and an OpenAI-compatible endpoint. It does not expose 2K, 4K, or ultra-wide ratios.
It fits web headers, social graphics, and A/B drafts. Capabilities, availability, and billing follow the Roko catalog, request validation, and task result at submission time.
Core capabilities
1K-only output
Suited to web, social, and UI graphics.
Up to four outputs
n accepts 1–4 for several candidates in one request.
Seven common ratios
Supports 1:1, 3:2, 2:3, 16:9, 9:16, 4:3, and 3:4.
$0.018 per output
Billed per image, currently the family’s lowest catalog price.
Nano Banana 2 Lite API pricing
Pricing is generated from the current Roko catalog and billed per output image (1K tier only). Confirm the console estimate before submitting.
| Resolution | Price | Billing unit |
|---|---|---|
| 1k | $0.018 | per output |
Cost examples
The family's lowest unit price — standard cost for web and social smalls.
Typical spend for site-wide imagery batches; failed images are not billed.
Parameters and supported scope
These fields come from Roko’s current public generation_config: 1K only, seven common ratios, and n from 1 to 4. Other capabilities follow request validation.
| Parameter | Values | Notes |
|---|---|---|
prompt | textarea | Describe the image to create or the changes to apply to references. · Required |
n | 1–4 | Number of images generated per request; more outputs cost more. · Default: 1 · Optional |
resolution | 1K | Selects an output resolution tier configured for this model; the value may directly affect price. · Default: 1K · Optional |
aspect_ratio | 1:1 / 3:2 / 2:3 / 16:9 / 9:16 / 4:3 / 3:4 | Selects the output aspect ratio; auto lets the model decide from the content. · Optional |
images | images | Reference images may use URL or Base64; the current model field shows the applicable limit. · Optional |
Call Nano Banana 2 Lite with Roko API
Run the async task flow: submit a task to get a task_id, then poll for the result. Never expose an API key in client-side code.
Submit generation
curl https://api.rokoapi.com/v1/images/tasks \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: YOUR_UNIQUE_REQUEST_ID" \
-d '{
"model": "nano-banana-2-lite",
"prompt": "A quiet mountain lake at dawn, crystal water reflecting snow peaks, documentary photography",
"aspect_ratio": "16:9",
"resolution": "1K"
}'Query recovery task
curl https://api.rokoapi.com/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $API_KEY"POST /v1/images/tasks returns 202 with a task_id; once generation completes, query GET /v1/tasks/{task_id} for the result or failure reason. Idempotency-Key must be unique; replays with the same key return the original task without re-billing.
Best-fit scenarios
Web and blog headers
1K fits standard page headers and article graphics.
Create a consistent flat illustration for a product tutorial.
Batch social graphics
n up to 4 returns several candidates at once.
Generate four 1:1 social graphics with one palette.
UI concepts
The low unit price suits quick design exploration.
Create a clean SaaS empty-state illustration.
A/B drafts
Split tasks to test different compositions.
Draft horizontal and vertical campaign hero concepts.
Important limitations
- Output is locked to 1K; there are no 2K/4K tiers — use 2, 2.1, or Pro for high resolution.
- n covers up to 4 images per request; loop tasks for larger batches.
- Only 7 common aspect ratios — no 1:4/1:8 ultra-wide tiers.
- A submitted task is not a successful generation — trust the task query result, and review outputs before use.
Nano Banana 2, 2.1, or Lite?
Lite exposes only 1K, seven ratios, and batches of up to four at $0.018 per output. Compare Nano Banana 2, 2.1, or Pro for 2K/4K, more ratios, or stronger editing, and follow the current catalog.
All models →Nano Banana 2 Lite FAQ
What model ID should I use for Nano Banana 2 Lite?
Use the public Roko API model ID nano-banana-2-lite exactly as shown in the model field.
How much does the Nano Banana 2 Lite API cost?
The current catalog lists $0.018 per 1K image — the lowest Nano Banana unit price on Roko. Prices can change; confirm the estimate and final settlement.
Lite vs NB2 vs 2.1 — what's the difference?
Lite locks output to 1K at the lowest unit price ($0.018) for small-image volume; NB2 and 2.1 cover 1K-4K with stronger capabilities. Pick Lite for cheap 1K smalls, 2.1 for resolution or stronger capabilities.
Does Lite have an announced upstream shutdown date?
Google’s current Gemini API deprecations page lists no shutdown date for gemini-3.1-flash-image. Roko also does not disclose Lite’s upstream version, so availability follows the live catalog.
How many images per request?
The n parameter covers up to 4 per request (default 1); loop tasks for larger batches with cost scaling per image.
Which aspect ratios are supported?
Seven: 1:1, 3:2, 2:3, 16:9, 9:16, 4:3, and 3:4. No default in the form — follow request validation.
Which calling endpoints are supported?
Dual channel: standard async tasks (POST /v1/images/tasks) and an OpenAI-compatible endpoint. This doc follows the async task flow.
Is 1K output enough?
1K fits web, social, and UI smalls; print, large displays, or assets you plan to crop should use the 2K/4K tiers of 2 or 2.1.