Op den Inhalt sprangen

Nano Banana Pro

Integréieren

Modell-ID nano-banana-pro
# 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?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16",
    "aspect_ratio": "9:16",
    "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"

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

API-Schlëssel kréien
Google Text zu Bild 4K-Outputbis zu 4K #typography#realism

Dem Google säi stäerkste Bildmodell, mat zouverléisseger Beschrëftung, komplexe Layouten an Ausgab bis 4K.

Beispiller

Output · ~44 s
Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazin...

PromptCinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16

1K9:160,15 $ · 150 API-Kreditter

Prompt vun @LettyVesper 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 638 / 50000

Textinstruktioune fir e Bild ze generéieren.

aspect_ratio

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?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.com/v1/run/nano-banana-pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16",
    "aspect_ratio": "9:16",
    "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"

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 ---. Крупный план: Сая сладко спит в своей кроватке, её личико по...

Strong rule: style --- 3d Pixar ---. Крупный план: Сая сладко спит в своей кроватке, её личико полностью расслаблено, губы слегка приоткрыты. Она укрыта мягким пледом с изображением звезд. Свет ночника создает длинные, мягкие тени на стене. Атмосфера абсолютного покоя, счастья и завершенности....

Strong rule: style --- 3d Pixar ---. Крупный план рук отца, которые аккуратно и медленно поправля...

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

Strong rule: style --- Реалистичная 3D-анимация, Cinematic Lighting, P... ---. Женщина-астролог с...

Strong rule: style --- Реалистичная 3D-анимация, Cinematic Lighting, P... ---. Женщина-астролог слегка улыбается. В комнате становится заметно теплее по цвету. За панорамным окном город уже не холодный — мягкие, теплые вечерние огни. Character appearance reference (MUST match exactly): -...

Strong rule: style --- 3D Pixar ---. Крупный план лица Мирры в полумраке современной эзотерическо...

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

Strong rule: style --- 3D Pixar ---. Зеркало в спальне с размытым отражением, ночным столиком, ва...

Strong rule: style --- 3D Pixar ---. Зеркало в спальне с размытым отражением, ночным столиком, вазой цветов и приглушенным светом. Крупный план отражения в зеркале, слегка distorted. Мягкий лунный свет через занавески создает серебристые блики. Атмосфера меланхоличная и рефлексивная, полная...

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

Strong rule: style --- 3D Pixar ---. Тихая детская Pixar 3D, пастельный интерьер, окно с diffused...

Strong rule: style --- 3D Pixar ---. Тихая детская Pixar 3D, пастельный интерьер, окно с diffused светом, кровать с подушками, атмосфера паузы. Мама с закрытыми глазами, Саи смотрит вверх с лёгким напряжением. Средний план, высокий угол сверху, мягкий свет создаёт интимные тени. Атмосфера...

Strong rule: style --- 3d Pixar ---. Экстремальный макроплан: крошечная, розовая ладошка младенца...

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

Iwwer Nano Banana Pro

E Gemini-baséiert Bildmodell, deen de Prompt virum Zeechnen analyséiert, sou datt Plakater, Infografiken, Menüen an Produktfotografie mat liesbarem Text vill méi dacks richteg erauskommen ewéi bei reng diffusionbaséierte Modeller. Wielt 1K, 2K oder 4K-Ausgab an all üblecht Bildverhältnis a loosst et optional um Web no Informatioune sichen, fir d'Bild op aktuell Fakten ze baséiere. Bis zu véier Biller 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 ze generéieren.
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
Standard1:1
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.
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

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-pro",
  "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": "A minimalist poster for a jazz night called \"Blue Hour\", a saxophone silhouette against a deep blue sky, bold sans-serif title",
    "aspect_ratio": "3:4",
    "resolution": "2K"
  },
  "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"
  }
}
Ä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 vum Modell erstallt goufen.
description
stringBeschreiwung, déi déi generéiert Biller begleet.

Méi Modeller: Text zu Bild

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