About this endpoint
What it does
Trims a video by taking an uploaded file and cutting it between the specified start and end times, then returns the resulting video as binary output.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The video file to trim. Binary upload. Up to 100 MB. |
| startSeconds | Number | Yes | Start time in seconds. |
| endSeconds | Number | Yes | End time in seconds. |
Response
Returns a binary file containing the trimmed video, not a JSON object.
| Parameter | Type | Description |
|---|---|---|
| binary | String | The response body is binary data containing the trimmed video clip. |


