Video Super Resolution
Use AI super resolution to enlarge low-resolution video and improve sharpness and detail.
⚠️ Note: The current implementation only supports videos up to 1 minute, and the upscaled single-side resolution must stay within 4000 px.
Create Task
Basic Information
| Item | Value |
|---|
| Request Method | POST |
| Request Path | /task/video_upscale |
| Content-Type | application/json |
| Authentication | Raw API key in the Authorization header |
Request Body
| Parameter | Type | Required | Default | Description |
|---|
file_id | string | Yes | - | Uploaded video file ID |
times | number | No | 2 | Upscale multiplier. Supported values: 2, 3, 4 |
upscale_type | string | No | "Reality" | Upscale type: Reality (live-action footage) or Anime (animation) |
Request Example
curl -X POST https://api.ai-mcn.tv:10000/task/video_upscale \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file_id": "537489015178246",
"times": 2,
"upscale_type": "Reality"
}'
Success Example
{
"code": 200,
"msg": "success",
"data": {
"task_id": "537489015178247",
"task_type": "video_upscale",
"status": "queued"
}
}
Query Task Result
Basic Information
| Item | Value |
|---|
| Request Method | GET |
| Request Path | /task/video_upscale/{task_id} |
| Authentication | Raw API key in the Authorization header |
Output Result (output_result)
| Parameter | Type | Description |
|---|
file_id | string | Processed video file ID |
download_url | string | Download path for the processed video |
Success Example
{
"code": 200,
"msg": "success",
"data": {
"task_id": "537489015178247",
"status": "completed",
"progress": 100,
"output_result": {
"file_id": "537489015178248",
"download_url": "/download/a1/output.mp4"
},
"create_time": "2026-04-05T08:00:00Z",
"update_time": "2026-04-05T08:02:00Z"
}
}
Error Codes
| Error Code | HTTP Status | Description | Resolution |
|---|
6013 | 400 | Missing file_id | Pass the file_id field |
6016 | 400 | Invalid times / upscale_type, or the video is longer than 1 minute | Use 2, 3, or 4; use Reality or Anime; and keep the video within 1 minute |
6022 | 400 | Upscaled resolution exceeds the 4000 px limit | Lower the source resolution or use a smaller multiplier |
6004 | 404 | File not found | Verify the file_id |
6502 | 401 | Authentication failed | Check the Authorization header |
6202 | 402 | Insufficient balance | Recharge in the Dashboard |