Nano Banana 2 Lite Text to Image

google/nano-banana-2-lite

Nano Banana 2 Lite by Google - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.

Base price
$0.03USD / run
Execution
async
Model type
image
Input fields
6
Production route

Try the model

Playground

Open playground
Input
The text prompt to generate an image from.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
The format of the generated image. Allowed values: jpeg, png.
The seed for the random number generator.
When set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable. Allowed values: minimal, high.
Optional system instruction that steers the model's persona and output style across the request. Leave blank to omit; when provided, it is sent as the system instruction to Gemini (or as a system message on OpenAI-compatible providers).
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.03 / run

Context & modalities

Input
Schema-defined
Output
image

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Google
Model ID
google/nano-banana-2-lite
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Text to Image
Rank
#15 of 106
Elo
1107 ±10
Gap to #1
−115

Text-to-image arena: people pick the better of two images generated from the same prompt, without seeing the model names.

  1. #10MAI-Image-2.6-FlashMicrosoft AI1119±12
  2. #11Nano Banana Pro (Gemini 3 Pro Image)GoogleOn SandBase1118±10
  3. #12MAI-Image-2.5Microsoft AI1118±11
  4. #13FLUX 3 ImageBlack Forest Labs1117±12
  5. #14MAI-Image-2.5-ProMicrosoft AI1114±10
  6. #15Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)GoogleThis model1107±10
  7. #16Seedream 5.0 ProByteDance SeedOn SandBase1100±11
  8. #17Qwen-Image-3.0-ProAlibaba1095±12
  9. #18Qwen-Image-3.0AlibabaOn SandBase1070±12
  10. #19Qwen-Image-2.1-ProAlibaba1056±12

API README

Nano Banana 2 Lite Text to Image

Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) is the low-latency, lowest-cost Nano Banana tier for high-volume generation at 1K.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 50,000 characters.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Output frame shape.
output_formatjpeg / pngpngOutput file format.
seedintegerrandomFix it to compare prompt changes.
thinking_levelminimal / high—high reasons more about the prompt before drawing; minimal is faster.
system_promptstring—Optional standing instructions applied to every request.

Billing

$0.0336 per 1K image, Google's list price.

RequestPrice
One image$0.0336

Failed runs are not charged.

Prompting

  • Keep prompts direct; use thinking_level: high for complex layouts.

Limits

  • Output is 1K only.

Also on SandBase

Other Nano Banana endpoints: google/nano-banana-pro, google/nano-banana-pro/edit, google/nano-banana-2, google/nano-banana-2/edit, google/nano-banana-2-lite/edit.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
google/nano-banana-2-lite
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "google/nano-banana-2-lite",
  "prompt": "An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.",
  "output_format": "png"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
GoogleImage$0.03 / runJun 30, 2026
GoogleImage$0.04 / runOct 6, 2026
GoogleImage$0.04 / runOct 6, 2026
GoogleImage$0.03 / runJun 30, 2026
GoogleImage$0.07 / runFeb 26, 2026
GoogleImage$0.07 / runFeb 26, 2026

Questions

FAQ

How do I call Google Nano Banana 2 Lite Text to Image through SandBase?

Create a SandBase API key, then send requests with the model ID "google/nano-banana-2-lite" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Google account?

No. One SandBase API key and balance gives you access to Google Nano Banana 2 Lite Text to Image and the other models in the catalog; you do not need to sign up with Google separately.