--image-duration
- CLI
- --image-duration
- REST
- image_duration
Records an animated GIF, APNG or AVIF for specified seconds.
Example
zshot -f teatime.gif \
--image-duration 3 \
https://zshot-cli.com/example_assets/teatime/{
"url": "https://zshot-cli.com/example_assets/teatime/",
"output_type": "gif",
"image_duration": 3
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/teatime/","output_type":"gif","image_duration":3}' \
-o teatime.gif