Ffmpeg Api API

Grab the first, middle or last frame of a video as a still image

ffmpeg/api-extract-frame
UtilitiesPredictions

About this model

This is a utility built on FFmpeg, the open-source multimedia toolkit. It does not generate anything: you send a video and choose whether you want the first, the middle or the last frame, and it returns that frame as an image.

Pick it when you need an exact frame from footage you already have, for example the final frame of a generated clip to use as the start image of the next one. For changing how a clip looks, use a restyle or upscale model instead.

In practice, a single request handles up to 60 seconds of video, billed per second of the input.

Use cases

  • Make a thumbnail or poster from a clip
  • Take the last frame of a clip to continue it with an image-to-video model
  • Pull a reference frame for editing or upscaling

Input and output

Input
Video file (MP4, MOV, WebM, M4V or GIF)
Output
JPG still image of the chosen frame
Developer
Utilities
Type
Predictions

Ffmpeg Api request example

This model type has a request format of its own; see the API documentation for details.