Skip to content
Dashboard

Gemini 3.1 Flash Image (Nano Banana 2)

Gemini 3.1 Flash Image (Nano Banana 2) is the generally available flash-tier image generation and editing model in the Gemini 3.1 family, combining Google Image Search grounding, configurable thinking levels, and new video-to-image input with production-ready 1K and 2K output.

Image GenImplicit CachingReasoningVision (Image)Web Search
index.ts
import { generateText } from 'ai'
const result = await generateText({
model: 'google/gemini-3.1-flash-image',
prompt: 'Render a picture of a red balloon.',
});

About Gemini 3.1 Flash Image (Nano Banana 2)

Gemini 3.1 Flash Image (Nano Banana 2) is the general-availability release of the flash-tier image model in the Gemini 3.1 generation, released May 28, 2026. Gemini 3.1 Flash Image (Nano Banana 2) replaces google/gemini-3.1-flash-image-preview, which Google deprecated after the GA launch, and serves as the generalist of the Nano Banana family: the balance point between the pro tier's fidelity and the lite tier's speed.

The capabilities introduced in the preview carry into the GA model. Google Image Search grounding lets Gemini 3.1 Flash Image (Nano Banana 2) retrieve live visual reference data at generation time, improving accuracy on lesser-known landmarks, branded objects, and recent subjects. Configurable thinking levels (minimal and high) control how much Gemini 3.1 Flash Image (Nano Banana 2) reasons before rendering, and output options span 512p resolution plus narrow 1:4 and 1:8 aspect ratios alongside standard formats.

GA adds video-to-image input, a capability exclusive to Gemini 3.1 Flash Image (Nano Banana 2) among Google's image models. Pass a video file via direct upload or as a public YouTube URL, and Gemini 3.1 Flash Image (Nano Banana 2) analyzes the visual context, subjects, and actions in the footage to generate context-aware images such as thumbnails, posters, and infographics. The feature is in preview on Google's side, as is 4K output; 1K and 2K output are generally available.

Every generated image carries an invisible SynthID watermark for downstream identification of AI-generated content. Gemini 3.1 Flash Image (Nano Banana 2) accepts prompts within a context window of 131.1K tokens and returns text and images in the same multimodal response, with per-image billing by output resolution.