API 参考
查询视频任务
返回当前账号创建的任务。状态为 `pending` 或 `processing` 时,请按退避策略轮询。任务完成后,响应中会包含可长期访问的 Seeddance 视频 URL。
GET
/v1/tasks/{task_id}AuthorizationBearer <token>
在设置中创建的 Seeddance API 密钥。只能从可信服务器发送。
In: header
Path Parameters
task_idstring
POST /v1/videos/generations 返回的本地任务 ID。
Response Body
curl "https://www.seeddance.io/v1/tasks/vid_01JZK7R7KCYQ3T9F33A7K0J6XB" \ -H "Authorization: Bearer sk_sd_example"{
"task_id": "vid_01JZK7R7KCYQ3T9F33A7K0J6XB",
"status": "processing",
"model": "seedance-2.0-fast",
"output": null,
"credits_used": 25,
"error": null,
"created_at": "2026-07-22T08:30:00.000Z",
"completed_at": null
}{
"error": {
"code": "invalid_api_key",
"message": "The API key is invalid, expired, or revoked.",
"param": null,
"request_id": "req_2YgM6pg5oM2WkKpQ"
}
}{
"error": {
"code": "task_not_found",
"message": "Task not found.",
"param": null,
"request_id": "req_2YgM6pg5oM2WkKpQ"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "API rate limit exceeded. Try again later.",
"param": null,
"request_id": "req_2YgM6pg5oM2WkKpQ"
}
}{
"error": {
"code": "internal_error",
"message": "The request could not be completed.",
"param": null,
"request_id": "req_2YgM6pg5oM2WkKpQ"
}
}