Generate a video summary
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.
Prerequisites
- A FastPix account with an active workspace (Activate your account)
- Your Access Token ID and Secret Key from the FastPix dashboard
- A video or audio asset you can reach by HTTPS URL, or an existing
mediaIdin your workspace - A webhook endpoint if you plan to consume
video.mediaAI.summary.readyevents
Key concepts
- A
mediaIdis the unique identifier FastPix assigns to every uploaded asset. - The
summaryLengthfield controls the target word count of the generated abstract: minimum30, maximum250, default100. FastPix runs summarization asynchronously and signals completion through a webhook event rather than blocking the upload response.
Generate a summary for new media
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.
- Collect the HTTPS URL of the media file (pull-through URL method) or prepare a direct device upload.
- Send a
POSTrequest to the /on-demand endpoint with thesummaryobject included.
Include these parameters in the request:
- type: Specify whether the media is a video or audio file.
- url: Provide the HTTPS URL of the media file for which a summary must be generated.
- generate: Set this to
"true"to enable the summary generation process. - summaryLength: Specify the desired summary length in words (for example,
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
- Maximum summary length: 250 words.
- Minimum summary length: 30 words.
- If no specific
summaryLengthis provided, the default length is 100 words.
Generate a summary for existing media
To generate a summary on an asset already stored in your workspace, call the generate video summary endpoint.
- Collect the
mediaIdfor the existing media. - Send a
PATCHrequest to the/on-demand/<mediaId>/summaryendpoint, replacing<mediaId>with the ID of the existing asset.
Example request body:
Tune summary length and detail
Use summaryLength to match the abstract to the viewer surface.
- Short values (30–60 words) suit card UIs, grid tiles, and social previews.
- Mid-range values (80–150 words) work for hero descriptions and email digests.
- Long values (180–250 words) suit chapter introductions, course module overviews, and SEO-oriented description blocks.
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.
Generate a summary from the dashboard
- Open the FastPix Dashboard > Products > Media > Add media.
- Choose Upload using video URL or Upload video or audio files (direct upload).
- For new uploads:
- For Upload using video URL, use the example in Request body creating new media from URL.
- For Upload video or audio files, use the example in Request body creating new media by direct upload.
- For the existing media, select the video you want to process from Media list.
- On the Media details page, open the InVideo AI tab.
- Click AI Summary, then click Generate to start the analysis.
- FastPix analyzes your video and creates a summary based on its content.
- When the summary is ready, you can view it in the Summary section of the dashboard.
Retrieve the generated summary
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
Limits and considerations
- Confirm the
mediaIdis correct when calling/on-demand/<mediaId>/summary, an invalid ID returns a 404. - For dense or multi-speaker content, raise
summaryLengthso the model captures enough context. accessPolicyandmaxResolutionare optional but help manage access and delivery quality per asset.- Summarization runs asynchronously. Treat the POST/PATCH response as an acknowledgment, and use the
video.mediaAI.summary.readywebhook or aGet Media by IDpoll to retrieve the final abstract.
Use cases for video summaries
- E-learning platforms: generate overviews of course modules.
- Corporate training: capture key takeaways from training sessions.
- Marketing teams: extract highlights from webinars and product demos.
- Content review: assess the value of user-generated content at a glance.
Frequently asked questions
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.