image_generate.gemini_2_5_flash_image_t2i
google/nano-banana/text-to-image

The Nano Banana API generates images (Gemini 2.5 Flash Image) from natural-language prompts — flat $0.037 per image, single REST endpoint, priced 5% below Google's $0.039 published rate. The original Nano Banana API, predecessor of Nano Banana 2 (3.1 Flash).

Input
The text prompt sent to the model
Output
Sample edited image — run the model to replace this previewSampleRun the model to replace this preview

Nano Banana API: Text to Image

Use the Nano Banana API to generate images from natural-language prompts.

The Nano Banana API generates images (Gemini 2.5 Flash Image) from natural-language prompts. Flat $0.037 per image, single REST endpoint, no resolution or quality tiers — the original Nano Banana API, predecessor of Nano Banana 2 (3.1 Flash).

Pricing on the Nano Banana API is 5% below Google's $0.039 published rate, applied uniformly to every render. The Nano Banana API uses one RouterBase key — no provider-specific SDKs, no quota juggling between models.

Why this model

Six reasons teams ship on the Nano Banana API

From flat per-image pricing to the original Gemini 2.5 Flash Image lineage — what the Nano Banana API gets right.

Natural-language generation

Describe the image; the Nano Banana API renders it. No prompt-engineering tricks required.

Single-prompt API

One field — `prompt` — and the Nano Banana API returns a render. No size, aspect, or format knobs to tune.

Flat $0.037 per image

No resolution, quality, or aspect-ratio surcharges — the Nano Banana API bills one predictable per-image rate.

5% off official

Pay 5% less than Google's published rate; the Nano Banana API is flat — no upsell tiers.

The original Nano Banana API

Gemini 2.5 Flash Image is the well-validated lineage that became Nano Banana 2. Lower cost, simpler API.

REST + JSON

One endpoint, one key, no SDK lock-in. Plain JSON in, signed URL out.

RouterBase dashboard preview
Quickstart

Get started with the Nano Banana API in 3 steps

From sign-up to your first Nano Banana API call in under 5 minutes.

  1. Create a RouterBase API key

    Sign up and generate sk-rb-… — one key works for the Nano Banana API and 200+ other models.

  2. POST to the Nano Banana API

    Send a prompt in JSON. The Nano Banana API returns a signed URL within seconds.

  3. Inspect the result

    Each Nano Banana API response includes generation metadata for auditing and a render URL ready to embed.

Pricing

Pay only for what you use

RouterBase passes through partner-tier pricing. Compared against the model's official published API rate.

ResolutionRouterBaseOfficialSave
generation $0.033$0.039−15%

Your request will cost $0.033 per run (generation).With $1 you can run this model approximately 30 times.

Customer stories

What teams build with the Nano Banana API

Real production loads running on the Nano Banana API and the RouterBase model catalog.

Marcus Reyes
Marcus ReyesCTO, Paradigm AI

Flat $0.037 per Nano Banana API render means our finance team stopped asking why image bills spike on big-render days.

Priya Lakshmi
Priya LakshmiFounder, Quillo

We swapped three providers through RouterBase in one line of code when OpenAI had its outage. Our users never noticed.

Thomas Beck
Thomas BeckStaff Engineer, Northbeam

The Nano Banana API handles batch thumbnails at a third the cost of Pro. We reach for Pro only on hero shots.

Aoi Tanaka
Aoi TanakaML Lead, Daybreak Robotics

Predictable per-image pricing on the Nano Banana API made it the default for our synthetic-data thumbnail pipeline.

Jonas Keller
Jonas KellerIndie Developer

Plugged the Nano Banana API into my existing OpenAI SDK with one base URL swap — less work than writing this testimonial.

Ethan Nguyen
Ethan NguyenHead of Engineering, Compound Studio

RouterBase puts 200+ models behind one key. Our research team stopped asking for new provider accounts.

Sophia Martín
Sophia MartínCTO, Relay

The Nano Banana API ships at one-third the per-image cost of the Pro tier — perfect for our high-volume content workflow.

Lucas Fernandes
Lucas FernandesEngineering Manager, Light

We migrated 42 services to RouterBase over a weekend. The only PR comment we got was 'wait, that's all?'.

David Okonkwo
David OkonkwoCo-founder, Figment

Pricing on the Nano Banana API is 5% below Google's published rate — at our scale that's six figures saved per quarter.

Frequently Asked Questions

Common questions about the Nano Banana API.

The Nano Banana API is RouterBase's pass-through to Google's original Gemini 2.5 Flash Image — the model later succeeded by Nano Banana 2 (3.1 Flash). It generates images from natural-language prompts at a flat per-image price.