Query Task

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 parameterTypeRequiredDescription
taskIdstringYesThe 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.

FieldDescription
taskIdBoard task ID.
statusinit, running, success, or fail.
boardIdBoard that contains the task.
boardTaskIdsArray containing this Board task ID.
creditsCostDecimal credit cost, for example 17.27. Null when a cost is not available yet. Do not parse it as an integer.
errorCode, errorMsgPresent when the task fails.
resultFinal media. Included only when status is success. The video URL is result.originVideo.url.