render_video
Renders text or Markdown into an MP4 video with a captions.srt file, optionally adding narration, burned-in captions, and word highlighting for short-form video output.
Instructions
Render text to an mp4 plus captions.srt inside the server's output folder.
narrate: offline Kokoro voiceover (needs the model files, see the README). exact_timings: align word times with a local recognizer (needs narrate). burn_captions: draw captions into the video. highlight_words: with burn_captions, fill each word with an accent colour as it is spoken. Returns the output paths. Requires ffmpeg and the render extra.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "render_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | video | |
| text | Yes | ||
| narrate | No | ||
| burn_captions | No | ||
| exact_timings | No | ||
| highlight_words | No |