Nano Banana 2 (Gemini 3.1 Flash Image)
Gemini 3.1 Flash Image, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the image_config API Parameter
google/gemini-3.1-flash-image
- Contexto
- 131k tokens
- Máx. completion
- 32,768
- Tools
- No
- JSON
- Sí
- Lanzamiento
- 2026-06-18
Llámalo desde Geek Hub
El mismo SDK de OpenAI. Cambia el base URL y el id del modelo.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-flash-image",
"messages": [{"role": "user", "content": "Hola"}]
}'Consigue tu API keyPreguntas frecuentes
- ¿Qué es Nano Banana 2 (Gemini 3.1 Flash Image)?
- Gemini 3.1 Flash Image, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the image_config API Parameter Nano Banana 2 (Gemini 3.1 Flash Image) corre en el API de Geek Hub (compatible con OpenAI). Id: google/gemini-3.1-flash-image.
- ¿Nano Banana 2 (Gemini 3.1 Flash Image) es gratis?
- No. El input cuesta $0.545 / 1M tokens y el output $3.2702 / 1M tokens en Geek Hub (markup incluido).
- ¿Cuál es el contexto de Nano Banana 2 (Gemini 3.1 Flash Image)?
- Nano Banana 2 (Gemini 3.1 Flash Image) tiene una ventana de 131k tokens. Soporta hasta 32,768 tokens de completion.
- ¿Nano Banana 2 (Gemini 3.1 Flash Image) soporta tool calling y structured outputs?
- Nano Banana 2 (Gemini 3.1 Flash Image) no publica tool calling en este endpoint. También soporta structured outputs con un JSON schema en response_format.
- ¿Cuándo se lanzó Nano Banana 2 (Gemini 3.1 Flash Image)?
- Nano Banana 2 (Gemini 3.1 Flash Image) se lanzó el 18 de junio de 2026.
Más modelos de Google
Gemini 2.5 FlashFlash with hybrid reasoning. Price went up in the July refresh ($0.15/$0.60 → $0.30/$2.50) reflecting the provider change.
Gemini 2.5 Flash ImageReplaces Imagen 4. Excellent with text embedded in the image (much better than Flux/DALL·E) at the catalog's lowest price.
Gemini 2.5 Flash-LiteCheapest in the catalog with 1M context. Output at $0.40 / 1M. Alternative when you want to minimize cost.
Gemini 2.5 Pro2M context, multimodal, reasoning. Google updated output pricing ($5 → $10) in the July refresh.
Gemini 3.1 Flash-Lite3.1 Flash-Lite. Cheap and fast for classification, extraction, and light chat.
Gemini 3.1 Pro (preview)Preview of the 3.1 Pro flagship. 2M context. Price for ≤200k tokens tier; scales ~2x above that.