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

ChatGoogle131k tokens$0.545 / $3.2702 · 1M

google/gemini-3.1-flash-image

Contexto
131k tokens
Máx. completion
32,768
Tools
No
JSON
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 key

Preguntas 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