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.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"

Y cais hwn: $0.08 80 o gredydau API · ≈ ₽8.61 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.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"

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

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

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

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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