Pāriet uz saturu

Nano Banana Pro

Integrēt

Modeļa 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"

Šis pieprasījums: 0,15 $ 150 API kredītu Izpildīt šajā lapā

Iegūt API atslēgu
Google Teksts uz attēlu 4K izvadelīdz 4K #typography#realism

Google jaudīgākais attēlu modelis ar uzticamu burtveidolu, sarežģītiem izkārtojumiem un izvadi līdz 4K.

Piemēri

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

UzvedneCinematic 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 kredītu

X lietotāja @LettyVesper uzvedne

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts 638 / 50000

Teksta norādes attēla ģenerēšanai.

aspect_ratio

Iegūstamā attēla malu attiecība.

resolution

Izvades attēla izšķirtspēja.

num_images noklusējums 1

Ģenerēšanai pieprasītais attēlu skaits.

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

Neobligātas visam pieprasījumam piemērojamas personības un izvades stila norādes, kas Gemini tiek nodotas kā sistēmas instrukcija vai ar OpenAI saderīgiem nodrošinātājiem kā sistēmas ziņojums. Ja vērtība ir tukša, šai instrukcijai nekas netiek nosūtīts.

output_format noklusējums png

Iegūtā attēla faila formāts.

safety_tolerance noklusējums 4

Iestatiet satura moderēšanas toleranci no vismazāk ierobežojošā līmeņa 6 līdz stingrākajam līmenim 1, kas bloķē lielāko daļu satura.

Sākumvērtība, kas inicializē nejaušo skaitļu ģenerēšanu.

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

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Izveidots vietnē Doitong

Doitong kopienas publiskie darbi, kas izveidoti ar Nano Banana Pro. Izmantojiet uzvedni atkārtoti ar vienu klikšķi.

Rādīti publiskie darbi: 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 Pixar ---. Крупный план экрана ноутбука, на котором открыт яркий соврем...

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

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 ---. Анна в центре своей комнаты, которая теперь преобразилась: н...

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

Strong rule: style --- 3D Pixar ---. Просторный современный офис в небоскребе с огромными панорам...

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

Нужен кадр вот к этой секунде 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,...

Par Nano Banana Pro

Uz Gemini balstīts attēlu modelis, kas pirms zīmēšanas analizē uzvedni, tāpēc plakāti, infografikas, ēdienkartes un produktu attēli ar salasāmu tekstu izdodas daudz biežāk nekā tikai difūzijas modeļiem. Izvēlieties 1K, 2K vai 4K izvadi un jebkuru izplatītu malu attiecību; pēc izvēles modelis var meklēt tīmeklī, lai balstītu attēlu uz aktuāliem faktiem. Līdz četriem attēliem vienā pieprasījumā.

Parametri

Nosūti vai nu kanonisko nosaukumu, vai vietējo nosaukumu, bet ne abus. Kan啤niskie nosaukumi

NosaukumsTips NoklusējumsAtļauts Apraksts
promptobligāts
Tipsstring
≤ 50 000 rakstzīmju≥ 3 rakstzīmes
Teksta norādes attēla ģenerēšanai.
num_imagesneobligāts num_outputs
Tipsinteger
Noklusējums1
1 – 4
Ģenerēšanai pieprasītais attēlu skaits.
seedneobligāts
Tipsinteger | null
Sākumvērtība, kas inicializē nejaušo skaitļu ģenerēšanu.
aspect_rationeobligāts
Tipsenum
Noklusējums1:1
auto21:916:93:24:35:41:14:53:42:39:16
Iegūstamā attēla malu attiecība.
output_formatneobligāts
Tipsenum
Noklusējumspng
jpegpngwebp
Iegūtā attēla faila formāts.
safety_toleranceneobligāts
Tipsenum
Noklusējums4
123456
Iestatiet satura moderēšanas toleranci no vismazāk ierobežojošā līmeņa 6 līdz stingrākajam līmenim 1, kas bloķē lielāko daļu satura.
system_promptneobligāts
Tipsstring
Noklusējums
≤ 50 000 rakstzīmju
Neobligātas visam pieprasījumam piemērojamas personības un izvades stila norādes, kas Gemini tiek nodotas kā sistēmas instrukcija vai ar OpenAI saderīgiem nodrošinātājiem kā sistēmas ziņojums. Ja vērtība ir tukša, šai instrukcijai nekas netiek nosūtīts.
resolutionneobligāts
Tipsenum
Noklusējums1K
1K2K4K
Izvades attēla izšķirtspēja.
limit_generationsneobligāts
Tipsboolean
Noklusējumstrue
Eksperimentāls ģenerēšanas ierobežojums: aktivizējot `True`, tiek ignorētas visas attēlu skaita norādes uzvednē un katra uzvednes kārta tiek ierobežota līdz 1 ģenerēšanai.
obligāts Kan啤niskais nosaukums, arī pieņemts

Izvade

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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
images
array of object {url, content_type, file_name, file_size, width, height}Modeļa ģenerētie attēli.
description
stringĢenerētajiem attēliem pievienotais apraksts.

Vairāk modeļu: Teksts uz attēlu

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/nano-banana-pro.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt