Peke ki ngā ihirangi

Nano Banana Pro Edit

Whakauru

id tauira nano-banana-pro/edit
# 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-pro/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Faithfully restore this image with high fidelity to modern photograph quality, in full color, upscale to 4K",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_tlhvxyf27ektm9ozuzozz5fn/0-1h3kLymYuP3n6Z-kAnWa8_Nh4eqcOs.png"
    ],
    "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"

Tēnei tono: $ 0.15 150 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Google Whakatika Atahanga Putanga 4Ktae atu ki 4K #editing#consistency

Whakatikaia, whakakotahitia rānei ngā whakaahua mā ngā tohutohu reo māori, me te pupuri i ngā kanohi me ngā hua kia mau, tae atu ki te 4K.

Ngā tauira

Tāuru
Putanga · ~41 s
Faithfully restore this image with high fidelity to modern photograph quality, in full color, upscale to 4K

TohutohuFaithfully restore this image with high fidelity to modern photograph quality, in full color, upscale to 4K

1K$ 0.15 · 150 whiwhinga API

He tohutohu nā @NanoBanana i X

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 107 / 50000

Tohutohu kupu mō te whakatika atahanga.

•e hiahiatia ana image_urls
Whakataka he kōnae,

Ngā URL e tautuhi ana i ngā atahanga pūtake mō te whakatika, te whakaputanga atahanga-ki-te-atahanga rānei.

aspect_ratio taunoa auto

Ōwehenga āhuatanga mō te atahanga ka puta.

resolution

Taumira mō te atahanga putanga.

num_images taunoa 1

Te tatau atahanga e tonoa ana mō te whakaputanga.

Arā atu system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

He aratohu persona me te kāhua putanga mō te tono katoa, ka tukuna ki Gemini hei tohutohu pūnaha, ki ngā kaiwhakarato OpenAI-hototahi rānei hei karere pūnaha. Kāore he mea e tukuna mō tēnei tohutohu ina wātea-kore te uara.

output_format taunoa png

Te hōputu kōnae mō te atahanga ka puta.

safety_tolerance taunoa 4

Tautuhia te manawanui moderation ihirangi i waenga i te taumata iti rawa o te aukati, 6, me te taumata tino kaha, 1, e aukati ana i te nuinga o ngā ihirangi.

Uara kākano hei tīmata i te whakaputanga tau matapōkere.

POST /run/nano-banana-pro/edit?wait=20 utu → $ 0.15
# 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-pro/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Faithfully restore this image with high fidelity to modern photograph quality, in full color, upscale to 4K",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_tlhvxyf27ektm9ozuzozz5fn/0-1h3kLymYuP3n6Z-kAnWa8_Nh4eqcOs.png"
    ],
    "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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Nano Banana Pro e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 16
Strong rule: style --- Cinematic Realism, dramatic lighting, high cont... ---. Close-up of Grandm...

Strong rule: style --- Cinematic Realism, dramatic lighting, high cont... ---. Close-up of Grandma Nina's face. Tears in her eyes, flour smeared on her cheeks. Vulnerable and scared expression. Character appearance reference (MUST match exactly): - Бабушка Нина: Strong rule: style --- Cinematic...

Strong rule: style --- 3d Pixar ---. Крупный план: Сая сладко спит в своей кроватке, её личико по...

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

Strong rule: style --- 3d Pixar ---. Крупный план рук отца, которые аккуратно и медленно поправля...

Strong rule: style --- 3d Pixar ---. Крупный план рук отца, которые аккуратно и медленно поправляют край вязаного шерстяного одеяла нежно-голубого цвета вокруг малыша. Фокус направлен на текстуру ткани и осторожные, любящие движения пальцев. Освещение мягкое, рассеянное, исходящее от приоткрытой...

Strong rule: style --- Cinematic Realism, dramatic lighting, high cont... ---. Small cozy kitchen...

Strong rule: style --- Cinematic Realism, dramatic lighting, high cont... ---. Small cozy kitchen. Warm lamp light. 68-year-old Grandma Nina making pies, flour on her hands, steam rising from the table, warm golden tones. Character appearance reference (MUST match exactly): - Бабушка Нина: Strong...

