Try Nano Banana 2 (Gemini 3.1 Flash Image Preview)
Generate with Nano Banana 2 (Gemini 3.1 Flash Image Preview) right here. Create an account and verify your email to unlock it.
Specifications
Context window
66K tokens
Max output
59K tokens
Price
~$0.12 / image
Benchmarks
How Nano Banana 2 (Gemini 3.1 Flash Image Preview) scores on public benchmarks. Each card links to the benchmark explainer and to the original source.
Compare against every model in the full benchmark matrix.
Capabilities
Edits your images
Takes a reference image as well as a prompt, so it can restyle, extend or keep a character consistent.
Use Nano Banana 2 (Gemini 3.1 Flash Image Preview) through the API
The model id is google/gemini-3.1-flash-image-preview. Requests bill your GenMagic balance at the price above, and each response reports what it cost.
curl https://genmagic.co/api/v1/images/generations \
-H "Authorization: Bearer $GENMAGIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-flash-image-preview",
"prompt": "A cobalt prism refracting light into a spectrum, studio render",
"size": "1024x1024"
}'From an AI agent, call generate_image with "model": "google/gemini-3.1-flash-image-preview" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.
Use Nano Banana 2 (Gemini 3.1 Flash Image Preview) in n8n
- In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
- Set Resource to Image and Operation to Generate.
- In Model Name or ID, pick Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview), or enter
google/gemini-3.1-flash-image-previewas an expression. - Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.
Ready-to-import workflows that already use the node are on GenMagic for n8n.
Similar-priced image models from other providers
Other image models GenMagic runs at a comparable price, on the same balance and API key.
| Model | Provider | Price |
|---|---|---|
| Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) (this model) | ~$0.12 per 1K image | |
| Recraft: Recraft V4.1 Vector | Recraft | ~$0.12 per 1K image |
| Black Forest Labs: FLUX.2 Max | Black Forest Labs | ~$0.11 per 1K image |
| Microsoft AI: MAI-Image-2.5 | Microsoft | ~$0.091 per 1K image |
| xAI: Grok Imagine Image 2.0 | xAI | ~$0.09 per 1K image |
| Krea: K3 Edit | Krea | ~$0.09 per 1K image |
More from Google
All 41 Google modelsGoogle: Gemini 4 Hydrogen
TextGemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...
View modelGoogle: Gemini 4 Carbon
TextGemini 4 Carbon is a frontier Gemini 4 model from Google for coding, agentic and complex reasoning work. It takes text, image, audio, video and file input, supports long decode...
View modelGoogle: Gemini Omni 1.2 Flash
VideoGemini Omni 1.2 Flash is Google's native multimodal video generation and editing model, the successor to Gemini Omni 1.1 Flash. It generates clips up to 15 seconds long with native...
View modelGoogle: Gemini Omni 1.1 Flash
VideoGemini Omni 1.1 Flash is Google's native multimodal video generation and editing model, the generally available successor to Gemini Omni Flash Preview. It is suited for text-to-video, image-to-video, first and...
View modelGoogle: Gemini 4 Argon
TextGemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. Google trained it to keep context across...
View modelGoogle: Nano Banana 2.1
ImageNano Banana 2.1 (Gemini Nano Banana 2.1) is Google's image generation and editing model on the Flash tier, succeeding Nano Banana 2 and Nano Banana Pro. It improves product recontextualization,...
View modelPrice and listing history
Every change GenMagic has recorded for Nano Banana 2 (Gemini 3.1 Flash Image Preview) since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.
| Date | Change | Before | After |
|---|---|---|---|
| Nov 1, 2026 | Price up 15% | $0.10 per image | $0.12 per image |
Where these figures come from
- Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
- Specs and description: as Google publishes them, checked daily.
- Benchmarks: 3 scores from Design Arena, re-read daily. Each score above links to its source.
- Changes: the data on this page last changed on Nov 14, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.
Generate with Nano Banana 2 (Gemini 3.1 Flash Image Preview) today
One GenMagic plan unlocks Nano Banana 2 (Gemini 3.1 Flash Image Preview) and every other model across text, image, audio, and video.