Create video super-resolution task
Create an asynchronous video super-resolution task from a public video URL and target resolution.
POST /api/v1/videos/super-resolution
Asynchronously enhance or upscale a public video using the Volcengine LAS las_video_super_resolution operator. Returns 202 Accepted and a task ID. Poll the existing video status endpoint and download results through the video content endpoint. resolution accepts 720p/1080p/1440p/2160p/4k; the server derives dimensions from the aspect ratio. Alternatively, set target_width and optionally target_height explicitly.
Back to Videos endpoint listRequest parameters
| Field | Type | Required | Description |
|---|---|---|---|
video_url | string | yes | Public HTTP/HTTPS video URL accessible to LAS. |
resolution | string | yes | Target resolution: 720p, 1080p, 1440p, 2160p, or 4k; case-insensitive. |
target_width | integer | no | Optional target width, a positive integer; overrides the width derived from resolution. |
target_height | integer | no | Optional target height, a positive integer. |
output_quality_mode | string | no | Output quality mode: compatible / balanced / master, in increasing quality order; defaults to compatible. This controls only video codec and bitrate: compatible outputs H.264; balanced and master output H.265. Playback may vary by player or context. |
preserve_audio | boolean | no | Whether to retain the input audio track: true (default, retain) / false (discard). |
Request examples
curl "https://api.globalrouter.com/api/v1/videos/super-resolution" \
-H "Authorization: Bearer $GR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"video_url": "https://vod-ai-test.tos-cn-beijing.volces.com/demo/demo_video_drama_hard_subs.mp4",
"resolution": "1080p",
"target_width": 1920,
"target_height": 1080,
"output_quality_mode": "compatible",
"preserve_audio": true
}'Response fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | GlobalRouter video super-resolution task ID. |
polling_url | string | yes | Relative URL for polling task status. |
status | string | yes | Status: pending, in_progress, completed, failed, cancelled, or expired. |
Response example
{
"id": "task_123",
"polling_url": "/api/v1/videos/task_123",
"status": "pending"
}