rreAPI
  • Models
  • Agent
  • Pricing
  • Blog
  • Docs
PlaygroundUse casesPricingFAQAPI
Home/Models/Gemini 2.5 Flash Image Previewnew

Nano banana API — Gemini 2.5 Flash Image, One Endpoint

Nano banana is the community name for Google's Gemini 2.5 Flash Image. Generate and edit images through reApi's OpenAI-compatible endpoint — Nano banana ships to production in minutes, not days.

Input

Free text · required · ≤ 1000 chars

Ten ratios from 1:1 to 21:9

Nano banana renders at 1K only

1–4 images per request

Up to 14 · public HTTPS URLs only

Result

Try one of these prompts

What you can build with this model

Real-world workflows and production use cases you can build and ship with this model.

Product photo refresh generated with Nano banana

Refresh product photos in batches with Nano banana

Edit existing e-commerce shots without a reshoot. Pass the original URL in image_urls, describe the change in plain English, and Nano banana returns an updated render that keeps the product geometry intact while the surrounding scene gets reworked. Run a hundred SKUs through the same prompt template and the catalog stays visually consistent — same lighting language, same background style, every variant on brand.

Edit a photo
Ad creative variations generated by Nano banana

Generate ad creative drafts in seconds

Spin four hero variants from a single prompt with n=4 and pick the winner before stand-up ends. The default Nano banana id is tuned for speed and cheap drafts; switch to `gemini-2.5-flash-image-preview-official` when an investor deck or paid placement needs the higher-fidelity render. Same endpoint, same JSON body — only the model id changes between drafts and finals.

Reference-driven composition with Nano banana

Fuse references into one composition

Pass up to 14 reference images and describe how they should combine. Nano banana handles subject + scene + style references in a single call — drop a product photo plus a moodboard frame plus a brand palette swatch and the model fuses them into a new on-brand shot. No mask file, no separate compositing step. Public HTTPS URLs only — upload to your own R2 / S3 / OSS first.

Pricing

Credit-based — 1 credit = $0.001 USD. Pay only for completed generations.

CategoryUnitPrice
Default
1K1 image
$0.015
15 credits
Official Google
1K1 image
$0.036
36 credits

Why reAPI

One key, one endpoint, two model ids

Send model `gemini-2.5-flash-image-preview` for the default Nano banana, or `gemini-2.5-flash-image-preview-official` for Google's official endpoint. Either id hits the same `/api/v1/images/generations` route — switch by changing one string in the request body. No second SDK, no second key, no separate billing surface to wire up. Nano banana behaves like any other reApi model from your code's point of view.

Credits in, image out — no surprises

Pricing is in reAPI credits where 1 credit equals $0.001 USD. The estimator on this page costs your exact configuration before submit, so the Nano banana charge in the dashboard matches what the playground showed. No metering surprises, no minimum commitment, no monthly platform fee — only what your app actually generates with Nano banana, billed per image.

Async-first, drop-in compatible

Submit a Nano banana task, get a task_id back instantly, poll until the result lands. Serverless functions, queue workers, edge runtimes — wherever you run, the async pattern fits. Failed and moderated requests are not charged, so a flaky prompt never costs you credits. The same lifecycle covers every reApi model — Nano banana plugs into your existing task plumbing.

Integrate Nano banana in three steps

  1. 01
    step 01

    Create an API key

    Sign up at reApi and grab a key from the dashboard. Free signup credits cover the first hundred-plus Nano banana generations, enough to ship the first feature and watch the bill stay at zero while you iterate.

    Open
  2. 02
    step 02

    Submit a generation

    POST to /api/v1/images/generations with model: gemini-2.5-flash-image-preview and a prompt. Add size, n, or image_urls as you need — the gateway validates every field before charging. Nano banana returns a task_id immediately so the request never blocks your handler.

    Open
  3. 03
    step 03

    Poll the result

    GET /api/v1/tasks/:id until status is completed. The Nano banana response carries image URLs on our CDN, stable for 24 hours — copy them to your own storage if you need them longer than that.

    Open

Frequently asked questions

Common questions about this model.

Nano banana is the community nickname for Google's Gemini 2.5 Flash Image (formal id: gemini-2.5-flash-image-preview). It is a fast text-to-image and image-to-image model that renders at 1K with up to 14 reference images per call. reApi exposes Nano banana through one OpenAI-compatible endpoint with credit-based pricing, so you skip the upstream billing surface and call the same underlying model your evaluation work used.

Related models

Explore more models in the same category.

View all models
Gemini 3.1 Flash Image Preview coverImageRecommended

Google

Gemini 3.1 Flash Image Preview

Nano banana 2 — extreme ratio Gemini image generation with optional Google search grounding.

From $0.040 per image
Gemini 3 Pro Image Preview coverImageRecommended

Google

Gemini 3 Pro Image Preview

Nano banana Pro — high-fidelity Gemini image generation up to 4K with up to 14 reference images.

From $0.053 per image
Imagen 4.0 coverImage

Google

Imagen 4.0

Imagen 4.0 — Google's text-to-image at a flat per-image rate across five aspect ratios.

From $0.046 per image
Qwen Image 2 coverImage

Alibaba

Qwen Image 2

Qwen Image 2 — Alibaba's unified text-to-image and editing model with strong in-image text rendering, on one OpenAI-compatible endpoint.

From $0.031 per image
View all models
start building

Ready to ship?

Try it in the playground or grab an API key to integrate now.

Try Nano bananaView API Docs
rreAPI

reAPI is the AI API aggregator with sub-second failover, zero request logging, and one OpenAI-compatible endpoint for every top model.

GitHubX (Twitter)
Built withLogo of reAPIreAPI
Featured on There's An AI For ThatFeatured on Findly.toolsFazier badgeDang.ai
ai tools code.market
Featured on Twelve Tools
Image
  • GPT Image 2
  • Gemini 3 Pro Image
  • Gemini 3.1 Flash Image
  • Gemini 2.5 Flash Image
  • Seedream 5.0 Lite
  • Imagen 4.0
  • Wan 2.7 Image
Video
  • Seedance 2.0
  • Happy Horse 1.0
  • Vidu Q3
  • Pixverse v6
  • Grok Imagine 1.0
  • VEO 3.1
  • Gemini Omni
  • Wan 2.7 Video
  • Kling Motion Control
LLM
  • Claude Opus 4.8
  • Claude Opus 4.7
  • Claude Sonnet 4.6
  • DeepSeek V4
  • GPT-5.4
  • GPT-5.5
Audio
  • Mureka V9
  • Vocal Remover
  • Music Extractor
  • Voice Cleaner
  • Multistem Splitter
  • Voice Changer
Text
  • AI Humanizer
  • AI Text Detector
Tools
  • Enhance Video 1.0
·······
© 2026 reAPI. All Rights Reserved.[email protected]
AboutContactChangelogCookie PolicyPrivacy PolicyTerms of Service