Find the best clips (AI)
create_ai_clipsAnalyses a long video (at least 1 minute) and finds its best moments as short clips ready for TikTok, Reels or Shorts, with a title and a virality score for each. Returns the list of clips; the clip files are then produced with export_clips. Uses the user's Klipa credits like on the website.
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_ai_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | viral = most shareable moments; highlights = key moments; insights = most informative passages | viral |
| format | No | Clip aspect ratio: 9:16 vertical (TikTok, Reels, Shorts), 1:1 square, 4:5 portrait, 16:9 landscape | 9:16 |
| source_id | No | Instead of video_url: an upload_id returned by create_upload_link, or the job_id of a finished Klipa job to chain on its result. Empty when video_url is set. | |
| video_url | No | Public link to a video the user owns or is allowed to edit. Direct file links are not supported (files go through create_upload_link). Empty when source_id is set. | |
| clip_count | No | How many clips to find | |
| instructions | No | Optional brief in the user's words, e.g. 'only the parts about pricing' | |
| max_clip_seconds | No | Maximum length of each clip in seconds; 0 = automatic |