Programmatically trim video clips to specific timestamps and automatically generate and add subtitles using VLM Run MCP tools.
Load the source video
put_file_url
tool to load the source video into the system for processing.Trim the video to a segment
trim_video
tool to create a new video clip from the original source, specifying the start and end times.Add automatic subtitles
add_video_captions
tool on the trimmed video clip. The tool automatically transcribes the audio and burns the captions into the video frames.Generate preview
preview_object_ref
tool to generate a shareable URL for the final, subtitled video clip.Video Trimming and Subtitling Results