Runbase

Command Palette

Search for a command to run...

Gemini

Nano Banana

ID:google/nano-banana

Nano Banana image generation API by Google — affordable Gemini 2.5 Flash-powered model with 11 aspect ratios and up to 10 reference images.

Text to imageImage editingReference images
Input
Aspect ratio
Reference images
Max 10 images, 10MB each
OutputView all
Output will appear here
Fixed
$0.03
cURL
curl https://api.runbase.net/v1/runs \
  -H "Authorization: Bearer $RUNBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/nano-banana",
    "input": {
      "prompt": "A cinematic product photo of a ceramic lamp",
      "aspect_ratio": "1:1",
      "resolution": "1K"
    }
  }'

Examples

Golden hour portrait

Golden hour portrait

16:9

A woman standing in a sunlit field at golden hour, wearing ornate gold jewelry, warm cinematic light.

Motion fashion shot

Motion fashion shot

16:9

A woman spinning in a flowing red traditional dress with floral embroidery, motion blur capturing the movement.

Night street scene

Night street scene

4:3

A vintage orange sedan parked on a night road, teal fog and palm trees in the background, moody atmosphere.

Overview

Nano Banana is Google's entry-level image model, released in August 2025. Built on Gemini 2.5 Flash, it offers fast generation at the lowest price point in the Nano Banana family. It supports 11 aspect ratios (including auto, which lets the model choose) and up to 10 reference images at 10 MB each. There is no resolution control — the model determines output resolution automatically.

Use cases

Quick creative exploration and concept art iteration. Social media visuals and thumbnails on a budget. Moodboards and early-stage design work. Simple image editing tasks where speed and cost matter more than pixel-level fidelity.

Inputs

All parameters are passed in the input object of the run request.

ParameterRequiredDescription
promptYesText description (1–5000 chars)
aspect_ratioNoOutput aspect ratio. Default 1:1. Supports 11 ratios including auto
image_urlsNoUp to 10 reference images (max 10 MB each) for image editing

Prompt tips

Use auto aspect ratio for exploratory work

When you are not sure what ratio suits your prompt, set aspect_ratio to auto and let the model decide. This often produces better compositions than forcing a ratio that fights the subject.

Describe mood and atmosphere

Nano Banana responds well to atmospheric cues — "golden hour light," "moody fog," "high-contrast noir." These steer the overall feel more reliably than detailed layout instructions.

Limitations

  • No resolution control — output resolution is fixed by the model
  • Text rendering in images is less precise than Nano Banana Pro or Nano Banana 2
  • No quality or resolution parameter available
  • Maximum 10 reference images per request, 10 MB each
  • Prompt length capped at 5000 characters

FAQ

What aspect ratios does Nano Banana support?

Eleven options: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, and auto. The default is 1:1.

Does Nano Banana support resolution control?

No. Unlike Nano Banana 2 and Nano Banana Pro, there is no resolution parameter. The model determines output resolution automatically.

How does it compare to Nano Banana Pro?

Nano Banana is faster and cheaper, built on Gemini 2.5 Flash. Nano Banana Pro uses Gemini 3 Pro for higher fidelity and sharper text rendering, but at higher cost and latency.