Skew transformations
POST https://api.shotstack.io/{{ENV}}/render
A skew transformation that allows you to skew assets.

Request Body
{"timeline"=>{"soundtrack"=>{"src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/berlin.mp3"}, "tracks"=>[{"clips"=>[{"asset"=>{"type"=>"title", "text"=>"Hello World", "style"=>"chunk", "size"=>"large"}, "start"=>0, "length"=>2.5, "transform"=>{"skew"=>{"x"=>0.25}}}, {"asset"=>{"type"=>"title", "text"=>"Hello World", "style"=>"chunk", "size"=>"large"}, "start"=>2.5, "length"=>2.5, "transform"=>{"skew"=>{"x"=>-0.25}}}, {"asset"=>{"type"=>"title", "text"=>"Hello World", "style"=>"chunk", "size"=>"large"}, "start"=>5, "length"=>2.5, "transform"=>{"skew"=>{"y"=>0.25}}}, {"asset"=>{"type"=>"title", "text"=>"Hello World", "style"=>"chunk", "size"=>"large"}, "start"=>7.5, "length"=>2.5, "transform"=>{"skew"=>{"y"=>-0.25}}}, {"asset"=>{"type"=>"title", "text"=>"Hello World", "style"=>"chunk", "size"=>"large"}, "start"=>10, "length"=>2.5, "transform"=>{"skew"=>{"x"=>0.25, "y"=>0.25}}}]}, {"clips"=>[{"asset"=>{"type"=>"image", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/images/wave-barrel.jpg"}, "start"=>12.5, "length"=>2.5, "transform"=>{"skew"=>{"x"=>-0.25}}}, {"asset"=>{"type"=>"image", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/images/wave-barrel.jpg"}, "start"=>15, "length"=>2.5, "transform"=>{"skew"=>{"y"=>0.25}}}, {"asset"=>{"type"=>"image", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/images/wave-barrel.jpg"}, "start"=>17.5, "length"=>2.5, "scale"=>0.5, "transform"=>{"skew"=>{"x"=>0.25, "y"=>0.25}}}, {"asset"=>{"type"=>"video", "src"=>"https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/footage/cat.hd.mp4", "trim"=>5}, "start"=>20, "length"=>2.5, "scale"=>0.5, "transform"=>{"skew"=>{"x"=>0.25, "y"=>0.25}}}]}]}, "output"=>{"format"=>"mp4", "resolution"=>"sd"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
cache-control | string | ||
content-type | string | ||
postman-token | string | ||
x-api-key | string |