Pāriet uz saturu

Nano Banana 2

Integrēt

Modeļa id nano-banana-2
# 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?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "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"

Šis pieprasījums: 0,08 $ 80 API kredītu · ≈ 8,61 ₽ Izpildīt šajā lapā

Iegūt API atslēgu
Google Teksts uz attēlu 4K izvadelīdz 4K #typography#fast#wide-formats

Google ātrais Gemini attēlu modelis — no ātriem 0.5K uzmetumiem līdz 4K, ar īpaši platām malu attiecībām un tīmekļa kontekstu.

Piemēri

Izvade · ~19 s
Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through ...

UzvedneHyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.

1K0,08 $ · 80 API kredītu

X lietotāja @Strength04_X 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 1538 / 50000

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

resolution

Izvades attēla izšķirtspēja.

thinking_level

Izvēlieties 'minimal' vai 'high', lai aktivizētu modeļa domāšanu attiecīgajā līmenī un iekļautu tās rezultātus ģenerēšanā; ja līmenis nav iestatīts, domāšana paliek atspējota.

noklusējums auto

Tieši izvēlieties ģenerētā attēla malu attiecību, tostarp galējās opcijas 4:1, 1:4, 8:1, 1:8, vai izvēlieties "auto", lai modelis to noteiktu pēc uzvednes.

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-2?wait=20 cena → 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?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "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"

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 2. Izmantojiet uzvedni atkārtoti ar vienu klikšķi.

Rādīti publiskie darbi: 16
Art style: Glamour 3D. A clearly recognizable likeness of Семен — keep their real face shape, ski...

Art style: Glamour 3D. A clearly recognizable likeness of Семен — keep their real face shape, skin tone, hairstyle, build and any signature look (hair, kit, number). 25лет статный 180 русые волосы зелёные глаза немного есть борода. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT...

Art style: Cinematic Realistic. Tight medium shot. Daniel reaches out and gently places a solid r...

Art style: Cinematic Realistic. Tight medium shot. Daniel reaches out and gently places a solid reassuring hand on Mark's shoulder, giving it an affectionate squeeze. Mark looks down at the hand, then raises his eyes to meet Daniel's gaze, lingering eye contact, warm cinematic key light, soft...

Art style: 3D Pixar. Pixar 3D style, vibrant karaoke club lounge Billionaire, neon lights, glowin...

Art style: 3D Pixar. Pixar 3D style, vibrant karaoke club lounge Billionaire, neon lights, glowing atmosphere. Beautiful cute animated Kazakh girl sitting with friends at a table, looking with sparkling starry eyes at a handsome charming guy sitting nearby, magical colorful ambience...

Art style: Children's Book. Full-length view, the entire figure visible from head to feet, standi...

Art style: Children's Book. Full-length view, the entire figure visible from head to feet, standing upright and centered — a small, very fluffy kitten with soft downy fur in warm grey-and-cream tabby tones, faint stripes along the back and tail. It has an oversized round head, huge expressive...

Art style: Реалистичный кинематографичный. Крупный план лица женщины-эксперта, завершающей свою м...

Art style: Реалистичный кинематографичный. Крупный план лица женщины-эксперта, завершающей свою мысль. Она смотрит прямо в объектив, ее взгляд выражает поддержку. Волосы обрамляют лицо, создавая мягкую рамку. Детали макияжа и текстура губной помады видны отчетливо. На заднем плане огни торгового...

Art style: 3D Pixar. Артём открывает входную дверь из дома и выходит на яркую, оживленную и красо...

Art style: 3D Pixar. Артём открывает входную дверь из дома и выходит на яркую, оживленную и красочную городскую улицу, наполненную энергией и солнечным светом. Артем одет в дорогой классический черный костюм. Стиль Pixar, оптимистичное настроение, широкоугольный объектив....

Art style: 3D Pixar. Тесная ночная комната на верхнем этаже старого дома, окно приоткрыто, за сте...

Art style: 3D Pixar. Тесная ночная комната на верхнем этаже старого дома, окно приоткрыто, за стеклом мерцают далёкие городские огни и влажные крыши после дождя, стол завален радиодеталями, проводами, блокнотами и старым приёмником. Средний план с лёгкого верхнего угла, камера смотрит на Леру у...

Школьный коридор после уроков, на заднем плане видны уходящие ученики. Рома стоит у стены, его ру...

Школьный коридор после уроков, на заднем плане видны уходящие ученики. Рома стоит у стены, его рубашка надорвана, под глазом начинает проступать синяк. Он сжимает кулаки, глядя в пол. Освещение — резкий свет из окна, подчеркивающий его гнев и обиду. Композиция на уровне глаз ребенка, передающая...

Par Nano Banana 2

Ātrāks un lētāks Nano Banana Pro līdzinieks, kas joprojām labi apstrādā tekstu attēlos un ainas ar vairākiem objektiem. Izvade ir no 0.5K priekšskatījumiem līdz 4K, ar malu attiecībām no 1:8 līdz 8:1 reklāmkarogiem un vertikāliem stāstiem. Neobligāta tīmekļa meklēšana balsta attēlu uz aktuāliem faktiem, bet neobligāts augsts domāšanas līmenis pirms zīmēšanas plāno sarežģītus izkārtojumus. 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ējumsauto
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
Tieši izvēlieties ģenerētā attēla malu attiecību, tostarp galējās opcijas 4:1, 1:4, 8:1, 1:8, vai izvēlieties "auto", lai modelis to noteiktu pēc uzvednes.
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
0.5K1K2K4K
Izvades attēla izšķirtspēja.
limit_generationsneobligāts
Tipsboolean
Noklusējumstrue
Eksperimentāls ģenerēšanas ierobežojums, kas aktivizēts var ietekmēt kvalitāti. Ar `True` katra uzvednes kārta tiek ierobežota līdz 1 ģenerēšanai, ignorējot attēlu skaita norādes uzvednē un modeļa ģenerētos starpattēlus.
thinking_levelneobligāts
Tipsenum
minimalhigh
Izvēlieties 'minimal' vai 'high', lai aktivizētu modeļa domāšanu attiecīgajā līmenī un iekļautu tās rezultātus ģenerēšanā; ja līmenis nav iestatīts, domāšana paliek atspējota.
obligāts Kan啤niskais nosaukums, arī pieņemts

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-2",
  "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": "A cozy bookshop window at night with a hand-painted sign reading \"Open Late\", warm light, rain on the glass",
    "aspect_ratio": "4:5",
    "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"
  }
}
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-2.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt