Circle mask

POST https://api.shotstack.io/{{ENV}}/render

A circle luma matte masks a rectangular image.

Brush luma matte transitions preview

Example MP4

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"=>"luma", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/luma-mattes/static/circle-sd.jpg"}, "start"=>0, "length"=>10}, {"asset"=>{"type"=>"video", "src"=>"https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/footage/cat.hd.mp4"}, "start"=>0, "length"=>10}]}, {"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/night-sky.mp4"}, "start"=>0, "length"=>10}]}]}, "output"=>{"format"=>"mp4", "resolution"=>"hd"}}

HEADERS

KeyDatatypeRequiredDescription
cache-controlstring
content-typestring
postman-tokenstring
x-api-keystring