cURL
curl --request GET \ --url https://www.anyfast.ai/v1/video/generations/{task_id} \ --header 'Authorization: Bearer <token>'
{ "code": 0, "data": { "task_id": "<string>", "status": "queued", "format": "<string>", "url": "<string>", "error": "<string>" } }
轮询视频生成任务的状态,直到 status 变为 succeeded 或 failed。
status
succeeded
failed
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
创建任务接口返回的任务 ID。
"task_abc123"
查询成功
0 表示成功。
0
Show child attributes