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

ChatGoogle66k tokens$0.545 / $3.2702 · 1M

google/gemini-3.1-flash-image-preview

Contexto
66k tokens
Máx. completion
65,536
Tools
No
JSON
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 key

Preguntas 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