Léim chuig an ábhar

Nano Banana Pro Edit

Comhtháthú

Aitheantas na samhla 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-iarratas seo: $0.15 150 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
Google Eagarthóireacht Íomhá Aschur 4Ksuas le 4K #editing#consistency

Cuir grianghraif in eagar nó comhcheangail iad le treoracha simplí, agus coinnigh aghaidheanna agus táirgí slán, suas le 4K.

Samplaí

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

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

1K$0.15 · 150 gcreidmheas API

Leide ón @NanoBanana ar X

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach 107 / 50000

Treoracha téacs chun íomhá a chur in eagar.

•riachtanach image_urls
Scaoil comhad, nó

URLanna a shainaithníonn íomhánna foinseacha le haghaidh eagarthóireachta nó giniúna íomhá-go-íomhá.

aspect_ratio réamhshocrú auto

Cóimheas gné na híomhá iarmharaí.

resolution

Taifeach na híomhá aschuir.

num_images réamhshocrú 1

Líon na n-íomhánna a iarrtar don ghiniúint.

Ardleibhéal system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

Treoir roghnach ar phearsa agus ar stíl aschuir ar fud an iarratais, a sheoltar chuig Gemini mar threoir chórais nó chuig soláthraithe comhoiriúnacha le OpenAI mar theachtaireacht chórais. Ní sheoltar aon rud don treoir seo nuair atá an luach bán.

output_format réamhshocrú png

Formáid comhaid na híomhá deiridh.

safety_tolerance réamhshocrú 4

Socraigh lamháltas modhnóireachta ábhair idir an leibhéal is lú srianta, 6, agus an leibhéal is déine, 1, a chuireann bac ar fhormhór an ábhair.

Luach síl a thosaíonn giniúint uimhreacha randamacha.

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

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Déanta ar Doitong

Saothair phoiblí déanta leis an Nano Banana Pro ag pobal Doitong. Athúsáid leid le clic amháin.

Saothair phoiblí ar taispeáint: 16
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 ---. Крупный план экрана ноутбука, на котором открыт яркий современный образовательный портал с крупным заголовком «Мастер Алгоритмов». Отражение сложного интерфейса играет на линзах очков Анны. Композиция — экстремальный крупный план. Освещение становится...

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

Strong rule: style --- 3D Pixar ---. Анна в центре своей комнаты, которая теперь преобразилась: н...

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

Strong rule: style --- 3D Pixar ---. Просторный современный офис в небоскребе с огромными панорам...

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

Нужен кадр вот к этой секунде 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,...

Maidir le Nano Banana Pro Edit

Mód eagarthóireachta Nano Banana Pro: tabhair íomhá amháin nó níos mó agus déan cur síos ar an athrú, amhail cúlra a mhalartú, duine agus táirge a chumasc in aon radharc amháin, stíl a athrú nó téacs ar chomhartha a cheartú. Coinníonn sé aitheantais agus sonraí cobhsaí trasna na n-eagarthóireachtaí. Aschur ag 1K, 2K nó 4K in aon chóimheas gné coitianta, bunúsú roghnach gréasáin, suas le ceithre thoradh in aghaidh na hiarrata.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
≤ 50,000 gcarachtar≥ 3 charachtar
Treoracha téacs chun íomhá a chur in eagar.
num_imagesroghnach num_outputs
Cineálinteger
Réamhshocrú1
1 – 4
Líon na n-íomhánna a iarrtar don ghiniúint.
seedroghnach
Cineálinteger | null
Luach síl a thosaíonn giniúint uimhreacha randamacha.
aspect_ratioroghnach
Cineálenum
Réamhshocrúauto
auto21:916:93:24:35:41:14:53:42:39:16
Cóimheas gné na híomhá iarmharaí.
output_formatroghnach
Cineálenum
Réamhshocrúpng
jpegpngwebp
Formáid comhaid na híomhá deiridh.
safety_toleranceroghnach
Cineálenum
Réamhshocrú4
123456
Socraigh lamháltas modhnóireachta ábhair idir an leibhéal is lú srianta, 6, agus an leibhéal is déine, 1, a chuireann bac ar fhormhór an ábhair.
image_urlsriachtanach images
Cineálurl[] · image
URLanna a shainaithníonn íomhánna foinseacha le haghaidh eagarthóireachta nó giniúna íomhá-go-íomhá.
system_promptroghnach
Cineálstring
Réamhshocrú
≤ 50,000 gcarachtar
Treoir roghnach ar phearsa agus ar stíl aschuir ar fud an iarratais, a sheoltar chuig Gemini mar threoir chórais nó chuig soláthraithe comhoiriúnacha le OpenAI mar theachtaireacht chórais. Ní sheoltar aon rud don treoir seo nuair atá an luach bán.
resolutionroghnach
Cineálenum
Réamhshocrú1K
1K2K4K
Taifeach na híomhá aschuir.
limit_generationsroghnach
Cineálboolean
Réamhshocrútrue
Uasteorainn thurgnamhach giniúna: má chumasaítear `True`, sáraítear aon treoracha maidir le líon íomhánna sa leid agus cuirtear gach babhta leidithe teoranta do 1 ghiniúint.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
images
array of object {url, content_type, file_name, file_size, width, height}Íomhánna a eascraíonn as eagarthóireacht.
description
stringCur síos a ghabhann leis na híomhánna ginte.

Tuilleadh samhlacha: Eagarthóireacht Íomhá

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/nano-banana-pro/edit.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt