API & MCP

Turn long videos into Shorts from your own code, or just ask Claude, Cursor or any MCP app to do it. Same engine as the app, same credits, same plan limits.

Quick start

  1. In the app, open API & MCP in the app's sidebar and create a key. It starts with cc_live_ and is shown once.
  2. Send a video link. You get a job_id back straight away.
  3. Check the job every 15–30 seconds until it says completed, then download the clips.
curl -X POST https://clippercreek.pro/v1/videos \
  -H "Authorization: Bearer cc_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.youtube.com/watch?v=VIDEO_ID", "clips": 3}'

# → {"job_id": 1234, "status": "queued", ...}

curl https://clippercreek.pro/v1/videos/1234 -H "Authorization: Bearer cc_live_YOUR_KEY"

Keys

Send your key on every request as Authorization: Bearer cc_live_…. A key acts as your account: anything it starts spends your credits. Keep it on a server, never in a web page or an app people can download. Revoke a key in the app and it stops working straight away. You can have up to 10.

GET/v1/me

Your plan, credits left, limits, and whether YouTube is connected.

Clip a video

POST/v1/videos

Starts a clip job. Spends one credit (given back if the job fails).

FieldTypeWhat it does
urlstring, requiredA YouTube, Twitch, Kick, Google Drive, Dropbox, Loom, Rumble, Dailymotion, Vimeo, Streamable, Wistia or Vidyard link, or a direct .mp4/.mov/.webm on a public https host. Live streams work once they've ended.
clipsintegerHow many clips. Default 3; your plan caps it.
lengthintegerTarget seconds per clip. Default 45; your plan caps it.
formatstring9:16 (Short, default), frame (square frame, title above, captions below), 1:1, 16:9.
stylestringCaptions: karaoke (default), bold, word, simple.
qualityinteger720, 1080 (default), 1440 or 2160; your plan caps it.
promptstringOptional: what the clips should be about, e.g. "the funniest moments".
{"job_id": 1234, "status": "queued", "next": "GET /v1/videos/1234 until status is \"completed\""}
GET/v1/videos?limit=20

Your recent clip jobs, newest first.

Job status

GET/v1/videos/{job_id}

queued → downloading → transcribing → analyzing → generating_clips → completed (or failed / cancelled)

{
  "id": 1234, "kind": "clip", "status": "generating_clips", "progress": 75,
  "label": "Clipping https://www.youtube.com/watch?v=…", "error": null,
  "clips": [ ...clips finished so far... ]
}

While a job waits its turn you also get queue_position. A 30-minute video usually takes a few minutes once it starts. GET /v1/videos/{job_id}/clips returns just its clips.

Clips

GET/v1/clips?limit=20
GET/v1/clips/{clip_id}
{
  "id": "Y2xpcHMvYWJj…", "title": "Namita doubted this ₹499 sticker…", "score": 73,
  "scores": {"hook": 19, "flow": 20, "value": 20, "trend": 18},
  "why": "A ₹499 sticker everyone laughs at turns out to make ₹3.5 crore…",
  "duration": 44.2, "start": 812.4, "end": 860.1, "format": "9:16", "job_id": 1234,
  "status": "ready", "download_url": "https://clippercreek.pro/v1/clips/Y2x…/download",
  "thumbnail_url": "https://clippercreek.pro/v1/clips/Y2x…/thumbnail",
  "share_url": null, "youtube_url": null, "hashtags": ["#shorts", "#sharktank"]
}

download_url and thumbnail_url need your key too. status is ready, on_youtube (the file was removed after it went to YouTube) or expired (your plan's storage time is over). why is set when the AI scored the clip.

GET/v1/clips/{clip_id}/download
GET/v1/clips/{clip_id}/thumbnail
DELETE/v1/clips/{clip_id}

Share links

POST/v1/clips/{clip_id}/share

Makes a public page anyone can watch and download from, plus an embed player.

{"shared": true, "share_url": "https://clippercreek.pro/s/k3Pq9xZa",
 "embed_url": "https://clippercreek.pro/e/k3Pq9xZa",
 "embed_html": "<iframe src=\"https://clippercreek.pro/e/k3Pq9xZa\" width=\"324\" height=\"576\" …></iframe>"}
DELETE/v1/clips/{clip_id}/share

Turns the link off. Anyone who had it gets a "not shared" page.

Post to YouTube

POST/v1/clips/{clip_id}/youtube

Uploads to the YouTube channel connected in the app. Body: privacy (public, unlisted, private) and optional publish_at (ISO 8601, 15 minutes to 6 months ahead) to schedule it. Returns a job_id; the clip's youtube_url is set once it's done. Uses one of your plan's YouTube uploads.

MCP: use it from Claude, Cursor and other AI apps

ClipperCreek is an MCP server at https://clippercreek.pro/mcp (streamable HTTP). Add it with your key and ask in plain words: "Clip this video into 3 Shorts and share the best one."

Claude Code

claude mcp add --transport http clippercreek https://clippercreek.pro/mcp \
  --header "Authorization: Bearer cc_live_YOUR_KEY"

Cursor, VS Code, Windsurf and others (mcp.json)

{
  "mcpServers": {
    "clippercreek": {
      "url": "https://clippercreek.pro/mcp",
      "headers": { "Authorization": "Bearer cc_live_YOUR_KEY" }
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "clippercreek": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://clippercreek.pro/mcp",
               "--header", "Authorization: Bearer cc_live_YOUR_KEY"]
    }
  }
}

Tools

ToolWhat it does
clip_videoStart clipping a link (url, optional clips, length, format, prompt). Spends a credit.
get_jobStatus and progress of a job; lists the clips when done.
list_clipsYour recent clips.
get_clipOne clip: title, score, why it scores, links.
share_clipMake a public link and embed code.
post_to_youtubeUpload a clip to your channel now or at a set time.
get_accountPlan, credits left, limits.
The assistant can spend credits and post to your channel when you ask it to. Most apps ask before each tool call; keep that on for clip_video and post_to_youtube.

Errors & limits

CodeMeans
400Something in the request isn't right; error says what.
401Missing, wrong or revoked key.
402Out of credits, or a feature your plan doesn't include ("upgrade": true).
404No such job, clip or endpoint (or it isn't yours).
409Can't right now: e.g. YouTube upload limit reached, or YouTube blocking link downloads (upload the file in the app instead).
410The clip's file is gone.
429Over 120 requests a minute. Wait for Retry-After seconds.

Every error is JSON: {"error": "what went wrong, in plain words"}.