Get the status, video URL, and actual usage of a native Wan 3.0 task.
GET /api/v1/tasks/{task_id}
Auth: Bearer sk-xxx
Use the `output.task_id` returned by native submission and an API Key for the same account. Poll the existing task while it is `PENDING` or `RUNNING`. Read `output.video_url` and top-level `usage` after `SUCCEEDED`. Do not resubmit an accepted task. The GET request does not need an async header.
task_id | string | required | 原生提交响应中的 `output.task_id`。 |
200 — 返回原生任务状态;示例为成功终态,处理中与失败响应见下方附录。401 — API Key 缺失或无效。404 — 任务不存在或不属于当前账号。curl --request GET 'https://api.router.ai/api/v1/tasks/00000000-0000-4000-8000-000000000001' \
-H 'Authorization: Bearer <TOKEN>'The success, pending, and failed JSON examples above use fictional IDs, prompts, timestamps, and URLs. `usage.duration` is the billable total of input reference video and generated output; `input_video_duration` and `output_video_duration` are its parts. A missing or unauthorized task returns HTTP 404 `TaskNotFound`; an expired upstream task in Alibaba Cloud's documentation may instead show `UNKNOWN`. A network timeout does not prove failure. Save the video soon after success.