Saltar al contenido
Runstage

Google DeepMind

Nano Banana 2.1

Genera una imagen a partir de una indicación de texto. Describe el tema, la composición, la iluminación, el estilo y cualquier texto que deba aparecer, y luego elige un tamaño. El modelo devuelve la imagen en 1K, 2K o 4K con la relación de aspecto más cercana de entre las 14 disponibles.

Precios publicados de la API
~$0.0845 / 1K (1024px)
Ver todos los niveles
1K (1024px)~$0.0845
2K (2048px)~$0.1372
4K (4096px)~$0.2229
ID del modelo en la API
Interfaz API de Imagennano-banana-2.1
Punto de acceso
POST /api/v2/run
Entrada
Text prompt · Reference images
Salida
Image (PNG / WebP)
Tarifa
~$0.0845 / 1K (1024px)
Ejemplo de instrucción

“A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of w…”

Usos recomendados

Referencia de la API

ID del modelo en la API
nano-banana-2.1
Desarrollador del modelo
Google DeepMind
Modalidad
Generación y edición de imágenes
Entrada
Text prompt · Reference images
Salida
Image (PNG / WebP)
Puntos de acceso
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infraestructura
Capacidad en la nube asociada

Parámetros de la solicitud

  • modelstring · obligatorio

    Exact Runstage model slug (nano-banana-2.1).

  • promptstring · obligatorio

    Visual description of subject, composition, lighting, and medium.

  • width / heightinteger · opcional

    Output pixel dimensions (e.g. 1024×1024 or 1536×1024).

Parámetros adicionales

  • quality
  • seed
  • enhance_prompt

Inicio rápido

Copia una solicitud funcional con el ID de modelo nano-banana-2.1. Consulta primero la estimación gratuita (el coste final se liquida al completarse) y ejecútala con tu clave API de Runstage.

Abrir Studio
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-2.1","width":1024,"height":1024}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "nano-banana-2.1",   "prompt": "A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of water droplets and a rising column of splash caught in mid-air, each droplet reflecting the sky. Low side light from the early morning sun, dark green out-of-focus reeds in the background, the bird'\''s reflection broken up in the rippled water below. Telephoto compression, shallow depth of field, natural colours.",   "width": 1024,   "height": 1024,   "seed": 42 }'

# Optional: switch to image editing (img2img) by uploading multipart -F "image=@input.png"
# curl -X POST 'https://runstage.dev/api/v2/run' -H "Authorization: Bearer $RUNSTAGE_API_KEY" --form-string 'model=nano-banana-2.1' --form-string 'prompt=A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of water droplets and a rising column of splash caught in mid-air, each droplet reflecting the sky. Low side light from the early morning sun, dark green out-of-focus reeds in the background, the bird'\''s reflection broken up in the rippled water below. Telephoto compression, shallow depth of field, natural colours.' -F "image=@input.png"

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

Precios

Unidad facturable y opcionesTarifa (USD)
1K · 1024×1024Standard square or portrait output (estimated)~$0.0845
2K · 2048×2048High-resolution editorial artwork (estimated)~$0.1372
4K · 4096×4096Ultra-high-resolution print master (estimated)~$0.2229

Notas de facturación

  • Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
  • Antes de comprometer créditos prepagados, puedes obtener estimaciones gratuitas mediante POST /api/v2/quote.
  • Al completarse o fallar la ejecución, se ajusta automáticamente la reserva al coste real y se devuelven los créditos sin utilizar.
  • Se utiliza capacidad externa de socios. El importe final se calcula según las métricas de ejecución comunicadas.

Tarifas actuales del catálogo de Runstage. Créditos prepagados en USD con límites de gasto por clave.

Comparar en el catálogo completo