Vai al contenuto

Nano Banana Pro Edit

Integra

ID del modello 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 richiesta: 0,15 $ 150 crediti API Esegui in questa pagina

Ottieni la chiave API
Google Modifica immagini Output 4Kfino a 4K #editing#consistency

Modifica o combina foto con istruzioni in linguaggio naturale, preservando volti e prodotti, fino a 4K.

Esempi

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 crediti API

Prompt di @NanoBanana su X

Crea una richiesta

I controlli vengono generati dallo schema del modello. Il codice e il prezzo si aggiornano mentre li modifichi.

•obbligatorio 107 / 50000

Istruzioni testuali per modificare un'immagine.

•obbligatorio image_urls
Trascina un file oppure

URL che identificano le immagini sorgente per l'editing o la generazione image-to-image.

aspect_ratio predefinito auto

Rapporto d'aspetto dell'immagine risultante.

resolution

Risoluzione dell'immagine di output.

num_images predefinito 1

Numero di immagini richiesto per la generazione.

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

Indicazioni facoltative, valide per l'intera richiesta, sulla persona e sullo stile dell'output, inviate a Gemini come istruzione di sistema o ai provider compatibili con OpenAI come messaggio di sistema. Se il valore è vuoto, per questa istruzione non viene inviato nulla.

output_format predefinito png

Formato del file dell'immagine risultante.

safety_tolerance predefinito 4

Imposta la tolleranza della moderazione dei contenuti tra il livello meno restrittivo, 6, e quello più rigido, 1, che blocca la maggior parte dei contenuti.

Valore seed che inizializza la generazione di numeri casuali.

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

Esegui questa richiesta

La tua chiave rimane in questo browser: viene inviata solo al Doitong API e salvata in localStorage solo se selezioni Ricorda. Ottieni una chiave API

Creato su Doitong

Lavori pubblici creati con Nano Banana Pro dalla community di Doitong. Riutilizza un prompt con un clic.

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

Informazioni su Nano Banana Pro Edit

La modalità di modifica di Nano Banana Pro: fornisci una o più immagini e descrivi la modifica, ad esempio sostituire uno sfondo, unire una persona e un prodotto in un'unica scena, cambiare stile o correggere il testo su un'insegna. Mantiene stabili identità e dettagli tra le modifiche. Output a 1K, 2K o 4K in qualsiasi proporzione comune, grounding web opzionale, fino a quattro risultati per richiesta.

Parametri

Invia il nome canonico oppure il nome nativo, non entrambi. Nomi canonici

NomeTipo PredefinitoConsentiti Descrizione
promptobbligatorio
Tipostring
≤ 50.000 caratteri≥ 3 caratteri
Istruzioni testuali per modificare un'immagine.
num_imagesfacoltativo num_outputs
Tipointeger
Predefinito1
1 – 4
Numero di immagini richiesto per la generazione.
seedfacoltativo
Tipointeger | null
Valore seed che inizializza la generazione di numeri casuali.
aspect_ratiofacoltativo
Tipoenum
Predefinitoauto
auto21:916:93:24:35:41:14:53:42:39:16
Rapporto d'aspetto dell'immagine risultante.
output_formatfacoltativo
Tipoenum
Predefinitopng
jpegpngwebp
Formato del file dell'immagine risultante.
safety_tolerancefacoltativo
Tipoenum
Predefinito4
123456
Imposta la tolleranza della moderazione dei contenuti tra il livello meno restrittivo, 6, e quello più rigido, 1, che blocca la maggior parte dei contenuti.
image_urlsobbligatorio images
Tipourl[] · image
URL che identificano le immagini sorgente per l'editing o la generazione image-to-image.
system_promptfacoltativo
Tipostring
Predefinito
≤ 50.000 caratteri
Indicazioni facoltative, valide per l'intera richiesta, sulla persona e sullo stile dell'output, inviate a Gemini come istruzione di sistema o ai provider compatibili con OpenAI come messaggio di sistema. Se il valore è vuoto, per questa istruzione non viene inviato nulla.
resolutionfacoltativo
Tipoenum
Predefinito1K
1K2K4K
Risoluzione dell'immagine di output.
limit_generationsfacoltativo
Tipoboolean
Predefinitotrue
Limite di generazione sperimentale: abilitando `True`, vengono sovrascritte le indicazioni sul numero di immagini nel prompt e ogni ciclo di prompting viene limitato a 1 generazione.
obbligatorio Nome canonico, accettato anche

I parametri file accettano un URL pubblico https://, un URI data: fino a 10 MB oppure il file_url di un caricamento. File

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"
  }
}
I tuoi file, la tua sceltaOgni outputs[].url è una copia nella nostra archiviazione: conservata per sempre (a pagamento per GB-mese) oppure 7 giorni gratuitamente, in base all'impostazione dell'account o a ?storage=.
Stessa struttura per ogni modellotype, url, content_type, width, height e duration, per immagini, video e audio. output è l'oggetto risultato del modello.
Campi dell'output
images
array of object {url, content_type, file_name, file_size, width, height}Immagini risultanti dalla modifica.
description
stringDescrizione associata alle immagini generate.

Altri modelli: Modifica immagini

Per gli agenti AI: questa pagina in Markdown è disponibile all'indirizzo https://doitong.com/it/developers/models/nano-banana-pro/edit.md. Tutti i modelli e le guide: https://doitong.com/developers/llms.txt