Download video
download_videoPrepare a video as MP4 (H.264 + AAC, plays everywhere), MP3, or a looping GIF of up to 10 s, and return a download link. The link works for 15 minutes after the last request. Long videos may still be preparing when this returns: then call check_download with the job_id. Counts against the caller's daily limit (40 per IP).
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": {
"url": "<url>"
},
"name": "download_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional: end of the part to keep, in seconds (after start). | |
| url | Yes | Link to a public post or video (YouTube, Instagram, X / Twitter, TikTok, Bluesky, Facebook, VK, LinkedIn, Weibo, Twitch, Kick). | |
| item | No | Which video of a multi-video post (1-based); see get_video_info. | |
| start | No | Optional: start of the part to keep, in seconds. | |
| quality | No | Resolution cap (the smaller side, so vertical videos count the same). "audio" gives an MP3; "gif" a looping GIF of a selection up to 10 s (set start and end). | 720 |