Docs Overview

ClipCut Documentation

Architecture, installation, AI providers, speech models, and production deployment for ClipCut.

ClipCut is a free, MIT-licensed, self-hosted AI video clipping studio built with FastAPI, FFmpeg, yt-dlp, librosa, and local or cloud speech & language models.

How the Pipeline Works

  1. Ingestion: Paste a YouTube, Twitch, or Kick URL, upload a local file in resumable chunks, or monitor a live creator stream.
  2. Transcription: Pulls existing captions via youtube-transcript-api or yt-dlp first, falling back to multi-language faster-whisper.
  3. Moment Detection & Scoring: Tags vocal energy peaks with librosa.feature.rms(), attaches Most-Replayed viewer heatmaps, and scores hooks with your configured AI provider (or loudness fallback without a key).
  4. Studio Editing & Rendering: Renders 9:16, 1:1, or 16:9 clips with word-level ASS captions (Bounce, Hype, Clean) and background music sidechain auto-ducking.

Repository Map

  • studio/server.py — FastAPI routes, auth/rate-limit middleware, media streaming
  • studio/jobs.py — Fair multi-user job queue and video pipeline orchestration
  • studio/media.py — yt-dlp ingestion, audio probing, and replay heatmaps
  • studio/transcribe.py — Multi-language ASR (faster-whisper, optional GPU worker)
  • studio/brain.py — Hook scoring prompts, gaming rules, and feedback personalization
  • studio/render.py — FFmpeg cutting, layouts, ASS captions, and BGM mixing
  • web/index.html — Single-file zero-build studio web application

ClipCut is open-source software powered by FastAPI, FFmpeg, yt-dlp, librosa, and Faster-Whisper. Built for creators, streamers, and podcast editors.

© 2026 ClipCut. MIT License.