Frames Per Second fps

Premium Feature
GIF Frame Rate functionality is currently available for imgix customers on our Premium plans. If you’re interested in this feature, please contact our sales team to get more information on this feature.

Specifies the frame rate of the generated image, so you can change the playback speed.

Frames per second (FPS) works a bit differently for animated GIFs than it does for video. Instead of maintaining a constant rate of speed like video, animated GIFs place a pause between frames to mimic it (represented by the DelayTime and UnclampedDelayTime values in the metadata.

The fps parameter takes a positive integer and overrides these values (including any manual settings in the GIF file) to output the video at the frame rate requested.

fps=10
fps=20

See the API specification for more information about this parameter's value ranges and format.