Clip a video
Starts clipping a long video into short vertical clips with word-by-word captions, each scored out of 100. The video must be longer than 3 minutes and up to 8 hours, and rightsConfirmed must be true.
| MCP tool | clip_video |
| API | POST /api/v1/projects |
| Credits | 1 credit for each minute of video. They come back if processing fails. |
When to use it
- Call with
priceOnly: truefirst to get the video's length and credit price before charging the account. - Call again without
priceOnlyonce the user confirms. Sending the same link and options returns the same project, for no more credits. - To clip the same video again, send a new
requestId. It uses the full price again. - To edit a video of 10 minutes or less by its script, use
open_videoinstead.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
url | string | Yes | A public YouTube, Twitch or Kick video link. |
rightsConfirmed | boolean | Yes | Must be true: the user owns the video or has permission to use it. |
language | string | No | Spoken language. Default "auto" detects it. One of auto, en, es, pt, fr, de, it. |
clipLength | string | No | Preferred clip length in seconds. A moment that needs more time keeps it. Default "auto". One of auto, under_30, 30_60, 60_90. |
priceOnly | boolean | No | Returns the length of the video and its price in credits, and starts nothing. |
requestId | string | No | Any text. A new one clips the same video again, for its full price. |
Call it from an AI agent
{
"name": "clip_video",
"arguments": {
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"rightsConfirmed": true
}
}
Call it from your code
curl -X POST https://pogclip.com/api/v1/projects \
-H "Authorization: Bearer $POGCLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.youtube.com/watch?v=VIDEO_ID", "rightsConfirmed": true}'
What you get back
With priceOnly: true:
{
"status": "price",
"name": "Five tips for talking on camera",
"durationSeconds": 523,
"credits": 9,
"creditsAvailable": 289,
"next": "Nothing has started. Send the same request without priceOnly once the user agrees to the price."
}
Without it:
{
"status": "created",
"project": {
"id": "08eda86f",
"name": "Five tips for talking on camera",
"status": "processing",
"stage": "queued",
"progress": 0,
"source": {
"title": "Five tips for talking on camera",
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"durationSeconds": 523
},
"language": "auto",
"clipLength": "auto",
"clipCount": 0,
"credits": {
"amount": 9,
"state": "reserved"
},
"createdAt": "2026-12-04T10:19:27.845Z",
"expiresAt": "2027-01-03T10:19:27.845Z",
"pageUrl": "https://pogclip.com/dashboard/projects/08eda86f",
"next": "Processing usually takes a few minutes (roughly a third of the video length). Check again in about a minute."
}
}
status:checking_linkmeans the link check is still running; repeat the same call in about 10 seconds.pricereturnsdurationSeconds,creditsandcreditsAvailablewithout starting a project.createdstarts a new project, andexistingreturns a project already made for the same link and options. WithpriceOnlyyou always get the price; itsnextsays when a project exists already.project.id: pass this asprojectIdtoget_projectandlist_clips.project.status:processingmeans clipping is underway; pollget_projectabout once a minute until it isdone.project.pageUrl: share this pogclip.com link so the user can follow progress in the browser.next: tells you what to call next and when. Once there is a project, it is inproject.
Errors
| Code | What it means |
|---|---|
rights_not_confirmed | rightsConfirmed was not true. |
link_unavailable | The link is private, live, a playlist, longer than 8 hours, or cannot be read. reason says which. |
video_too_short | The video is 3 minutes or shorter. Open it with open_video instead. |
not_enough_credits | The video needs more credits than the account has. The answer has a billingUrl. |
too_many_processing | 3 videos are already processing. Wait for one to finish. |
invalid_request | A field is missing or wrong. The message says which. |
unauthorized | The API key or sign-in is missing, wrong or revoked. |
rate_limited | More than 60 requests in a minute. Wait for retryAfterSeconds. |