AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationWan

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.

GET/v1/videos/{task_id}/content

Authorization

bearerAuth
AuthorizationBearer <token>

Use the platform API Key: Authorization: Bearer your-api-key.

In: header

Path Parameters

task_id*string

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.

Length1 <= length

Response Body

video/mp4

application/json

application/json

application/json

Steps

  1. Confirm status: "completed" using platform retrieval, or output.task_status: "SUCCEEDED" using native retrieval.
  2. 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.
  3. 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.

Alibaba Cloud Wan 3.0 video generation API referenceReference for the model native protocol; platform fields and responses follow this page.