{"category":"video","endpoint":"https://setget.net/v1/tools/video-to-webp","examples":[{"input":{"video":"sample.mp4","width":240},"title":"A short clip as an animated WebP"},{"input":{"duration":2,"quality":50,"start":1,"video":"sample.mp4"},"title":"Two seconds, smaller file"}],"input_schema":{"additionalProperties":false,"properties":{"duration":{"description":"Length of the animation in seconds. Up to 30; left empty, the video is used to its end.","examples":[3],"maximum":30,"minimum":0.1,"type":"number"},"fps":{"default":12,"description":"Frames per second.","maximum":30,"minimum":1,"type":"integer"},"loop":{"default":true,"description":"Play the animation again and again. Turn off to play it once.","type":"boolean"},"quality":{"default":70,"description":"Picture quality from 1 to 100. Higher looks better and makes a larger file.","maximum":100,"minimum":1,"type":"integer"},"start":{"default":0,"description":"Where the animation begins, in seconds from the start of the video.","examples":[1.5],"minimum":0,"type":"number"},"video":{"description":"The video to turn into an animated WebP.","format":"setget-file","type":"string","x-accept":["video"]},"width":{"default":480,"description":"Width in pixels. The height follows. A video is never made larger.","maximum":1280,"minimum":16,"type":"integer"}},"required":["video"],"type":"object"},"keywords":["mp4 to webp","video to webp","animated webp","webp animation","gif alternative","mov to webp","convert video to webp"],"related":["video-to-gif","video-to-webm","video-trim","image-convert"],"slug":"video-to-webp","summary":"Turn a video clip into an animated WebP: full colour and far smaller than a GIF of the same clip.","tier":"job","timeout_seconds":300,"title":"Video to animated WebP","url":"https://setget.net/tools/video-to-webp"}
