Neidio i'r cynnwys

Nano Banana Pro Edit

Integreiddio

ID y model 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"

Y cais hwn: $0.15 150 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Google Golygu Delweddau Allbwn 4Khyd at 4K #editing#consistency

Golygu neu gyfuno lluniau â chyfarwyddiadau iaith syml, gan gadw wynebau a chynhyrchion yn gyfan, hyd at 4K.

Enghreifftiau

Mewnbwn
Allbwn · ~41 s
Faithfully restore this image with high fidelity to modern photograph quality, in full color, upscale to 4K

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

1K$0.15 · 150 o gredydau API

Anogwr gan @NanoBanana ar X

Adeiladu cais

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

•gofynnol 107 / 50000

Cyfarwyddiadau testun ar gyfer golygu delwedd.

•gofynnol image_urls
Gollyngwch ffeil, neu

URLs sy'n nodi delweddau ffynhonnell ar gyfer golygu neu gynhyrchu delwedd-i-ddelwedd.

aspect_ratio rhagosodedig auto

Cymhareb agwedd y ddelwedd ganlyniadol.

resolution

Cydraniad yr allbwn delwedd.

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-pro/edit?wait=20 dyfynbris → $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"

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 Pro gan gymuned Doitong. Ailddefnyddiwch anogwr mewn un clic.

Gwaith cyhoeddus wedi'i ddangos: 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 ---. Милая антропоморфная овечка в полный рост, длинная длинная стройная фигура, пушистая кремово-белая кудрявая шерсть, длинная тонкая тонкая шея как палочка без шерсти лысая, большие висячие ушки, светло-коричневая мордочка с мягкими округлыми...

Ynglŷn â Nano Banana Pro Edit

Modd golygu Nano Banana Pro: rhowch un ddelwedd neu fwy a disgrifiwch y newid, fel newid cefndir, cyfuno person a chynnyrch yn un olygfa, newid arddull neu drwsio testun ar arwydd. Mae'n cadw hunaniaethau a manylion yn sefydlog ar draws golygiadau. Allbwn ar 1K, 2K neu 4K mewn unrhyw gymhareb agwedd gyffredin, seilio ar y we deitional, hyd at bedwar canlyniad 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 ar gyfer golygu 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:16
Cymhareb agwedd y ddelwedd ganlyniadol.
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.
image_urlsgofynnol images
Mathurl[] · image
URLs sy'n nodi delweddau ffynhonnell ar gyfer golygu neu gynhyrchu delwedd-i-ddelwedd.
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
1K2K4K
Cydraniad yr allbwn delwedd.
limit_generationsdewisol
Mathboolean
Rhagosodedigtrue
Terfyn cynhyrchu arbrofol: mae galluogi `True` yn diystyru unrhyw gyfarwyddiadau cyfrif delweddau yn yr anogiad ac yn cyfyngu pob rownd anogiad i 1 cynhyrchiad.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

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"
  }
}
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 sy'n deillio o olygu.
description
stringDisgrifiad sy'n cyd-fynd â'r delweddau a gynhyrchir.

Mwy o fodelau: Golygu Delweddau

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