1 minute video
POST https://api.shotstack.io/{{ENV}}/render
A 1 minute video edit made from a sequence of stock footage video clips and a title.

Request Body
{"timeline"=>{"background"=>"#000000", "tracks"=>[{"clips"=>[{"asset"=>{"type"=>"html", "width"=>600, "height"=>72, "html"=>"<p data-html-type=\"text\">1 MINUTE SAMPLE VIDEO</p>", "css"=>"p { color: #ffffff; font-size: 48px; font-family: 'Montserrat ExtraBold'; text-align: center; }"}, "start"=>0, "length"=>10, "transition"=>{"in"=>"fade", "out"=>"fade"}}]}, {"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/cars-tunnel.mp4"}, "start"=>0, "length"=>5, "transition"=>{"in"=>"fade"}}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/table-mountain.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/beach-cliffs.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/city-timelapse.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/drone.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/headland-houses.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/road.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/night-sky.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/rain-on-roof.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/lake.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/skate-park.mp4"}, "start"=>"auto", "length"=>5}, {"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/skateboarding.mp4"}, "start"=>"auto", "length"=>5, "transition"=>{"out"=>"fade"}}]}, {"clips"=>[{"asset"=>{"type"=>"audio", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/palmtrees.mp3", "volume"=>1, "effect"=>"fadeOut"}, "start"=>0, "length"=>"end"}]}]}, "output"=>{"format"=>"mp4", "resolution"=>"hd"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
cache-control | string | ||
content-type | string | ||
postman-token | string | ||
x-api-key | string |