Skip to main content
First month 50% off for new accounts, in their first 48 hoursStart free

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 toolclip_video
APIPOST /api/v1/projects
Credits1 credit for each minute of video. They come back if processing fails.

When to use it

  • Call with priceOnly: true first to get the video's length and credit price before charging the account.
  • Call again without priceOnly once 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_video instead.

Parameters

NameTypeRequiredWhat it is
urlstringYesA public YouTube, Twitch or Kick video link.
rightsConfirmedbooleanYesMust be true: the user owns the video or has permission to use it.
languagestringNoSpoken language. Default "auto" detects it. One of auto, en, es, pt, fr, de, it.
clipLengthstringNoPreferred clip length in seconds. A moment that needs more time keeps it. Default "auto". One of auto, under_30, 30_60, 60_90.
priceOnlybooleanNoReturns the length of the video and its price in credits, and starts nothing.
requestIdstringNoAny 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_link means the link check is still running; repeat the same call in about 10 seconds. price returns durationSeconds, credits and creditsAvailable without starting a project. created starts a new project, and existing returns a project already made for the same link and options. With priceOnly you always get the price; its next says when a project exists already.
  • project.id: pass this as projectId to get_project and list_clips.
  • project.status: processing means clipping is underway; poll get_project about once a minute until it is done.
  • 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 in project.

Errors

CodeWhat it means
rights_not_confirmedrightsConfirmed was not true.
link_unavailableThe link is private, live, a playlist, longer than 8 hours, or cannot be read. reason says which.
video_too_shortThe video is 3 minutes or shorter. Open it with open_video instead.
not_enough_creditsThe video needs more credits than the account has. The answer has a billingUrl.
too_many_processing3 videos are already processing. Wait for one to finish.
invalid_requestA field is missing or wrong. The message says which.
unauthorizedThe API key or sign-in is missing, wrong or revoked.
rate_limitedMore than 60 requests in a minute. Wait for retryAfterSeconds.