LogoreAPI
  • Models
  • Blog
  • API Docs
  • API Updates
§01Playground02Use cases03Pricing04FAQ05API
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.

Model type:
Price
est$0.015– $0.015per image

Per-call billing — the cheapest way to call Nano banana.

Same API endpoint. The model parameter selects the variant.

Try Nano bananaView API Docs
01playground
InputsPOST /api/v1/images/generations

Free text · required · ≤ 1000 chars

Provide a prompt or at least one reference image / video / frame.

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

Outputidle
try one of these prompts
02use cases

What you can build

Real workflows powered by this model.

Product photo refresh generated with Nano banana
01/case

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
02/case

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 reAPIs.

Reference-driven composition with Nano banana
03/case

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.

03pricing

Pricing

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

ModeCategoryUnitPrice
Default
└1K1 image
$0.015
15 credits
Official Google
└1K1 image
$0.036
36 credits
05why

Why reAPI

01

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.

02

Credits in, image out — no surprises

Pricing is inreAPI 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.

03

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.

06quickstart

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
07faq

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.

09api reference
docs/api/gemini-2-5-flash-image-preview

API reference

Drop-in code and the full parameter table.

View full reference
POST /api/v1/images/generations
Authorization: Bearer $REAPI_API_KEY
Content-Type: application/json

{
  "prompt": "..."
}
start building

Ready to ship?

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

Try Nano bananaGet API key
LogoreAPI

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

GitHubX (Twitter)YouTube
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
Video
  • Seedance 2.0
  • Happy Horse 1.0
  • Vidu Q3
  • Grok Imagine 1.0
  • VEO 3.1
Tools
  • Enhance Video 1.0
Resources
  • Blog
  • About
  • Contact
  • API Updates
  • Cookie Policy
  • Privacy Policy
  • Terms of Service
·······
© 2026 reAPI. All Rights Reserved.