About this endpoint
What it does
Compresses an uploaded video file and returns the compressed video as a binary download. The request sends the source video and an optional compression percentage; the response is the resulting file content.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | Video file upload. Supported formats: .mp4, .mkv, .avi, .mov, .flv, .3gp, .webm. |
| compression_percentage | Integer | No | Compression strength from 0 to 100. Default: 50. Higher values produce a smaller file with lower quality. |
Response
Returns a binary file download containing the compressed video. The response schema is a single binary string, so there is no JSON wrapper or response fields to document.