mingyan

Video Super Resolution - Query Task

Query the status and result URL of a video super-resolution task

GET/kyyReactApiServer/v1/result/{id}

Video Super Resolution Query Task

Use the task ID to query the status and result of a video super-resolution task. When the task is completed, video_url contains the enhanced video URL.

Authentication

Authentication

Get Key
All requests require a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}

Base URL

https://zcbservice.aizfw.cn/kyyReactApiServer
baseUrl is the shared prefix for all public APIs. The api field in the current page frontmatter shows the full endpoint. Use this baseUrl as the common prefix when reading or composing request paths.

Path Parameters

idstringrequired
Task ID returned by the create task API.
Use the id field returned by the create API as this path parameter.

Response Parameters

idstring
Unique identifier of the video super-resolution task.
objectstring
Object type, always video.
createdinteger
Task creation timestamp.
statusstring
Task status:
  • queued - Queued
  • processing - Processing
  • completed - Completed
  • failed - Failed
video_urlstring
Enhanced video URL, returned when the task is completed.
actualDurationnumber
Actual result video duration in seconds, returned when the task is completed.
errorstring
Error message, returned when the task is failed.

Status Flow

queued

The task has been created and added to the queue.

processing

The video is being enhanced.

completed

The task completed successfully and the result is available through video_url.

Polling Recommendations

Polling strategy:
  • Recommended polling interval: 5-10 seconds
  • Stop polling when status becomes completed or failed
  • Result URLs may be temporary, so save them promptly
Important:
  • The {id} path parameter must use the id returned by the create API
  • Processing time depends on the input video duration and server-side processing settings
  • Result URLs may expire, so download or save them within the validity period