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

Authentication and security

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
  }'
FieldValuesDefault
urlA public YouTube link (up to 2 hours)required
countNumber of clips, 1–53
lengthAbout 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
framevertical (9:16, follows the speaker), vertical_blur (whole picture on a blurred background), original, squarevertical
captionstrue burns in subtitles (Egyptian Arabic for Arabic videos, the spoken language otherwise)false
modesmart (AI picks the best moments), spread, sequential, custom (with starts)smart
startsFor custom: start times in seconds, e.g. [60, 300]–
fitsmart 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

Limits and errors

Errors always look like { "error": { "code": "...", "message": "..." } }:

StatusCodes
400invalid_url, invalid_count, invalid_length, invalid_frame, invalid_json, not_enough_clips, key_in_url
401unauthorized (missing, wrong or revoked key)
402payment_required, plan_used_up: buy a video or a plan on the website
404 / 410not_found, expired
409 / 422in_progress, idempotency_mismatch
429rate_limited, daily_limit, busy (the queue is full; try again later)
502worker_unavailable: the clipping server can't be reached right now

Only clip videos you own or have permission to reuse.