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 ---. Молодая девушка около 22 лет с яркими, выразительными карими...

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

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 ---. Подводный мир в лазурных тонах. Лучи солнца пронзают толщу воды, создавая танцующие световые столбы (каустику) на песчаном дне. Камера находится под водой, снимая снизу вверх. Видны косяки мелких серебристых рыб и медленно колышущиеся водоросли. Атмосфера...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом ...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом и светлой кожей. У него светло-каштановые волосы средней длины, разделенные на прямой пробор, и выразительные большие голубые глаза за очками в широкой черной оправе. На лице аккуратная бородка и...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом ...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом и светлой кожей. У него светло-каштановые волосы средней длины, разделенные на прямой пробор, и выразительные большие голубые глаза за очками в широкой черной оправе. На лице аккуратная бородка и...

Strong rule: style --- 3D Pixar ---. Сюрреалистичный и нежный образ: огромные волны, напоминающие...

Strong rule: style --- 3D Pixar ---. Сюрреалистичный и нежный образ: огромные волны, напоминающие по форме ладони, бережно держат маленькие бумажные кораблики и сказочные фрегаты. Камера на среднем плане. Освещение мягкое, лунное, создающее сказочную атмосферу. Море выглядит живым и заботливым....

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