Strong rule: style --- Реалистичная 3D-анимация, Cinematic Lighting, P... ---. Женщина-астролог с...

Strong rule: style --- Реалистичная 3D-анимация, Cinematic Lighting, P... ---. Женщина-астролог слегка улыбается. В комнате становится заметно теплее по цвету. За панорамным окном город уже не холодный — мягкие, теплые вечерние огни. Character appearance reference (MUST match exactly): -...

Strong rule: style --- 3D Pixar ---. Крупный план лица Мирры в полумраке современной эзотерическо...

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

Strong rule: style --- 3D Pixar ---. Зеркало в спальне с размытым отражением, ночным столиком, ва...

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

Full-body character reference of the character shown in the reference film frame: exactly the sam...

Full-body character reference of the character shown in the reference film frame: exactly the same design, shape, proportions, colors, materials, wear and markings. Standing, front three-quarter view, the whole figure in frame, neutral dark studio background, soft even light, photorealistic,...

Mō Nano Banana Pro Edit

Ko te aratau whakatika o Nano Banana Pro: tukuna kia kotahi, kia maha rānei ngā whakaahua, ā, whakaahuatia te panonitanga, pērā i te whakakapi papamuri, te whakakotahi i te tangata me te hua ki tētahi whakaaturanga kotahi, te whakarerekē momo, te whakatika kuputuhi rānei i runga i tētahi tohu. Ka mau tonu ngā tuakiri me ngā taipitopito puta noa i ngā whakatikanga. Putanga 1K, 2K, 4K rānei i tētahi ōwehenga āhuatanga noa, me te whakaū tukutuku kōwhiringa, tae atu ki ngā hua e whā mō ia tono.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
≤ 50,000 pūāhua≥ 3 pūāhua
Tohutohu kupu mō te whakatika atahanga.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 4
Te tatau atahanga e tonoa ana mō te whakaputanga.
seedkōwhiringa
Momointeger | null
Uara kākano hei tīmata i te whakaputanga tau matapōkere.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto21:916:93:24:35:41:14:53:42:39:16
Ōwehenga āhuatanga mō te atahanga ka puta.
output_formatkōwhiringa
Momoenum
Taunoapng
jpegpngwebp
Te hōputu kōnae mō te atahanga ka puta.
safety_tolerancekōwhiringa
Momoenum
Taunoa4
123456
Tautuhia te manawanui moderation ihirangi i waenga i te taumata iti rawa o te aukati, 6, me te taumata tino kaha, 1, e aukati ana i te nuinga o ngā ihirangi.
image_urlse hiahiatia ana images
Momourl[] · image
Ngā URL e tautuhi ana i ngā atahanga pūtake mō te whakatika, te whakaputanga atahanga-ki-te-atahanga rānei.
system_promptkōwhiringa
Momostring
Taunoa
≤ 50,000 pūāhua
He aratohu persona me te kāhua putanga mō te tono katoa, ka tukuna ki Gemini hei tohutohu pūnaha, ki ngā kaiwhakarato OpenAI-hototahi rānei hei karere pūnaha. Kāore he mea e tukuna mō tēnei tohutohu ina wātea-kore te uara.
resolutionkōwhiringa
Momoenum
Taunoa1K
1K2K4K
Taumira mō te atahanga putanga.
limit_generationskōwhiringa
Momoboolean
Taunoatrue
Tepe whakaputanga whakamātau: mā te whakahohe i te `True` ka whakakorea ngā tohutohu tatau-atahanga i te tohutohu, ā, ka herea ia wāhanga prompting ki te 1 whakaputanga.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-pro/edit",
  "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": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {
    "prompt": "Put this white sneaker on a sunlit marble pedestal in a minimalist gallery, keep the shoe exactly as it is",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg"
    ],
    "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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
images
array of object {url, content_type, file_name, file_size, width, height}Ngā atahanga i hua mai i te whakatika.
description
stringWhakamāramatanga e whai ana i ngā atahanga kua whakaputaina.

Ētahi atu tauira: Whakatika Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/nano-banana-pro/edit.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt