FocalAPI Docs
API 参考视频创作

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

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

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

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

task_id*string

Response Body

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"  }}