Model Metadata
- type
- image
- name
- Nano Banana 2 Preview
- description
- Image model for prompt-driven generation, editing, and visual design workflows
- family
- gemini-flash
- open weights
- No
- knowledge
- 2025-01
- release date
- 2026-02-26
- modalities
- input: text, image/png, image/jpeg, image/webp, image/heic, image/heif, application/pdf; output: text, image/png, image/jpeg
- capabilities
- tools: supported: No; reasoning: supported: Yes; temperature: Yes; top_p: Yes; top_k: Yes
- limit
- context: 65,536; output: 65,536
Provider Variants 3
Google gemini-3.1-flash-image-preview
Context 65,536 · Output 65,536
- type
- image
- name
- Nano Banana 2
- description
- Image model for prompt-driven generation, editing, and visual design workflows
- family
- gemini-flash
- open weights
- No
- knowledge
- 2025-01
- release date
- 2026-02-26
- modalities
- input: text, image/png, image/jpeg, image/webp, image/heic, image/heif, application/pdf; output: text, image/png, image/jpeg
- capabilities
- tools: supported: No; reasoning: supported: Yes; effort: minimal, high; temperature: Yes; top_p: Yes; top_k: Yes; system_updates: No; effort_updates: No
- limit
- context: 65,536; output: 65,536
- id
- gemini-3.1-flash-image-preview
- last updated
- 2026-02-26
- api
- images: base_url: https://generativelanguage.googleapis.com/v1beta; sdk: aisdk: @ai-sdk/google; opencodeai: @opencode/ai/providers/google/images; generate-content: base_url: https://generativelanguage.googleapis.com/v1beta; sdk: aisdk: @ai-sdk/google; opencodeai: @opencode/ai/providers/google; interactions: base_url: https://generativelanguage.googleapis.com/v1beta; sdk: aisdk: @ai-sdk/google
OpenRouter google/gemini-3.1-flash-image-preview
Context 65,536 · Output 58,982
- type
- image
- name
- Nano Banana 2 Preview
- description
- Image model for prompt-driven generation, editing, and visual design workflows
- family
- gemini-flash
- open weights
- No
- knowledge
- 2025-01
- release date
- 2026-02-26
- modalities
- input: image/png, image/jpeg, image/webp, text; output: text, image/png, image/jpeg
- capabilities
- tools: supported: No; reasoning: supported: Yes; effort: none, minimal, high; structured_output: Yes; temperature: Yes; top_p: Yes; top_k: Yes; system_updates: No; effort_updates: No
- limit
- context: 65,536; output: 58,982
- id
- google/gemini-3.1-flash-image-preview
- canonical id
- google/gemini-3.1-flash-image-preview
- last updated
- 2026-02-26
- api
- chat-completions: base_url: https://openrouter.ai/api/v1; sdk: aisdk: @openrouter/ai-sdk-provider; opencodeai: @opencode/ai/providers/openrouter; images: base_url: https://openrouter.ai/api/v1; sdk: aisdk: @openrouter/ai-sdk-provider; opencodeai: @opencode/ai/providers/openrouter/images
vercel google/gemini-3.1-flash-image-preview
Context 131,072 · Output 32,768
- type
- image
- name
- Gemini 3.1 Flash Image Preview (Nano Banana 2)
- description
- Image model for prompt-driven generation, editing, and visual design workflows
- family
- gemini-flash
- open weights
- No
- knowledge
- 2025-01
- release date
- 2026-02-26
- modalities
- input: text, image/png, image/jpeg, image/webp, image/heic, image/heif; output: text, image/png, image/jpeg
- capabilities
- tools: supported: No; reasoning: supported: Yes; effort: low, high; cache: implicit: Yes; temperature: Yes; top_p: Yes; top_k: Yes; system_updates: No; effort_updates: No
- limit
- context: 131,072; output: 32,768
- id
- google/gemini-3.1-flash-image-preview
- canonical id
- google/gemini-3.1-flash-image-preview
- last updated
- 2026-02-26
- api
- chat-completions: base_url: https://ai-gateway.vercel.sh/v1; sdk: aisdk: @ai-sdk/gateway; opencodeai: @opencode/ai/providers/vercel-ai-gateway