curl --request GET \
--url https://api.powertokens.ai/v1/videos/{task_id} \
--header 'Authorization: Bearer <token>'{
"id": "cgt-20250331175019-68d9t",
"task_id": "cgt-20250331175019-68d9t",
"object": "video",
"model": "seedance-1-5-pro-251215",
"status": "queued",
"progress": 0,
"created_at": 1742515200
}根据任务 ID 查询异步视频任务的最新状态。
状态流转通常为 queued -> running -> succeeded/failed/expired。当前仅支持查询最近 7 天内创建的任务。
curl --request GET \
--url https://api.powertokens.ai/v1/videos/{task_id} \
--header 'Authorization: Bearer <token>'{
"id": "cgt-20250331175019-68d9t",
"task_id": "cgt-20250331175019-68d9t",
"object": "video",
"model": "seedance-1-5-pro-251215",
"status": "queued",
"progress": 0,
"created_at": 1742515200
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
视频生成任务 ID。
查询成功,返回任务状态。
视频生成任务 ID。
任务 ID(与 id 相同)。
"video"
使用的模型名称。
任务状态。queued: 排队中; running: 处理中; succeeded: 成功; failed: 失败; cancelled: 已取消; expired: 超时。
pending, queued, running, succeeded, failed, cancelled, expired 任务进度(百分比)。
0 <= x <= 100创建时间的 Unix 时间戳(秒)。
状态更新时间的 Unix 时间戳(秒)。
完成时间的 Unix 时间戳(秒),仅在成功或失败时返回。
生成视频的下载链接。有效期 24 小时,请及时保存。仅在状态为 succeeded 时返回。
视频尾帧图像 URL。有效期 24 小时。仅当创建任务时 return_last_frame=true 时返回。
任务的详细元数据。
Show child attributes