AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationWan

Retrieve video

Retrieve progress and results for a Wan 3.0 platform video object.

Query using the public task ID returned by creation. The response is a single video object.

GET/v1/videos/{task_id}

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

application/json

application/json

application/json

Read status and video URL

statusMeaning and action
queuedQueued; query again later
in_progressProcessing; query again later
completedGeneration completed; read metadata.url
failedGeneration failed; read any available error and stop polling
unknownUnrecognized task status; do not treat as success

Store the response id; retrieval does not depend on the redundant creation field task_id. Do not infer success from progress, completed_at, or the presence of error. completed_at comes from the platform record update time; use status.

After success, save the video URL or use the video download API. This interface does not return native output/usage; see native retrieval for usage fields.

Polling and error handling

Poll about every 15 seconds and set an overall timeout. Queries read platform task records, so rapid repeats may return the same status. Stopping polling does not cancel generation.

For HTTP 400 with task_not_exist, confirm that the task ID belongs to the API site and use an API Key from the task owner's account. For HTTP 401, resolve authentication before querying again. Use status to determine whether generation succeeded.

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