Metadata-Version: 2.4
Name: autoclip-mcp
Version: 1.6.5
Summary: AutoClip — AI 长视频自动切片：CLI 与 MCP server 入口
License: MIT
Project-URL: Homepage, https://github.com/zhouxiaoka/autoclip
Project-URL: Issues, https://github.com/zhouxiaoka/autoclip/issues
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi==0.141.1
Requires-Dist: uvicorn[standard]==0.52.4
Requires-Dist: starlette==1.6.0
Requires-Dist: python-multipart==0.0.32
Requires-Dist: websockets==16.1.1
Requires-Dist: aiofiles==25.1.0
Requires-Dist: sqlalchemy==2.0.52
Requires-Dist: alembic==1.19.2
Requires-Dist: pydantic==2.13.5
Requires-Dist: pydantic-settings==2.15.0
Requires-Dist: celery[redis]==5.6.3
Requires-Dist: redis==6.4.0
Requires-Dist: requests==2.34.2
Requires-Dist: aiohttp==3.14.3
Requires-Dist: python-jose[cryptography]==3.5.0
Requires-Dist: passlib[bcrypt]==1.7.4
Requires-Dist: cryptography==50.0.1
Requires-Dist: qrcode[pil]==8.2
Requires-Dist: Pillow==13.0.0
Requires-Dist: yt-dlp[default]==2026.8.19
Requires-Dist: pysrt==1.1.2
Requires-Dist: webrtcvad-wheels==2.0.14
Requires-Dist: psutil==7.2.2
Requires-Dist: pytz==2026.3.post1
Requires-Dist: openai==3.8.0
Requires-Dist: google-genai==2.22.0
Requires-Dist: dashscope==1.27.4
Requires-Dist: mcp==2.1.1
Requires-Dist: sentry-sdk==2.69.2
Dynamic: license-file

<!-- mcp-name: io.github.zhouxiaoka/autoclip-mcp -->

<div align="center">

<img src="src-tauri/icons/128x128.png" alt="AutoClip" width="76" height="76">

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

<br>

<p>
  <a href="https://github.com/zhouxiaoka/autoclip/releases/latest"><img src="https://img.shields.io/github/v/release/zhouxiaoka/autoclip?style=flat-square&color=4F46E5" alt="GitHub release" height="20"></a>&nbsp;
  <a href="https://github.com/zhouxiaoka/autoclip/stargazers"><img src="https://img.shields.io/github/stars/zhouxiaoka/autoclip?style=flat-square&color=FFD700&logo=github&logoColor=white&label=Stars" alt="GitHub stars" height="20"></a>&nbsp;
  <a href="https://github.com/zhouxiaoka/autoclip/releases"><img src="https://img.shields.io/github/downloads/zhouxiaoka/autoclip/total?style=flat-square&color=10B981" alt="Downloads" height="20"></a>&nbsp;
  <img src="https://img.shields.io/badge/Languages-20-0EA5E9?style=flat-square" alt="20 Languages" height="20">&nbsp;
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue?style=flat-square" alt="License: MIT" height="20"></a>
</p>

<br>

<!-- hero-cta:start -->
<p>
  <a href="https://zhouxiaoka.github.io/autoclip_intro/"><img src="docs/images/download-button.svg" alt="Download AutoClip" width="248" height="55"></a>&nbsp;&nbsp;
  <a href="https://trendshift.io/repositories/25801"><img src="https://trendshift.io/api/badge/repositories/25801" alt="AutoClip — GitHub Trending" width="250" height="55"></a>
</p>
<!-- hero-cta:end -->

<br>

