Render a labeled tennis highlight reel
start_highlight_reelStart a background pipeline that turns a tennis recording into keyframe-aligned rally clips, plain and labeled highlight reels, and a manifest; returns a job ID to poll.
Instructions
Start the full pipeline in the background: lossless keyframe-aligned clips, a plain reel, a labeled reel (hit count / venue / wall clock / source timestamp) and manifest.json with self-check results. Returns a job_id; poll get_job. A 47-minute iPhone HDR recording with 5 rallies takes 3-5 minutes on an M-series Mac.
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": {
"video": "<video>",
"outdir": "<outdir>"
},
"name": "start_highlight_reel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Keep the N best rallies (0 = all; free version caps at 5). | |
| sort | No | Ranking: longest rally first (hits), longest clip, or chronological. | hits |
| unit | No | Hit counter unit (default 拍; 'hits'). | |
| codec | No | hevc | |
| place | No | Venue text for the label. | |
| video | Yes | Local source recording. | |
| labels | No | ||
| outdir | Yes | Output directory (created). | |
| timezone | No | IANA timezone for the wall clock, e.g. Asia/Shanghai. | |
| source_label | No | Prefix for the source timestamp (default 片源; 'Source'). | |
| highlights_path | No | Path to a rally list (.txt from sliceapp or .json). | |
| highlights_text | No | Rally list pasted inline, one rally per line, e.g. '27:14 - 28:08 40 hits'. Use either this or highlights_path. |