Model Metadata
- 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-05-28
- modalities
- input: text, image/png, image/jpeg, image/webp, image/heic, image/heif, video/mp4, video/mpeg, video/mov, video/avi, video/x-flv, video/mpg, video/webm, video/wmv, video/3gpp, 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: 131,072; output: 32,768
Provider Variants 5
cloudflare-ai-gateway google/nano-banana-2
Context 131,072 · Output 32,768
- 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-05-28
- modalities
- input: text, image/png, image/jpeg, image/webp, image/heic, image/heif; output: image/jpeg, image/png
- capabilities
- tools: supported: No; reasoning: supported: Yes; temperature: Yes; top_p: Yes; top_k: Yes; system_updates: No; effort_updates: No
- limit
- context: 131,072; output: 32,768
- id
- google/nano-banana-2
- canonical id
- google/gemini-3.1-flash-image
- last updated
- 2026-05-28
- api
- workers-ai-run: base_url: https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/ai; sdk: aisdk: ai-gateway-provider
Google gemini-3.1-flash-image
Context 131,072 · Output 32,768
- 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-05-28
- modalities
- input: text, image/png, image/jpeg, image/webp, image/heic, image/heif, video/mp4, video/mpeg, video/mov, video/avi, video/x-flv, video/mpg, video/webm, video/wmv, video/3gpp, application/pdf; output: text, image/png, image/jpeg
- capabilities
- tools: supported: No; reasoning: supported: Yes; effort: minimal, high; cache: No; temperature: Yes; top_p: Yes; top_k: Yes; system_updates: No; effort_updates: No
- limit
- context: 131,072; output: 32,768
- id
- gemini-3.1-flash-image
- canonical id
- google/gemini-3.1-flash-image
- last updated
- 2026-05-28
- 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
Google gemini-3.1-flash-image
Context 131,072 · Output 32,768
- 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-05-28
- modalities
- input: text, image/png, image/jpeg, image/webp, image/heic, image/heif, video/x-flv, video/quicktime, video/mpeg, video/mpegs, video/mpg, video/mp4, video/webm, video/wmv, video/3gpp, application/pdf; output: text, image/png, image/jpeg
- capabilities
- tools: supported: No; reasoning: supported: Yes; default: type: effort; value: minimal; effort: minimal, high; cache: implicit: min_tokens: 4,096; temperature: Yes; top_p: Yes; top_k: Yes; system_updates: No; effort_updates: No; service_tier: flex, priority
- limit
- context: 131,072; output: 32,768
- id
- gemini-3.1-flash-image
- canonical id
- google/gemini-3.1-flash-image
- last updated
- 2026-05-28
- api
- images: base_url: https://${GOOGLE_VERTEX_ENDPOINT}/v1beta1/projects/${GOOGLE_VERTEX_PROJECT}/locations/${GOOGLE_VERTEX_LOCATION}/publishers/google; sdk: aisdk: @ai-sdk/google-vertex; opencodeai: @opencode/ai/providers/google-vertex/images; generate-content: base_url: https://${GOOGLE_VERTEX_ENDPOINT}/v1beta1/projects/${GOOGLE_VERTEX_PROJECT}/locations/${GOOGLE_VERTEX_LOCATION}/publishers/google; sdk: aisdk: @ai-sdk/google-vertex; opencodeai: @opencode/ai/providers/google-vertex/gemini
OpenRouter google/gemini-3.1-flash-image
Context 131,072 · Output 32,768
- 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-05-28
- 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: 131,072; output: 32,768
- id
- google/gemini-3.1-flash-image
- canonical id
- google/gemini-3.1-flash-image
- last updated
- 2026-05-28
- 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
Context 131,072 · Output 32,768
- 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-05-28
- 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
- canonical id
- google/gemini-3.1-flash-image
- last updated
- 2026-05-28
- api
- chat-completions: base_url: https://ai-gateway.vercel.sh/v1; sdk: aisdk: @ai-sdk/gateway; opencodeai: @opencode/ai/providers/vercel-ai-gateway