<p>
  <a href="https://zhouxiaoka.github.io/autoclip_intro/"><strong>Website</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="https://docs.autoclip.tv"><strong>Docs</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="https://zhouxiaoka.github.io/autoclip_intro/features/style-cloner/"><strong>AI Style Cloner (New)</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="https://zhouxiaoka.github.io/autoclip_intro/templates/"><strong>Template Gallery (36)</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="https://github.com/zhouxiaoka/autoclip/releases/latest"><strong>Download</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="https://zhouxiaoka.github.io/autoclip_intro/features/game-streams/"><strong>Live Replays (v1.6)</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="https://zhouxiaoka.github.io/autoclip_intro/cases/?lang=en"><strong>Showcase</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="#quick-start"><strong>Quick Start</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="#documentation"><strong>Docs</strong></a>
  &nbsp;&middot;&nbsp;
  <a href="https://github.com/zhouxiaoka/autoclip/issues/new/choose"><strong>Issues</strong></a>
</p>

<p>
  <strong>English</strong> · <a href="docs/i18n/README-ZH.md">简体中文</a> · <a href="docs/i18n/README-ZH-TW.md">繁體中文</a> · <a href="docs/i18n/README-JA.md">日本語</a> · <a href="docs/i18n/README-KO.md">한국어</a> · <a href="docs/i18n/README-ES.md">Español</a> · <a href="docs/i18n/README-PT.md">Português</a> · <a href="docs/i18n/README-RU.md">Русский</a> · <a href="docs/i18n/README-FR.md">Français</a> · <a href="docs/i18n/README-ID.md">Bahasa Indonesia</a> · <a href="docs/i18n/README-TR.md">Türkçe</a> · <a href="docs/i18n/README-VI.md">Tiếng Việt</a> · <a href="docs/i18n/README-DE.md">Deutsch</a> · <a href="docs/i18n/README-IT.md">Italiano</a> · <a href="docs/i18n/README-PL.md">Polski</a> · <a href="docs/i18n/README-TH.md">ไทย</a> · <a href="docs/i18n/README-NL.md">Nederlands</a> · <a href="docs/i18n/README-UK.md">Українська</a> · <a href="docs/i18n/README-HI.md">हिन्दी</a> · <a href="docs/i18n/README-AR.md">العربية</a>
</p>

<br>

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

<!-- top-sponsors:start -->
<table width="100%">
  <tr>
    <td align="center" width="50%">
      <a href="https://go.apimart.ai/tw-autoclip"><img src="docs/sponsors/apimart.png" alt="APIMart" width="64"></a><br>
      <a href="https://go.apimart.ai/tw-autoclip"><strong>APIMart</strong></a><br>
      <sub>Low-cost AI image &amp; video API · GPT-Image-2 from $0.006/img</sub>
    </td>
    <td align="center" width="50%">
      <a href="mailto:christine_zhouye@163.com?subject=AutoClip%20Sponsor%20%2F%20Provider%20Partnership"><strong>Sponsor / Partner with AutoClip</strong></a><br>
      <sub>Put your AI API or creator tool in front of AutoClip users worldwide (cloud dynamic provider listing supported, zero client release needed).<br><a href="mailto:christine_zhouye@163.com">christine_zhouye@163.com</a></sub>
    </td>
  </tr>
</table>
<!-- top-sponsors:end -->

</div>

---

## 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](docs/images/v1.6/autoclip-v1.6-demo.gif)

<p align="center"><em>Home → 6 Live Replay sources → OBS WebSocket setup → Twitch import → Finished clip with captions &amp; one-click publish.</em></p>

---

