API and MCP server
Import a long video, get every moment worth cutting with a score and the reason, and cut the ones you want into vertical clips — from a script, an agent, or a no-code tool. Every plan has API keys.
Authentication
Every plan, the free trial included, can create API keys under Settings → API keys in the app. A key starts with itc_sk_, is shown once, and is sent as a bearer token. It acts as its owner and spends the owner’s credits; it cannot create other keys or open admin pages. Revoke a key from the same page at any time.
curl https://api.intheclips.com/api/v1/me \ -H "Authorization: Bearer itc_sk_..."
- Base URL
https://api.intheclips.com/api/v1- Format
- JSON in and out,
Content-Type: application/json. Times are unix seconds; positions in a video are seconds (start_s,end_s). - Errors
{ "error": { "code": "...", "message": "..." } }with the HTTP status: 400 bad input, 401 missing or wrong key, 402 out of credits, 404 not yours or not found, 409 already imported, 429 rate limit.- Rate limit
- 120 requests a minute per client. Poll a running job every 15–30 seconds, not faster.
- Pricing
- The API has no price of its own: a call spends the same credits as the dashboard. See API pricing.
Account
- GET /me
- The account the key belongs to: email, plan, and what it is allowed to do. Use it to test a connection.
- GET /usage
- Credits left this period (
quota.credits_remaining) and included clips left (quota.clips_free_left).
Videos (sources)
- POST /sources
- Import a video by link — YouTube, Twitch, Kick, Vimeo, Google Drive or Dropbox — and start the analysis. Body:
{ "url": "...", "rights_confirmed": true }. Optional:allow_duplicateto import the same video twice,window_start_sto start a long video part way in,clip_length. Answers{ source, job }. - GET /sources
- Your videos, newest first, with their status.
- GET /sources/:id
- One video:
status— poll until it isready(orfailed, with anerror) — and, once ready, itsmoments, best first. - GET /sources/:id/transcript
- The full transcript, word by word with times.
- GET /sources/:id/transcript/export
- Subtitles as a file:
?format=srt,vttortxt. - DELETE /sources/:id
- Delete a video, its moments and its clips.
true only when the account owner owns the video or has permission to use it. It is recorded with the wording, the time and the address it came from. Without it the import is refused with rights_not_confirmed.Moments
A moment is a passage worth cutting, with a score from 0 to 100, the four scores behind it (hook, flow, value, trend), a title, and a written reason it would work.
- GET /moments
- Your moments. Filters:
source_id,status. For polling integrations:order=newest,min_score,since(unix seconds) andlimit(1–100, default 50) return the newest first, each withedit_urland its source. - GET /moments/:id
- One moment.
- PATCH /moments/:id
- Rename it or move its start and end:
{ "title": "..." },{ "start_s": 61.2, "end_s": 94 }. - POST /moments/:id/approve
- Keep a moment;
/rejectpasses on it and/resetputs it back to a candidate. - POST /moments/:id/edit/assist
- An edit in plain words —
{ "instruction": "add a hook, captions bigger" }. Answers{ edit, summary }without saving it; 1 credit. - PUT /moments/:id/edit
- Save the editor layer: captions, texts, zooms, frames, music.
- POST /moments/:id/render
- Cut the clip. Optional
{ "options": { "format": "9:16" } }(9:16or1:1) or a savedpreset_id. Answers{ clip, job }. Included clips are free; past them a clip costs 3 credits.
Clips
- GET /clips
- Finished and running clips, newest first. Filter with
status. - GET /clips/:id
status(queued,rendering,ready,failed) and, when ready,download_url: a direct MP4 link valid for about an hour.- POST /clips/:id/kit
- An editing kit for Premiere, Resolve and Final Cut. Answers 202 while it is built, then
{ download_url }of a ZIP with the footage, the timelines and the subtitles. - GET /clips/:id/timeline
- Only the timeline, against the original file:
?format=xmeml,fcpxmloredl.
Automations
- POST /automations
- Watch a YouTube channel and analyse each new upload:
{ "channel_url": "...", "render_top": 3, "rights_confirmed": true }. The number of channels depends on the plan. - GET /automations
- The channels being watched.
From a link to a clip
- 1Import
curl -X POST https://api.intheclips.com/api/v1/sources \ -H "Authorization: Bearer itc_sk_..." -H "Content-Type: application/json" \ -d '{"url":"https://www.youtube.com/watch?v=...","rights_confirmed":true}' - 2Wait for the analysisPoll
GET /sources/:idevery 15–30 seconds untilstatusisready. A long video takes a few minutes. - 3Pick momentsThe same answer lists
moments, best first, each with its score and reason. - 4Cut
curl -X POST https://api.intheclips.com/api/v1/moments/MOMENT_ID/render \ -H "Authorization: Bearer itc_sk_..." -H "Content-Type: application/json" \ -d '{"options":{"format":"9:16"}}' - 5DownloadPoll
GET /clips/:iduntil it isready, usually about two minutes, then fetchdownload_url.
MCP server
The same actions as tools for AI assistants, at https://api.intheclips.com/api/v1/mcp (Streamable HTTP, JSON-RPC over POST), with the same key as a header.
- 1Claude Code
claude mcp add --transport http intheclips https://api.intheclips.com/api/v1/mcp \ --header "Authorization: Bearer itc_sk_..."
- 2Cursor, Windsurf and other clients
{ "mcpServers": { "intheclips": { "url": "https://api.intheclips.com/api/v1/mcp", "headers": { "Authorization": "Bearer itc_sk_..." } } } }
Tools: get_account, import_video, list_videos, get_video, find_moment, get_moment, trim_moment, edit_moment, suggest_broll, auto_edit, clean_audio, translate_captions, highlight_captions, render_moment, get_clip, get_editing_kit, list_clips, watch_channel, list_watched_channels, and the archive tools (connect_archive, search_archive, read_archive_passage, list_archive_topics, get_trends) on plans that include the archive.
No-code integrations
Zapier, Make and n8n connect with the same API key: a trigger for new moments above a score, and an action that sends a video link to be analysed. They use GET /moments?order=newest&min_score=… and POST /sources from this page.
Brief for an AI agent
Paste this, with a key kept in the agent’s secrets, into any agent that can call an HTTP API.
You can use InTheClips, a service that turns long videos into short vertical clips with captions, through its HTTP API.
BASE URL: https://api.intheclips.com/api/v1
AUTH: send the header Authorization: Bearer <API_KEY> on every request. The key acts as its owner and spends their credits. Never print it or share it.
BODIES: JSON, with Content-Type: application/json
ERRORS: { "error": { "code", "message" } }. 402 = out of credits (stop and tell the user), 429 = rate limit (120 requests a minute: wait and retry), 404 = wrong id.
WORKFLOW
1. Check credits: GET /usage -> quota.credits_remaining. Analysing a video costs about 1 credit per minute of video. Cutting clips is included in the plan up to quota.clips_free_left.
2. Import a video: POST /sources { "url": "<YouTube, Twitch, Kick, Vimeo, Google Drive or Dropbox link>", "rights_confirmed": true }
Only send rights_confirmed: true if the user owns the video or has permission to use it. Ask them if you do not know.
The answer is { source, job }. Keep source.id.
3. Wait for the analysis: GET /sources/<source_id> every 15-30 seconds until status is "ready" (or "failed": then read "error" and stop). A long video can take several minutes.
4. Pick moments: the same response has "moments", best first. Each has id, title, score (0-100), start_s, end_s, duration_s and reason (why it was chosen). Show the user the titles and scores, or take the top N they asked for.
5. Optional edit in plain words: POST /moments/<moment_id>/edit/assist { "instruction": "add a hook that says I quit my job, captions bigger" }
It answers { edit, summary } WITHOUT saving it. To keep it: PUT /moments/<moment_id>/edit with that edit as the body. Each assist call costs 1 credit.
6. Cut the clip: POST /moments/<moment_id>/render {} or with options, e.g. { "options": { "format": "9:16", "karaoke_style": "box-yellow" } }
format: "9:16" (full vertical) or "1:1" (boxed). The answer is { clip, job }. Keep clip.id.
7. Wait for the clip: GET /clips/<clip_id> every 15 seconds until status is "ready" (usually about two minutes) or "failed".
8. Deliver: download_url is a direct MP4 link, valid for about an hour. Give it to the user or download the file right away.
RULES
- Do not import or cut more than the user asked for: every analysis spends their credits.
- Poll gently (15-30 s); do not hammer the API.
- If something fails, report the error message as it came; do not retry a 402.
- Nothing is posted to social networks by this API; the user publishes the clips themselves.
MORE: GET /usage, GET /clips (finished clips), POST /clips/<id>/kit (editing kit ZIP for Premiere / Resolve / Final Cut), GET /clips/<id>/timeline?format=fcpxml|xmeml|edl, POST /automations (watch a channel). If your client supports MCP, the same actions exist as tools at https://api.intheclips.com/api/v1/mcp with the same header.