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
[Lighting: cinematic] Art style: Кинематографический, фотореалистичный. Крупный план экрана компь...

[Lighting: cinematic] Art style: Кинематографический, фотореалистичный. Крупный план экрана компьютера. По экрану бегут строки фейковых данных: IP-адрес, город, личная информация. Поверх изображения — красный 'сканирующий' луч и мигающие символы тревоги. В отражении экрана видны амогусы с ножами...

Recreate this exact cinematic film shot from the reference image as a brand-new photorealistic re...

Recreate this exact cinematic film shot from the reference image as a brand-new photorealistic render. Match exactly: the composition and framing, the camera angle and lens, the lighting direction, the light rays and haze, the color grade, and the design of every object and character, including...

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

[Lighting: cinematic] Art style: Кинематографический, фотореалистичный. Крупный план руки парня, ...

[Lighting: cinematic] Art style: Кинематографический, фотореалистичный. Крупный план руки парня, которая решительно нажимает кнопку 'Включить SILA VPN' на экране. В момент клика вся комната заливается мощным, чистым синим светом. Амогусы в ужасе отлетают от окон и дверей, их 2D-формы искажаются....

[Lighting: cinematic] Art style: Кинематографический, фотореалистичный. Та же комната, но теперь ...

[Lighting: cinematic] Art style: Кинематографический, фотореалистичный. Та же комната, но теперь она залита спокойным синим светом от монитора. Парень расслабленно сидит в кресле и энергетик монстер. За окном видно, как побежденные амогусы с ножами грустно уходят. Стиль - полный реализм,...

Нужен кадр вот к этой секунде 00:08 без снега пусть будет лето, без текста Используй референс тол...

Нужен кадр вот к этой секунде 00:08 без снега пусть будет лето, без текста Используй референс только при необходимости, если он есть в кадре по этому сценарию Вот подробный сценарий вирального музыкального клипа. **Стиль и эстетика:** Яркая, насыщенная цветовая палитра в духе колоризованного...

Нужен кадр вот к этой секунде 00:48 без снега пусть будет лето, без текста Используй референс тол...

Нужен кадр вот к этой секунде 00:48 без снега пусть будет лето, без текста Используй референс только при необходимости, если он есть в кадре по этому сценарию Вот подробный сценарий вирального музыкального клипа. **Стиль и эстетика:** Яркая, насыщенная цветовая палитра в духе колоризованного...

Use the woman from the reference photo as the main character, preserve her facial identity, natur...

Use the woman from the reference photo as the main character, preserve her facial identity, natural facial features, realistic skin texture, eyes, lips, eyebrows and face shape. Create a magical cinematic summer fantasy scene. The woman is sitting or lying on soft green grass in a beautiful...

Ü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