Gemini 3.1 Flash Image Preview (free)

gemini-3.1-flash-image-preview-free · Google

This model has been retired.
Requests return 404 model_retired. All model retirements

This model is the free trial version of gemini-3.1-flash-image-preview (officially marketed as Nano Banana 2). To ensure stable service operation, usage limits have been set and resources are limited and may not be available at all times. For a stable version, please choose the official release; the request name for the official release is: gemini-3.1-flash-image-preview.

Specifications

Modalitiestext, image
Output modalitiesimage

Frequently asked questions

What is Gemini 3.1 Flash Image Preview (free)?

This model is the free trial version of gemini-3.1-flash-image-preview (officially marketed as Nano Banana 2). To ensure stable service operation, usage limits have been set and resources are limited and may not be available at all times. For a stable version, please choose the official release; the request name for the official release is: gemini-3.1-flash-image-preview.

What modalities does Gemini 3.1 Flash Image Preview (free) support?

Gemini 3.1 Flash Image Preview (free) accepts text and image input. It returns image output.

How do I call Gemini 3.1 Flash Image Preview (free) via API?

Gemini 3.1 Flash Image Preview (free) is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gemini-3.1-flash-image-preview-free — no other code changes needed.

Who created Gemini 3.1 Flash Image Preview (free)?

Gemini 3.1 Flash Image Preview (free) is developed by Google. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

When was Gemini 3.1 Flash Image Preview (free) released?

Gemini 3.1 Flash Image Preview (free) was released on February 26, 2026 by Google.

Paid version: Gemini 3.1 Flash Image Preview

More models from Google

See all Google models →

Gemini 4 Neon

by Google

Gemini 4 Neon is the latest model in Google’s Gemini 4 series. It features frontier-level…

$3.3/1M in · $16.5/1M out
1,048,576 tokens context

Genie 4

by Google

Genie 4 is Google’s latest real-time interactive world generation model. Through the…

$1.5/1M in · $9/1M out

Gemini 4 Hydrogen

by Google

Gemini 4 Hydrogen is a Google Gemini 4 model focused on speed and efficiency. Potential…

$1.5/1M in · $7.5/1M out
1,048,576 tokens context

Gemini Decision 1

by Google

Gemini Decision 1 is designed for judgment and decision-making tasks, helping developers…

$0.1/1M in
262,144 tokens context

Gemini 3.8 Live

by Google

Gemini 3.8 Live is a multimodal AI model from Google that delivers a low-latency…

$3/1M in · $12/1M out

Gemini 2.5 Flash Live

by Google

Gemini 2.5 Flash Live is Google's multimodal AI model for real-time interactions…

$3/1M in · $12/1M out

Browse models available on AIHubMix — one interface for every major LLM.