Long video to short clips
create_clipsPREFER THIS for 'turn this long video/podcast into shorts/clips'. engine highlights (default): transcribes (or reuses transcriptionJobId/subtitles), an LLM picks the count (default 3, max 10) best self-contained moments of minSeconds-maxSeconds, renders each MP4 (reframe face, center or none) with captions, and returns clips with title, hook, score and url. Price: 1 credit per source minute to transcribe (0 with a transcript) + 1 per 10 source minutes + 3 per output minute; quoteOnly:true prices it free. engine shorts: quick 1-5 vertical 9:16 cuts from an existing transcript, 6 credits per source minute. Long jobs: poll get_job.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Block until done, up to waitSeconds. Default true. | |
| count | No | Clips to return, 1-10. Default 3. Out of range: 422 limit_exceeded before any charge. | |
| engine | No | highlights (default): LLM-ranked best moments, up to 10, any shape, transcribes if needed. shorts: quick 1-5 vertical 9:16 cuts when you already have the transcript (6 credits per source minute). | |
| fileId | No | Id from upload {action:'start'}, import_url, or upload {action:'inline'}. | |
| preset | No | Caption preset id or name, or custom:cp_.... Default Clarity. | |
| api_key | No | Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared. | |
| autoFit | No | Default true. Same rule as caption_video. | |
| reframe | No | face (default): 9:16 crop that follows the speaker, center fallback. center: plain center crop. none: keep the source aspect. Same price. | |
| captions | No | Burn captions into each clip. Default true. Same price. | |
| glossary | No | Extra terms to spell correctly in this job only (brand names, people). The saved glossary (update_glossary {action:'save'}) is applied as well. | |
| language | No | Spoken language (BCP-47). Omit for auto-detect. | |
| mediaUrl | No | Public https link to the video or audio (direct file, chat attachment URL, Google Drive or Dropbox share link; YouTube is refused). Pass this or fileId. | |
| platform | No | tiktok, instagram_reels, youtube_shorts, ... (see get_catalog {kind:'platforms'}). Keeps captions clear of the app UI. Same price. | |
| faceAvoid | No | true = move captions off faces (samples faces at 2 fps, same price; result.faceAvoid.faceLayout). Shortcut for styleOverrides.faceAvoid. | |
| quoteOnly | No | Return the price for durationSeconds (and count/maxSeconds) without starting a job. | |
| sourceUrl | No | Public link to the video. Not YouTube, TikTok or Instagram. | |
| subtitles | No | Reuse an SRT, VTT, or JSON transcript (JSON keeps word timing for tighter cuts). | |
| maxCredits | No | Refuse the job if it would cost more than this many credits. | |
| maxSeconds | No | Longest clip, minSeconds-90 s. Default 60. | |
| minSeconds | No | Shortest clip, 5-90 s. Default 15. | |
| webhookUrl | No | https URL that receives a POST with the finished job (status, result URLs, credits charged). | |
| notifyEmail | No | Email address that gets a link when the job finishes or fails. | |
| waitSeconds | No | Default 45, max 50. | |
| brandPresetId | No | Id from manage_preset {action:'create', type:'brand'}: applies its font, color, position and logo on top of the preset. | |
| highlightColor | No | #RRGGBB for highlightWords. Default #FACC15. | |
| highlightWords | No | Shortcut: words or phrases to color in every caption (accent/case-insensitive), e.g. ["AwesomeVideo", "gratis"]. Maps to styleOverrides.wordHighlights rule {id:"custom", words, color}; on highlighter-marker, ghost-keywords and brand-box it fills their keyword list in the preset colors. Same price. | |
| idempotencyKey | No | Your own unique key for this request (max 200 chars). Retrying with the same key returns the first job instead of charging again. | |
| styleOverrides | No | Per-call style changes deep-merged onto the preset (same fields as get_catalog {kind:'presets'} style; null removes a field), validated with the renderer schema and bundled fonts. Example {"fontSize":72,"maxWordsPerCaption":2,"wordEntrance":"bounce"}. Same price. No need to manage_preset {action:'create', type:'custom'}. Every field with examples: get_catalog {kind:'styles'}. | |
| durationSeconds | No | Media length in seconds. Lets the price be computed without fetching media (quoteOnly, quote, plan). | |
| transcriptionJobId | No | Reuse a finished transcription: no transcription charge. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Job id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId. | |
| kind | No | Job kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...). | |
| step | No | Current pipeline step while running. | |
| error | No | Failure reason when status is failed. | |
| result | No | Result when succeeded: url, files[{name, url}], clips, text... | |
| status | No | queued, running, succeeded or failed. | |
| progress | No | Progress (0-1) and ETA while running. | |
| warnings | No | Non-blocking notes. | |
| costCents | No | Credits charged (1 credit = 1 cent). | |
| expiresAt | No | When the result files are deleted. | |
| refundedCents | No | Credits refunded after a failure. |