autoclip README

The project's README from github.com/zhouxiaoka/autoclip. As one markdown file: README.md.

AutoClip

AutoClip

Turn any video, link, or live stream into ready-to-post clips.

The open-source OpusClip alternative — local-first AI clipping for podcasts, interviews, and gaming streams with smart reframing, captions, covers, titles, and built-in MCP for AI agents. Zero subscriptions, no paywall.


GitHub release  GitHub stars  Downloads  20 Languages  License: MIT


Download AutoClip   AutoClip — GitHub Trending


Website  ·  Docs  ·  AI Style Cloner (New)  ·  Template Gallery (36)  ·  Download  ·  Live Replays (v1.6)  ·  Showcase  ·  Quick Start  ·  Docs  ·  Issues

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Português · Русский · Français · Bahasa Indonesia · Türkçe · Tiếng Việt · Deutsch · Italiano · Polski · ไทย · Nederlands · Українська · हिन्दी · العربية


⭐ Free, MIT-licensed, zero subscriptions — everything cuts and renders on your machine. Star the repo if you find it useful!

APIMart
APIMart
Low-cost AI image & video API · GPT-Image-2 from $0.006/img
Sponsor / Partner with AutoClip
Put your AI API or creator tool in front of AutoClip users worldwide (cloud dynamic provider listing supported, zero client release needed).
[email protected]

Overview

Drop in a link, local video, or live stream replay — AutoClip finds the best moments, tracks the speaker, burns in captions, generates covers, and exports ready-to-post clips for TikTok, Shorts, Reels, YouTube, Douyin, Xiaohongshu, and Bilibili.

Local-first by design: cutting and rendering run directly on your computer with no upload queues and no monthly fee. Bring your own API key or run 100% offline with Ollama / LM Studio + Whisper / SenseVoice.

AutoClip v1.6 Live Stream Replays Walkthrough

Home → 6 Live Replay sources → OBS WebSocket setup → Twitch import → Finished clip with captions & one-click publish.


What's New in v1.6

Feature Details
✦ AI Style Cloner (v1.6) Clone once, Clip forever — drop any viral Short/Reel reference clip into the app to extract its typography, palette, motion, and 3D depth into a reusable .zip template pack in ~60s. Preview on your own footage, tweak brand colors/scale live, save your Brand Kit, and share .zip packs in one click. Explore AI Style Cloner →
36-Template Studio & GSAP Motion 5 built-in + 31 hot-updatable viral templates (including 14 Brand-Variable flagships, 5 local ONNX 3-layer 3D depth templates where giant typography passes behind the speaker at 119 FPS on CPU, and 2 GSAP motion flagships kinetic_slam_pro & cinema_card_motion). Browse the live Template Gallery.
6 Live Replay Sources Dedicated Live Replay tab supporting OBS Studio, Twitch, YouTube, Kick, Discord, and local recordings.
OBS Auto-Capture Connect OBS WebSocket (4455), trim losslessly (-c copy), and auto-queue clips right after you end stream.
Game Highlights Generalized highlight detection supporting 8s+ standalone plays with tighter vision/OCR budgets.
One-Click Repurpose Unified playable clip cards — switch target platforms in one click without losing previous exports.
20 Languages Full desktop UI, tray menus, and docs in 20 languages (+ it, pl, th, nl, uk, hi, ar) with Arabic RTL support.

✦ AI Style Cloner & Brand-Variable Studio

Clone once, Clip forever. Turn any viral Short or Reel you love into your own reusable local template — then apply your brand color and typography across every future clip automatically. See live showcase & Golden Cases →

AutoClip Style Picker with Brand Variables, Clone Style, and Zip Import
36 Templates · Live Brand Color / Scale / 3D Depth · One-click ✦ Clone Style & .zip Import
AutoClip AI Style Cloner Modal
Drop any reference clip → Preview on your own footage → Save & share as .zip
📸 Inside the App (5 screenshots)
Home screen with Link, File, and Live Replay tabs
Home screen — Link, File, and Live Replay
Live Replay 6-source picker
Live Replay — 6 replay sources
Inline OBS Studio WebSocket connection settings
Inline OBS Studio WebSocket settings
Twitch replay import
Twitch import & local recording picker
Finished clip with Twitch source attribution
Finished clip — source attribution, 9:16 crop, captions, and one-click Download / Publish / Redo

