Skip to main content
Glama

video_create_session

Start a persistent session for analyzing videos from YouTube URLs or local files, enabling multi-turn exploration and research with optional caching for faster subsequent interactions.

Instructions

Create a persistent session for multi-turn video exploration.

Provide exactly one of url or file_path. When download=True and the source is YouTube, the video is downloaded via yt-dlp, uploaded to the Gemini File API, and context-cached for fast multi-turn use.

Args: url: YouTube video URL. file_path: Path to a local video file. description: Optional focus area for the session. download: Download YouTube video for cached sessions.

Returns: Dict with session_id, status, video_title, source_type, cache/download status, and optional local_filepath when a local file is available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
file_pathNo
descriptionNoSession purpose or focus area
downloadNoDownload YouTube video locally for cached multi-turn sessions. Slower startup (~2 min) but faster and cheaper per turn. Requires yt-dlp installed.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Galbaz1/video-research-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server