render_slide_clip
Render a single slide as a short MP4 or GIF to inspect motion, 3D rotation, transitions, or karaoke timing without rendering the whole deck.
Instructions
Render a single slide into a short animated video clip (MP4 or palette-optimized GIF) to inspect motion, 3D rotation, transitions, or karaoke timing without rendering the whole deck. Requires Node.js + Remotion (and FFmpeg for GIF). Use preview_stills for a faster static PNG check, or render_deck for the full video. Writes to out/_<slide_id>[_draft].mp4 (or .gif), overwriting any prior clip for that slide.
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": {
"deck": "<deck>",
"slide_id": "<slide_id>"
},
"name": "render_slide_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Path to the deck JSON file inside decks/ (e.g. decks/radar-pro.json) | |
| draft | No | When true (default), render at fast draft resolution; when false, render full resolution | |
| format | No | Output clip format: mp4 (default) or gif (two-pass FFmpeg palette GIF) | mp4 |
| gif_fps | No | Frame rate for GIF output (ignored when format=mp4) | |
| skip_tts | No | Reuse existing timeline/WAV files instead of regenerating TTS | |
| slide_id | Yes | Exact slide id to render (e.g. s3) | |
| gif_width | No | Width in pixels for GIF output, aspect kept (ignored when format=mp4) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | Yes | ||
| slug | Yes | ||
| bytes | Yes | ||
| format | Yes | ||
| mp4_path | Yes | ||
| slide_id | Yes |