Gå til indhold

Nano Banana Pro

Integrer

Model-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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Denne anmodning: 0,15 $ 150 API-kreditter · ≈ 15,70 ₽ Kør den på denne side

Hent API-nøgle
Google Tekst til billede 4K-outputop til 4K #typography#realism

Googles stærkeste billedmodel med pålidelig tekstgengivelse, komplekse layouts og output på op til 4K.

Eksempler

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 fra @LettyVesper på X

Opret en anmodning

Kontrollerne genereres fra modellens skema. Koden og prisen opdateres, når du ændrer dem.

•påkrævet 638 / 50000

Tekstinstruktioner til generering af et billede.

aspect_ratio

Højde-bredde-forhold for det resulterende billede.

resolution

Outputbilledets opløsning.

num_images standard 1

Antal billeder, der ønskes genereret.

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

Valgfri persona- og outputstilvejledning for hele anmodningen, sendt til Gemini som en systeminstruktion eller til OpenAI-kompatible udbydere som en systemmeddelelse. Der sendes intet for denne instruktion, når værdien er tom.

output_format standard png

Filformat for det resulterende billede.

safety_tolerance standard 4

Angiv tolerancen for indholdsmoderering mellem det mindst restriktive niveau, 6, og det strengeste niveau, 1, som blokerer det meste indhold.

Seed-værdi, der initialiserer generering af tilfældige tal.

POST /run/nano-banana-pro?wait=20 pris → 0,15 $
# 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-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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kør denne anmodning

Din nøgle forbliver i denne browser: Den sendes kun til Doitong API og gemmes kun i localStorage, hvis du markerer Husk. Hent en API-nøgle

Lavet på Doitong

Offentlige værker skabt med Nano Banana Pro af Doitong-fællesskabet. Genbrug en prompt med ét klik.

Offentlige værker vist: 16
Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 55 лет, худощавый, с хищными чертами...

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

Art style: 3D Pixar. Интерьер современного яркого торгового центра с зеркальными витринами и глян...

Art style: 3D Pixar. Интерьер современного яркого торгового центра с зеркальными витринами и глянцевыми манекенами. На переднем плане Люба с широко раскрытыми глазами и восторженным выражением лица смотрит на пару изящных красных туфель на высоком каблуке, выставленных на подсвеченном пьедестале....

Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 50 лет, статный, с густыми усами и в...

Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 50 лет, статный, с густыми усами и властным, но справедливым взглядом. Одет в дорогой твидовый костюм для охоты, идеально сшитый по фигуре. Держится с достоинством. В стиле кинематографичный, полуреалистичный digital painting с мягким...

Art style: Realistic Photography. Крупный план стола, за которым сидит веселая компания. Они услы...

Art style: Realistic Photography. Крупный план стола, за которым сидит веселая компания. Они услышали знакомую мелодию, смеются, активно подпевают и ищут песню в своих карточках. Один из мужчин радостно показывает пальцем на свою карточку. Эмоции: восторг, ностальгия....

Art style: Realistic Photography. Женщина за одним из столиков вскакивает с места, победно подним...

Art style: Realistic Photography. Женщина за одним из столиков вскакивает с места, победно поднимая вверх свою карточку лото. Ее лицо сияет от счастья. Друзья за столом обнимают ее и поздравляют. На заднем плане другие гости аплодируют. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE...

Art style: 3D Pixar Animation. Caroline turns her back completely and glides away towards Arthur'...

Art style: 3D Pixar Animation. Caroline turns her back completely and glides away towards Arthur's group, leaving Lenny standing alone and dejected. His bright yellow color seems to dim slightly. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Boris the Banana holding a tiny gl...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Boris the Banana holding a tiny glowing smartphone, looking pathetic. Lenia the Lemon stands next to him with a sour, deadpan expression, rolling his eyes. Soft glow from the phone screen illuminating Boris's face. 3D Pixar style....

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Dusty floor under a wooden kitchen...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Dusty floor under a wooden kitchen table. Boris the Banana is holding a shiny golden sticker label that reads text. He looks completely shocked, eyes wide open. Cinematic lighting focusing on the golden label. 3D Pixar style....

Om Nano Banana Pro

En Gemini-baseret billedmodel, der ræsonnerer over prompten før tegning, så plakater, infografikker, menuer og produktfotos med læselig tekst langt oftere bliver korrekte end med modeller, der kun bruger diffusion. Vælg 1K, 2K eller 4K-output og ethvert almindeligt formatforhold, og lad den eventuelt slå oplysninger op på nettet for at forankre billedet i aktuelle fakta. Op til fire billeder pr. anmodning.

Parametre

Send enten det kanoniske navn eller det oprindelige navn, ikke begge. Kanoniske navne

NavnType StandardTilladt Beskrivelse
promptpåkrævet
Typestring
≤ 50.000 tegn≥ 3 tegn
Tekstinstruktioner til generering af et billede.
num_imagesvalgfri num_outputs
Typeinteger
Standard1
1 – 4
Antal billeder, der ønskes genereret.
seedvalgfri
Typeinteger | null
Seed-værdi, der initialiserer generering af tilfældige tal.
aspect_ratiovalgfri
Typeenum
Standard1:1
auto21:916:93:24:35:41:14:53:42:39:16
Højde-bredde-forhold for det resulterende billede.
output_formatvalgfri
Typeenum
Standardpng
jpegpngwebp
Filformat for det resulterende billede.
safety_tolerancevalgfri
Typeenum
Standard4
123456
Angiv tolerancen for indholdsmoderering mellem det mindst restriktive niveau, 6, og det strengeste niveau, 1, som blokerer det meste indhold.
system_promptvalgfri
Typestring
Standard
≤ 50.000 tegn
Valgfri persona- og outputstilvejledning for hele anmodningen, sendt til Gemini som en systeminstruktion eller til OpenAI-kompatible udbydere som en systemmeddelelse. Der sendes intet for denne instruktion, når værdien er tom.
resolutionvalgfri
Typeenum
Standard1K
1K2K4K
Outputbilledets opløsning.
limit_generationsvalgfri
Typeboolean
Standardtrue
Eksperimentel genereringsgrænse: aktivering af `True` tilsidesætter billedantallet i prompten og begrænser hver promptingrunde til 1 generering.
påkrævet Kanonisk navn, også accepteret

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Dine filer, dit valgHver outputs[].url er en kopi på vores lagring: gemt for altid (betales pr. GB-måned) eller 7 dage gratis, afhængigt af din kontoindstilling eller ?storage=.
Samme struktur for alle modellertype, url, content_type, width, height og duration for billeder, video og lyd. output er modellens eget resultatobjekt.
Outputfelter
images
array of object {url, content_type, file_name, file_size, width, height}Billeder produceret af modellen.
description
stringBeskrivelse, der ledsager de genererede billeder.

Flere modeller: Tekst til billede

Til AI-agenter: Denne side som Markdown findes på https://doitong.com/da/developers/models/nano-banana-pro.md. Alle modeller og vejledninger: https://doitong.com/developers/llms.txt