clipora Sign up free
Home Automate shorts

AI clipping API: automate shorts with one request in, one webhook out

Create, edit and publish vertical clips with Clipora.

The whole automation loop is two HTTP messages. You POST a video URL with an API key and a webhook address; when processing ends, Clipora sends exactly one signed webhook carrying clip titles and durable download links. No polling loop, no timeout guessing.

For agent-driven automation (Claude, ChatGPT, custom agents) the same account also exposes an MCP server; that protocol surface is documented on its own page.

What the clipping API costs per minute of video

PlanPriceSource minutes a monthPer source minute
Starter$12/month100$0.120 ($0.100 billed yearly)
Creator$29/month300$0.097 ($0.081 billed yearly)
Pro$59/month750$0.079 ($0.066 billed yearly)

API calls, dashboard jobs and MCP tool calls all draw from the same balance; there is no separate API plan and no per-request fee. Trims, hook edits and re-renders use no minutes.

Try it Paste a link, get vertical clips

Your first video free up to 60 minutes, then 20 free minutes a month, no credit card.

Get free clips First video free up to 60 min · no card · no watermark from $12/month

The loop, end to end

Start a job with one request:

curl -X POST https://api.openshorts.app/api/process \
  -H "Authorization: Bearer osk_..." -H "Content-Type: application/json" \
  -d '{"url": "https://youtube.com/watch?v=...", "acknowledged": true,
       "webhook_url": "https://your-server.com/hooks/openshorts",
       "webhook_secret": "your-shared-secret"}'

The response returns a job id immediately. Minutes later, when the clips are cut, subtitled and archived, Clipora POSTs once to your webhook URL with the job outcome, clip titles and download links durable enough to fetch later. A failed job also fires the webhook, so your pipeline never hangs on silence.

Verifying the webhook

If you passed a webhook_secret, the request carries an X-Clipora-Signature header of the form sha256=<hex>: the HMAC-SHA256 of the raw request body under your secret. Recompute it and compare in constant time:

expected = "sha256=" + hmac.new(secret, raw_body, hashlib.sha256).hexdigest()
hmac.compare_digest(expected, request.headers["X-Clipora-Signature"])

Reject anything that does not match and you have closed the door on forged deliveries.

Using it from n8n, Zapier or Make

No dedicated node is needed: the flow is a generic HTTP Request step that POSTs to /api/process, then a Webhook trigger that receives the completion payload and fans out to whatever comes next, posting to socials, dropping links in Slack, logging to a sheet. The two-step shape above is the whole integration, which is why generic nodes cover it. There is now also an importable n8n workflow that wires the whole loop, including channel watching, Telegram approval and scheduled publishing.

A weekly pipeline in one cron line

uvx openshorts process "$EPISODE_URL" \
  --webhook https://your-server.com/hooks/openshorts \
  --webhook-secret "$SECRET"

What automation costs

Agents instead of scripts

If the thing driving the pipeline is an AI agent rather than a script, the same account exposes a native MCP server with six tools covering process, status, clips, quota, subtitles and publishing. The endpoint, the tool table and client setup live on the MCP server and API page.

Common questions

Is there an n8n integration for Clipora?
Yes: an importable workflow at /n8n-youtube-shorts-automation watches a YouTube channel, clips each video, sends the clips to Telegram for approval and schedules the approved ones to your socials. Nothing forces you to use it, though, since the integration is just an HTTP Request node posting to /api/process plus a Webhook trigger.
Do automated API calls cost more than using the dashboard?

Sources

Related guides