Seedance 2.0 Fast Reference to Video
التكامل
bytedance/seedance-2.0/fast/reference-to-video
# 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/bytedance/seedance-2.0/fast/reference-to-video?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png"
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": true
}'
# 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/bytedance/seedance-2.0/fast/reference-to-video?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png"
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": true
}),
});
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": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png",
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": True,
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/bytedance/seedance-2.0/fast/reference-to-video", 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/ar/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": "bytedance/seedance-2.0/fast/reference-to-video",
"input": {
"prompt": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png"
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": true
}
}
استدعِ نموذج Seedance 2.0 Fast Reference to Video (bytedance/seedance-2.0/fast/reference-to-video) عبر Doitong API. توثيق الوكلاء: https://doitong.com/ar/developers/models/bytedance/seedance-2.0/fast/reference-to-video.md
POST https://api.doitong.ru/v1/run/bytedance/seedance-2.0/fast/reference-to-video?wait=20
Authorization: Bearer $DOITONG_API_KEY
Content-Type: application/json
{
"prompt": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png"
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": true
}
إذا كانت حالة الاستجابة "queued" أو "running"، فأرسل طلبات GET إلى https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20 حتى تصبح "succeeded"؛ توجد الملفات في outputs[].url. يعيد POST https://api.doitong.ru/v1/quote/bytedance/seedance-2.0/fast/reference-to-video مع نفس النص الأساسي السعر الدقيق قبل التشغيل.
هذا الطلب: 0.565 $ 565 رصيد API · ≈ 60.63 ₽ تشغيله في هذه الصفحة
مفتاح API الجديد الخاص بك. يظهر الآن فقط، وهو مُدرج بالفعل في الشيفرة وفي حقل مفتاح API أدناه. احتفظ به سريًا: لا تضعه أبدًا في شيفرة تعمل في المتصفح.
أمثلة
المطالبةCreate an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions. SCENE 1 — THE HUSKY APPROACHES A beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur. SCENE 2 — SOMETHING MOVES The Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression. SCENE 3 — THE SURPRISE A tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture. SCENE 4 — THE ADORABLE MOMENT The brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition. SCENE 5 — THE HEARTWARMING ENDING Both bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light. 🎥 Camera & Quality Instructions Photorealistic animal fur, eyes, whiskers, paws, and facial expressions. Natural animal anatomy and believable movement. Smooth cinematic tracking shots with realistic depth of field. Golden-hour lighting with cool blue shadows across the snow. Realistic snow particles, pawprints, and subtle wind. Natural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements. No dialogue, text, subtitles, logos, or watermarks. No cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions. Maintain consistent animal appearances throughout the entire video.
إنشاء طلب
تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.
/run/bytedance/seedance-2.0/fast/reference-to-video?wait=20
عرض السعر → 0.565 $
# 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/bytedance/seedance-2.0/fast/reference-to-video?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png"
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": true
}'
# 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/bytedance/seedance-2.0/fast/reference-to-video?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png"
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": true
}),
});
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": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png",
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": True,
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/bytedance/seedance-2.0/fast/reference-to-video", 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": "bytedance/seedance-2.0/fast/reference-to-video",
"input": {
"prompt": "Create an ultra-realistic cinematic video of a beautiful black-and-white Siberian Husky with striking blue eyes exploring a snowy mountain landscape at sunset. The environment features pristine white snow, snow-covered pine trees, enormous snow-covered rocks, distant blue mountains, and warm golden sunlight illuminating the snow. Every animal must look completely realistic, with detailed fur, natural movements, and believable interactions.\n\nSCENE 1 — THE HUSKY APPROACHES \nA beautiful black-and-white Siberian Husky walks slowly through deep, powdery snow. Its paws sink naturally into the snow, sending tiny snow particles into the air. The camera follows the dog from a low angle as it lowers its head and sniffs the ground curiously. Warm sunset light illuminates its fur.\n\nSCENE 2 — SOMETHING MOVES \nThe Husky suddenly notices movement near a large snow-covered rock. It stops, raises its head, and turns its blue eyes toward the rock. Its ears stand upright, and its nose twitches as it investigates. The camera smoothly moves closer to capture its curious expression.\n\nSCENE 3 — THE SURPRISE \nA tiny, fluffy brown bunny cautiously peeks out from behind the rock. A second, smaller white bunny appears just behind it. Both rabbits have realistic fur, twitching noses, upright ears, and tiny paws. The Husky watches them with curiosity while maintaining a natural, relaxed posture.\n\nSCENE 4 — THE ADORABLE MOMENT \nThe brown bunny hops forward through the fresh snow, followed by the tiny white bunny. The Husky gently lowers its head toward them, sniffing the snow nearby. The rabbits pause and look toward the dog. Their contrasting sizes create a beautiful cinematic composition.\n\nSCENE 5 — THE HEARTWARMING ENDING \nBoth bunnies hop closer to the Husky. The dog remains calm and gently tilts its head, watching their movements with curious blue eyes. The camera slowly pulls back to reveal the three animals together in the glowing snowy landscape, surrounded by majestic mountains and warm sunset light.\n\n🎥 Camera & Quality Instructions\n\nPhotorealistic animal fur, eyes, whiskers, paws, and facial expressions.\n\nNatural animal anatomy and believable movement.\n\nSmooth cinematic tracking shots with realistic depth of field.\n\nGolden-hour lighting with cool blue shadows across the snow.\n\nRealistic snow particles, pawprints, and subtle wind.\n\nNatural ambient audio: soft winter wind, paws crunching in snow, and gentle rabbit movements.\n\nNo dialogue, text, subtitles, logos, or watermarks.\n\nNo cartoon appearance, artificial CGI look, distorted anatomy, duplicated animals, or sudden scene transitions.\n\nMaintain consistent animal appearances throughout the entire video.",
"images": [
"https://content.doitong.com/dev-api/2026/10/21/req_8iod92yjmwgt23lnwd9b32aw/0-tum_e2KxIyKfiLcxMKSh9_WqMV3cYt.png"
],
"resolution": "480p",
"duration": "5",
"aspect_ratio": "16:9",
"generate_audio": true
},
"wait_seconds": 20
}
}
}
تشغيل هذا الطلب
يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API
أُنشئت على Doitong
أعمال عامة أُنشئت باستخدام Seedance 2.0 من مجتمع Doitong. أعد استخدام موجّه بنقرة واحدة.
فيديو
A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling around her face. She’s wearing glossy, high-tech neon visor goggles with a vivid color gradient — bright yellow, orange, and pink reflecting glowing city lights. Her expression is confident and...
فيديو
Ultra-realistic scene featuring miniature construction workers in orange vests and hard hats, actively working on a giant [pizza]. The tiny workers are using small tools, cranes, and machines to [assemble]. The [pizza] is placed on a metal surface or kitchen countertop. Steam or particles rise...
فيديو
Two sandboarders racing down massive golden sand dunes, carving aggressively in wide S-curves, heading directly toward the camera in a low, dramatic angle. They are captured in mid-motion, kicking up thick trails of sand behind their boards. Both riders wear full protective sandboarding suits in...
فيديو
A high-fashion cinematic video scene in slow motion, set on a wide white desert with fine rippled sand under a deep blue sky. A tall Black male model and a woman walk together in full-body view, directly toward the camera. The male model wears a dramatic flowing red trench coat, matching tailored...
فيديو
A fashionable young woman with black hair, walking confidently down a modern city street. She is wearing stylish everyday fashion — a black turtleneck top, oversized gray blazer, and wide-leg black trousers with chunky black boots. Her outfit is monochrome, mostly black and gray, with minimalist...
فيديو
Scene: On a large metal grill surface, miniature construction workers in orange safety vests and hard hats are preparing a giant steak. The raw meat, marbled and richly textured, rests across the hot grill. Some workers are spreading seasoning using tiny wheelbarrows filled with salt and pepper,...
فيديو
Subject: Young woman with closed eyes Context: Surrounded by goldfish swimming in the air Action: Portraiture in a dreamy aesthetic Style: Ethereal, artistic, reminiscent of fine art photography Camera motion (optional): Composition (optional): Shallow depth of field Ambiance (optional): Soft...
فيديو
photorealistic, live-action film, real actress, ARRI Alexa look, desaturated cold tones, soft natural lighting, subtle dust in air, volumetric haze, consistent city destruction young fragile woman, pale skin, long dark ash-blonde hair, slightly messy, dirty torn gray nightgown, barefoot, natural...
فيديو
Subject: Young man with a beard, large iridescent soap bubbles. Context: Outdoor park at sunset, blurred green foliage. Action: Man gently blows a large bubble from suds on his hand, bubbles float up in slow motion. Style: Cinematic, dreamlike, magical realism, ultra realistic. Camera motion:...
فيديو
A cute young woman with curly red hair and freckles, wearing a simple white t-shirt, sitting in a stylish, modern café. She is about to take a bite of a large juicy burger, holding it with both hands. The lighting is warm and cinematic, with soft ambient glows from hanging lights in the...
Фокус камеры плавно переходит с капель на стекле на отражение глаз Артёма, а затем обратно. Капли медленно и ритмично стекают вниз, создавая гипнотический эффект. Вспышка молнии на мгновение освещает все стекло, делая капли похожими на россыпь бриллиантов, после чего всё снова погружается в...
Банан подходит к друзьям у бара, они радостно приветствуют друг друга, ударяя кулачками. Одна из виноградинок делает забавное танцевальное движение на стуле. Камера совершает плавный круговой облет на 360 градусов вокруг компании, подчеркивая их единство. Освещение в клубе ритмично меняется от...
Все три персонажа одновременно подпрыгивают, выполняя сложный акробатический трюк в воздухе. Вокруг них взрываются пушки с конфетти, заполняя кадр блестящими частицами. Камера совершает быстрый облет по дуге, замедляясь в момент наивысшей точки прыжка. Эмоциональный пик подчеркивается резким...
Персонажи медленно идут к выходу, Банан поправляет куртку и смотрит в окно на просыпающийся город. Виноградинки устало, но счастливо переглядываются, идя рядом. Камера плавно поднимается к потолку, пока персонажи постепенно уменьшаются в кадре. Свет в клубе медленно гаснет, оставляя лишь слабые...
A very slow, dramatic zoom out from the close-up of Lenny's sad face to a wide shot of the entire basket, showing just how alone he is. The light on him extinguishes as the scene fades to black. On-screen dialogue (characters speak with lip-sync): Lenny (Lemon): "(Sighs heavily) Someday she'll...
A sharp, dramatic zoom-in on Lenny's face as he delivers the harsh line. The background blurs completely, focusing all attention on his emotional state. On-screen dialogue (characters speak with lip-sync): Lenny (Lemon): "He's just using your kindness! To him, you're just another shiny star in...
حول Seedance 2.0 Fast Reference to Video
أشر إلى ما يصل إلى 9 صور و3 فيديوهات و3 مقاطع صوتية كـ @Image1 و@Video1 و@Audio1 في المطالبة لتحصل على مشهد مدته من 4 إلى 15 ثانية بصوت متزامن بدقة 480p أو 720p. يلزم ملف صورة أو فيديو واحد على الأقل، وبحد أقصى 12 ملفًا إجمالًا؛ ويجب أن تجمع الفيديوهات المرجعية بين 2 و15 ثانية، وألا يتجاوز الصوت المرجعي 15 ثانية. تُحتسب مدة الفيديوهات المرجعية أيضًا، لذا تكلف المقاطع ذات المراجع المرئية أكثر لكل ثانية.
المعاملات
أرسل الاسم الأساسي أو الاسم الأصلي، وليس كليهما. الأسماء الأساسية
promptمطلوب
image_urlsاختياري
images
video_urlsاختياري
videos
audio_urlsاختياري
audios
resolutionاختياري
durationاختياري
aspect_ratioاختياري
generate_audioاختياري
bitrate_modeاختياري
codecاختياري
تقبل معاملات الملفات عنوان URL عامًا يبدأ بـ https://، أو URI من نوع data: يصل حجمه إلى 10 MB، أو file_url لملف تم تحميله. الملفات
المخرجات
{
"id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
"object": "request",
"model": "bytedance/seedance-2.0/fast/reference-to-video",
"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": 565,
"usd": "0.565",
"charged": 565,
"refunded": 0
},
"input": {
"prompt": "@Image1 The white sneaker spins slowly on a wet neon street, puddle splashes in slow motion, punchy beat",
"images": [
"https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg"
],
"duration": 5,
"resolution": "480p"
},
"output": {
"video": {
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
"content_type": "video/mp4",
"file_name": "0-output.mp4",
"file_size": 1843200
},
"seed": 42
},
"outputs": [
{
"type": "video",
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
"content_type": "video/mp4",
"file_size": 1843200,
"width": 1280,
"height": 720,
"duration": 5,
"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"
}
}
حقول المخرجات
- video
- object {url, content_type, file_name, file_size}ملف الفيديو الناتج عن التوليد.
- seed
- integerقيمة البذرة المطبّقة أثناء التوليد.
أنواع Seedance 2.0 الأخرى
مزيد من النماذج: من مرجع إلى فيديو
لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/bytedance/seedance-2.0/fast/reference-to-video.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt