render_thumbnail
Render a 1280x720 cover PNG for a video deck from title, subtitle, badge, and theme inputs; writes to the given output path and needs local Node/Remotion.
Instructions
Render a 1280x720 cover PNG with the Remotion DupThumbnail composition and write it to the out path. Returns {ok, out, bytes, props}; raises an error if Remotion fails or no file is produced. Title, subtitle, badge and theme come from the arguments; missing values default from deck when it is given. Requires the local Remotion/Node toolchain. Cover image only: use preview_stills for slide frames and render_deck for the video.
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": {
"out": "<out>"
},
"name": "render_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Output PNG file path, preferably under out/ (e.g. out/cover.png) | |
| deck | No | Optional source deck JSON to derive default title, subtitle, and theme | |
| theme | No | Visual theme name (e.g. quantum_ledger, neon_cyber) | |
| title | No | Headline text displayed on the thumbnail (overrides deck title) | |
| subtitle | No | Secondary line below the headline | |
| accent_badge | No | Short corner badge text (e.g. '1080p · 60 FPS') |