Get Wan 3.0 native video task

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.

Path parameters

task_idstringrequired原生提交响应中的 `output.task_id`。

Responses

Example

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.

API reference