Forge is available: build a website with AI from your RodiumAi account.

Try Forge

Temporarily unavailable

This model has been retired by its provider and can no longer be used.

Google

Nano Banana 2 (Gemini 3.1 Flash Image Preview)

image-gennano-bananapreview
Context
131K
Max output
-
Speed
Balanced
Quality
Pro
Released
2026-02-26
Input: / Output:
TextImageTextImage

About this model

Gemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines...

Pricing

RateRODIUSD (ref.)Unit
Text tokens
In376.4~ 0.500per 1M tokens (RODI/M, USD/M)
Out2258.3~ 3.00per 1M tokens (RODI/M, USD/M)

RODI prices include RodiumAi markup and upstream fees. USD figures are wholesale reference rates.

Providers & pricing

ProviderInputOutputCachedFree tierStatus
Vertex

Vertex

Default

All rates (2)
  • In376.4 RODI/M
  • Out2258.3 RODI/M
376.42,258--No data
Google AI Studio

Google AI Studio

Priority 2

All rates (2)
  • In376.4 RODI/M
  • Out2258.3 RODI/M
376.42,258--No data

Capabilities

Streaming
Tool calling
Vision
JSON mode
Reasoning

API usage

Use the canonical slug with client.chat() or chat.completions.create().

Examples

…

Example response

…

Reference image (edit or restyle)

…

Aspect ratio

…

RodiumAi SDK

Official Python, JavaScript, and Laravel SDKs: flat API aligned with this model slug.

…

Use cases

  • Marketing visuals, social posts and ad variants from a short brief.
  • Product shots and mock-ups for a catalogue.
  • Illustrations for articles, slides and onboarding screens.
  • Concept art and moodboards before a design review.
  • Backgrounds, textures and placeholder images for apps.

Notes

  • Choose the shape with aspect_ratio (for example 1:1, 3:4, 4:3, 9:16, 16:9). The common OpenAI size values map to a ratio: 1024x1024 is 1:1, 1024x1536 is 3:4, 1536x1024 is 4:3, 1792x1024 is 16:9 and 1024x1792 is 9:16.
  • Gemini image models accept reference images (in image or images, up to 14, base64 or gs:// URI) to edit or combine pictures. Imagen models take a text prompt only.
  • Images come back as b64_json.
View all