The video frame interpolation operator is used to increase the frame rate of input videos by generating intermediate frames to enhance playback smoothness, and outputs a new high-frame-rate video file. You can specify the target frame rate as needed, select the interpolation mode, and decide whether to retain the original audio stream. This operator is suitable for scenarios that require improved motion smoothness, exporting higher frame rate versions, or standardizing video output specifications.
operator_id:las_video_interpolation
target_fps must be greater than 0 and cannot be lower than the source video frame rate.ultra-fast, fast, and medium, balancing speed and quality. Flexible settings allow low-frame-rate videos to be increased to the specified target frame rate.Details | Detailed requirements |
|---|---|
Supported input data modalities |
|
Input format: Video |
|
Input path requirements | Provide input data to the operator via the request parameter
|
Details | Detailed requirements |
|---|---|
Output data modalities |
|
Output path: TOS | Specify the storage path for the operator's output results via the request parameter
|
Billing standards
Sub-items | Billing standard description |
|---|---|
Billing item | Billing is calculated based on the duration of the output video. When billing, the duration is adjusted using a frame rate coefficient according to the output video frame rate. |
Billing type | Pay-as-you-go, unit: |
Unit price | The unit price depends on the selected video frame interpolation mode and is tiered according to the output video resolution range. |
Billing details
Billing formula: Total cost = Unit price * Billable usage = Unit price * (Video duration * frame rate coefficient)
Sub-scenarios | Output video resolution tier range | Unit price | Frame rate coefficient |
|---|---|---|---|
Mode: ultra-fast/fast | Output video resolution ≤ 720p | 0.5 CNY/minute | Different video frame rates correspond to different frame rate coefficients:
|
720p < Output video resolution ≤ 1080p | 1.5 CNY/minute | ||
1080p < Output video resolution ≤ 1440p | 2 CNY/minute | ||
1440p < Output video resolution | 5 CNY/minute | ||
Mode: medium | Output video resolution ≤ 720p | 2 CNY/minute | Different video frame rates correspond to different frame rate coefficients:
|
720p < Output video resolution ≤ 1080p | 4 CNY/minute | ||
1080p < Output video resolution ≤ 1440p | 7 CNY/minute | ||
1440p < Output video resolution | 12 CNY/minute |
Billing example: When using the medium mode for video frame interpolation, with the actual output video resolution at 720p, a video duration of 5 minutes, and a frame rate of 120 fps:
120/30 = 4.Cost = Unit price * (Video duration * coefficient) = 2 CNY/minute * (5 minutes * 4) = 40 CNYInvoke the video frame interpolation operator to submit asynchronous tasks to increase the frame rate of input videos and upload the results.
You can call the Submit interface to submit asynchronous tasks.
Parameter | Type | Required | Example value | Description |
|---|---|---|---|---|
operator_id | string | Yes | las_video_interpolation | Operator ID. |
operator_version | string | Yes | v1 | Operator version. |
data | VideoInterpolationReqParams | Yes | Video frame interpolation request parameters. |
Parameter | Type | Example value | Description |
|---|---|---|---|
metadata | object | Request metadata. |
# Please set OUTPUT_TOS_PATH to a tos path that is writable by this account export OUTPUT_TOS_PATH="tos://path/to/interpolation_results" curl --location "https://operator.las.ap-southeast-1.volces.com/api/v1/submit" --header "Content-Type: application/json" --header "Authorization: Bearer $$LAS_API_KEY" --data '{ "operator_id": "las_video_interpolation", "operator_version": "v1", "data": { "video_url": "https://${LAS_TOS_BUCKET}.${TOS_ENDPOINT}/operator_cards_serving/public/${LAS_ENVIRONMENT}/las_video_interpolation/v1/sample_input.mp4", "output_tos_path": "$$OUTPUT_TOS_PATH", "target_fps": 60.0, "mode": "fast" } }'
{ "metadata": { "task_id": "task-20260413190000-abc123", "task_status": "PENDING", "business_code": "0", "error_msg": "" } }
HttpStatusCode | Error code | Error message | Description |
|---|---|---|---|
|
|
| The video URL is invalid. |
|
|
| The video file is invalid or cannot be parsed. |
|
|
| Video download failed. |
|
|
| Video format not supported. |
|
|
| Video duration exceeds the maximum limit. |
|
|
| The video file is too large. |
|
|
| The parameter is invalid. For example, |
|
|
| Video processing timeout. |
|
|
| Failed to upload the output video. |
|
|
| TOS access failed. |
|
|
| Authorization is missing. |
|
|
| The API is invalid. |
|
|
| Internal server error, such as model inference failure or failure to generate the output video. |
You can call the Poll API to query the execution status and result of the video frame interpolation task. When metadata.task_status is COMPLETED, you can obtain the output video URL from the data field in the response.
Name | Type | Required | Example value | Description |
|---|---|---|---|---|
|
| Yes |
| Operator ID. |
|
| Yes |
| Operator version. |
|
| Yes |
| Task ID returned by the Submit API. |
Parameter | Type | Example value | Description |
|---|---|---|---|
metadata | object | Request metadata. | |
data | VideoInterpolationResponse | Returned data (result URL, whether processed, and so on). |
curl --location "https://operator.las.ap-southeast-1.volces.com/api/v1/poll" --header "Content-Type: application/json" --header "Authorization: Bearer $$LAS_API_KEY" --data '{ "operator_id": "las_video_interpolation", "operator_version": "v1", "task_id": "task-20260413190000-abc123" }'
{ "metadata": { "task_id": "task-20260413190000-abc123", "task_status": "COMPLETED", "submit_time": "2026-07-21T16:04:06+08:00", "end_time": "2026-07-21T16:04:06+08:00", "business_code": "0", "error_msg": "" }, "data": { "output_video_tos_url": "tos://path/to/interpolation_results/sample_output_60fps.mp4", "output_video_url": "https://path/to/interpolation_results/sample_output_60fps.mp4" } }
HttpStatusCode | Error code | Error message | Description |
|---|---|---|---|
|
|
| The video URL is invalid. |
|
|
| The video file is invalid or cannot be parsed. |
|
|
| Video download failed. |
|
|
| Video format not supported. |
|
|
| Video duration exceeds the maximum limit. |
|
|
| Video duration is too short. |
|
|
| The video file is too large. |
|
|
| The parameter is invalid. |
|
|
| Video processing timeout. |
|
|
| Failed to upload the output video. |
|
|
| TOS access failed. |
|
|
| Authorization is missing. |
|
|
| The API is invalid. |
|
|
| Internal server error. |