Enhance the uploaded video. To upload the video, use the upload videos endpoint. After the video is uploaded, use this endpoint to start the video enhancing job. Make sure to set the input_video attribute to the uploaded video’s ID which is returned in the response of the upload videos endpoint.
AI filters are called ml-models in the API docs as they are actually machine learning
models.
See the /api/ml-models to learn more about ML models selection. After choosing the appropriate models, pass the list of their IDs in the ml_models parameter. You should pass at least one AI filter.
Free Previews will process a short segment of the video (10sec) and won’t cost any 🪙 Credits. To enable Free Previews in a job, set the preview = True.
You can use the start_frame to set the starting frame of the Free Preview segment.
end_frame parameter is ignored if preview = True.
To process a whole video, don’t specify start_frame and end_frame and set
preview = False.
To process a specific video segment, set the start_frame to the starting frame of the
segment, and end_frame to the end frame of the segment. end_frame must
be > start_frame.
stabilization_smoothing parameter is ignored unless the AI Stabilization Filter is set as
one of the ML models.
sharpen_strength parameter is ignored unless the AI Sharpen Filter is set as
one of the ML models.
⚠️ IMPORTANT: Your account will be limited by the total storage of all enhanced and uploaded videos. While this limit will be set to a high number (1TB+), we highly recommend you delete the enhanced video after the enhanced video is copied to your server. This ensures you won’t run into storage limit errors in the future.
Token-based authentication with required prefix "Token"
Codec used for the Enhanced video.
libx264 - H264libx265 - HEVC/H265prores_ks - Apple ProReslibx264, libx265, prores_ks Constant Rate Factor (CRF) is encoding quality of the output video. 23 is a good starting value. Set to 20 or lower if you need very high quality encoding (increased file size), or higher than 25 if quality is not paramount (smaller file size). Learn more about CRF.
0 <= x <= 51Represents the qscale parameter in ffmpeg. Used with ProRes codec. Set the value between 9 and 13 for optimal results. Learn more about Qscale
0 <= x <= 32Container format of the Enhanced video.
mov - Movmkv - Mkvmp4 - Mp4mov, mkv, mp4 yuv420p - 8-bit 4:2:0yuv422p - 8-bit 4:2:2yuv444p - 8-bit 4:4:4yuv420p10le - 10-bit 4:2:0yuv422p10le - 10-bit 4:2:2yuv444p10le - 10-bit 4:4:4yuv420p, yuv422p, yuv444p, yuv420p10le, yuv422p10le, yuv444p10le Flag which denotes if job is free preview job or not. Free preview jobs are not charged but the output video is watermarked and only a short video segment is enhanced.
Cuts the video starting from this frame before enhancing it.
0 <= x <= 2147483647Cuts the video ending on this frame before enhancing it.
1 <= x <= 2147483647Once the job is finished, the output_video attribute will be populated with the enhanced video metadata. If the job is canceled or it fails, the output_video attribute will remain null.
-1 - No Resize640 - 360p720 - SD854 - HQ1280 - 720p1920 - 1080p2048 - 2K2560 - QHD3840 - 4K-1, 640, 720, 854, 1280, 1920, 2048, 2560, 3840 -2147483648 <= x <= 2147483647Grain amount to add to the enhanced video in range [0, 1]. 0 is default.
0 <= x <= 1Flag which denotes if the output video will be side by side video of the original and enhanced video.
If AI Stabilization filter is enabled, this parameter controls the intensity of stabilization. Ignored if AI Stabilization is disabled. Use higher values for very shaky videos, and lower strength for less shaky videos. Video may be zoomed in if the video is very shaky.
0 <= x <= 40Target FPS for the enhanced video. If not provided, the original FPS will be used. If provided, should be greater than or equal to the original FPS. If lower, it will be set to the original FPS. IMPORTANT: Won't be applied if the FPS BOOST model isn't passed in ml_models.
1 <= x <= 240Playback speed of the video. 1.0 means the video will play at normal speed. 0.5 means the video will play at half speed with AI interpolated frames in between. IMPORTANT: Won't be applied if the SLOW MOTION model isn's passed in ml_models.
0.1 <= x <= 1If AI Sharpen filter is enabled, this parameter controls the intensity of sharpening. Ignored if AI Sharpen filter is disabled.
0 <= x <= 10-1 - Auto0 - Proxy1 - Lt2 - Standard3 - Hq4 - V44445 - V4444Xq-1, 0, 1, 2, 3, 4, 5 -2147483648 <= x <= 2147483647Job cost in 🪙 Credits.
Codec used for the Enhanced video.
libx264 - H264libx265 - HEVC/H265prores_ks - Apple ProReslibx264, libx265, prores_ks Constant Rate Factor (CRF) is encoding quality of the output video. 23 is a good starting value. Set to 20 or lower if you need very high quality encoding (increased file size), or higher than 25 if quality is not paramount (smaller file size). Learn more about CRF.
0 <= x <= 51Represents the qscale parameter in ffmpeg. Used with ProRes codec. Set the value between 9 and 13 for optimal results. Learn more about Qscale
0 <= x <= 32Container format of the Enhanced video.
mov - Movmkv - Mkvmp4 - Mp4mov, mkv, mp4 yuv420p - 8-bit 4:2:0yuv422p - 8-bit 4:2:2yuv444p - 8-bit 4:4:4yuv420p10le - 10-bit 4:2:0yuv422p10le - 10-bit 4:2:2yuv444p10le - 10-bit 4:4:4yuv420p, yuv422p, yuv444p, yuv420p10le, yuv422p10le, yuv444p10le Flag which denotes if job is free preview job or not. Free preview jobs are not charged but the output video is watermarked and only a short video segment is enhanced.
Cuts the video starting from this frame before enhancing it.
0 <= x <= 2147483647Cuts the video ending on this frame before enhancing it.
1 <= x <= 2147483647Once the job is finished, the output_video attribute will be populated with the enhanced video metadata. If the job is canceled or it fails, the output_video attribute will remain null.
-1 - No Resize640 - 360p720 - SD854 - HQ1280 - 720p1920 - 1080p2048 - 2K2560 - QHD3840 - 4K-1, 640, 720, 854, 1280, 1920, 2048, 2560, 3840 -2147483648 <= x <= 2147483647Grain amount to add to the enhanced video in range [0, 1]. 0 is default.
0 <= x <= 1Flag which denotes if the output video will be side by side video of the original and enhanced video.
If AI Stabilization filter is enabled, this parameter controls the intensity of stabilization. Ignored if AI Stabilization is disabled. Use higher values for very shaky videos, and lower strength for less shaky videos. Video may be zoomed in if the video is very shaky.
0 <= x <= 40Target FPS for the enhanced video. If not provided, the original FPS will be used. If provided, should be greater than or equal to the original FPS. If lower, it will be set to the original FPS. IMPORTANT: Won't be applied if the FPS BOOST model isn't passed in ml_models.
1 <= x <= 240Playback speed of the video. 1.0 means the video will play at normal speed. 0.5 means the video will play at half speed with AI interpolated frames in between. IMPORTANT: Won't be applied if the SLOW MOTION model isn's passed in ml_models.
0.1 <= x <= 1If AI Sharpen filter is enabled, this parameter controls the intensity of sharpening. Ignored if AI Sharpen filter is disabled.
0 <= x <= 10-1 - Auto0 - Proxy1 - Lt2 - Standard3 - Hq4 - V44445 - V4444Xq-1, 0, 1, 2, 3, 4, 5 -2147483648 <= x <= 2147483647