GRGlobalRouter Docs
Console

Videos / POST

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 list

Request parameters

FieldTypeRequiredDescription
video_urlstringyesPublic HTTP/HTTPS video URL accessible to LAS.
resolutionstringyesTarget resolution: 720p, 1080p, 1440p, 2160p, or 4k; case-insensitive.
target_widthintegernoOptional target width, a positive integer; overrides the width derived from resolution.
target_heightintegernoOptional target height, a positive integer.
output_quality_modestringnoOutput 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_audiobooleannoWhether 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

FieldTypeRequiredDescription
idstringyesGlobalRouter video super-resolution task ID.
polling_urlstringyesRelative URL for polling task status.
statusstringyesStatus: pending, in_progress, completed, failed, cancelled, or expired.

Response example

Response example
{
  "id": "task_123",
  "polling_url": "/api/v1/videos/task_123",
  "status": "pending"
}