FastPix generates on-demand thumbnails that serve as the video previews, social cards, and poster images driving first-click impressions and SEO for your content. Build the image URL from https://images.fastpix.com/{PLAYBACK_ID}/thumbnail.{jpg|png|webp} and control the frame, dimensions, format, and fit mode through query parameters.
playbackId.Before requesting a thumbnail, upload an asset and wait for transcoding to complete.
readyThumbnail requests only succeed after FastPix finishes encoding and packaging the asset.
status is ready.Build the image URL from the playbackId of the ready asset. FastPix serves thumbnails from the images.fastpix.com host.
URL format:
Supported formats are jpg, png, and webp. Use webp when you need smaller payloads on the web without a visible quality drop. If you omit query parameters, FastPix returns a frame from the middle of the video, a sensible default for a poster image.
Add query parameters to the image URL to pick the frame, resize the output, or change the crop behavior. Combine parameters to match your layout, start with defaults and adjust from there.
NOTE
If no parameters are provided, FastPix returns a frame from the middle of the video.
Example:
Thumbnail URLs inherit the accessPolicy of the playbackId. An accessPolicy is the public-or-private setting FastPix stores on each playbackId and applies to every asset derived from it, including images.
For full JWT generation steps, see Generate JWTs for secure media.
NOTE
tokenis required only when theplaybackIdis private.- For a public
playbackId, thetokenparameter is not needed.
Example:
Each fit_mode value trades off aspect-ratio preservation against filling the requested box. Pick one based on the surface where the thumbnail renders.
preserve (default)Retains the source aspect ratio and resizes the frame to fit inside the requested width and height. For a 16:9 source requested at 200x200, FastPix returns a 200x112 image. No distortion, no cropping.
stretchForces the frame to exactly match width and height, ignoring the source aspect ratio. Fills the box but distorts the image. Both width and height are required.
cropResizes the frame to fill width and height, centers on the middle, and crops any excess. Both width and height are required. Use it for uniform grids where subjects are centered in frame.
intellicropRuns a focal-point detector on the frame and centers the crop on the detected subject — faces, products, or other salient objects. Both width and height are required. Choose intellicrop when a generic center-crop cuts off the subject.
padKeeps the source aspect ratio and adds letterbox bars to fill width and height. Both width and height are required. Use pad when you need a fixed aspect ratio container and cannot crop.
NOTE
Use
intellicropfor subject-driven content such as talking-head videos or product shots. Usepadwhen the full frame must remain visible.
How does FastPix pick a frame when I don’t pass time?
FastPix returns a frame from the middle of the video timeline. Pass time in seconds to select any other frame, and combine it with intellicrop to keep the subject centered.
Can I generate animated or storyboard thumbnails?
The thumbnail endpoint returns a single still image in jpg, png, or webp. For animated previews and storyboard sprites used in scrubbing UIs, see the animated GIFs and previews guide.
Why does my thumbnail return an error immediately after upload?
Thumbnails require the asset to reach status: ready. Subscribe to the video.asset.ready webhook or poll the asset before building the image URL.
Do I need a separate token for thumbnails on a private playbackId?
No, FastPix accepts the same signed JWT format used for playback. Pass it in the token query parameter on the image URL. See Generate JWTs for secure media.
Which format should I use for web poster images?
Use webp for modern browsers to reduce payload size while preserving quality. Fall back to jpg where webp is not supported. png is best when you need alpha or sharp text overlays.