Kutklip API
Use Kutklip from your own app or server: send a YouTube link, get back short vertical clips chosen by AI, with the speaker in frame and subtitles. The API runs side by side with the website, uses the same account, plan and prices, and shares the same fair queue.
Your API keys
Sign in to create API keys.
Authentication and security
- Send your key in the
Authorizationheader:Authorization: Bearer kk_live_…. Keys in the URL are refused. - Keep keys on your server. The API sends no CORS headers, so web pages on other sites can't call it.
- Keys are shown once and stored only as a hash. Revoke a key above and it stops working at once. Up to 5 keys per account.
- HTTPS only. Every answer is
Cache-Control: no-store.
1. Start a video
POST https://www.kutklip.online/api/v1/jobs. Charged exactly like the website: your plan's clips first, then the free video, then single-video credits. Admin accounts are not charged.
curl -X POST https://www.kutklip.online/api/v1/jobs \
-H "Authorization: Bearer $KUTKLIP_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 6f1c2a9e-order-1042" \
-d '{
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"count": 3,
"length": 30,
"frame": "vertical",
"captions": true
}'| Field | Values | Default |
|---|---|---|
url | A public YouTube link (up to 2 hours) | required |
count | Number of clips, 1–5 | 3 |
length | About how long each clip is, in seconds (1–120). With fit: "smart" the AI keeps each moment complete, so clips can be shorter or longer. | 30 |
frame | vertical (9:16, follows the speaker), vertical_blur (whole picture on a blurred background), original, square | vertical |
captions | true burns in subtitles (Egyptian Arabic for Arabic videos, the spoken language otherwise) | false |
mode | smart (AI picks the best moments), spread, sequential, custom (with starts) | smart |
starts | For custom: start times in seconds, e.g. [60, 300] | – |
fit | smart or exact (every clip exactly length seconds) | smart |
Answer: 201 Created with { job: { id, status, … } }. Send an Idempotency-Key (8–100 characters) so a retried request is never charged twice: the same key returns the first answer for 24 hours.
2. Check progress and get the clips
GET https://www.kutklip.online/api/v1/jobs/{id}. Ask every 5–10 seconds. Clips appear one by one while the rest are being cut.
{
"job": {
"id": "3f2b…",
"status": "done", // queued | downloading | cutting | done | failed
"stage": "done",
"progress": 100,
"title": "Video title",
"queue": null, // while waiting: { "position": 2, "wait_seconds": 180 }
"clips_total": 3,
"clips": [{
"index": 1,
"title": "The mistake nobody talks about",
"start_seconds": 312.4, "end_seconds": 351.0, "duration_seconds": 38.6,
"video_url": "https://…/clip-01.mp4?…", // signed link
"thumbnail_url": "https://…/clip-01.jpg?…",
"size_bytes": 5123456
}],
"zip_url": "https://…/clips.zip?…",
"error": null, // when failed: { "code": "...", "message": "..." } (nothing is charged)
"created_at": "2026-11-16T17:20:00.000Z",
"expires_at": "2026-11-17T17:20:00.000Z"
}
}Download the files before expires_at: clips are deleted 24 hours after the video was started.
Other endpoints
GET /api/v1/jobs?limit=20: your recent videos (from the website and the API).GET /api/v1/me: your plan, clips left, free video and credits, and your limits.
Limits and errors
- 120 requests per minute per key; 6 new videos per minute and 200 per day per account.
- Videos run in parallel on the clipping server, fairly shared between people; extra videos wait in line (see
queue). - Every answer has
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset; a429also hasRetry-After.
Errors always look like { "error": { "code": "...", "message": "..." } }:
| Status | Codes |
|---|---|
| 400 | invalid_url, invalid_count, invalid_length, invalid_frame, invalid_json, not_enough_clips, key_in_url |
| 401 | unauthorized (missing, wrong or revoked key) |
| 402 | payment_required, plan_used_up: buy a video or a plan on the website |
| 404 / 410 | not_found, expired |
| 409 / 422 | in_progress, idempotency_mismatch |
| 429 | rate_limited, daily_limit, busy (the queue is full; try again later) |
| 502 | worker_unavailable: the clipping server can't be reached right now |
Only clip videos you own or have permission to reuse.