Hello World animated GIF
POST https://api.shotstack.io/{{ENV}}/render
A very simple hello world example with a title and video clip output as a GIF animation.

Request Body
{"timeline"=>{"background"=>"#000000", "tracks"=>[{"clips"=>[{"asset"=>{"type"=>"html", "width"=>410, "height"=>70, "html"=>"<p data-html-type=\"text\">H E L L O W O R L D</p>", "css"=>"p { color: #ffffff; font-size: 26px; font-family: 'Clear Sans'; text-align: center; }"}, "start"=>4, "length"=>11, "transition"=>{"in"=>"fade", "out"=>"fade"}, "offset"=>{"x"=>-0.3}, "effect"=>"zoomIn"}]}, {"clips"=>[{"asset"=>{"type"=>"video", "src"=>"https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/earth.mp4", "trim"=>5}, "start"=>0, "length"=>15, "transition"=>{"in"=>"fade", "out"=>"fade"}}]}]}, "output"=>{"format"=>"gif", "resolution"=>"hd", "scaleTo"=>"mobile", "quality"=>"low", "fps"=>12}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
cache-control | string | ||
content-type | string | ||
postman-token | string | ||
x-api-key | string |