Loading model…正在加载模型详情…
Loading model…正在加载模型详情…
Turn written ideas into visual drafts with Nano Banana 2 Lite, Google's image model for creative iteration, in your browser or through the API.


Create a beautiful travel lifestyle image of a woman in a light linen dress standing on a sunlit Mediterranean terrace. The background includes blue sea, white coastal houses, flowering bougainvillea, terracotta steps, and warm afternoon light. Use a soft travel-magazine aesthetic, natural colors, realistic facial and clothing details, and a balanced composition that feels bright, graceful, and shareable.

Keep the same woman’s face, hairstyle, expression, pose, and clothing, but replace the plain studio background with a beautiful Mediterranean seaside terrace. Add blue ocean water, white coastal buildings, soft flowers, warm sunlight, and a refined travel-lifestyle atmosphere. Preserve the subject’s identity clearly and make the final image feel elegant, bright, and natural.

Create a charming editorial illustration of an outdoor breakfast table under a lemon tree. Include croissants, honey, tea, fresh fruit, wildflowers, ceramic plates, linen napkins, and soft morning sunlight. Use warm hand-painted textures, tasteful color harmony, and a polished storybook-meets-lifestyle-magazine style. The composition should feel cozy, beautiful, and visually refined.
Nano Banana 2 Lite is Google's Gemini 3.1 Flash-Lite Image model. Google positions it for fast image generation, creative iteration and visual features in apps.
On UniRoute, it accepts a text prompt and an aspect ratio option. Describe the subject, composition and style, choose the shape of the image, and review the quote before you generate.
Google presents Lite as the speed-focused member of the Nano Banana family, while Nano Banana 2 offers more flexibility in output resolution. UniRoute exposes aspect ratio choices for Lite; the specs table lists the options you can use here.
What you can do with Nano Banana 2 Lite through UniRoute today.
Describe a scene, product concept or illustration in plain language, choose an aspect ratio, and generate an image. Refine the subject, lighting and visual style in the prompt to explore another direction.

Other Nano Banana 2 Lite modes (reference images and prompt-based editing) are not yet available on UniRoute, which currently exposes text prompts and aspect ratio choices only.
The variants you can call, with their options and prices.
| Variant | Model ID | Modes | Inputs | Output | Price |
|---|---|---|---|---|---|
| Nano Banana 2 Lite | nano-banana-2-lite | Text to image | Text prompt and an option for aspect ratio | Aspect ratio: 1:1, 16:9, 9:16 | $0.03 per request |
Priced per request. The option you choose sets the price.
| Option | Official API | UniRoute | Save |
|---|---|---|---|
| 1:1 | $0.0336 | $0.025 | Save 26% |
| 16:9 | $0.0336 | $0.025 | Save 26% |
| 9:16 | $0.0336 | $0.025 | Save 26% |
Official price: aistudio.google.com
Prices updated 2026-11-08.
Pay as you go from a single USD wallet balance. You see the quote before each request.
Call Nano Banana 2 Lite from your own code with the media API.
# Requires bash, curl and jq. Set API_KEY to your own unified UniRoute Key.set -euo pipefail: "${API_KEY:?Set API_KEY first}"BASE='https://api.uniroute.app/v1/media'MODEL='nano-banana-2-lite'OPTION='1:1'PROMPT='A calm sunrise over a mountain lake'curl -fsS --max-time 60 "$BASE/catalog" -H "Authorization: Bearer $API_KEY" | jq -e '.data.models'BODY=$(jq -n --arg model "$MODEL" --arg option "$OPTION" --arg prompt "$PROMPT" '{model:$model,option:$option,prompt:$prompt}')QUOTE_BODY=$(printf '%s' "$BODY" | jq '{model,option}')QUOTE=$(curl -fsS --max-time 60 "$BASE/quote" -H "Authorization: Bearer $API_KEY" -H 'Content-Type: application/json' -d "$QUOTE_BODY")CAP=$(printf '%s' "$QUOTE" | jq -er '.data.quoted_usd')BODY=$(printf '%s' "$BODY" | jq --arg cap "$CAP" '. + {max_cost_usd:$cap}')IDEMPOTENCY="example-$(date +%s)-$$"create() { curl -fsS --max-time 60 "$BASE/tasks" -H "Authorization: Bearer $API_KEY" -H "Idempotency-Key: $IDEMPOTENCY" -H 'Content-Type: application/json' -d "$BODY"; }TASK_ID=$(create | jq -er '.data.task_id')# The same request and idempotency key must return the original task without charging again.REPLAY_ID=$(create | jq -er '.data.task_id')[ "$TASK_ID" = "$REPLAY_ID" ]for attempt in $(seq 1 120); do TASK=$(curl -fsS --max-time 60 "$BASE/tasks/$TASK_ID" -H "Authorization: Bearer $API_KEY") printf '%s' "$TASK" | jq -e '.data | {task_id,status,billing}' if printf '%s' "$TASK" | jq -e '.data.status == "success" and .data.billing.state == "charged"' >/dev/null; then index=0 while IFS= read -r url; do index=$((index+1)) curl -fL --max-time 120 "$url" -o "$TASK_ID-$index.bin" done < <(printf '%s' "$TASK" | jq -er '.data.urls[].url') break fi if printf '%s' "$TASK" | jq -e '.data.status == "failed" and .data.billing.state == "released"' >/dev/null; then exit 1; fi if [ "$attempt" = 120 ]; then echo "Polling limit reached. Keep task ID $TASK_ID and query it later; do not create a new task." >&2 exit 1 fi sleep 5donecurl -fsS --max-time 60 "$BASE/tasks?limit=20" -H "Authorization: Bearer $API_KEY" | jq -e '.data'# Check this task and the caller Key in Console usage; billing.charged_usd is the actual USD charge.| Name | In | Description |
|---|---|---|
model | Body | Model ID to run. |
option | Body | One of the options offered for the model: 1:1, 16:9, 9:16. |
prompt | Body | Text prompt describing what to generate. |
max_cost_usd | Body | Maximum cost in USD for this task, taken from the quote. |
Idempotency-Key | Header | A unique key per task, so a repeated request returns the original task instead of charging again. |
Typical ways to put Nano Banana 2 Lite to work.
Explore a visual idea before committing to a design direction, using the prompt to compare scenes, colors and compositions.
Draft social graphics, thumbnails and campaign images, and choose an aspect ratio that fits the placement.
Turn a written scene into an illustration for a story or article, with the style and details specified in the prompt.
Use the API to generate images from user prompts, with a quote before submission and a task status to poll for the result.
Common questions about Nano Banana 2 Lite.
Nano Banana 2 Lite is Google's Gemini 3.1 Flash-Lite Image model. On UniRoute you can create images from a text prompt in your browser or through the API.
Google’s description emphasizes speed and creative iteration for Lite, while Nano Banana 2 offers more output resolution choices. Compare the available options and prices on their model pages before choosing.
The workspace and specs table list the aspect ratios available through UniRoute. These options come from the gateway catalog and determine the shape of the generated image.
From $0.03 / image. Each image request is quoted before submission. The Pricing section lists the available options and their prices (prices updated 2026-11-08).
Not yet. UniRoute currently accepts a text prompt and an aspect ratio option for this model. Some Google examples use reference images, but those inputs are not available in this workspace or its API request.
Request a quote for the model and option, create a media task with an Idempotency-Key and a maximum cost, then poll for the result. The API section shows the request sequence and available parameters.
No. Generation is paid from your wallet balance. You can open the workspace and review the price without paying, create an account to see a live quote for your exact settings, and you are charged only for requests that are accepted.