## 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 →](https://zhouxiaoka.github.io/autoclip_intro/features/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](https://zhouxiaoka.github.io/autoclip_intro/templates/)**. |
| **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 →](https://zhouxiaoka.github.io/autoclip_intro/features/style-cloner/)**

<table width="100%">
<tr>
<td align="center" valign="top" width="52%">
<img src="docs/images/v1.6/style-cloner-bar.png" alt="AutoClip Style Picker with Brand Variables, Clone Style, and Zip Import"><br>
<em>36 Templates · Live Brand Color / Scale / 3D Depth · One-click ✦ Clone Style &amp; .zip Import</em>
</td>
<td align="center" valign="top" width="48%">
<img src="docs/images/v1.6/style-cloner-modal.png" alt="AutoClip AI Style Cloner Modal"><br>
<em>Drop any reference clip → Preview on your own footage → Save &amp; share as .zip</em>
</td>
</tr>
</table>

<details>
<summary>📸 Inside the App (5 screenshots)</summary>

<table width="100%">
<tr>
<td align="center" valign="top" width="50%">
<img src="docs/images/v1.6/en-01-home.jpg" alt="Home screen with Link, File, and Live Replay tabs"><br>
<em>Home screen — Link, File, and Live Replay</em>
</td>
<td align="center" valign="top" width="50%">
<img src="docs/images/v1.6/en-02-replays-obs.jpg" alt="Live Replay 6-source picker"><br>
<em>Live Replay — 6 replay sources</em>
</td>
</tr>
<tr>
<td align="center" valign="top" width="50%">
<img src="docs/images/v1.6/en-03-replays-obs-settings.jpg" alt="Inline OBS Studio WebSocket connection settings"><br>
<em>Inline OBS Studio WebSocket settings</em>
</td>
<td align="center" valign="top" width="50%">
<img src="docs/images/v1.6/en-04-replays-twitch.jpg" alt="Twitch replay import"><br>
<em>Twitch import &amp; local recording picker</em>
</td>
</tr>
<tr>
<td align="center" valign="top" colspan="2">
<img src="docs/images/v1.6/en-05-result-card.jpg" width="75%" alt="Finished clip with Twitch source attribution"><br>
<em>Finished clip — source attribution, 9:16 crop, captions, and one-click Download / Publish / Redo</em>
</td>
</tr>
</table>

</details>

---

## Examples

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

### Vertical · Interview &amp; Podcast

<table width="100%">
<tr>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/gates-ezra/01.mp4?v=2026-10-01g"><img src="docs/images/demos/gates-ezra-01.jpg" width="180" alt="Bill Gates"></a><br>
<strong>Bill Gates</strong><br>
Interview · Douyin · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/gates-ezra/01.mp4?v=2026-10-01g">▶ Play 1:01</a> · <a href="https://www.youtube.com/watch?v=A_156w0aYtU">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/ai-labs-debate/01.mp4?v=2026-10-01g"><img src="docs/images/demos/ai-labs-debate-01.jpg" width="180" alt="AI Experts Debate"></a><br>
<strong>AI Experts Debate</strong><br>
Interview · Shorts · EN<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/ai-labs-debate/01.mp4?v=2026-10-01g">▶ Play 1:25</a> · <a href="https://www.youtube.com/watch?v=OhOmLqR5nN4">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/robbins-36months/01.mp4?v=2026-10-01g"><img src="docs/images/demos/robbins-36months-01.jpg" width="180" alt="Tony Robbins"></a><br>
<strong>Tony Robbins</strong><br>
Podcast · Douyin · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/robbins-36months/01.mp4?v=2026-10-01g">▶ Play 1:45</a> · <a href="https://www.youtube.com/watch?v=DuRcrbP3kag">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/garfield-poehler/01.mp4?v=2026-10-01g"><img src="docs/images/demos/garfield-poehler-01.jpg" width="180" alt="Andrew Garfield × Amy Poehler"></a><br>
<strong>Garfield × Poehler</strong><br>
Podcast · Shorts · EN<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/garfield-poehler/01.mp4?v=2026-10-01g">▶ Play 1:01</a> · <a href="https://www.youtube.com/watch?v=OJV8AaWCxQQ">Source</a>
</td>
</tr>
</table>

### Landscape · Original Aspect Ratio

<table width="100%">
<tr>
<td align="center" valign="top" width="50%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/luyu-tongliya/01.mp4?v=2026-10-01g"><img src="docs/images/demos/luyu-tongliya-01.jpg" width="360" alt="Tong Liya × Lu Yu"></a><br>
<strong>佟丽娅 × 鲁豫</strong> · 16:9 · Bilibili · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/luyu-tongliya/01.mp4?v=2026-10-01g">▶ Play 1:41</a> · <a href="https://www.bilibili.com/video/BV1qheu6kEFV/">Source</a>
</td>
<td align="center" valign="top" width="50%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/altman-uses-ai/01.mp4?v=2026-10-01g"><img src="docs/images/demos/altman-uses-ai-01.jpg" width="360" alt="Sam Altman"></a><br>
<strong>Sam Altman</strong> · 16:9 · Bilibili · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/altman-uses-ai/01.mp4?v=2026-10-01g">▶ Play 2:02</a> · <a href="https://www.youtube.com/watch?v=jZh55CQwSh8">Source</a>
</td>
</tr>
</table>

<details>
<summary>See 10 more clips</summary>

<table width="100%">
<tr>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/neumann-doac/01.mp4?v=2026-10-01g"><img src="docs/images/demos/neumann-doac-01.jpg" width="180" alt="Adam Neumann"></a><br>
<strong>Adam Neumann</strong><br>
Podcast · TikTok · EN<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/neumann-doac/01.mp4?v=2026-10-01g">▶ Play 0:59</a> · <a href="https://www.youtube.com/watch?v=IQ4JVWdj4Q0">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/luyu-xiaoqi/02.mp4?v=2026-10-01g"><img src="docs/images/demos/luyu-xiaoqi-02.jpg" width="180" alt="Xiao Qi × Lu Yu"></a><br>
<strong>小奇 × 鲁豫</strong><br>
Interview · Douyin · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/luyu-xiaoqi/02.mp4?v=2026-10-01g">▶ Play 0:50</a> · <a href="https://www.bilibili.com/video/BV1ighy6AEPz/">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/luyu-guokeyu/01.mp4?v=2026-10-01g"><img src="docs/images/demos/luyu-guokeyu-01.jpg" width="180" alt="Guo Keyu × Lu Yu"></a><br>
<strong>郭柯宇 × 鲁豫</strong><br>
Interview · Douyin · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/luyu-guokeyu/01.mp4?v=2026-10-01g">▶ Play 1:11</a> · <a href="https://www.bilibili.com/video/BV1LDYV6HEXR/">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/dafoe-hot-ones/01.mp4?v=2026-10-01g"><img src="docs/images/demos/dafoe-hot-ones-01.jpg" width="180" alt="Willem Dafoe"></a><br>
<strong>Willem Dafoe</strong><br>
Podcast · TikTok · EN<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/dafoe-hot-ones/01.mp4?v=2026-10-01g">▶ Play 1:07</a> · <a href="https://www.youtube.com/watch?v=YqugY2zTIoI">Source</a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/tim-luoyonghao/01.mp4?v=2026-10-01g"><img src="docs/images/demos/tim-luoyonghao-01.jpg" width="180" alt="TIM × Luo Yonghao"></a><br>
<strong>TIM × 罗永浩</strong><br>
Interview · Douyin · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/tim-luoyonghao/01.mp4?v=2026-10-01g">▶ Play 1:05</a> · <a href="https://www.bilibili.com/video/BV1B5xkzPEhx/">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/jensen-dwarkesh/01.mp4?v=2026-10-01g"><img src="docs/images/demos/jensen-dwarkesh-01.jpg" width="180" alt="Jensen Huang"></a><br>
<strong>Jensen Huang</strong><br>
Interview · Xiaohongshu · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/jensen-dwarkesh/01.mp4?v=2026-10-01g">▶ Play 1:17</a> · <a href="https://www.youtube.com/watch?v=Hrbq66XqtCo">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/karpathy-dwarkesh/01.mp4?v=2026-10-01g"><img src="docs/images/demos/karpathy-dwarkesh-01.jpg" width="180" alt="Andrej Karpathy"></a><br>
<strong>Andrej Karpathy</strong><br>
Interview · Douyin · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/karpathy-dwarkesh/01.mp4?v=2026-10-01g">▶ Play 0:43</a> · <a href="https://www.youtube.com/watch?v=lXUZvyajciY">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/apple-a20/01.mp4?v=2026-10-01g"><img src="docs/images/demos/apple-a20-01.jpg" width="180" alt="A20 Pro"></a><br>
<strong>A20 Pro</strong><br>
Interview · Xiaohongshu · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/apple-a20/01.mp4?v=2026-10-01g">▶ Play 2:00</a> · <a href="https://www.bilibili.com/video/BV1e4Y96FEaJ/">Source</a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/stallone-nyt/01.mp4?v=2026-10-01g"><img src="docs/images/demos/stallone-nyt-01.jpg" width="180" alt="Sylvester Stallone"></a><br>
<strong>Sylvester Stallone</strong><br>
Interview · Douyin · ZH<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/stallone-nyt/01.mp4?v=2026-10-01g">▶ Play 1:39</a> · <a href="https://www.youtube.com/watch?v=ccs-B_nTfZs">Source</a>
</td>
<td align="center" valign="top" width="25%">
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/mrbeast-colin-samir/01.mp4?v=2026-10-01g"><img src="docs/images/demos/mrbeast-colin-samir-01.jpg" width="180" alt="MrBeast"></a><br>
<strong>MrBeast</strong><br>
Podcast · TikTok · EN<br>
<a href="https://pub-3fb92949b9c2480b89feec5ec03f3540.r2.dev/cases/mrbeast-colin-samir/01.mp4?v=2026-10-01g">▶ Play 1:42</a> · <a href="https://www.youtube.com/watch?v=9IQ_ldV9z_A">Source</a>
</td>
<td></td>
<td></td>
</tr>
</table>

</details>

Browse 16+ clips, covers, and post copy in the **[Showcase →](https://zhouxiaoka.github.io/autoclip_intro/cases/?lang=en)**, or [share your own clips](https://github.com/zhouxiaoka/autoclip/discussions/new?category=show-and-tell). Source copyrights remain with their original creators.

---

<a id="quick-start"></a>

## Quick Start

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

### 1. Desktop App

1. Download the latest installer from **[GitHub Releases](https://github.com/zhouxiaoka/autoclip/releases/latest)** (`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) →](docs/QUICKSTART.en.md)** — 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 &amp; Security → Open Anyway*); on **Windows** click **More info → Run anyway** on SmartScreen. See **[Code Signing &amp; Verification Policy](CODE_SIGNING.md)** (notarization tracked in [#119](https://github.com/zhouxiaoka/autoclip/issues/119)).

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

Let AI coding agents clip videos directly from your terminal (`claude mcp add autoclip -- uvx autoclip-mcp`). Full MCP setup guides: **[English](docs/MCP.en.md)** · [简体中文](docs/CLI_AND_MCP.md) · [日本語](docs/MCP.ja.md) · [한국어](docs/MCP.ko.md) · [Español](docs/MCP.es.md) · [Deutsch](docs/MCP.de.md).

```bash
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](.agents/plugins/marketplace.json) registers the [`autoclip`](skills/autoclip/SKILL.md) and [`template-cloner`](skills/template-cloner/SKILL.md) skills plus an [`.mcp.json`](.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.

<details>
<summary>Offline wheel, source install &amp; MCPB packaging</summary>

```bash
# 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).

</details>


### 3. Docker / Web

```bash
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](docs/DOCKER.en.md) 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 &amp; 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 ❤️

<table>
  <tr>
    <td align="center" width="140">
      <a href="https://go.apimart.ai/tw-autoclip"><img src="docs/sponsors/apimart.png" alt="APIMart" width="88"></a><br>
      <a href="https://go.apimart.ai/tw-autoclip"><strong>APIMart</strong></a>
    </td>
    <td>
      Thanks to <strong>APIMart</strong> for sponsoring AutoClip! <strong>APIMart</strong> is a low-cost API platform for AI image &amp; video generation — GPT-Image-2 from <strong>$0.006/image</strong> (<strong>160+</strong> 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 — <a href="https://go.apimart.ai/tw-autoclip">sign up here</a>.
    </td>
  </tr>
</table>

## 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](https://www.aliyun.com/benefit?userCode=qmyj6jch) (affiliate link)
2. [Bailian console](https://bailian.console.aliyun.com/) — create your API key

---

## FAQ

<details>
<summary>Is AutoClip free? Do I need an API key?</summary>

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](https://www.upload-post.com) account.

</details>

<details>
<summary>Does my video get uploaded to the cloud?</summary>

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](docs/PRIVACY.en.md).

</details>

<details>
<summary>What kind of videos work best?</summary>

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.

</details>

<details>
<summary>Why weren't any clips generated?</summary>

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)](https://github.com/zhouxiaoka/autoclip/issues/96).

</details>

[Troubleshooting](docs/FAQ.en.md) · [Known Issues](https://github.com/zhouxiaoka/autoclip/issues/96)

---

<a id="documentation"></a>

## Documentation

| Topic | Guide |
| :--- | :--- |
| Install &amp; first clips | **[2-Minute Quickstart (with GIFs)](docs/QUICKSTART.en.md)** · [Installation Guide](docs/USER_INSTALLATION_GUIDE.en.md) |
| Self-hosting &amp; agents | [Docker](docs/DOCKER.en.md) · [MCP &amp; AI Agents](docs/MCP.en.md) ([ZH](docs/CLI_AND_MCP.md) · [JA](docs/MCP.ja.md) · [KO](docs/MCP.ko.md) · [ES](docs/MCP.es.md) · [DE](docs/MCP.de.md)) · [Agent Skill](skills/autoclip/SKILL.md) (ZH) · [OpenCode](docs/OPENCODE.en.md) |
| Models &amp; troubleshooting | [Multi-LLM Setup](docs/MULTI_LLM_PROVIDER_GUIDE.md) (ZH) · [FAQ](docs/FAQ.en.md) |
| Releases &amp; privacy | [Changelog](CHANGELOG.md) · [Code Signing](CODE_SIGNING.md) · [Roadmap](docs/ROADMAP.md) (ZH) · [Community Board](docs/COMMUNITY_BOARD.md) (ZH) · [Privacy](docs/PRIVACY.en.md) |
| Research | [Pick the Moment, Not the Effect](docs/research/2026-10-what-drives-views/article-en.md) · [中文](docs/research/2026-10-what-drives-views/article-zh.md) |
| Contributing &amp; i18n | [Contributing](CONTRIBUTING.md) (ZH) · [Translating AutoClip](TRANSLATING.md) · [Translation Guide](docs/i18n.md) (ZH) |

## Contribute

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

- **Community:** [GitHub Discussions](https://github.com/zhouxiaoka/autoclip/discussions) · [First-Clip Q&amp;A](https://github.com/zhouxiaoka/autoclip/discussions/128) · [Feature Ideas](https://github.com/zhouxiaoka/autoclip/discussions/129)
- **Bug reports:** use the [issue template](https://github.com/zhouxiaoka/autoclip/issues/new/choose) with OS, version, model, repro steps, and redacted logs
- **Partnerships:** [christine_zhouye@163.com](mailto:christine_zhouye@163.com)

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

![Star History](https://api.star-history.com/svg?repos=zhouxiaoka/autoclip&type=Date)

Built with FastAPI, React, Tauri, FFmpeg, yt-dlp, Whisper, and FunASR. [MIT License](LICENSE).
