lucataco/featured-vid

Convert videos down to a web friendly size while maintaining video quality

Public
13 runs

Run lucataco/featured-vid with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
video
string
Input video file to compress
target_size_mb
number
2

Min: 0.1

Max: 50

Target file size in megabytes
quality
None
medium
Compression quality preset
output_format
None
mp4
Output video format

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/W60reUVCYCxeZElSsYClAVyAx5YP1NsV2exSmkbmOSpKeF8VB/compressed_video.mp4'