Query the status and final video of a Video Recast task.
Query Task
GET https://api.topview.ai/v1/common_task/video_recast/task/query
Authenticate with Authorization: Bearer <your-api-key> and Topview-Uid: <your-topview-uid>.
| Query parameter | Type | Required | Description |
|---|---|---|---|
taskId | string | Yes | The result.taskId returned by Submit Task. It must be a Video Recast task your account can access. |
Poll while status is init or running. Wait for success before using the video. An intermediate generation result is not the final output, because the task may still restore the source audio.
| Field | Description |
|---|---|
taskId | Board task ID. |
status | init, running, success, or fail. |
boardId | Board that contains the task. |
boardTaskIds | Array containing this Board task ID. |
creditsCost | Decimal credit cost, for example 17.27. Null when a cost is not available yet. Do not parse it as an integer. |
errorCode, errorMsg | Present when the task fails. |
result | Final media. Included only when status is success. The video URL is result.originVideo.url. |