⌘K

Tencent MPS - Super Resolution

tencent_mps_super_resolution

Tencent MPS Super Resolution leverages intelligent dynamic encoding (Top Speed Codec) combined with AI video enhancement to upscale video quality up to 4K, reducing bitrate while improving VMAF scores by 3-5 points.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Get API Key:

Visit API Key Management Page to get your API Key.

Usage:

Add to request header:

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Model ID to use for the request

Value: tencent_mps_super_resolution


input_url string required

Input video URL for super resolution processing


definition integer required

Template ID for the super resolution processing preset 1682687 — Jitter optimization, 4K, source frame rate, large model enhancement: denoising + super resolution + comprehensive enhancement
1682688 — Strong generation capability, 4K, source frame rate, large model enhancement: denoising + super resolution + comprehensive enhancement

Options: 1682687, 1682688


short integer required

Short side length of the output video in pixels
720 — HD (short side ≤ 720px)
1080 — Full HD (short side ≤ 1080px)
1440 — 2K (short side ≤ 1440px)
2160 — 4K (short side ≤ 2160px)

Options: 720, 1080, 1440, 2160


Polling

Since result generation takes time, you need to poll the task status after creating the task.

The initial response only returns information such as the task ID and initial status. The final result must be obtained by polling the task status endpoint using the task ID.

See the examples on the right for polling requests and responses.

Response Format

error object

Error information, only present when status is failed

code string

Error code

message string

Detailed error message


output array

Generation results, only present when status is completed

content array

List of generated resource content

type string

Resource type

Value: image|video

url string

Processed resource URL

jobId string

Remote task ID


usage object

Usage statistics, only present when status is completed

cost string

Total cost in USD

discount number

Discount amount


metadata object

Metadata information