Skip to main content
Video style transform

Video style transform — Query the result

Poll a video style transform task and retrieve the stylized video

GET
/tasks/{task_id}
cURL
# China North 2 (Beijing). This model is available only in this region.
# API keys are region-specific. See https://docs.qwencloud.com/developer-guides/getting-started/regions
curl --request GET \
  --url https://cn-beijing.maas.qwencloudapi.com/api/v1/tasks/{task_id} \
  --header "Authorization: Bearer $DASHSCOPE_API_KEY"
{
  "request_id": "b67df059-ca6a-9d51-afcd-xxxxxxxxxxxx",
  "output": {
    "task_id": "d76ec1e8-ea27-4038-8913-xxxxxxxxxxxx",
    "task_status": "SUCCEEDED",
    "submit_time": "2024-05-16 13:50:01.247",
    "scheduled_time": "2024-05-16 13:50:01.354",
    "end_time": "2024-05-16 13:50:27.795",
    "output_video_url": "http://xxx/result.mp4"
  },
  "usage": {
    "duration": 3,
    "SR": 720
  }
}
Poll this operation with the task_id returned by Create a task. Keep polling until task_status is SUCCEEDED or FAILED. Supported regions: China North 2 (Beijing) only. Use an API key created in that region and the https://cn-beijing.maas.qwencloudapi.com endpoint. See Regions and endpoints.
The generated video URL is valid for 24 hours. Download the video promptly.

Authorizations

string
header
required

QwenCloud API key. See API keys.

Path Parameters

string
required

The task ID returned by the submit operation.

Response

200-application/json
string

Unique request identifier.

b67df059-ca6a-9d51-afcd-xxxxxxxxxxxx
object
object

Usage statistics. Returned only when the task succeeds.