Ir para o conteúdo
Runstage

Google DeepMind

Nano Banana 2.1

Gere uma imagem a partir de um prompt de texto. Descreva o tema, a composição, a iluminação, o estilo e qualquer texto que deva aparecer. Depois, escolha um tamanho. O modelo entrega a imagem em 1K, 2K ou 4K, na proporção mais próxima entre as 14 disponíveis.

Preços publicados da API
~$0.0845 / 1K (1024px)
Ver todas as faixas
1K (1024px)~$0.0845
2K (2048px)~$0.1372
4K (4096px)~$0.2229
ID do modelo na API
Interface de API de Imagemnano-banana-2.1
Endpoint
POST /api/v2/run
Entrada
Text prompt · Reference images
Saída
Image (PNG / WebP)
Tarifa
~$0.0845 / 1K (1024px)
Exemplo de 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 w…”

Usos recomendados

Referência da API

ID do modelo na API
nano-banana-2.1
Desenvolvedor do modelo
Google DeepMind
Modalidade
Geração e edição de imagens
Entrada
Text prompt · Reference images
Saída
Image (PNG / WebP)
Endpoints
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infraestrutura
Capacidade da nuvem parceira

Parâmetros da solicitação

  • modelstring · obrigatório

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

  • promptstring · obrigatório

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

  • width / heightinteger · opcional

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

Parâmetros adicionais

  • quality
  • seed
  • enhance_prompt

Início rápido

Copie uma solicitação funcional com o ID de modelo nano-banana-2.1. Consulte antes a estimativa gratuita (o custo final é definido na conclusão) e execute com sua chave de API da Runstage.

Abrir o 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>'

Preços

Unidade de cobrança e opçõesTarifa (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 cobrança

  • 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 pré-pagos, obtenha uma estimativa gratuita em POST /api/v2/quote.
  • Na conclusão ou falha da tarefa, a reserva é ajustada automaticamente ao custo real, com devolução dos créditos não utilizados.
  • O modelo usa capacidade externa de parceiros. O custo final é ajustado conforme as métricas de execução informadas.

Tarifas atuais do catálogo da Runstage. Créditos pré-pagos em USD com limites de gastos por chave.

Comparar no catálogo completo