Generate a video summary
Use FastPix to generate AI-powered summaries that produce concise abstracts and key insights from new or existing videos.
Use FastPix to generate AI-powered summaries that produce concise abstracts and key insights from new or existing videos.
Viewers skip videos when they cannot tell what the content covers, and search engines struggle to rank pages with no text description of the media. FastPix solves this by generating AI-written summaries through its multimodal in-video AI pipeline, producing concise abstracts that improve discoverability and help viewers decide whether to watch. Enable summaries at upload time with the summary object, or run them on existing assets with a PATCH to /on-demand/<mediaId>/summary. FastPix emits the video.mediaAI.summary.ready webhook when the abstract is ready.
mediaId in your workspacevideo.mediaAI.summary.ready eventsmediaId is the unique identifier FastPix assigns to every uploaded asset.summaryLength field controls the target word count of the generated abstract: minimum 30, maximum 250, default 100. FastPix runs summarization asynchronously and signals completion through a webhook event rather than blocking the upload response.FastPix’s create media from URL and upload media from device endpoints accept a summary object that triggers AI summarization as part of the ingestion pipeline.
POST request to the /on-demand endpoint with the summary object included.Include these parameters in the request:
"true" to enable the summary generation process.120). This value determines how concise or detailed the abstract is.Request body for creating new media from URL
Request body for creating new media by direct upload
When uploading media directly from a device or local storage, the inputs section carries the upload details and the payload looks like this:
Key considerations
summaryLength is provided, the default length is 100 words.To generate a summary on an asset already stored in your workspace, call the generate video summary endpoint.
mediaId for the existing media.PATCH request to the /on-demand/<mediaId>/summary endpoint, replacing <mediaId> with the ID of the existing asset.Example request body:
Use summaryLength to match the abstract to the viewer surface.
For dense source material: lectures, panels, multi-speaker interviews, raise summaryLength so the model retains context. For short clips or marketing cutdowns, a lower value keeps the abstract on-topic.
To fetch the generated summary for a media asset, call the Get Media by ID endpoint with the mediaId.
You can also subscribe to the video.mediaAI.summary.ready webhook, which fires as soon as the abstract is ready. For the full event schema and sample payload, see video.mediaAI.summary.ready - AI Events.
Example event response
mediaId is correct when calling /on-demand/<mediaId>/summary, an invalid ID returns a 404.summaryLength so the model captures enough context.accessPolicy and maxResolution are optional but help manage access and delivery quality per asset.video.mediaAI.summary.ready webhook or a Get Media by ID poll to retrieve the final abstract.How long does FastPix take to generate a video summary?
Summarization runs after transcoding completes, so total time depends on source duration and encoding load. FastPix signals completion with the video.mediaAI.summary.ready webhook, subscribe to that event rather than polling.
What is the maximum value for summaryLength?
FastPix accepts a summaryLength between 30 and 250 words. Omitting the field produces a 100-word default abstract.
Can I regenerate the summary on an existing asset with a different length?
Yes. Send another PATCH to /on-demand/<mediaId>/summary with the new summaryLength. FastPix regenerates the abstract and emits a fresh video.mediaAI.summary.ready event.
Does FastPix support timestamped summaries or chapter markers?
The summary endpoint returns a single prose abstract. For timestamped segmentation, use the video chapters feature under in-video AI, which produces chapter boundaries alongside the summary.
What language does the generated summary use?
FastPix generates the summary in the dominant spoken language detected in the source audio. If your asset mixes languages, the abstract follows the language with the most speaking time.