Find the best clips in a long video
plan_clipsIgnix's clip editor: from the TRANSCRIPT of a long video (a live, a podcast, a webinar, a talk) grouped in sentences, it picks the moments that work on their own as reels (15-60 s each), ranked, each with start/end seconds, an on-screen hook, a caption and hashtags. Up to 2 hours. Spends 30 AI credits + 4 per started minute. OPTIONAL: by default you pick the clips yourself following get_edit_playbook (free) — call this only when the user asks for Ignix's picker. To edit one video as a single piece (captions, zooms, hook) use plan_video_edit. SPENDS AI CREDITS ONLY WITH confirm: true. Call it first without confirm: nothing runs and nothing is charged, you get the quote (what it will do and the credits). Tell the user, in your own words, exactly that — including the options you chose, so they can change them — and wait for a clear yes before calling again with the same arguments and confirm: true. One yes covers the plan they approved (e.g. every line of an approved voice-over with the chosen voice); anything new or different needs a new yes.
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": {
"request": "<request>",
"sentences": "<sentences>",
"durationSec": "<durationSec>"
},
"name": "plan_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many clips the user wants (1-8). Omit to let the editor decide. | |
| confirm | No | true ONLY after the user said yes to the quote (what it does and the credits). Without it nothing runs and nothing is charged. | |
| request | Yes | What the user wants (e.g. "the best moments for Instagram", "the 3 most practical tips"). | |
| language | No | Two-letter language (es, en…). Optional. | |
| platform | No | ||
| sentences | Yes | The whole transcript as sentences in order: { s: start second, e: end second, t: text }. At least 3. | |
| durationSec | Yes | Length of the video in seconds (10 to 7200). | |
| replayPeaks | No | Optional: the `peaks` from `ignix-editor replays <url>` as { from, to, value } in seconds of this same video, value 0-1 — YouTube's "most replayed" curve, or a Twitch VOD's chat bursts (then also send replaySource: "twitch", and shift them if this file is only a stretch of the VOD). Ignix picks from the transcript without them, then judges the peaks it missed and merges both (each clip says its `source`). | |
| workspaceId | No | Workspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used. | |
| replaySource | No | Where replayPeaks come from. Omit for YouTube. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |