ByteDance
Seedance 2.5 Preview
Create videos up to 30 seconds, combine as many as 50 multimodal references, and refine specific moments with frame-level control.
https://sjolt.ai/sjolt-ai/v1/bytedance/seedance-2.5/text-to-videoSeedance 2.5 Preview Text to Video API
Create a Seedance 2.5 Preview video task through the sjolt public API.
curl https://sjolt.ai/sjolt-ai/v1/bytedance/seedance-2.5/text-to-video \
-H "Authorization: Bearer $SJOLT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A cinematic tracking shot through a neon-lit night market after rain, with natural crowd movement and synchronized ambience.",
"duration": 10,
"aspect_ratio": "9:16",
"resolution": "720p"
},
"webhook": "https://example.com/webhook"
}'Parameters
| Name | Required | Type | Notes |
|---|---|---|---|
prompt | Yes | string | Non-empty instructions up to 10,000 characters. |
duration | No | integer | 4 to 30 seconds. Defaults to 5. |
aspect_ratio | No | string | 16:9, 9:16, 1:1, 3:4, 4:3, 21:9. Defaults to 16:9. |
resolution | No | string | 480p or 720p. Defaults to 480p. |
| webhook | No | string | Top-level callback URL. |
The reference route requires at least one non-empty reference array. The text route rejects reference-media fields.
Query a task
curl https://sjolt.ai/sjolt-ai/v1/tasks/{task_id} \
-H "Authorization: Bearer $SJOLT_API_KEY"Status values are 0 for running, 1 for succeeded, and 2 for failed. Generated MP4 URLs are returned in data.output_urls.
Webhook callback
If you include a top-level webhook URL in the create-task request, sjolt sends a best-effort POST to that URL when the task reaches a terminal state.
Content-Type: application/json
Succeeded callback:
{
"task_id": "gen_7nz4q8x2",
"status": "succeeded",
"output": {
"output_url_list": [
"https://file.sjolt.ai/output/result.png"
]
},
"error": null
}Failed callback:
{
"task_id": "gen_7nz4q8x2",
"status": "failed",
"output": {
"output_url_list": []
},
"error": "failure reason"
}Webhook delivery is best-effort. Query https://sjolt.ai/sjolt-ai/v1/tasks/{task_id} for final status and result URLs.