Trim video
POST https://api.shotstack.io/{{ENV}}/render
Trim the start and/or end of a video to create a new shortened clip.

Request Body
{"timeline"=>{"tracks"=>[{"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/cars-tunnel.mp4", "trim"=>3, "volume"=>1}, "start"=>0, "length"=>6}]}]}, "output"=>{"format"=>"mp4", "resolution"=>"hd"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
cache-control | string | ||
content-type | string | ||
postman-token | string | ||
x-api-key | string |