Video Enhance

POSThttps://api.newportai.com/api/async/video_super_resolution

The Video Enhance API upscales and improves video quality using advanced super-resolution algorithms. This API enhances video clarity, sharpness, and overall visual quality while preserving the original content.

  • Submit a POST request to the Video Enhance API to obtain a taskId.
  • Submit a POST request to the Polling API to retrieve the enhanced video results.
  • Configure a Callback URL to receive results automatically on completion.

Request Headers

Content-Type string Required

Enum: application/json

Authorization string Required

Bearer authentication token. Example: Bearer {{APIKey}}.

Request Body

srcVideoUrl string Required

The URL of the source video to be enhanced. Supports common video formats (MP4, AVI, MOV, etc.).

Response

code integer

Returns 0 for success, or a specific error code.

message string

Returns "success" or a descriptive error message.

data object
taskId string

The unique identifier for the task. Use this ID with the Polling API to retrieve the enhanced video.

Errors

10192Illegal param

Polling

Use the Polling API to retrieve the processing results.

Callback

Alternatively, you can enable Callback to receive task results automatically upon completion.

0Task Completed
{
    "code": 0,
    "message": "success",
    "data": {
        "task": {
            "taskId": "API-798f72a635ba49c99139d5f17f987448",
            "status": 3,
            "errorCode": "0",
            "reason": "ok",
            "executionTime": 468854,
            "expire": 1778311264178,
            "taskType": "video_super_resolution"
        },
        "videos": [
            {
                "videoUrl": "https://dreamface-resource-cv.oss-accelerate.aliyuncs.com/talking-face/2026-05-09/7458762962984660992.mp4",
                "videoType": "mp4"
            }
        ]
    }
}
Request
cURL
curl -X POST 'https://api.newportai.com/api/async/video_super_resolution' \
  -H "Authorization: Bearer {{key}}" \
  -H 'Content-Type: application/json' \
  -d '{
  "srcVideoUrl": "https://d2t5pyzt5qvy2d.cloudfront.net/api/static_resource/prod/default/mq0MSmKgPGQQsxS9UovqH.mp4"
}'
0Successful
{
    "code": 0,
    "message": "success",
    "data": {
        "taskId": "API-798f72a635ba49c99139d5f17f987448"
    }
}