How to Add Captions and Subtitles with Copilot
Add captions to videos in your IDE with Copilot and ToolRouter. Automated subtitles for developer content.
ToolVideo EditorCopilot adds captions to videos directly in your development environment, which is valuable for developer content where technical terms need accurate transcription. Copilot can differentiate code terminology from regular speech and generate caption files in multiple formats -- SRT, VTT, ASS -- alongside the captioned video.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Video Editor tool:
- In Copilot Chat: "Transcribe and caption this tutorial video"
- Copilot generates the transcription via ToolRouter
- Burn in the captions: "Add subtitles with monospace font for the coding sections"
- Save the captioned video to your project
Example Prompt
Try this with Copilot using the Video Editor tool
Transcribe my coding tutorial video and add captions. Use a monospace font for code-related dialogue and a regular font for explanations. Bottom-center positioning.
Tips
- Copilot can differentiate code terminology from regular speech in transcriptions
- Generate VTT files alongside the captioned video for HTML5 video players
- Caption your conference talk recordings for more accessible documentation