Avançar para o conteúdo

Nano Banana 2

Integrar

ID do modelo nano-banana-2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/nano-banana-2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "resolution": "1K"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Este pedido: 0,08 $ 80 créditos da API · ≈ 8,61 ₽ Executar nesta página

Obter chave de API
Google Texto para imagem Saída em 4Katé 4K #typography#fast#wide-formats

Modelo de imagem Gemini rápido da Google, desde rascunhos rápidos de 0.5K até 4K, com proporções extremas e fundamentação na web.

Exemplos

Resultado · ~19 s
Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through ...

PromptHyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.

1K0,08 $ · 80 créditos da API

Prompt de @Strength04_X no X

Criar um pedido

Os controlos são gerados a partir do esquema do modelo. O código e o preço são atualizados à medida que os altera.

•obrigatório 1538 / 50000

Instruções de texto utilizadas para gerar uma imagem.

resolution

Resolução da imagem de saída.

thinking_level

Selecione 'minimal' ou 'high' para ativar o raciocínio do modelo nesse nível e incluir os respetivos pensamentos na geração; deixar o nível não definido mantém o raciocínio desativado.

predefinição auto

Escolha explicitamente a proporção da imagem gerada, incluindo as opções extremas 4:1, 1:4, 8:1, 1:8, ou selecione "auto" para uma escolha baseada no prompt pelo modelo.

num_images predefinição 1

Número de imagens solicitado para a geração.

Avançado system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

Orientações opcionais, aplicáveis a todo o pedido, sobre persona e estilo de saída, enviadas ao Gemini como instrução de sistema ou a fornecedores compatíveis com OpenAI como mensagem de sistema. Quando o valor está vazio, nada é enviado para esta instrução.

output_format predefinição png

Formato de ficheiro da imagem resultante.

safety_tolerance predefinição 4

Defina a tolerância da moderação de conteúdo entre o nível menos restritivo, 6, e o nível mais rigoroso, 1, que bloqueia a maioria do conteúdo.

Valor seed que inicializa a geração de números aleatórios.

POST /run/nano-banana-2?wait=20 cotação → 0,08 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/nano-banana-2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "resolution": "1K"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Executar este pedido

A sua chave permanece neste navegador: é enviada apenas para a Doitong API e guardada em localStorage apenas se selecionar Lembrar. Obter uma chave de API

Criado na Doitong

Trabalhos públicos criados com Nano Banana 2 pela comunidade Doitong. Reutilize um prompt com um clique.

Trabalhos públicos apresentados: 16
Art style: Glamour 3D. A clearly recognizable likeness of Семен — keep their real face shape, ski...

Art style: Glamour 3D. A clearly recognizable likeness of Семен — keep their real face shape, skin tone, hairstyle, build and any signature look (hair, kit, number). 25лет статный 180 русые волосы зелёные глаза немного есть борода. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT...

Art style: Cinematic Realistic. Tight medium shot. Daniel reaches out and gently places a solid r...

Art style: Cinematic Realistic. Tight medium shot. Daniel reaches out and gently places a solid reassuring hand on Mark's shoulder, giving it an affectionate squeeze. Mark looks down at the hand, then raises his eyes to meet Daniel's gaze, lingering eye contact, warm cinematic key light, soft...

Art style: 3D Pixar. Pixar 3D style, vibrant karaoke club lounge Billionaire, neon lights, glowin...

Art style: 3D Pixar. Pixar 3D style, vibrant karaoke club lounge Billionaire, neon lights, glowing atmosphere. Beautiful cute animated Kazakh girl sitting with friends at a table, looking with sparkling starry eyes at a handsome charming guy sitting nearby, magical colorful ambience...

Art style: Children's Book. Full-length view, the entire figure visible from head to feet, standi...

Art style: Children's Book. Full-length view, the entire figure visible from head to feet, standing upright and centered — a small, very fluffy kitten with soft downy fur in warm grey-and-cream tabby tones, faint stripes along the back and tail. It has an oversized round head, huge expressive...

Art style: Реалистичный кинематографичный. Крупный план лица женщины-эксперта, завершающей свою м...

Art style: Реалистичный кинематографичный. Крупный план лица женщины-эксперта, завершающей свою мысль. Она смотрит прямо в объектив, ее взгляд выражает поддержку. Волосы обрамляют лицо, создавая мягкую рамку. Детали макияжа и текстура губной помады видны отчетливо. На заднем плане огни торгового...

Art style: 3D Pixar. Артём открывает входную дверь из дома и выходит на яркую, оживленную и красо...

Art style: 3D Pixar. Артём открывает входную дверь из дома и выходит на яркую, оживленную и красочную городскую улицу, наполненную энергией и солнечным светом. Артем одет в дорогой классический черный костюм. Стиль Pixar, оптимистичное настроение, широкоугольный объектив....

