Tennis Evolution
v0.2.0Turn a long tennis recording into a labeled highlight reel: lossless rally clips, hit-count labels.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
probe_video Inspect a tennis recording
Read duration, resolution, rotation, HDR/colour, audio tracks and recording time of a local video file. Run this first to confirm the file is readable.
| Parameter | Type | Description |
|---|---|---|
video * | string | Local video path. |
rank_highlights Parse and rank a rally list
Parse a rally list and show which rallies would be kept, so the user can confirm before rendering.
| Parameter | Type | Description |
|---|---|---|
highlights_path | string | Path to a rally list (.txt from sliceapp or .json). |
highlights_text | string | Rally list pasted inline, one rally per line, e.g. '27:14 - 28:08 40 hits'. Use either this or highlights_path. |
sort | string | Ranking: longest rally first (hits), longest clip, or chronological. |
top | integer | Keep the N best rallies (0 = all; free version caps at 5). |
start_highlight_reel Render a labeled tennis highlight reel
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.
| Parameter | Type | Description |
|---|---|---|
outdir * | string | Output directory (created). |
video * | string | Local source recording. |
codec | string | |
highlights_path | string | Path to a rally list (.txt from sliceapp or .json). |
highlights_text | string | Rally list pasted inline, one rally per line, e.g. '27:14 - 28:08 40 hits'. Use either this or highlights_path. |
labels | boolean | |
place | string | Venue text for the label. |
sort | string | Ranking: longest rally first (hits), longest clip, or chronological. |
source_label | string | Prefix for the source timestamp (default 片源; 'Source'). |
timezone | string | IANA timezone for the wall clock, e.g. Asia/Shanghai. |
top | integer | Keep the N best rallies (0 = all; free version caps at 5). |
unit | string | Hit counter unit (default 拍; 'hits'). |
get_job Check a render job
Status of a job from start_highlight_reel: running/done/failed, the last log lines, and once done the manifest (outputs and verification).
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
verify_video Self-check a finished video
Clean decode, zero start offset, A/V duration match, non-black first/last frame, non-silent audio.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
fast | boolean |
license_status Show free/Pro status
Whether a Pro licence is active, the free-tier limits and the pricing URL.
activate_license Activate a Pro licence key
Verify a te1.… key offline and store it for future renders.
| Parameter | Type | Description |
|---|---|---|
key * | string |