Frame Interpolation

Use AI interpolation to increase the frame rate of a video and improve playback smoothness.

⚠️ Note: The current implementation validates that the source single-side resolution does not exceed 4000 px. If the source resolution is too large, compress the video first.

Create Task

Basic Information

ItemValue
Request MethodPOST
Request Path/task/video_interpolate
Content-Typeapplication/json
AuthenticationRaw API key in the Authorization header

Request Body

ParameterTypeRequiredDefaultDescription
file_idstringYes-Uploaded video file ID
multipliernumberNo2Interpolation multiplier. Supported values: 2, 3, 4

Request Example

curl -X POST https://api.ai-mcn.tv:10000/task/video_interpolate \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "537489015178246",
    "multiplier": 2
  }'

Success Example

{
  "code": 200,
  "msg": "success",
  "data": {
    "task_id": "537489015178247",
    "task_type": "video_interpolate",
    "status": "queued"
  }
}

Query Task Result

Basic Information

ItemValue
Request MethodGET
Request Path/task/video_interpolate/{task_id}
AuthenticationRaw API key in the Authorization header

Output Result (output_result)

ParameterTypeDescription
file_idstringProcessed video file ID
download_urlstringDownload 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:00:50Z"
  }
}

Error Codes

Error CodeHTTP StatusDescriptionResolution
6013400Missing file_idPass the file_id field
6016400Invalid multiplierUse 2, 3, or 4
6022400Source resolution exceeds the 4000 px limitLower the source resolution
6004404File not foundVerify the file_id
6502401Authentication failedCheck the Authorization header
6202402Insufficient balanceRecharge in the Dashboard