video_clip
Trim by start/end, centre-crop to 9:16, 1:1, 4:5, 16:9, resize, mute; output MP4, WebM, an animated GIF or WebP (clip up to 15 s), a JPG frame or MP3 audio. Input up to 25 MB / 20 min. Cost €0.008 per minute, charged to the API key in Authorization: Bearer. Parameters — url: video url; start: seconds; end: seconds; aspect: 9:16 | 1:1 | 4:5 | 16:9 | 4:3; width: output width px; format: mp4 (default) | webm | gif | webp | jpg | mp3; fps: gif/webp frames per second (default 12); quality: 1–100 for webp (default 75); at: frame time for jpg; mute: bool; crf: 18–35 quality for mp4 (default 23).
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": "video_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| crf | No | ||
| end | No | ||
| fps | No | ||
| url | No | ||
| mute | No | ||
| start | No | ||
| width | No | ||
| aspect | No | ||
| format | No | ||
| quality | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |