Zum Inhalt springen

Nano Banana 2 Edit

Integrieren

Modell-ID nano-banana-2/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-2/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Turn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wooden desk with soft studio light; keep the dog'\''s pose, fur colors and expression.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_3yckkmcr3dayonfhigdeaiia/0-pz7p4ydjvjJmL__s7lK6p_L0WSl1GK.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"

Diese Anfrage: 0,08 $ 80 API-Credits · ≈ 8,38 ₽ Auf dieser Seite ausführen

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

Schnelle, anweisungsbasierte Bearbeitung, die auch ein Video, einen Audioclip oder ein PDF als Kontext lesen kann.

Beispiele

Eingabe
Ausgabe · ~21 s
Turn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wo...

PromptTurn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wooden desk with soft studio light; keep the dog's pose, fur colors and expression.

1K0,08 $ · 80 API-Credits

Anfrage erstellen

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

•erforderlich 198 / 50000

Textanweisungen zum Bearbeiten eines Bildes.

image_urls
Datei ablegen oder

Gib Quellbilder per URL für Bildbearbeitung oder Image-to-Image-Generierung an, sofern du nicht mindestens eine alternative Eingabe bereitstellst: `video_url`, `audio_url` oder `pdf_url`.

resolution

Auflösung des Ausgabebilds.

thinking_level

Wähle 'minimal' oder 'high', um das Denken des Modells auf dieser Stufe zu aktivieren und seine Gedanken in die Generierung einzubeziehen; bleibt die Stufe nicht gesetzt, ist das Denken deaktiviert.

Standard auto

Seitenverhältnis des Ausgabebilds einschließlich der extremen Optionen 4:1, 1:4, 8:1 und 1:8.

num_images Standard 1

Für die Generierung angeforderte Bildanzahl.

Erweitert system_prompt · video · audio · output_format · safety_tolerance · pdf_url · 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.

video_url
Datei ablegen oder

Optionaler Videokontext als YouTube-URL oder http(s)/data-URL für eine Videodatei. YouTube-Links erreichen das Modell direkt ohne Download; Videodateien werden heruntergeladen und inline gesendet, vorbehaltlich einer Höchstgröße von 15 MB.

audio_url
Datei ablegen oder

Optionalen Audiokontext über eine http(s)- oder data-URL zu einer höchstens 15 MB großen Datei bereitstellen. Die Datei wird nach dem Download inline 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.

Optionalen PDF-Kontext über eine http(s)- oder data-URL zu einem höchstens 15 MB großen Dokument bereitstellen. Das Dokument wird nach dem Download inline gesendet.

Seed-Wert zur Initialisierung der Zufallszahlengenerierung.

POST /run/nano-banana-2/edit?wait=20 Preis → 0,08 $
# 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-2/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Turn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wooden desk with soft studio light; keep the dog'\''s pose, fur colors and expression.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_3yckkmcr3dayonfhigdeaiia/0-pz7p4ydjvjJmL__s7lK6p_L0WSl1GK.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"

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 2. Verwende einen Prompt mit einem Klick erneut.

Angezeigte öffentliche Werke: 16
Strong rule: style --- 2D Vector Art ---. A stylized title card. The text 'Краснодар' is written ...

Strong rule: style --- 2D Vector Art ---. A stylized title card. The text 'Краснодар' is written in a modern, bold font. Around the text are abstract geometric shapes representing the sun, green leaves, and wheat fields. The composition is balanced and clean. Color palette: warm yellow, deep...

Strong rule: style --- 2D Vector Art ---. The Krasnodar Shukhov Tower. Its complex lattice struct...

Strong rule: style --- 2D Vector Art ---. The Krasnodar Shukhov Tower. Its complex lattice structure is simplified into a repeating geometric pattern. The tower is set against a gradient sky, transitioning from day to dusk. Minimalist and elegant.

Strong rule: style --- 2D Vector Art ---. A bustling scene on Krasnaya Street. Stylized figures o...

Strong rule: style --- 2D Vector Art ---. A bustling scene on Krasnaya Street. Stylized figures of people walking. The Triumphal Arch (Alexander's Arch) is visible in the background, drawn with clean vector lines. Buildings are represented by simple rectangular forms with windows.

Strong rule: style --- 2D Vector Art ---. The Monument to Catherine the Great in Krasnodar, simpl...

Strong rule: style --- 2D Vector Art ---. The Monument to Catherine the Great in Krasnodar, simplified into iconic shapes. The empress's figure is majestic but minimal. The background is a clean, solid color block. The focus is on the silhouette and key details. Flat design.

Strong rule: style --- 2D Vector Art ---. The 'Aurora' cinema building, depicted with sharp lines...

Strong rule: style --- 2D Vector Art ---. The 'Aurora' cinema building, depicted with sharp lines and minimalist forms. The iconic 'saddle' roof is the main feature. The surrounding area is simplified to a few lines representing trees and paths. Day time, clear sky.

Strong rule: style --- 3D Pixar ---. Уютная берлога медвежонка в Санкт-Петербурге, залитая теплым...

Strong rule: style --- 3D Pixar ---. Уютная берлога медвежонка в Санкт-Петербурге, залитая теплым утренним светом. Стены украшены детскими рисунками. В центре комнаты стоит Яша, с энтузиазмом жонглируя кисточками для рисования. Вокруг него разложены книги со стихами и стоит маленький микрофон....

Art style: Pixar-like 3D. Большой светящийся белый куб парит в бесконечной тёмной пустоте — бессо...

Art style: Pixar-like 3D. Большой светящийся белый куб парит в бесконечной тёмной пустоте — бессознательное и интуиция. Внутри белого куба по центру — маленький плотный чёрный куб — человек. Вокруг чёрного куба хаотично вращаются и вибрируют десятки крошечных острых белых кубиков — проблемы,...

Strong rule: style --- 3D Pixar ---. Яша стоит на пороге своей берлоги с рюкзаком за спиной. Пере...

Strong rule: style --- 3D Pixar ---. Яша стоит на пороге своей берлоги с рюкзаком за спиной. Перед ним расстилается живописная лесная тропинка, уходящая вдаль, освещенная лучами солнца. Он глубоко вдыхает и с улыбкой делает уверенный шаг вперед. Стиль - 3D-анимация Pixar, эпичный, вдохновляющий...

Über Nano Banana 2 Edit

Der Bearbeitungsmodus von Nano Banana 2: Übergeben Sie Bilder und beschreiben Sie die Änderung oder lassen Sie die Bilder weg und geben Sie ein Video, eine Audiodatei oder ein PDF (jeweils bis zu 15 MB) als Kontext zur Veranschaulichung an. Ausgabe von 0.5K bis 4K mit Seitenverhältnissen von 1:8 bis 8:1, optionaler Websuche und hohem Denkaufwand, bis zu vier Ergebnisse 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:164:11:48:11:8
Seitenverhältnis des Ausgabebilds einschließlich der extremen Optionen 4:1, 1:4, 8:1 und 1:8.
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_urlsoptional images
Typurl[] · image
Gib Quellbilder per URL für Bildbearbeitung oder Image-to-Image-Generierung an, sofern du nicht mindestens eine alternative Eingabe bereitstellst: `video_url`, `audio_url` oder `pdf_url`.
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
0.5K1K2K4K
Auflösung des Ausgabebilds.
video_urloptional video
Typurl · video
Optionaler Videokontext als YouTube-URL oder http(s)/data-URL für eine Videodatei. YouTube-Links erreichen das Modell direkt ohne Download; Videodateien werden heruntergeladen und inline gesendet, vorbehaltlich einer Höchstgröße von 15 MB.
audio_urloptional audio
Typurl · audio
Optionalen Audiokontext über eine http(s)- oder data-URL zu einer höchstens 15 MB großen Datei bereitstellen. Die Datei wird nach dem Download inline gesendet.
pdf_urloptional
Typstring | null
Optionalen PDF-Kontext über eine http(s)- oder data-URL zu einem höchstens 15 MB großen Dokument bereitstellen. Das Dokument wird nach dem Download inline gesendet.
limit_generationsoptional
Typboolean
Standardtrue
Experimentelle Generierungsgrenze, die bei Aktivierung die Qualität beeinflussen kann. Mit `True` wird jede Prompt-Runde auf 1 Generierung beschränkt, Bildanzahlanweisungen im Prompt überschrieben und vom Modell erzeugte Zwischenbilder ignoriert.
thinking_leveloptional
Typenum
minimalhigh
Wähle 'minimal' oder 'high', um das Denken des Modells auf dieser Stufe zu aktivieren und seine Gedanken in die Generierung einzubeziehen; bleibt die Stufe nicht gesetzt, ist das Denken deaktiviert.
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-2/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": 80,
    "usd": "0.08",
    "charged": 80,
    "refunded": 0
  },
  "input": {
    "prompt": "Turn this night street scene into a sunny morning, keep the sneaker and the puddle reflections",
    "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"
  }
}
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-2/edit.md. Alle Modelle und Anleitungen: https://doitong.com/developers/llms.txt