Leum chun t-susbaint

Nano Banana Pro Edit

Amalaich

ID a’ mhodail 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"

An t-iarrtas seo: $0.15 150 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Google Deasachadh Ìomhaighean Toradh 4Ksuas ri 4K #editing#consistency

Deasaich no cothlam dealbhan le stiùiridhean ann an cànan sìmplidh, a’ cumail aghaidhean agus toraidhean slàn, suas ri 4K.

Eisimpleirean

In-chur
Toradh · ~41 s
Faithfully restore this image with high fidelity to modern photograph quality, in full color, upscale to 4K

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

1K$0.15 · 150 creideasan API

Prompas bho @NanoBanana air X

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach 107 / 50000

Stiùiridhean teacsa airson ìomhaigh a dheasachadh.

•riatanach image_urls
Leig às faidhle, no

URLan a chomharraicheas ìomhaighean tùsail airson deasachadh no gineadh image-to-image.

aspect_ratio bun-roghainn auto

Co-mheas taobh na h-ìomhaigh a thig às.

resolution

Dùmhlachd-bhreacaidh na h-ìomhaighe às-chuir.

num_images bun-roghainn 1

Àireamh nan ìomhaighean a chaidh iarraidh airson gineadh.

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

Stiùireadh roghainneil air persona agus stoidhle às-chuir airson an iarrtais gu lèir, air a chur gu Gemini mar stiùireadh siostaim no gu solaraichean co-chòrdail ri OpenAI mar theachdaireachd siostaim. Cha tèid dad a chur airson an stiùiridh seo nuair a tha an luach bàn.

output_format bun-roghainn png

Cruth faidhle na h-ìomhaigh a thig às.

safety_tolerance bun-roghainn 4

Suidhich fulangas measaidh susbaint eadar an ìre as lugha de chuingealachadh, 6, agus an ìre as teinne, 1, a chuireas bacadh air a’ mhòr-chuid den t-susbaint.

Luach sìl a thòisicheas gineadh àireamhan air thuaiream.

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

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Air a dhèanamh air Doitong

Obraichean poblach a rinn coimhearsnachd Doitong le Nano Banana Pro. Ath-chleachd prompt ann an aon bhriogadh.

Obraichean poblach air an sealltainn: 16
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,...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если ...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если он есть в кадре по этому сценарию Вот подробный сценарий вирального ролика (Reels/TikTok/Shorts), созданный по всем вашим вводным. **Общая концепция:** Эстетика «old money» и современной роскоши...

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

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city...

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city street at night. The banana man looks incredibly guilty and sad as he places the two tiny baby grapes into a metal trash can. Heavy snow is falling. Somber atmosphere....

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale pa...

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale park walk, right side vibrant exploding phone screen and glowing overloaded dopamine receptors in brain overlay. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Очаровательная антропоморфная овечка девочка в полный рост, тело удлиненное и...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

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

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, ...

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, длинная длинная стройная фигура, пушистая кремово-белая кудрявая шерсть, длинная тонкая тонкая шея как палочка без шерсти лысая, большие висячие ушки, светло-коричневая мордочка с мягкими округлыми...

Mu Nano Banana Pro Edit

Modh deasachaidh Nano Banana Pro: thoir dha aon ìomhaigh no barrachd agus thoir cunntas air an atharrachadh, leithid cùl-raon atharrachadh, neach agus toradh a chur còmhla ann an aon sealladh, stoidhle atharrachadh no teacsa air soidhne a chàradh. Bidh e a’ cumail dearbh-aithnean agus mion-fhiosrachadh seasmhach thar dheasachaidhean. Toradh aig 1K, 2K no 4K ann an co-mheas taobh cumanta sam bith, bunait-lìn roghainneil, agus suas ri ceithir toraidhean gach iarrtas.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
≤ 50,000 caractar≥ 3 caractar
Stiùiridhean teacsa airson ìomhaigh a dheasachadh.
num_imagesroghainneil num_outputs
Seòrsainteger
Bun-roghainn1
1 – 4
Àireamh nan ìomhaighean a chaidh iarraidh airson gineadh.
seedroghainneil
Seòrsainteger | null
Luach sìl a thòisicheas gineadh àireamhan air thuaiream.
aspect_ratioroghainneil
Seòrsaenum
Bun-roghainnauto
auto21:916:93:24:35:41:14:53:42:39:16
Co-mheas taobh na h-ìomhaigh a thig às.
output_formatroghainneil
Seòrsaenum
Bun-roghainnpng
jpegpngwebp
Cruth faidhle na h-ìomhaigh a thig às.
safety_toleranceroghainneil
Seòrsaenum
Bun-roghainn4
123456
Suidhich fulangas measaidh susbaint eadar an ìre as lugha de chuingealachadh, 6, agus an ìre as teinne, 1, a chuireas bacadh air a’ mhòr-chuid den t-susbaint.
image_urlsriatanach images
Seòrsaurl[] · image
URLan a chomharraicheas ìomhaighean tùsail airson deasachadh no gineadh image-to-image.
system_promptroghainneil
Seòrsastring
Bun-roghainn
≤ 50,000 caractar
Stiùireadh roghainneil air persona agus stoidhle às-chuir airson an iarrtais gu lèir, air a chur gu Gemini mar stiùireadh siostaim no gu solaraichean co-chòrdail ri OpenAI mar theachdaireachd siostaim. Cha tèid dad a chur airson an stiùiridh seo nuair a tha an luach bàn.
resolutionroghainneil
Seòrsaenum
Bun-roghainn1K
1K2K4K
Dùmhlachd-bhreacaidh na h-ìomhaighe às-chuir.
limit_generationsroghainneil
Seòrsaboolean
Bun-roghainntrue
Crìoch gineadh dheuchainneach: le bhith a’ cur `True` an comas, thèid stiùiridhean àireamh ìomhaighean sa prompt a thar-sgrìobhadh agus gach cuairt prompting a chuingealachadh ri 1 gineadh.
riatanach Ainm canonical, gabhar ris cuideachd

Gabhaidh paramadairean faidhle ri URL poblach https://, URI data: suas ri 10 MB, no file_url de luchdachadh suas. Faidhlichean

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
images
array of object {url, content_type, file_name, file_size, width, height}Ìomhaighean a thàinig às an deasachadh.
description
stringTuairisgeul a tha a’ dol còmhla ris na h-ìomhaighean a chaidh a chruthachadh.

Barrachd mhodalan: Deasachadh Ìomhaighean

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/nano-banana-pro/edit.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt