ZA

zhouxiaoka/autoclip

开发工具
1.7万 stars 质量 74 趋势 100MIT

AutoClip|一个链接,一键出片。开源 AI 视频剪辑桌面工具,将播客、访谈、课程等长视频自动剪成短视频,生成字幕、封面和发布文案,适配抖音、小红书、TikTok、Reels 与 YouTube Shorts。Open-source AI video clipping & content repurposing.

概览

开源,在你的电脑上剪辑与渲染。贴一个链接,选好平台,生成 视频、封面和发布文案 , 适配抖音、小红书、TikTok、Reels、YouTube Shorts、B 站与 YouTube。 软件免费,云端模型按量计费;需要调整时可进入编辑器。 ,桌面、CLI 与 MCP 同步更新。版本以 autoclip --version 和 MCP get_version 为准。一键出片、字幕分页、人物取景与长视频队列修复见 更新日志。旧版用户请升级。 点击截图或「播放」直接观看完整成片;下方语言指成片字幕语言。这里精选 6 条,展开可看另外 10 条。 Bill Gates 访谈式 · 抖音 · 中文 ▶ 播放 1:01 · 原片 AI Experts Debate 访谈式 · Shorts · 英文 ▶ 播放 1:25 · 原片 Tony Robbins 满屏播客 · 抖音 · 中文 ▶ 播放 1:45 · 原片 Andrew Garfield × Amy Poehler 满屏播客 · Shorts · 英文 ▶ 播放 1:01 · 原片 佟丽娅 × 鲁豫 原画幅 · B 站 · 中文 ▶ 播放 1:41 · 原片 Sam Altman 原画幅 · B 站 · 中文 ▶ 播放 2:02 · 原片 Adam Neumann 满屏播客 · TikTok · 英文 ▶ 播放 0:59 · 原片 小奇 × 鲁豫 访谈式 · 抖音 · 中文 ▶ 播放 0:50 · 原片 郭柯宇 × 鲁豫 访谈式 · 抖音 · 中文 ▶ 播放 1:11 · 原片 Willem Dafoe 满屏播客 · TikTok · 英文 ▶ 播放 1:07 · 原片 TIM × 罗永浩 访谈式 · 抖音 · 中文 ▶ 播放 1:05 · 原片 Jensen Huang 访谈式 · 小红书 · 中文 ▶ 播放 1:17 · 原片 Andrej Karpathy 访谈式 · 抖音 · 中文 ▶ 播放 0:43 · 原片 A20 Pro 访谈式 · 小红书 · 中文 ▶ 播放 2:00 · 原片 Sylvester Stallone 访谈式 · 抖音 · 中文 ▶ 播放 1:39 · 原片 MrBeast 满屏播客 · TikTok · 英文 ▶ 播放 1:42 ·...

README


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.

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
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.
13 Languages Full desktop UI, tray menus, and docs in 13 languages (+ zh-TW, de, id, tr, vi) plus Arabic RTL captions.

Examples

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

Vertical · Interview & Podcast

Landscape · Original Aspect Ratio

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.

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
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

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

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

Troubleshooting · Known Issues


Documentation

Topic Guide
Install & first clips 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).

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

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add zhouxiaoka/autoclip
新手?先看 mcpskill.org 教程 →