

קיין פּאַסנדיקע רעזולטאַטן. פּרוּווט „video“, „FLUX“ אָדער „webhooks“.
מאָדעלן ווערן געלאָדן…
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"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/nano-banana-pro?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"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"
}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {
"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",
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/nano-banana-pro", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
# 1. Connect once (Claude Code; Cursor, VS Code, Claude Desktop: https://doitong.com/yi/developers/docs/mcp)
claude mcp add --transport http doitong-models https://api.doitong.ru/v1/mcp \
--header "Authorization: Bearer $DOITONG_API_KEY"
# 2. Your agent calls the "run" tool with:
{
"model_id": "nano-banana-pro",
"input": {
"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"
}
}
רופֿט דעם Nano Banana Pro מאָדעל (nano-banana-pro) דורך דער Doitong API. דאָקומענטאַציע פֿאַר אַגענטס: https://doitong.com/yi/developers/models/nano-banana-pro.md
POST https://api.doitong.ru/v1/run/nano-banana-pro?wait=20
Authorization: Bearer $DOITONG_API_KEY
Content-Type: application/json
{
"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"
}
אויב דער ענטפֿער־סטאַטוס איז "queued" אָדער "running", פֿרעגט מיט GET https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20 ביז ער איז "succeeded"; די פֿײַלן זענען אין outputs[].url. POST https://api.doitong.ru/v1/quote/nano-banana-pro מיט דעם זעלבן גוף גיט צוריק די גענויע פּרײַז איידערן לויפֿן.
דער דאָזיקער ריקוועסט: $ 0.15 150 API־קרעדיטן · ≈ ₽ 15.98 לויפֿן עס אויף דער דאָזיקער בלאַט
אײַער נײַער API שליסל. עס ווערט געוויזן בלויז איצט און איז שוין אין דעם קאָד און אין דעם API שליסל־פעלד אונטן. האַלט עס געהיים: לייג עס קיינמאָל נישט אַרײַן אין קאָד וואָס לויפֿט אין אַ בלעטערער.
פּראָמפּט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
קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.
/run/nano-banana-pro?wait=20
פּרײַז → $ 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"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/nano-banana-pro?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"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"
}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {
"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",
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/nano-banana-pro", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run",
"arguments": {
"model_id": "nano-banana-pro",
"input": {
"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"
},
"wait_seconds": 20
}
}
}
אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל
עפֿנטלעכע ווערק געמאַכט מיט Nano Banana Pro פֿון דער Doitong קהילה. ניצט אַ פּינטלעך מיט איין קליק.
Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 55 лет, худощавый, с хищными чертами лица и холодными, расчетливыми глазами. Одет в такой же охотничий костюм, как и граф, но сидит он на нем более небрежно. На лице почти всегда тень нетерпения и жестокости. В стиле кинематографичный,...
Art style: 3D Pixar. Интерьер современного яркого торгового центра с зеркальными витринами и глянцевыми манекенами. На переднем плане Люба с широко раскрытыми глазами и восторженным выражением лица смотрит на пару изящных красных туфель на высоком каблуке, выставленных на подсвеченном пьедестале....
Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 50 лет, статный, с густыми усами и властным, но справедливым взглядом. Одет в дорогой твидовый костюм для охоты, идеально сшитый по фигуре. Держится с достоинством. В стиле кинематографичный, полуреалистичный digital painting с мягким...
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'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 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 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....
Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Dark, shadowy kitchen counter at night. Artur the Avocado stands in the shadows, whispering ominously. Karolina the Strawberry is peeking from behind a napkin holder in the background, looking confused and slightly scared. Moonlight...
Art style: 3D Pixar. Высокогорная расщелина в сером граните, в которую глубоко вогнан старинный кинжал с резной костяной рукоятью. Крупный план, камера под углом 45 градусов фокусируется на деталях металла. Суровое полуденное солнце создает резкие тени на камне. Атмосфера вечного покоя и...
Strong rule: style --- 3D Pixar ---. 30-летний черкесский воин с волевым лицом, пронзительными темными глазами и аккуратной короткой черной бородой. На нем надета традиционная черная шерстяная черкеска с начищенными серебряными газырями на груди и тонкий кожаный пояс с изящным кавказским...
Strong rule: style --- 3D-анимация, Pixar стиль ---. 10-летний мальчик, аристократ, со светлыми взъерошенными волосами и большими, любопытными голубыми глазами. Одет в элегантный, но удобный для ребенка костюм викторианской эпохи: вельветовые бриджи, светлая рубашка и короткий жакет. В стиле...
Strong rule: style --- 3D-анимация, Pixar стиль ---. Две лисицы с огненно-рыжим мехом и умными, блестящими глазами. Они выглядят более изящными и быстрыми, чем обычные английские лисы. Их движения полны дикой грации. В стиле кинематографичный, полуреалистичный digital painting с мягким светом,...
[Lighting: cinematic] Art style: 3D Pixar Animation, Zootopia aesthetic, highly detailed animation. 3D Pixar style. A Scottish Fold cat named Tanya stands petrified in front of a massive holographic vault. A menacing red digital timer on the vault reads 23:58:42. Her fur is standing on end in...
[Lighting: cinematic] Art style: 3D Pixar Animation, Zootopia aesthetic, highly detailed animation. 3D Pixar style. Desperate, Tanya the cat sits in a luxurious taxi speeding through a neon-lit city at night. She's on a video call, her face filled with anxiety, displayed on the phone screen....
[Lighting: cinematic] Art style: 3D Pixar Animation, Zootopia aesthetic, highly detailed animation. 3D Pixar style. Tanya the cat stands with her eyes closed, concentrating intensely. Around her, a beautiful and complex hologram of her 'Matrix of Destiny' forms, with the glowing numbers 13, 4,...
אַ Gemini־באַזירטער בילד־מאָדעל וואָס טראַכט איבערן פּראָמפּט איידערן צייכענען, דערפֿאַר קומען פּאָסטערס, אינפֿאָגראַפֿיקן, מעניוס און פּראָדוקט־בילדער מיט לייענבאַרן טעקסט פיל אָפֿטער ריכטיק אַרויס ווי בײַ מאָדעלן וואָס נוצן בלויז diffusion. קלײַבט 1K, 2K אָדער 4K רעזולטאַט און יעדן געוויינטלעכן אַספּעקט־פֿאַרהעלטעניש, און לאָזט אים אָפּציאָנעל זוכן אויפֿן וועב כּדי צו באַזירן דאָס בילד אויף אַקטועלע פֿאַקטן. ביז פֿיר בילדער פּער בעטן.
שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען
promptפארלאנגט
num_imagesאָפּציאָנעל
num_outputs
seedאָפּציאָנעל
aspect_ratioאָפּציאָנעל
output_formatאָפּציאָנעל
safety_toleranceאָפּציאָנעל
system_promptאָפּציאָנעל
resolutionאָפּציאָנעל
limit_generationsאָפּציאָנעל
enable_web_searchאָפּציאָנעל
{
"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"
}
}
פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/nano-banana-pro.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt