Fade to/from black
POST https://api.shotstack.io/{{ENV}}/render
Dissolve (fade) to and from black between a sequence of video clips.

Request Body
{"timeline"=>{"soundtrack"=>{"src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/palmtrees.mp3", "effect"=>"fadeOut"}, "background"=>"#000000", "tracks"=>[{"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/beach-cliffs.mp4"}, "start"=>0, "length"=>5, "transition"=>{"in"=>"fade", "out"=>"fade"}}]}, {"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/road.mp4"}, "start"=>5, "length"=>5, "transition"=>{"in"=>"fade", "out"=>"fade"}}]}, {"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/table-mountain.mp4"}, "start"=>10, "length"=>5, "transition"=>{"in"=>"fade", "out"=>"fade"}}]}]}, "output"=>{"format"=>"mp4", "resolution"=>"hd"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
cache-control | string | ||
content-type | string | ||
postman-token | string | ||
x-api-key | string |