Seedance 2.0 Image to Video
Integra
bytedance/seedance-2.0/image-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/image-to-video?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": false
}'
# 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/image-to-video?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": false
}),
});
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 a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": False,
}
# 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/image-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/mt/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/image-to-video",
"input": {
"prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": false
}
}
Ċempel il-mudell Seedance 2.0 Image to Video (bytedance/seedance-2.0/image-to-video) permezz tad-Doitong API. Dokumentazzjoni għall-aġenti: https://doitong.com/mt/developers/models/bytedance/seedance-2.0/image-to-video.md
POST https://api.doitong.ru/v1/run/bytedance/seedance-2.0/image-to-video?wait=20
Authorization: Bearer $DOITONG_API_KEY
Content-Type: application/json
{
"prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": false
}
Jekk l-istatus tar-rispons huwa "queued" jew "running", agħmel polling fuq GET https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20 sakemm ikun "succeeded"; il-fajls jinsabu f’outputs[].url. POST https://api.doitong.ru/v1/quote/bytedance/seedance-2.0/image-to-video bl-istess body jirritorna l-prezz eżatt qabel it-tħaddim.
Din it-talba: $0.705 705 krediti tal-API · ≈ ₽75.66 Ħaddmu f’din il-paġna
Iċ-ċavetta API l-ġdida tiegħek. Jintwera biss issa u diġà jinsab fil-kodiċi u fil-qasam taċ-ċavetta API hawn taħt. Żommu sigriet: qatt tpoġġih f’kodiċi li jaħdem f’browser.
Eżempji
PromptCreate a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video. Environment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences. 0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats. 3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero. 6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement. 10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field. 13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up. Visual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture. Important: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.
Ibni talba
Il-kontrolli jiġu ġġenerati mill-iskema tal-mudell. Il-kodiċi u l-prezz jaġġornaw hekk kif tibdilhom.
/run/bytedance/seedance-2.0/image-to-video?wait=20
kwotazzjoni → $0.705
# 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/image-to-video?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": false
}'
# 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/image-to-video?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": false
}),
});
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 a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": False,
}
# 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/image-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/image-to-video",
"input": {
"prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
"image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
"resolution": "480p",
"duration": "5",
"generate_audio": false
},
"wait_seconds": 20
}
}
}
Ħaddem din it-talba
Iċ-ċavetta tiegħek tibqa’ f’dan il-browser: tintbagħat biss lid-Doitong API u tiġi ssejvjata (localStorage) biss jekk timmarka Ftakar. Ikseb ċavetta API
Magħmul fuq Doitong
Xogħlijiet pubbliċi magħmula b’Seedance 2.0 mill-komunità ta’ Doitong. Uża prompt mill-ġdid bi klikk waħda.
Vidjo
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...
Vidjo
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...
Vidjo
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...
Vidjo
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...
Vidjo
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...
Vidjo
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,...
Vidjo
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...
Vidjo
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...
Vidjo
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:...
Vidjo
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...
Dwar Seedance 2.0 Image to Video
Seedance 2.0 janima l-ewwel frejm tiegħek f’xena b’diversi shots b’djalogu u effetti tal-ħoss sinkronizzati, filwaqt li jżomm id-dehra tal-immaġni. Żid immaġni tat-tmiem biex tikkontrolla fejn jispiċċa l-klipp. 4 sa 15-il sekonda jew tul awtomatiku, proporzjon tal-aspett adattiv jew fiss, 480p sa 4K.
Parametri
Ibgħat jew l-isem kanoniku jew l-isem nattiv, mhux it-tnejn. Ismijiet kanoniċi
promptmeħtieġ
image_urlmeħtieġ
image
end_image_urlmhux obbligatorju
end_image
resolutionmhux obbligatorju
durationmhux obbligatorju
aspect_ratiomhux obbligatorju
generate_audiomhux obbligatorju
bitrate_modemhux obbligatorju
codecmhux obbligatorju
Il-parametri tal-fajls jaċċettaw URL pubbliku https://, URI data: sa 10 MB, jew file_url ta’ upload. Fajls
Output
{
"id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
"object": "request",
"model": "bytedance/seedance-2.0/image-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": 705,
"usd": "0.705",
"charged": 705,
"refunded": 0
},
"input": {
"prompt": "The fox stops, looks up at the fireflies and leaps to catch one, playful mood, gentle music",
"image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
"duration": 5,
"resolution": "720p"
},
"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"
}
}
Oqsma tal-output
- video
- object {url, content_type, file_name, file_size}Fajl vidjo prodott mill-ġenerazzjoni.
- seed
- integerValur ta’ seed applikat waqt il-ġenerazzjoni.
Varjanti oħra ta’ Seedance 2.0
Aktar mudelli: Immaġni għal vidjo
Għall-aġenti tal-AI: din il-paġna bħala Markdown tinsab fuq https://doitong.com/mt/developers/models/bytedance/seedance-2.0/image-to-video.md. Il-mudelli u l-gwidi kollha: https://doitong.com/developers/llms.txt