Op den Inhalt sprangen

Nano Banana Pro Edit

Integréieren

Modell-ID 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro: 0,15 $ 150 API-Kreditter · ≈ 15,82 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Google Bildbearbechtung 4K-Outputbis zu 4K #editing#consistency

Fotoe mat Sproochinstruktiounen änneren oder kombinéieren, dobäi Gesiichter a Produkter bis 4K behalen.

Beispiller

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

1K0,15 $ · 150 API-Kreditter

Prompt vun @NanoBanana op X

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch 107 / 50000

Textinstruktioune fir e Bild z'änneren.

•obligatoresch image_urls
Fichier erofzéien, oder

URLs, déi d'Quellbiller fir d'Ännerung oder d'Bild-zu-Bild-Generatioun identifizéieren.

aspect_ratio Standard auto

Aspektverhältnis vum resultéierende Bild.

resolution

Opléisung vum Output-Bild.

num_images Standard 1

Ugefrote Bildzuel fir d'Generatioun.

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

Optional persona- a Output-Stil-Uweisunge fir déi ganz Ufro, déi u Gemini als Systeminstruktioun oder u OpenAI-kompatibel Ubidder als Systemmessage geschéckt ginn. Wann de Wäert eidel ass, gëtt näischt fir dës Instruktioun geschéckt.

output_format Standard png

Dateiformat vum resultéierende Bild.

safety_tolerance Standard 4

Setzt d'Toleranz vun der Inhaltsmoderatioun tëscht dem mannst restriktive Niveau 6 an dem strengste Niveau 1, dee meeschten Inhalt blockéiert.

Seed-Wäert, deen d'Generatioun vun Zoufallszuelen initialiséiert.

POST /run/nano-banana-pro/edit?wait=20 Präis → 0,15 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Op Doitong erstallt

Ëffentlech Wierker, déi d'Doitong-Communautéit mat Nano Banana Pro erstallt huet. Benotz e Prompt mat engem Klick nach eng Kéier.

Ëffentlech Wierker ugewisen: 16
Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 55 лет, худощавый, с хищными чертами...

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

Art style: 3D Pixar. Интерьер современного яркого торгового центра с зеркальными витринами и глян...

Art style: 3D Pixar. Интерьер современного яркого торгового центра с зеркальными витринами и глянцевыми манекенами. На переднем плане Люба с широко раскрытыми глазами и восторженным выражением лица смотрит на пару изящных красных туфель на высоком каблуке, выставленных на подсвеченном пьедестале....

Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 50 лет, статный, с густыми усами и в...

Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 50 лет, статный, с густыми усами и властным, но справедливым взглядом. Одет в дорогой твидовый костюм для охоты, идеально сшитый по фигуре. Держится с достоинством. В стиле кинематографичный, полуреалистичный digital painting с мягким...

Art style: Realistic Photography. Крупный план стола, за которым сидит веселая компания. Они услы...

Art style: Realistic Photography. Крупный план стола, за которым сидит веселая компания. Они услышали знакомую мелодию, смеются, активно подпевают и ищут песню в своих карточках. Один из мужчин радостно показывает пальцем на свою карточку. Эмоции: восторг, ностальгия....

Art style: Realistic Photography. Женщина за одним из столиков вскакивает с места, победно подним...

Art style: Realistic Photography. Женщина за одним из столиков вскакивает с места, победно поднимая вверх свою карточку лото. Ее лицо сияет от счастья. Друзья за столом обнимают ее и поздравляют. На заднем плане другие гости аплодируют. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE...

Art style: 3D Pixar Animation. Caroline turns her back completely and glides away towards Arthur'...

Art style: 3D Pixar Animation. Caroline turns her back completely and glides away towards Arthur's group, leaving Lenny standing alone and dejected. His bright yellow color seems to dim slightly. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Boris the Banana holding a tiny gl...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Boris the Banana holding a tiny glowing smartphone, looking pathetic. Lenia the Lemon stands next to him with a sour, deadpan expression, rolling his eyes. Soft glow from the phone screen illuminating Boris's face. 3D Pixar style....

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Dusty floor under a wooden kitchen...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Dusty floor under a wooden kitchen table. Boris the Banana is holding a shiny golden sticker label that reads text. He looks completely shocked, eyes wide open. Cinematic lighting focusing on the golden label. 3D Pixar style....

Iwwer Nano Banana Pro Edit

De Redaktiounsmodus vun Nano Banana Pro: Gitt een oder méi Biller un a beschreift d'Ännerung, wéi zum Beispill en Hannergrond auszetauschen, eng Persoun an e Produkt an enger Szen ze kombinéieren, de Stil z'änneren oder Text op engem Schëld ze reparéieren. Et behält Identitéiten an Detailer iwwer verschidde Redaktiounen ewech stabil. Ausgab an 1K, 2K oder 4K mat all üblechem Bildverhältnis, optionaler Web- Grondlag, bis zu véier Resultater pro Ufro.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
≤ 50.000 Zeechen≥ 3 Zeechen
Textinstruktioune fir e Bild z'änneren.
num_imagesoptional num_outputs
Typinteger
Standard1
1 – 4
Ugefrote Bildzuel fir d'Generatioun.
seedoptional
Typinteger | null
Seed-Wäert, deen d'Generatioun vun Zoufallszuelen initialiséiert.
aspect_ratiooptional
Typenum
Standardauto
auto21:916:93:24:35:41:14:53:42:39:16
Aspektverhältnis vum resultéierende Bild.
output_formatoptional
Typenum
Standardpng
jpegpngwebp
Dateiformat vum resultéierende Bild.
safety_toleranceoptional
Typenum
Standard4
123456
Setzt d'Toleranz vun der Inhaltsmoderatioun tëscht dem mannst restriktive Niveau 6 an dem strengste Niveau 1, dee meeschten Inhalt blockéiert.
image_urlsobligatoresch images
Typurl[] · image
URLs, déi d'Quellbiller fir d'Ännerung oder d'Bild-zu-Bild-Generatioun identifizéieren.
system_promptoptional
Typstring
Standard
≤ 50.000 Zeechen
Optional persona- a Output-Stil-Uweisunge fir déi ganz Ufro, déi u Gemini als Systeminstruktioun oder u OpenAI-kompatibel Ubidder als Systemmessage geschéckt ginn. Wann de Wäert eidel ass, gëtt näischt fir dës Instruktioun geschéckt.
resolutionoptional
Typenum
Standard1K
1K2K4K
Opléisung vum Output-Bild.
limit_generationsoptional
Typboolean
Standardtrue
Experimentell Generatiounslimit: Wann `True` aktivéiert ass, iwwerschreift se all Bildzuel-Instruktiounen am Prompt a limitéiert all Prompting-Ronn op 1 Generatioun.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
images
array of object {url, content_type, file_name, file_size, width, height}Biller, déi aus der Editéierung resultéieren.
description
stringBeschreiwung, déi déi generéiert Biller begleet.

Méi Modeller: Bildbearbechtung

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/nano-banana-pro/edit.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt