Circle mask
POST https://api.shotstack.io/{{ENV}}/render
A circle luma matte masks a rectangular image.

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
Key | Datatype | Required | Description |
---|---|---|---|
cache-control | string | ||
content-type | string | ||
postman-token | string | ||
x-api-key | string |