Zum Inhalt springen

Nano Banana Pro Edit

Integrieren

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

Diese Anfrage: 0,15 $ 150 API-Credits Auf dieser Seite ausführen

API-Schlüssel abrufen
Google Bildbearbeitung 4K-Ausgabebis zu 4K #editing#consistency

Bearbeitet oder kombiniert Fotos mit Anweisungen in natürlicher Sprache, bewahrt Gesichter und Produkte und unterstützt bis 4K.

Beispiele

Eingabe
Ausgabe · ~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-Credits

Prompt von @NanoBanana auf X

Anfrage erstellen

Die Steuerelemente werden aus dem Modellschema generiert. Code und Preis werden aktualisiert, während du sie änderst.

•erforderlich 107 / 50000

Textanweisungen zum Bearbeiten eines Bildes.

•erforderlich image_urls
Datei ablegen oder

URLs zur Identifizierung von Quellbildern für Bearbeitung oder Image-to-Image-Generierung.

aspect_ratio Standard auto

Seitenverhältnis des resultierenden Bildes.

resolution

Auflösung des Ausgabebilds.

num_images Standard 1

Für die Generierung angeforderte Bildanzahl.

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

Optionale, anfrageweite Vorgaben für Persona und Ausgabestil, die Gemini als Systemanweisung oder OpenAI-kompatiblen Anbietern als Systemnachricht übermittelt werden. Bei leerem Wert wird für diese Anweisung nichts gesendet.

output_format Standard png

Dateiformat des resultierenden Bilds.

safety_tolerance Standard 4

Stelle die Toleranz der Inhaltsmoderation zwischen der am wenigsten restriktiven Stufe 6 und der strengsten Stufe 1 ein, die den Großteil der Inhalte blockiert.

Seed-Wert zur Initialisierung der Zufallszahlengenerierung.

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

Diese Anfrage ausführen

Dein Schlüssel bleibt in diesem Browser: Er wird nur an die Doitong API gesendet und nur gespeichert (localStorage), wenn du „Merken“ aktivierst. API-Schlüssel abrufen

Auf Doitong erstellt

Öffentliche Werke der Doitong-Community mit Nano Banana Pro. Verwende einen Prompt mit einem Klick erneut.

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

Über Nano Banana Pro Edit

Der Bearbeitungsmodus von Nano Banana Pro: Übergeben Sie ein oder mehrere Bilder und beschreiben Sie die Änderung, etwa das Austauschen eines Hintergrunds, das Zusammenführen einer Person und eines Produkts in einer Szene, eine neue Stilgebung oder die Korrektur von Text auf einem Schild. Das Modell bewahrt Identitäten und Details über mehrere Bearbeitungen hinweg. Ausgabe in 1K, 2K oder 4K mit jedem gängigen Seitenverhältnis, optionalem Web- Grounding und bis zu vier Ergebnissen pro Anfrage.

Parameter

Sende entweder den kanonischen Namen oder den nativen Namen, nicht beide. Kanonische Namen

NameTyp StandardZulässig Beschreibung
prompterforderlich
Typstring
≤ 50.000 Zeichen≥ 3 Zeichen
Textanweisungen zum Bearbeiten eines Bildes.
num_imagesoptional num_outputs
Typinteger
Standard1
1 – 4
Für die Generierung angeforderte Bildanzahl.
seedoptional
Typinteger | null
Seed-Wert zur Initialisierung der Zufallszahlengenerierung.
aspect_ratiooptional
Typenum
Standardauto
auto21:916:93:24:35:41:14:53:42:39:16
Seitenverhältnis des resultierenden Bildes.
output_formatoptional
Typenum
Standardpng
jpegpngwebp
Dateiformat des resultierenden Bilds.
safety_toleranceoptional
Typenum
Standard4
123456
Stelle die Toleranz der Inhaltsmoderation zwischen der am wenigsten restriktiven Stufe 6 und der strengsten Stufe 1 ein, die den Großteil der Inhalte blockiert.
image_urlserforderlich images
Typurl[] · image
URLs zur Identifizierung von Quellbildern für Bearbeitung oder Image-to-Image-Generierung.
system_promptoptional
Typstring
Standard
≤ 50.000 Zeichen
Optionale, anfrageweite Vorgaben für Persona und Ausgabestil, die Gemini als Systemanweisung oder OpenAI-kompatiblen Anbietern als Systemnachricht übermittelt werden. Bei leerem Wert wird für diese Anweisung nichts gesendet.
resolutionoptional
Typenum
Standard1K
1K2K4K
Auflösung des Ausgabebilds.
limit_generationsoptional
Typboolean
Standardtrue
Experimentelle Generierungsgrenze: Die Aktivierung von `True` überschreibt Bildanzahlangaben im Prompt und beschränkt jede Prompt-Runde auf 1 Generierung.
erforderlich Kanonischer Name, ebenfalls akzeptiert

Dateiparameter akzeptieren eine öffentliche https://-URL, eine data:-URI bis 10 MB oder die file_url eines Uploads. Dateien

Ausgabe

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"
  }
}
Deine Dateien, deine EntscheidungJede outputs[].url ist eine Kopie in unserem Speicher: dauerhaft aufbewahrt (Abrechnung pro GB-Monat) oder 7 Tage kostenlos – je nach Kontoeinstellung oder ?storage=.
Gleiche Struktur bei jedem Modelltype, url, content_type, width, height und duration – für Bilder, Video und Audio gleichermaßen. output ist das Ergebnisobjekt des Modells.
Ausgabefelder
images
array of object {url, content_type, file_name, file_size, width, height}Aus der Bearbeitung resultierende Bilder.
description
stringBeschreibung zu den generierten Bildern.

Weitere Modelle: Bildbearbeitung

Für KI-Agenten: Diese Seite ist als Markdown verfügbar unter https://doitong.com/de/developers/models/nano-banana-pro/edit.md. Alle Modelle und Anleitungen: https://doitong.com/developers/llms.txt