Displays every Nth frame starting with the first frame. The value must be an integer greater than
0 and smaller than the total number of frames.
Given an input N,
interval keeps every Nth frame. The frame numbers are displayed in the examples below to make the missing frames more clear.
This parameter is useful for previewing longer GIF images by only showing a subset of frames. By combining it with
fps, you can generate a preview to a preset duration:
interval = total_frames / (
fps × duration )
The total number of frames, if not known, can be determined by applying
fm=json to the animated GIF to extract its "Frames" metadata:
See the API specification for more information about this parameter's value ranges and format.