Nano Banana 2 (Gemini 3.1 Flash Image Preview)
Gemini 3.1 Flash Image Preview, 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-preview
- Contexto
- 66k tokens
- Máx. completion
- 65,536
- Tools
- No
- JSON
- Sí
- Lanzamiento
- 2026-02-26
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-preview",
"messages": [{"role": "user", "content": "Hola"}]
}'Consigue tu API keyPreguntas frecuentes
- ¿Qué es Nano Banana 2 (Gemini 3.1 Flash Image Preview)?
- Gemini 3.1 Flash Image Preview, 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 Preview) corre en el API de Geek Hub (compatible con OpenAI). Id: google/gemini-3.1-flash-image-preview.
- ¿Nano Banana 2 (Gemini 3.1 Flash Image Preview) 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 Preview)?
- Nano Banana 2 (Gemini 3.1 Flash Image Preview) tiene una ventana de 66k tokens. Soporta hasta 65,536 tokens de completion.
- ¿Nano Banana 2 (Gemini 3.1 Flash Image Preview) soporta tool calling y structured outputs?
- Nano Banana 2 (Gemini 3.1 Flash Image Preview) 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 Preview)?
- Nano Banana 2 (Gemini 3.1 Flash Image Preview) se lanzó el 26 de febrero 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.