Nano Banana 2 Lite
google/nano-banana-2-liteNano 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.05USD / run
- Execution
- async
- Model type
- image
- Input fields
- 6
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Specifications
Pricing
- Base price
- $0.05 / 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
- Model ID
- google/nano-banana-2-lite
- Execution
- async
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Nano Banana 2 Lite
Nano Banana 2 Lite is a speed-first image generator for rapid ideation, interactive products, and high-volume visual pipelines. It retains reliable prompt adherence, character consistency, and legible in-image text while prioritizing low latency and cost efficiency.
This endpoint accepts a text prompt and produces one image. It is the Lite text-to-image route: it does not accept reference images, while optional thinking and system instructions can help shape more demanding generations.
Highlights
- Built for fast iteration. Designed for high-throughput, near-real-time workflows where teams need to draft, compare, and refine many visual directions quickly.
- Reliable instruction following. Preserves the requested subjects, scene details, and relationships across practical text-to-image prompts.
- Character consistency. Maintains recognizable character traits, making it useful for repeated concepts and coherent creative exploration.
- Legible visual text. Handles readable wording inside posters, labels, signs, and other designed imagery without turning the request into a separate editing workflow.
Pricing
| Unit | Price |
|---|---|
| Per request | $0.048375 |
When to Use
| Good fit | Consider alternatives |
|---|---|
| Rapid concept thumbnails and visual drafts | Editing an existing image, which needs an edit endpoint |
| High-volume campaign or catalog ideation | Maximum-detail professional artwork where speed is secondary |
| Interactive image experiences | Multi-image reference composition |
| Character-led concept exploration | Outputs above the endpoint's documented resolution controls |
| Posters, labels, and social graphics with text | Video, animation, or audio generation |
Prompt Guide
Describe the subject first, then lock composition, visible text, lighting, and style. Put any wording that must appear in quotation marks, and use concrete spatial directions instead of vague requests. Use thinking_level only when a more involved composition benefits from extra planning.
{
"prompt": "A friendly yellow robot barista behind a compact walnut coffee counter, three-quarter view, morning window light, teal ceramic cups arranged on the right. A clean menu board above the robot reads \"ROBOT ROAST\" in bold white sans-serif letters. Polished editorial illustration with consistent character details.",
"aspect_ratio": "16:9",
"output_format": "png",
"thinking_level": "minimal",
"system_prompt": "Keep the composition clean and preserve all quoted text exactly."
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | google/nano-banana-2-lite |
| Input | Required text prompt (3–50,000 characters) |
| Aspect ratios | 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |
| Output format | PNG (default) or JPEG |
| Optional controls | Integer seed, system prompt, thinking level (minimal or high; omit to disable) |
| Output | One downloadable image URL |
| Execution | Async |
Related
- Nano Banana 2 — General-purpose sibling for a stronger quality and speed balance
- Nano Banana Lite Edit — Image editing with a lightweight Nano Banana route
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# 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
| Model | Context | Input / 1M | Output / 1M | Released |
|---|---|---|---|---|
Nano Banana 2 LiteThis model Google | — | — | — | Jun 30, 2026 |
Google | — | — | — | Jun 30, 2026 |
Google | — | — | — | Jun 30, 2026 |
Google | — | — | — | Feb 26, 2026 |
Google | — | — | — | Feb 26, 2026 |
Google | — | — | — | Nov 20, 2025 |