Examples

Click any thumbnail or ▶ Play to watch full clips rendered by AutoClip. Language labels indicate burned-in subtitle language.

Vertical · Interview & Podcast

Bill Gates
Bill Gates
Interview · Douyin · ZH
▶ Play 1:01 · Source
AI Experts Debate
AI Experts Debate
Interview · Shorts · EN
▶ Play 1:25 · Source
Tony Robbins
Tony Robbins
Podcast · Douyin · ZH
▶ Play 1:45 · Source
Andrew Garfield × Amy Poehler
Garfield × Poehler
Podcast · Shorts · EN
▶ Play 1:01 · Source

Landscape · Original Aspect Ratio

Tong Liya × Lu Yu
佟丽娅 × 鲁豫 · 16:9 · Bilibili · ZH
▶ Play 1:41 · Source
Sam Altman
Sam Altman · 16:9 · Bilibili · ZH
▶ Play 2:02 · Source
See 10 more clips
Adam Neumann
Adam Neumann
Podcast · TikTok · EN
▶ Play 0:59 · Source
Xiao Qi × Lu Yu
小奇 × 鲁豫
Interview · Douyin · ZH
▶ Play 0:50 · Source
Guo Keyu × Lu Yu
郭柯宇 × 鲁豫
Interview · Douyin · ZH
▶ Play 1:11 · Source
Willem Dafoe
Willem Dafoe
Podcast · TikTok · EN
▶ Play 1:07 · Source
TIM × Luo Yonghao
TIM × 罗永浩
Interview · Douyin · ZH
▶ Play 1:05 · Source
Jensen Huang
Jensen Huang
Interview · Xiaohongshu · ZH
▶ Play 1:17 · Source
Andrej Karpathy
Andrej Karpathy
Interview · Douyin · ZH
▶ Play 0:43 · Source
A20 Pro
A20 Pro
Interview · Xiaohongshu · ZH
▶ Play 2:00 · Source
Sylvester Stallone
Sylvester Stallone
Interview · Douyin · ZH
▶ Play 1:39 · Source
MrBeast
MrBeast
Podcast · TikTok · EN
▶ Play 1:42 · Source

Browse 16+ clips, covers, and post copy in the Showcase →, or share your own clips. Source copyrights remain with their original creators.


Quick Start

Use case Recommended setup Requirements
Desktop app (easiest) Download .dmg / -setup.exe from Releases Apple Silicon macOS or Windows 10/11 x64 (Python & FFmpeg bundled)
AI agents / CLI / MCP uvx autoclip-mcp or npx skills add zhouxiaoka/autoclip Python 3.10+ (3.11 recommended) & FFmpeg
Self-hosted / Linux / Intel Mac docker compose up -d --build Docker & Compose v2

1. Desktop App

  1. Download the latest installer from GitHub Releases (aarch64.dmg for Apple Silicon macOS, x64-setup.exe for Windows). Portable Python and FFmpeg are bundled.
  2. Open Settings, pick a cloud provider (or start Ollama / LM Studio), test the connection, and save — or click Try the built-in example with no API key.
  3. Paste a video link, drop a file, or switch to Live Replay to connect OBS or import a stream recording. Pick your platforms and click Generate.

New to AutoClip? Follow the 2-Minute Desktop Quickstart (with UI GIFs) → — step-by-step setup with zero paid configuration needed.

