Neidio i'r cynnwys

Nano Banana 2

Integreiddio

ID y model 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Y cais hwn: $0.08 80 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Google Testun i Ddelwedd Allbwn 4Khyd at 4K #typography#fast#wide-formats

Model delwedd Gemini cyflym Google, o ddrafftiau cyflym 0.5K i 4K, gyda chymarebau agwedd eithafol a seilio ar y we.

Enghreifftiau

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

AnogwrHyper-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 o gredydau API

Anogwr gan @Strength04_X ar X

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol 1538 / 50000

Cyfarwyddiadau testun a ddefnyddir i gynhyrchu delwedd.

resolution

Cydraniad yr allbwn delwedd.

thinking_level

Dewiswch 'minimal' neu 'high' i weithredu meddwl y model ar y lefel honno a chynnwys ei feddyliau yn y cynhyrchiad; mae gadael y lefel heb ei gosod yn cadw meddwl wedi'i analluogi.

rhagosodedig auto

Dewiswch gymhareb agwedd y ddelwedd a gynhyrchir yn benodol, gan gynnwys yr opsiynau eithafol 4:1, 1:4, 8:1, 1:8, neu dewiswch "auto" i'r model ddewis ar sail yr anogiad.

num_images rhagosodedig 1

Cyfrif delweddau y gofynnir amdano ar gyfer cynhyrchu.

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

Arweiniad opsiynol ar bersona ac arddull allbwn ar draws y cais, a anfonir at Gemini fel cyfarwyddyd system neu at ddarparwyr sy'n gydnaws ag OpenAI fel neges system. Ni anfonir dim ar gyfer y cyfarwyddyd hwn pan fo'r gwerth yn wag.

output_format rhagosodedig png

Fformat ffeil y ddelwedd sy'n deillio.

safety_tolerance rhagosodedig 4

Gosodwch oddefgarwch cymedroli cynnwys rhwng y lefel leiaf cyfyngol, 6, a'r lefel fwyaf llym, 1, sy'n blocio'r rhan fwyaf o gynnwys.

Gwerth hadau sy'n cychwyn cynhyrchu rhifau ar hap.

POST /run/nano-banana-2?wait=20 dyfynbris → $0.08
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Wedi'i wneud ar Doitong

Gwaith cyhoeddus a wnaed gyda Nano Banana 2 gan gymuned Doitong. Ailddefnyddiwch anogwr mewn un clic.

Gwaith cyhoeddus wedi'i ddangos: 16
Яркая и радостная сцена в детской. Папа склонился над пеленальным столиком, развлекая Саю яркой п...

Яркая и радостная сцена в детской. Папа склонился над пеленальным столиком, развлекая Саю яркой погремушкой в форме солнца. Ракурс снизу, со стороны ребенка, подчеркивает масштаб и значимость фигуры отца. Освещение дневное, контрастное и веселое. Вокруг разбросаны мягкие кубики и яркие игрушки....

Strong rule: style --- 3D Pixar ---. Финальный кадр: Сая погружена в глубокий сон, и на её личике...

Strong rule: style --- 3D Pixar ---. Финальный кадр: Сая погружена в глубокий сон, и на её личике появляется едва уловимая, блаженная улыбка. Папа продолжает баюкать её на руках, его темный силуэт четко выделяется на фоне большого окна, за которым мерцает ночное звездное небо. Камера установлена...

Strong rule: style --- 3D Pixar ---. Ярко освещенный современный супермаркет с бесконечными рядам...

Strong rule: style --- 3D Pixar ---. Ярко освещенный современный супермаркет с бесконечными рядами полок. Марина сидит за кассовым аппаратом, её движения механические. На переднем плане — лента с продуктами: молоко, хлеб, консервы. Освещение резкое, люминесцентное, создающее холодную атмосферу....

Strong rule: style --- Реалистичная 3D-анимация в духе Pixar, но без м... ---. Дневное кафе с бол...

Strong rule: style --- Реалистичная 3D-анимация в духе Pixar, но без м... ---. Дневное кафе с большими окнами. Пасмурный свет, нейтральная палитра: серые улицы, мягкие тени. На столе две чашки, ложечки, салфетки. Аня в бежевом тренче и белом топе, Олег в тёмной куртке/свитере. Они сидят напротив,...

Art style: Cinematic Realistic. Интерьер роскошного банкетного зала в загородном особняке, заполн...

Art style: Cinematic Realistic. Интерьер роскошного банкетного зала в загородном особняке, заполненного нарядными гостями. В воздухе парят золотистые конфетти, повсюду видны хрустальные бокалы с шампанским. Освещение яркое, с динамичными вспышками света, создающими атмосферу праздника. В центре...

