Plan shorts from a transcript
plan_shortsSlice a long video into ranked 15-60 s shorts from transcript timestamps (plus optional loudness and silence data). Each short gets start/end, a Hook Score 1-99 with reasons, a title and hashtags. Open the result in the editor to render it.
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": {
"segments": "<segments>"
},
"name": "plan_shorts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many shorts (default 5). | |
| words | No | Optional word timings [{text, t0, t1}] (more precise than segments). | |
| energy | No | Optional loudness per second, 0..1 (the editor exports it as analysis.energy). | |
| max_sec | No | Longest short in seconds (default 60). | |
| min_sec | No | Shortest short in seconds (default 15). | |
| duration | No | Video length in seconds (default: end of the last segment + 1). | |
| segments | Yes | Transcript segments [{text, start, end}] in seconds (Whisper-style). Words inside a segment are spread evenly. | |
| silences | No | Optional silence gaps [{start, end}] in seconds. |