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

Nano banana 2 — Extreme Ratios + Search Grounding

Nano banana 2 is the community name for Google's Gemini 3.1 Flash Image. Nano banana 2 adds extreme aspect ratios (1:8, 8:1) and Google search grounding to the Nano banana family — call it through reApi's OpenAI-compatible endpoint.

Input

Free text · required · detailed prompts produce better results

14 ratios incl. extreme 1:4 / 4:1 / 1:8 / 8:1

0.5K thumbnail · 1K default · 2K / 4K hero

1–4 images per request

Up to 14 · public HTTPS URLs only

Useful for recent events, named entities, real places

Sent without google_search:true returns 400

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.

Extreme aspect ratio banner generated with Nano banana 2

Banner ads at 8:1 without crop pain

Nano banana 2 is the only Nano banana variant that natively renders extreme ratios. Set size to 8:1 for a long horizontal sponsorship banner, 1:8 for a tall mobile-first poster, 1:4 / 4:1 for in-feed promo strips. The output is composed for the ratio at generation time — no cropping, no fill, no awkward dead space. Run a campaign at half a dozen formats from the same Nano banana 2 prompt and the visual story stays coherent across every placement.

Render an 8:1 banner
Search-grounded image generated with Nano banana 2

Search-grounded brand visuals

Turn on google_search and Nano banana 2 reads textual context from the web before drafting the image. Add google_image_search and the model also pulls visual references. Useful for recent events, named entities, sports teams, regional landmarks — anywhere a generic prompt would produce a generic image. Nano banana 2 keeps the request async, the same endpoint, the same credit lifecycle as every other reApi model.

0.5K thumbnail previews and 4K final from Nano banana 2

Cheap previews at 0.5K, ship at 4K

Nano banana 2 is the only Nano banana variant that exposes a 0.5K tier — useful for thumbnail previews, prompt iteration, and low-cost A/B grids. Once the concept lands, re-run at 4K for the production asset. Same prompt template, same image_urls, just bump the resolution field. Nano banana 2 keeps the composition stable across resolutions so the 0.5K preview accurately predicts the 4K final.

Pricing

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

CategoryUnitPrice
Default
0.5K / 1K1 image
$0.041
41 credits
2K1 image
$0.061
61 credits
4K1 image
$0.091
91 credits
Official Google
0.5K / 1K1 image
$0.062
62 credits
2K1 image
$0.093
93 credits
4K1 image
$0.139
139 credits

Why reAPI

Ratios no other Nano banana variant ships

Nano banana 2 unlocks 1:4, 4:1, 1:8, and 8:1 in addition to the ten standard ratios. That covers tall posters, banner ads, long-strip social formats, and side-rail web placements without any cropping or fill step. If your campaign brief lists multiple non-square placements, Nano banana 2 is the variant to default to.

Optional search grounding, on-demand

Two boolean flags — google_search and google_image_search — opt Nano banana 2 into web grounding. Off by default, so the cost stays predictable; flip them on for prompts that reference recent events, real people, or specific places. The image_search flag requires text search to be on; the gateway enforces the pairing before charging credits.

Async-first, drop-in compatible

Submit a Nano banana 2 task, get a task_id back, poll until done. 4K and search-grounded calls take longer than vanilla 1K; the async pattern means your handler never blocks. Failed and moderated requests are not charged. Nano banana 2 plugs into the same task plumbing you use for every reApi model — the lifecycle is identical.

Integrate Nano banana 2 in three steps

  1. 01
    step 01

    Create an API key

    Sign up at reApi and grab a key. Free signup credits cover dozens of Nano banana 2 generations — enough to test extreme ratios and search grounding before topping up.

    Open
  2. 02
    step 02

    Submit a generation

    POST to /api/v1/images/generations with model: gemini-3.1-flash-image-preview, a prompt, and optional size / resolution / n / google_search. Nano banana 2 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 2 response carries image URLs on our CDN, stable for 24 hours; mirror them to your own storage if you need them longer.

    Open

Frequently asked questions

Common questions about this model.

Nano banana 2 is the community nickname for Google's Gemini 3.1 Flash Image (formal id: gemini-3.1-flash-image-preview). It is the newest Nano banana variant on reApi and the only one that supports extreme aspect ratios (1:4, 4:1, 1:8, 8:1) and optional Google search grounding. Nano banana 2 renders at 0.5K, 1K, 2K, and 4K through the same OpenAI-compatible endpoint as every other reApi model.

Related models

Explore more models in the same category.

View all models
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
Gemini 2.5 Flash Image Preview coverImage

Google

Gemini 2.5 Flash Image Preview

Nano banana — fast Gemini image generation and editing, up to 14 reference images at 1K.

From $0.014 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
Midjourney V8 coverImageRecommended

Midjourney

Midjourney V8

Midjourney V8 — painterly text-to-image, editing, and image-to-video in one API

From $0.052 per request
View all models
start building

Ready to ship?

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

Try Nano banana 2View 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