polish_video
Post-produce demo recordings from a JSON spec by adding zooms, captions, annotations, title cards, trims, speed changes, and framed backgrounds, then export as MP4 or GIF.
Instructions
Post-produce a recording from a JSON spec: smooth zooms, timed annotations (same marks as annotate_image), captions, framed gradient background, intro/outro title cards, trim, speed, MP4 or GIF output. All times are seconds in the source video; all coordinates are source pixels.
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": {
"input": "<input>"
},
"name": "polish_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crf | No | ||
| fps | No | ||
| trim | No | ||
| audio | No | ||
| input | Yes | ||
| intro | No | ||
| outro | No | ||
| speed | No | ||
| width | No | Scale output down to this width. | |
| zooms | No | Smooth push-ins. Times in source seconds, x/y in source pixels (the point to centre on). | |
| clicks | No | Click timeline (e.g. from record_demo) to auto-generate zooms from. | |
| format | No | ||
| output | No | ||
| autoZoom | No | ||
| captions | No | Text pinned to the frame (unaffected by zooms). | |
| background | No | Frame the picture on a padded gradient with rounded corners and a soft shadow. | |
| annotations | No | Marks shown between start and end (source seconds). They are pinned to the content, so they zoom with it. |