FocalAPI 文档
API 参考视频创作

查询视频生成任务(ark 原生端点)

GET
/api/v3/contents/generations/tasks/{task_id}

轮询任务状态:queued/running/succeeded/failed/cancelled;成功时 content.video_url 为结果地址。

授权

BearerAuth
授权Bearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

位置: header

路径参数

task_id*string

响应主体

application/json

curl -X GET "https://example.com/api/v3/contents/generations/tasks/string"
{  "id": "task_abc123",  "model": "dola-seedance-2-0-260628",  "status": "succeeded",  "content": {    "video_url": "https://example.com/v.mp4"  }}