Frame Generation

video-generate

Accepted values:

gif

Converts the video to an animated GIF.

You can control and modify the output frames with the clip parameters.

Additionally, the output GIF can be transformed with any existing Image Rendering API parameters. For example, you can use auto=compress,format to use the best compression and format for the GIF, or the fit parameter to control how the GIF is resized.

The maximum output size of the GIF is capped at 640x640 pixels, and will be resized to fit within that size when exceeded.

thumbnail

Generates a static thumbnail image from the video. When video-generate=thumbnail is set, the fm parameter specifies the output image format (e.g. fm=jpg, fm=png).

The thumbnail is extracted from the first non-black frame by default. To extract a thumbnail at a specific time, use video-thumbnail instead, which provides more control over the extraction point.

https://assets.imgix.net/video.mp4?video-generate=thumbnail&fm=jpg
Video converted to a GIF
sandbox-demo