Saltar al cuntegna

Nano Banana Pro Edit

Integrar

ID dal 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"

Questa dumonda: $0,15 150 credits API Lantschar sin questa pagina

Obtegna ina clav API
Google Modificaziun da maletgs Output 4Kfin a 4K #editing#consistency

Edita u combinescha fotografias cun instrucziuns en lingua simpla, mantegnend fatschas e products intacts, fin a 4K.

Exempels

Input
Output · ~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 credits API

Prompt da @NanoBanana sin X

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori 107 / 50000

Instrucziuns textualas per modifitgar in maletg.

•obligatori image_urls
Trametta in datoteca u

URLs che identifitgeschan maletgs da funtauna per l'editaziun u la generaziun image-to-image.

aspect_ratio standard auto

Relaziun d'aspect dal maletg resultà.

resolution

Resoluziun dal maletg d'output.

num_images standard 1

Dumber da maletgs dumandà per la generaziun.

Avanzà system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

Guidanza opziunala, valaivla per l'entira dumonda, davart la persuna e l'istil da l'output, tramessa a Gemini sco instrucziun da sistem u a purschiders cumpatibels cun OpenAI sco messadi da sistem. Sche la valur è vida, na vegn nagut tramess per questa instrucziun.

output_format standard png

Format da datoteca dal maletg final.

safety_tolerance standard 4

Definescha la toleranza da la moderaziun dal cuntegnair tranter il nivel il main restrictiv, 6, e il nivel il pli strict, 1, che bloccà la gronda part dal cuntegnair.

Valur da seed che inizialisescha la generaziun da nums casuals.

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

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Fatg sin Doitong

Ovras publicas fatgas cun Nano Banana Pro da la communitad Doitong. Reutilisescha in prompt cun in clic.

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

Davart Nano Banana Pro Edit

Il modus d'ediziun da Nano Banana Pro: dat in u plirs maletgs e descriva la midada, sco remplazzar in fund, fusiunar ina persuna ed in product en ina scena, midar il stil u reparar text sin in placat. El mantegna identitads e detagls stabels durant las ediziuns. Output en 1K, 2K u 4K en mintga proporziun usitada, web a basa opziunal, fin a quatter resultats per dumonda.

Parameters

Invia u il num canonic u il num nativ, betg omaduas. Nums canonics

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
≤ 50 000 caracters≥ 3 caracters
Instrucziuns textualas per modifitgar in maletg.
num_imagesopziunal num_outputs
Tipinteger
Standard1
1 – 4
Dumber da maletgs dumandà per la generaziun.
seedopziunal
Tipinteger | null
Valur da seed che inizialisescha la generaziun da nums casuals.
aspect_ratioopziunal
Tipenum
Standardauto
auto21:916:93:24:35:41:14:53:42:39:16
Relaziun d'aspect dal maletg resultà.
output_formatopziunal
Tipenum
Standardpng
jpegpngwebp
Format da datoteca dal maletg final.
safety_toleranceopziunal
Tipenum
Standard4
123456
Definescha la toleranza da la moderaziun dal cuntegnair tranter il nivel il main restrictiv, 6, e il nivel il pli strict, 1, che bloccà la gronda part dal cuntegnair.
image_urlsobligatori images
Tipurl[] · image
URLs che identifitgeschan maletgs da funtauna per l'editaziun u la generaziun image-to-image.
system_promptopziunal
Tipstring
Standard
≤ 50 000 caracters
Guidanza opziunala, valaivla per l'entira dumonda, davart la persuna e l'istil da l'output, tramessa a Gemini sco instrucziun da sistem u a purschiders cumpatibels cun OpenAI sco messadi da sistem. Sche la valur è vida, na vegn nagut tramess per questa instrucziun.
resolutionopziunal
Tipenum
Standard1K
1K2K4K
Resoluziun dal maletg d'output.
limit_generationsopziunal
Tipboolean
Standardtrue
Limita experimentala da la generaziun: activar `True` surscriva mintga indicaziun da dumber da maletgs en il prompt e restrenscha mintga ciclus da prompting a 1 generaziun.
obligatori Num canonic, er acceptà

Ils parameters da datotecas acceptan ina URL publica https://, ina URI data: fin a 10 MB u il file_url d'ina chargiada. Datotecas

Output

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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
images
array of object {url, content_type, file_name, file_size, width, height}Maletgs resultants da l'ediziun.
description
stringDescripziun che accumpogna ils maletgs generads.

Dapli models: Modificaziun da maletgs

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/nano-banana-pro/edit.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt