All models
ByteDance
Video
Available
Seedance 2.0 Mini
Generate videos directly from text descriptions without input images
Image to Video
Text to Video
From 400 credits (≈ ₹400.00) per request.
Parameters
| Parameter | Type | Description |
|---|---|---|
prompt |
string | The text prompt used to generate the video. Required field. (Min length: 3, Max length: 20000 characters) max length 20000 |
first_frame_url |
string | First frame image url or asset://{assetId} (for example: asset://asset-20260404242101-76djj) format: uri |
last_frame_url |
string | End frame image url or asset://{assetId} (for example: asset://asset-20260404242101-76djj) format: uri |
reference_image_urls |
array<string> | Enter a list of image URLs or asset://{assetId} (for example: asset://asset-20260404242101-76djj). Single image requirements: Format: jpeg, png, webp, gif. Aspect ratio (width/height): (0.4, 2.5) Width and height (px): (300, 6000) Size: Single image less than 30 MB. Up to 9 images. |
reference_video_urls |
array<string> | Enter a list of video URLs or asset://{assetId} (for example: asset://asset-20260404242101-76djj). Single video requirements: Video format: mp4, mov. Resolution: 480p, 720p Duration: Single video duration [2, 15] s, maximum 3 reference videos, total duration of all videos not exceeding 15 seconds. Dimensions: Aspect ratio (width/height): [0.4, 2.5] Width/height (px): [300, 6000] Total pixels: [640×640=409600, 834×1112=927408], i.e., the product of width and height must meet the range requirement |
reference_audio_urls |
array<string> | Enter a list of audio URLs or asset://{assetId} (for example: asset://asset-20260404242101-76djj). Single audio requirements: Format: wav, mp3 Duration: Single audio duration [2, 15] s, maximum 3 reference audios, total duration of all audios not exceeding 15 s. Size: Single audio file size not exceeding 15 MB. |
generate_audio |
boolean | Whether to generate audio for the video. - **true**: Generate with audio - **false**: Generate without audio default true |
resolution |
string | Video resolution - 480p for faster generation, 720p for balance one of: "480p", "720p" · default "720p" |
aspect_ratio |
string | Video aspect ratio configuration. Required field. one of: "1:1", "4:3", "3:4", "16:9", "9:16", "21:9", "adaptive" · default "16:9" |
duration |
integer | Video duration in 4-15 seconds or -1. default 5 |
web_search |
boolean | Use online search. Text-to-video only. |
nsfw_checker |
boolean | Defaults to false. When false, no additional content filtering is applied and results are returned directly by the model. |
What you get back
Files arrive in output.files[] as private links that expire, with their type and size.
Use it from your code
# 1. Create the task
curl https://nexus.promptscenes.in/api/v1/tasks \
-H "Authorization: Bearer $NEXUS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "seedance-2.0-mini",
"input": {
"generate_audio": true,
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5
},
"callback_url": "https://your-app.com/webhooks/nexus"
}'
# 2. Poll for the result
curl https://nexus.promptscenes.in/api/v1/tasks/TASK_ID \
-H "Authorization: Bearer $NEXUS_API_KEY"
import os, time, uuid, requests
API = "https://nexus.promptscenes.in/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['NEXUS_API_KEY']}"}
task = requests.post(
f"{API}/tasks",
headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
json={
"model": "seedance-2.0-mini",
"input": {
"generate_audio": True,
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5,
},
"callback_url": "https://your-app.com/webhooks/nexus",
},
).json()
while task["status"] not in ("succeeded", "failed", "cancelled"):
time.sleep(3)
task = requests.get(f"{API}/tasks/{task['id']}", headers=HEADERS).json()
print(task["status"], task.get("output"))
const API = "https://nexus.promptscenes.in/api/v1";
const headers = {
Authorization: `Bearer ${process.env.NEXUS_API_KEY}`,
"Content-Type": "application/json",
};
let task = await fetch(`${API}/tasks`, {
method: "POST",
headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({
"model": "seedance-2.0-mini",
"input": {
"generate_audio": true,
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5
},
"callback_url": "https://your-app.com/webhooks/nexus"
}),
}).then((r) => r.json());
while (!["succeeded", "failed", "cancelled"].includes(task.status)) {
await new Promise((r) => setTimeout(r, 3000));
task = await fetch(`${API}/tasks/${task.id}`, { headers }).then((r) => r.json());
}
console.log(task.status, task.output);
Request
{
"model": "seedance-2.0-mini",
"input": {
"generate_audio": true,
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5
}
}
Response
{
"id": "6f1c…",
"object": "task",
"model": "seedance-2.0-mini",
"status": "succeeded",
"output": {
"files": [
{
"url": "https://…signed…",
"mime": "…",
"size": 0
}
]
},
"estimated_cost": "…",
"charged": "…"
}