Art style: Cinematic Realistic. Un dormitorio en penumbra durante la noche, iluminado solo por la...

Art style: Cinematic Realistic. Un dormitorio en penumbra durante la noche, iluminado solo por la luz azulada de la luna que entra por las persianas. Elena está sentada en el borde de la cama, meciendo a un bebé envuelto en una manta blanca que llora. Javier duerme profundamente al otro lado de...

Art style: 3D анимация в стиле Pixar. Девочка с распущенными волосами с ножницами стоит перед зер...

Art style: 3D анимация в стиле Pixar. Девочка с распущенными волосами с ножницами стоит перед зеркалом в ванной, рядом на раковине сидит рыжий кот. Держит левой рукой длинную прядь в районе челки, а левой ее начинает отстригать ножницами. Бирюзовая плитка на фоне, мягкое освещение. Лицо девочки...

Art style: Cinematográfico realista. Marcos abraza a Elena por los hombros en el sofá, ella perma...

Art style: Cinematográfico realista. Marcos abraza a Elena por los hombros en el sofá, ella permanece rígida. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering directive — it overrides any style wording elsewhere in the prompt): Render this image...

Ynglŷn â Nano Banana 2

Brawd cyflymach a rhatach Nano Banana Pro sy'n dal i drin testun mewn delweddau a golygfeydd aml-wrthrych yn dda. Mae'r allbwn yn amrywio o ragolygon 0.5K i 4K, gyda chymarebau agwedd o 1:8 i 8:1 ar gyfer baneri a straeon fertigol. Mae chwilio dewisol ar y we yn seilio'r llun ar ffeithiau cyfredol, a gall lefel feddwl uchel ddewisol gynllunio cynlluniau cymhleth cyn lluniadu. Hyd at bedair delwedd fesul cais.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
≤ 50,000 nod≥ 3 nod
Cyfarwyddiadau testun a ddefnyddir i gynhyrchu delwedd.
num_imagesdewisol num_outputs
Mathinteger
Rhagosodedig1
1 – 4
Cyfrif delweddau y gofynnir amdano ar gyfer cynhyrchu.
seeddewisol
Mathinteger | null
Gwerth hadau sy'n cychwyn cynhyrchu rhifau ar hap.
aspect_ratiodewisol
Mathenum
Rhagosodedigauto
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
Dewiswch gymhareb agwedd y ddelwedd a gynhyrchir yn benodol, gan gynnwys yr opsiynau eithafol 4:1, 1:4, 8:1, 1:8, neu dewiswch "auto" i'r model ddewis ar sail yr anogiad.
output_formatdewisol
Mathenum
Rhagosodedigpng
jpegpngwebp
Fformat ffeil y ddelwedd sy'n deillio.
safety_tolerancedewisol
Mathenum
Rhagosodedig4
123456
Gosodwch oddefgarwch cymedroli cynnwys rhwng y lefel leiaf cyfyngol, 6, a'r lefel fwyaf llym, 1, sy'n blocio'r rhan fwyaf o gynnwys.
system_promptdewisol
Mathstring
Rhagosodedig
≤ 50,000 nod
Arweiniad opsiynol ar bersona ac arddull allbwn ar draws y cais, a anfonir at Gemini fel cyfarwyddyd system neu at ddarparwyr sy'n gydnaws ag OpenAI fel neges system. Ni anfonir dim ar gyfer y cyfarwyddyd hwn pan fo'r gwerth yn wag.
resolutiondewisol
Mathenum
Rhagosodedig1K
0.5K1K2K4K
Cydraniad yr allbwn delwedd.
limit_generationsdewisol
Mathboolean
Rhagosodedigtrue
Terfyn cynhyrchu arbrofol a all effeithio ar ansawdd pan gaiff ei alluogi. Gyda `True`, cyfyngir pob rownd anogiad i 1 cynhyrchiad, gan ddiystyru cyfarwyddiadau cyfrif delweddau yn yr anogiad ac anwybyddu delweddau canolradd a gynhyrchir gan y model.
thinking_leveldewisol
Mathenum
minimalhigh
Dewiswch 'minimal' neu 'high' i weithredu meddwl y model ar y lefel honno a chynnwys ei feddyliau yn y cynhyrchiad; mae gadael y lefel heb ei gosod yn cadw meddwl wedi'i analluogi.
gofynnol Enw canonaidd, derbyniol hefyd

Allbwn

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
images
array of object {url, content_type, file_name, file_size, width, height}Delweddau a gynhyrchir gan y model.
description
stringDisgrifiad sy'n cyd-fynd â'r delweddau a gynhyrchir.

Mwy o fodelau: Testun i Ddelwedd

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/nano-banana-2.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt