Naar inhoud springen

Nano Banana 2

Integreren

Model-ID 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"

Deze request: $ 0,08 80 API-tegoed · ≈ ₽ 8,61 Op deze pagina uitvoeren

API-sleutel ophalen
Google Tekst naar afbeelding 4K-uitvoertot 4K #typography#fast#wide-formats

Snel Gemini-afbeeldingsmodel van Google, van snelle 0.5K-concepten tot 4K, met extreme beeldverhoudingen en webverankering.

Voorbeelden

Uitvoer · ~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.

1K$ 0,08 · 80 API-tegoed

Prompt van @Strength04_X op X

Een aanvraag samenstellen

Besturingselementen worden gegenereerd op basis van het modelschema. De code en de prijs worden bijgewerkt terwijl je ze wijzigt.

•verplicht 1538 / 50000

Tekstinstructies voor het genereren van een afbeelding.

resolution

Resolutie van de uitvoerafbeelding.

thinking_level

Selecteer 'minimal' of 'high' om het modeldenken op dat niveau te activeren en de gedachten in de generatie op te nemen; als je het niveau niet instelt, blijft denken uitgeschakeld.

standaard auto

Kies expliciet de beeldverhouding van de gegenereerde afbeelding, inclusief extreme opties 4:1, 1:4, 8:1 en 1:8, of selecteer "auto" voor een modelkeuze op basis van de prompt.

num_images standaard 1

Aantal afbeeldingen dat voor generatie wordt aangevraagd.

Geavanceerd system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

Optionele persona- en uitvoerstijlbegeleiding voor de hele request, als systeeminstructie aan Gemini of als systeembericht aan OpenAI-compatibele providers. Bij een lege waarde wordt niets voor deze instructie verzonden.

output_format standaard png

Bestandsindeling van de resulterende afbeelding.

safety_tolerance standaard 4

Stel de tolerantie voor contentmoderatie in tussen het minst beperkende niveau, 6, en het strengste niveau, 1, dat de meeste inhoud blokkeert.

Seedwaarde die de generatie van willekeurige getallen initialiseert.

POST /run/nano-banana-2?wait=20 prijsopgave → $ 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"

Deze request uitvoeren

Je sleutel blijft in deze browser: hij wordt alleen naar de Doitong API verzonden en alleen in localStorage opgeslagen als je Onthouden aanvinkt. API-sleutel ophalen

Gemaakt op Doitong

Openbare werken gemaakt met Nano Banana 2 door de Doitong-community. Gebruik een prompt opnieuw met één klik.

Getoonde openbare werken: 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. Тесная ночная комната на верхнем этаже старого дома, окно приоткрыто, за стеклом мерцают далёкие городские огни и влажные крыши после дождя, стол завален радиодеталями, проводами, блокнотами и старым приёмником. Средний план с лёгкого верхнего угла, камера смотрит на Леру у...

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

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

Over Nano Banana 2

Een snellere, goedkopere variant van Nano Banana Pro die nog steeds goed overweg kan met tekst in afbeeldingen en scènes met meerdere objecten. De uitvoer loopt van 0.5K-voorbeelden tot 4K, met beeldverhoudingen van 1:8 tot 8:1 voor banners en verticale verhalen. Optioneel zoeken op het web verankert de afbeelding in actuele feiten en een optioneel hoog denkniveau plant complexe lay-outs voordat het tekenen begint. Maximaal vier afbeeldingen per request.

Parameters

Stuur de canonieke naam of de oorspronkelijke naam, niet beide. Canonieke namen

NaamType StandaardToegestaan Beschrijving
promptverplicht
Typestring
≤ 50.000 tekens≥ 3 tekens
Tekstinstructies voor het genereren van een afbeelding.
num_imagesoptioneel num_outputs
Typeinteger
Standaard1
1 – 4
Aantal afbeeldingen dat voor generatie wordt aangevraagd.
seedoptioneel
Typeinteger | null
Seedwaarde die de generatie van willekeurige getallen initialiseert.
aspect_ratiooptioneel
Typeenum
Standaardauto
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
Kies expliciet de beeldverhouding van de gegenereerde afbeelding, inclusief extreme opties 4:1, 1:4, 8:1 en 1:8, of selecteer "auto" voor een modelkeuze op basis van de prompt.
output_formatoptioneel
Typeenum
Standaardpng
jpegpngwebp
Bestandsindeling van de resulterende afbeelding.
safety_toleranceoptioneel
Typeenum
Standaard4
123456
Stel de tolerantie voor contentmoderatie in tussen het minst beperkende niveau, 6, en het strengste niveau, 1, dat de meeste inhoud blokkeert.
system_promptoptioneel
Typestring
Standaard
≤ 50.000 tekens
Optionele persona- en uitvoerstijlbegeleiding voor de hele request, als systeeminstructie aan Gemini of als systeembericht aan OpenAI-compatibele providers. Bij een lege waarde wordt niets voor deze instructie verzonden.
resolutionoptioneel
Typeenum
Standaard1K
0.5K1K2K4K
Resolutie van de uitvoerafbeelding.
limit_generationsoptioneel
Typeboolean
Standaardtrue
Experimentele generatiebeperking die bij inschakeling de kwaliteit kan beïnvloeden. Met `True` wordt elke promptingsronde beperkt tot 1 generatie, worden afbeeldingsaantallen in de prompt overschreven en door het model gegenereerde tussenafbeeldingen genegeerd.
thinking_leveloptioneel
Typeenum
minimalhigh
Selecteer 'minimal' of 'high' om het modeldenken op dat niveau te activeren en de gedachten in de generatie op te nemen; als je het niveau niet instelt, blijft denken uitgeschakeld.
verplicht Canonieke naam, ook geaccepteerd

Uitvoer

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"
  }
}
Jouw bestanden, jouw keuzeElke outputs[].url is een kopie in onze opslag: voor altijd bewaard (betaald per GB-maand) of 7 dagen gratis, volgens je accountinstelling of ?storage=.
Dezelfde structuur voor elk modeltype, url, content_type, width, height en duration, voor afbeeldingen, video en audio. output is het eigen resultaatobject van het model.
Velden van de uitvoer
images
array of object {url, content_type, file_name, file_size, width, height}Afbeeldingen die door het model zijn geproduceerd.
description
stringBeschrijving bij de gegenereerde afbeeldingen.

Meer modellen: Tekst naar afbeelding

Voor AI-agents: deze pagina als Markdown staat op https://doitong.com/nl/developers/models/nano-banana-2.md. Alle modellen en handleidingen: https://doitong.com/developers/llms.txt