Create clip
create_clipCreates a clip from a source video time range using its transcript; choose exact bounds or let AI select the best moment, then poll the returned clip until ready.
Instructions
Add a clip from a time range of the source (needs a transcript). mode exact keeps your bounds (3 s-10 min); mode ai lets the model pick the best moment inside them (≥8 s). Hosted Free allows one; the refusal names the upgrade. Returns the new clip summary { id, status: "preparing", queued: "prepare", hint }; preparation (title, hook, scores) is queued and the render follows by itself (about a minute), so poll get_clip until done. To change an existing clip use update_clip instead.
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": {
"projectId": "<projectId>",
"startSec": "<startSec>",
"endSec": "<endSec>"
},
"name": "create_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | exact = these bounds (default); ai = best moment inside them | exact |
| endSec | Yes | Range end, seconds | |
| startSec | Yes | Range start, seconds from the start of the source video | |
| projectId | Yes | Project id (from list_projects, search_clips or create_project) |