vidsum
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | Fallback API key used when VIDSUM_API_KEY is not set. | |
| VIDSUM_API_KEY | No | API key for the cloud profile. If it is not set, OPENAI_API_KEY is used. | |
| VIDSUM_COOKIES | No | Full path to a cookies file for links that need a signed-in session. Use this or VIDSUM_COOKIES_FROM_BROWSER, not both. | |
| VIDSUM_API_BASE | No | Any OpenAI-compatible endpoint for the cloud profile. | |
| VIDSUM_CLOUD_MODEL | No | A chat model that accepts images for the cloud profile. | gpt-6-luna |
| VIDSUM_CLOUD_ASR_MODEL | No | A speech model that returns segment timestamps for the cloud profile. | whisper-1 |
| VIDSUM_COOKIES_FROM_BROWSER | No | Browser and optional profile from which to read cookies for links that need a signed-in session (for example, chrome or "chrome:Profile 1"). Use this or VIDSUM_COOKIES, not both. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use summarize_video when the user wants to know what a video or recording says or shows: a summary, key points, a timeline, notes from a lecture, meeting, tutorial or talk. Use transcribe_video when they want the words: a transcript, subtitles (SRT/VTT) or exact quotes. Both take a file path on this computer, a video link (YouTube, Bilibili, TikTok, Instagram, X, Weibo, Vimeo, Xiaohongshu, Douyin and other sites yt-dlp supports) or pasted share text that contains a link. Links are downloaded first (one video per link; Douyin needs the server started with the browser extra). With the default local profiles the models then run on this machine and nothing is uploaded; VIDSUM_PROFILE=cloud sends audio and frames to the API you set. A summary takes about 2 minutes for a 45 s clip on an Apple M6, longer for long videos; a transcript is faster. Only use videos the user has the right to process.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| summarize_videoA | Summarize a video (or audio) file: what it is about, key points with timestamps, a timeline, what is shown on screen, and verbatim quotes. Use this when the user asks to summarize, watch, explain, review or take notes on a video, recording, lecture, meeting, talk, tutorial or screen recording: a file on this computer (mp4, mov, mkv, webm, mp3, m4a, wav, ...) or a link to a video page (YouTube, Bilibili, Douyin, Xiaohongshu, TikTok, Instagram, X, Weibo, Vimeo, ...; Douyin needs the server started with the [browser] extra). One link gives one video; live streams are skipped. It transcribes the speech, samples key frames, reads on-screen text and writes a cited Markdown summary. Links are downloaded with yt-dlp first. With the default local profiles nothing is uploaded; VIDSUM_PROFILE=cloud sends audio and frames to the API you set. Takes about 2 minutes for a 45 s clip on an Apple M6, plus download time, longer for long videos. Args: path: absolute path to a file, a video link, or pasted share text that contains a link (e.g. a Douyin or Xiaohongshu share message). Sites that need a login use the server's cookie settings. language: language of the summary, e.g. "en", "zh", "ja"; "auto" follows the spoken language. focus: optional question the summary should answer, e.g. "what does the speaker say about pricing?". describe_frames: false skips looking at the picture (faster, text only). |
| transcribe_videoA | Transcribe the speech in a video or audio file into timestamped text, or into SRT / VTT subtitles. Use this when the user wants a transcript, captions or subtitles, or the exact words someone said in a video or recording, on this computer or behind a video link. Faster than summarize_video because it skips frames and the language model. Links are downloaded first. With the default local profiles it runs Whisper large-v3-turbo on Apple Silicon and nothing is uploaded; VIDSUM_PROFILE=cloud sends the audio to the API you set. Args: path: absolute path to a file, a video link, or pasted share text that contains a link. language: spoken-language hint such as "en" or "zh"; empty means detect automatically. format: "md" (timestamped lines, default), "srt", "vtt", "txt" or "json". |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools target clearly different outputs: a cited Markdown summary with frames versus a timestamped transcript/subtitle file. The descriptions explicitly contrast them ('faster than summarize_video because it skips frames'), so an agent can reliably pick the right one.
Both tools follow the same snake_case verb_noun pattern (summarize_video, transcribe_video) and share the same object noun, making the pair predictable and easy to scan.
Two tools is thin relative to the typical 3-15 range, but for a focused video-summarization/transcription server each tool is essential and there is no filler. A small number of auxiliary operations (e.g. batch or download-only) would round it out.
The core lifecycle of ingest-then-extract is covered: any file or link can be summarized or transcribed with format options. Minor gaps exist—no batch/multi-link handling, no translation or subtitle-editing step—but common workflows have no dead ends.