Download video
Download a completed Wan 3.0 video.
Download a completed video using its public task ID. A platform API Key is required. The response body is binary, not JSON.
/v1/videos/{task_id}/contentAuthorization
bearerAuth Use the platform API Key: Authorization: Bearer your-api-key.
In: header
Path Parameters
The public task ID returned by the platform. Store it as a string and use it for retrieval and download, not request_id or a nested upstream task ID.
1 <= lengthResponse Body
video/mp4
application/json
application/json
application/json
Steps
- Confirm
status: "completed"using platform retrieval, oroutput.task_status: "SUCCEEDED"using native retrieval. - Put the public task ID returned by creation in the path and use an API Key for the same user at the corresponding API site.
- Save according to the actual
Content-Type; the cURL example writes the file with--output video.mp4.
Downloading does not create a new task. You may also save metadata.url or output.video_url returned by retrieval. Save the video before the URL expires.
An incomplete task may return HTTP 400; a missing or inaccessible task may return HTTP 404. Errors may be JSON containing an error object. Check the HTTP status and content type before treating a saved response as a video.