Installers are built publicly on GitHub Actions (Desktop Build) with build-provenance.json SHA-256 verification. First launch on an unsigned build: on macOS run xattr -dr com.apple.quarantine "/Applications/AutoClip Desktop.app" (or System Settings → Privacy & Security → Open Anyway); on Windows click More info → Run anyway on SmartScreen. See Code Signing & Verification Policy (notarization tracked in #119).

2. CLI & MCP (Claude Code, Cursor, Codex, OpenCode & scripts)

Let AI coding agents clip videos directly from your terminal (claude mcp add autoclip -- uvx autoclip-mcp). Full MCP setup guides: English · 简体中文 · 日本語 · 한국어 · Español · Deutsch.

uvx autoclip-mcp
pip install autoclip-mcp
npx skills add zhouxiaoka/autoclip

autoclip --version
autoclip produce talk.mp4 --srt talk.srt --platform tiktok --portrait-style podcast --json
autoclip outputs PROJECT_ID --export-kits

An agent-agnostic plugin marketplace registers the autoclip and template-cloner skills plus an .mcp.json that starts uvx autoclip-mcp and forwards AUTOCLIP_API_KEY from the environment (leave it unset if the desktop app already has a model key or when using the zero-key split workflow). Codex and Claude Code manifests live at the repository root. Codex: codex plugin marketplace add zhouxiaoka/autoclip, then codex plugin add autoclip@autoclip (first uvx startup can exceed the default 10s timeout; the bundled config sets startup_timeout_sec to 120). Claude Code: /plugin marketplace add zhouxiaoka/autoclip, then install the autoclip plugin.

Offline wheel, source install & MCPB packaging
# Install from a downloaded CLI/MCP release ZIP wheel
python3 -m venv .venv && source .venv/bin/activate
python -m pip install -r requirements.txt
python -m pip install --force-reinstall --no-deps autoclip_mcp-*-py3-none-any.whl

# Or install from source
python -m pip install --no-deps .

Keep the original .whl filename when installing offline (do not shorten or rename it, or pip will report Invalid wheel filename).

To build a local MCPB bundle without publishing, run python scripts/pack_mcpb.py (never run smithery mcp publish automatically).

3. Docker / Web

git clone https://github.com/zhouxiaoka/autoclip.git
cd autoclip
cp env.example .env
mkdir -p data logs uploads
docker compose up -d --build

Open the web UI at http://localhost:3000 (API docs at http://localhost:8000/docs). See Docker Guide for bind-mount permissions and custom origins.


Benchmarks

Measured on an Apple Silicon Mac (LLM cost estimated with qwen-plus; excludes cloud ASR and AI image generation; check your provider bill for exact usage):

Input Source Time & Output Est. LLM Cost
With existing subtitles Jensen Huang · 1h 43m (EN → Xiaohongshu) 7.5 min / 10 clips ¥0.09
No subtitles (local Whisper) TIM × Luo Yonghao · 2h 52m (ZH → Douyin) 29.5 min / 10 clips ¥0.20

Sponsor ❤️

APIMart
APIMart
Thanks to APIMart for sponsoring AutoClip! APIMart is a low-cost API platform for AI image & video generation — GPT-Image-2 from $0.006/image (160+ images per dollar). One async API covers both image and video: submit a task, get an ID, fetch results via polling or callback. Batch tens of thousands of images without timeouts and switch models without changing code. Pay-as-you-go with no monthly fee — sign up here.

Cloud Transcription (Alibaba Cloud)

Affiliate link (separate from the sponsor above): sign up on Alibaba Cloud, create an API key in the Bailian console, and enable Bailian cloud ASR under Settings → Default models → Speech to subtitles.

  1. Alibaba Cloud signup (affiliate link)
  2. Bailian console — create your API key

FAQ

Is AutoClip free? Do I need an API key?

Yes — AutoClip is free and MIT-licensed. Cloud analysis, transcription, and AI covers use your own API keys at provider rates (local cover layout is free by default). Ollama and LM Studio require no cloud key. Direct publishing uses your own Bilibili or Upload-Post account.

Does my video get uploaded to the cloud?

Cutting and rendering run locally. Cloud analysis only sends transcript text; vision models only receive sampled frames; cloud ASR uploads audio. Running local LLMs + Whisper / SenseVoice keeps everything offline. Analytics and crash reports can be turned off in Settings. See Privacy.

What kind of videos work best?

Podcasts, interviews, talks, courses, and gaming live stream replays (OBS / Twitch / YouTube / Kick / Discord). Sources with existing subtitles are fastest; otherwise use local Whisper / SenseVoice or cloud ASR. For gameplay or low-dialogue streams, enable a vision-capable model.

Why weren't any clips generated?

Check the failed stage: subtitles/transcription, model connection, FFmpeg, disk space, or platform length limits (YouTube long-form requires ≥180s; use Shorts, TikTok, or Bilibili for shorter clips). If it still fails, open an issue with autoclip --version, OS, model, and redacted logs, or check Known Issues (#96).

Troubleshooting · Known Issues


Documentation

Topic Guide
Install & first clips 2-Minute Quickstart (with GIFs) · Installation Guide
Self-hosting & agents Docker · MCP & AI Agents (ZH · JA · KO · ES · DE) · Agent Skill (ZH) · OpenCode
Models & troubleshooting Multi-LLM Setup (ZH) · FAQ
Releases & privacy Changelog · Code Signing · Roadmap (ZH) · Community Board (ZH) · Privacy
Research Pick the Moment, Not the Effect · 中文
Contributing & i18n Contributing (ZH) · Translating AutoClip · Translation Guide (ZH)

Contribute

PRs, bug reports, sample clips, and translations are welcome. If AutoClip saves you time, a ⭐ star helps!

AutoClip is maintained solo — please expect async replies (no live or 1-on-1 setup support).

Star History

Built with FastAPI, React, Tauri, FFmpeg, yt-dlp, Whisper, and FunASR. MIT License.

autoclip (zhouxiaoka/autoclip)

python
Searching Database…

What is this?An open-source AI desktop app that turns long videos — podcasts, interviews, courses, livestreams — into share-ready short clips, auto-cutting the highlights and generating subtitles, covers and titles.
Is it a desktop app, a web service, or a CLI?All three: desktop installers for macOS (Apple Silicon) and Windows 10/11 x64, a Docker-based Web interface, and a CLI that also runs an MCP server. Intel Macs and Linux go through Docker or the CLI.
How do I install it and cut my first clip?Download an installer from GitHub Releases — Python and FFmpeg are bundled. After installing, open Settings, pick a model provider, test the connection and save, then import a video.
Do I need to pay for an AI model, or can it run locally?AutoClip itself is free and MIT-licensed. Cloud models (Qwen, OpenAI-compatible endpoints, Gemini, SiliconFlow) are billed by the provider through your own API key; the Ollama and LM Studio presets run locally with no cloud key — Ollama defaults to qwen2.5:7b.
Which videos work best with it?Analysis is mainly subtitle-based, so it shines on interviews, podcasts, courses and talking-head content; purely visual action or music videos may yield little. Testing with your own 3-5 minute sample first is recommended.
What can I throw at it — local files or links?Both: import local videos or paste YouTube and Bilibili links, optionally attaching an SRT subtitle file alongside.
What if my video has no subtitles?It still works: the app uses a local faster-whisper component, downloading the speech model on first transcription. If you already have subtitles, import the SRT too — accurate subtitles cut waiting time and recognition errors.
Can it publish clips straight to TikTok, YouTube and the rest?Since v1.3.2, yes. Overseas platforms go through your own Upload-Post account (TikTok, Instagram, YouTube, Facebook, LinkedIn, X and more), Bilibili needs a one-time cookie, and export presets cover Douyin, Xiaohongshu, YouTube Shorts and Bilibili with burned-in subtitles and a title card. You can also just download without posting.
Can I automate it or wire it into AI agents?The CLI handles batch orchestration, and 'autoclip mcp' starts a stdio MCP server so any MCP-capable client can drive the same processing pipeline.
Creator
zhouxiaoka
Size
108.6 MB
Stars
10.8K
Age
1y
Commits · 90 Days