Art style: 3D Pixar. Тесная ночная комната на верхнем этаже старого дома, окно приоткрыто, за сте...

Art style: 3D Pixar. Тесная ночная комната на верхнем этаже старого дома, окно приоткрыто, за стеклом мерцают далёкие городские огни и влажные крыши после дождя, стол завален радиодеталями, проводами, блокнотами и старым приёмником. Средний план с лёгкого верхнего угла, камера смотрит на Леру у...

Школьный коридор после уроков, на заднем плане видны уходящие ученики. Рома стоит у стены, его ру...

Школьный коридор после уроков, на заднем плане видны уходящие ученики. Рома стоит у стены, его рубашка надорвана, под глазом начинает проступать синяк. Он сжимает кулаки, глядя в пол. Освещение — резкий свет из окна, подчеркивающий его гнев и обиду. Композиция на уровне глаз ребенка, передающая...

Sobre Nano Banana 2

Um modelo irmão mais rápido e económico do Nano Banana Pro que continua a lidar bem com texto em imagens e cenas com vários objetos. A saída vai de pré-visualizações de 0.5K a 4K, com proporções de 1:8 a 8:1 para banners e histórias verticais. A pesquisa opcional na web fundamenta a imagem em factos atuais e um nível elevado de raciocínio opcional planeia esquemas complexos antes do desenho. Até quatro imagens por pedido.

Parâmetros

Envie o nome canónico ou o nome nativo, não ambos. Nomes canónicos

NomeTipo PredefiniçãoPermitido Descrição
promptobrigatório
Tipostring
≤ 50 000 caracteres≥ 3 caracteres
Instruções de texto utilizadas para gerar uma imagem.
num_imagesopcional num_outputs
Tipointeger
Predefinição1
1 – 4
Número de imagens solicitado para a geração.
seedopcional
Tipointeger | null
Valor seed que inicializa a geração de números aleatórios.
aspect_ratioopcional
Tipoenum
Predefiniçãoauto
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
Escolha explicitamente a proporção da imagem gerada, incluindo as opções extremas 4:1, 1:4, 8:1, 1:8, ou selecione "auto" para uma escolha baseada no prompt pelo modelo.
output_formatopcional
Tipoenum
Predefiniçãopng
jpegpngwebp
Formato de ficheiro da imagem resultante.
safety_toleranceopcional
Tipoenum
Predefinição4
123456
Defina a tolerância da moderação de conteúdo entre o nível menos restritivo, 6, e o nível mais rigoroso, 1, que bloqueia a maioria do conteúdo.
system_promptopcional
Tipostring
Predefinição
≤ 50 000 caracteres
Orientações opcionais, aplicáveis a todo o pedido, sobre persona e estilo de saída, enviadas ao Gemini como instrução de sistema ou a fornecedores compatíveis com OpenAI como mensagem de sistema. Quando o valor está vazio, nada é enviado para esta instrução.
resolutionopcional
Tipoenum
Predefinição1K
0.5K1K2K4K
Resolução da imagem de saída.
limit_generationsopcional
Tipoboolean
Predefiniçãotrue
Limite experimental de geração que pode afetar a qualidade quando ativado. Com `True`, cada ronda de prompting fica restringida a 1 geração, substituindo as instruções de contagem de imagens no prompt e ignorando imagens intermédias geradas pelo modelo.
thinking_levelopcional
Tipoenum
minimalhigh
Selecione 'minimal' ou 'high' para ativar o raciocínio do modelo nesse nível e incluir os respetivos pensamentos na geração; deixar o nível não definido mantém o raciocínio desativado.
obrigatório Nome canónico, também aceite

Resultado

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-2",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 80,
    "usd": "0.08",
    "charged": 80,
    "refunded": 0
  },
  "input": {
    "prompt": "A cozy bookshop window at night with a hand-painted sign reading \"Open Late\", warm light, rain on the glass",
    "aspect_ratio": "4:5",
    "resolution": "1K"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "description": "string"
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Os seus ficheiros, a sua escolhaCada outputs[].url é uma cópia no nosso armazenamento: guardada para sempre (paga por GB-mês) ou durante 7 dias gratuitamente, conforme a definição da sua conta ou ?storage=.
A mesma estrutura em todos os modelostype, url, content_type, width, height e duration, tanto para imagens como para vídeo e áudio. output é o próprio objeto de resultado do modelo.
Campos do resultado
images
array of object {url, content_type, file_name, file_size, width, height}Imagens produzidas pelo modelo.
description
stringDescrição que acompanha as imagens geradas.

Mais modelos: Texto para imagem

Para agentes de IA: esta página em Markdown está disponível em https://doitong.com/pt-PT/developers/models/nano-banana-2.md. Todos os modelos e guias: https://doitong.com/developers/llms.txt