Skip to content

Show it a video you love. Get a new video in the same style. An AI crew (Claude Code or Codex) plans, builds and reviews it with you.

Redesign README: hero, badges, screenshots (light/dark, 3 languages), feature table, flowchart

許元豪9c86b1c79e11
diff --git a/CLAUDE.md b/CLAUDE.md
index bffb53d..2542d12 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -1,4 +1,4 @@
-# ReelMimic 影摹 — 參考影片風格克隆工作區
+# ReelMimic — 參考影片風格克隆工作區
使用者給一支參考影片(檔案 / 螢幕錄影 / YouTube 連結)+一句需求 → 產出同風格的新影片。
diff --git a/README.en.md b/README.en.md
index 8152bcf..f108a7f 100644
--- a/README.en.md
+++ b/README.en.md
@@ -1,133 +1,108 @@
-<p align="right"><a href="README.md">繁體中文</a> · <b>English</b> · <a href="README.zh-CN.md">简体中文</a></p>
+<div align="center">
-# ReelMimic — clone the style of a reference video
+<img src="docs/assets/logo.svg" width="76" alt="ReelMimic">
-Drop in a video you love (a file, a phone screen recording or a YouTube link) plus one sentence about what you want.
-An AI director breaks down its editing and visual language, picks the matching production skill, works out the
-script / camera / assets with you, and **starts rendering only after you approve the plan**. Every character and every
-shot is checked by an independent reviewer before delivery.
+# ReelMimic
-> Currently 2D animation (flat-vector chibi, hand-painted watercolor, motion graphics…). A 30-second video takes about
-> 1–1.5 hours from plan approval to final cut (measured: 68–84 min), all running on your own machine.
+**Drop in a video you love — an AI film crew makes you a new animation in the same style.**
----
+[![License: MIT](https://img.shields.io/badge/license-MIT-7A6BFF)](LICENSE)
+[![Claude Code](https://img.shields.io/badge/Claude_Code-supported-E86BD2)](https://docs.anthropic.com/en/docs/claude-code)
+[![Codex CLI](https://img.shields.io/badge/Codex_CLI-supported-FF9D5C)](https://github.com/openai/codex)
+![Node 20+](https://img.shields.io/badge/node-20%2B-5B57F0)
+![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-5B57F0)
-## Features
-
-- **Style breakdown** — measures the reference's shot count, average shot length, BPM, transitions, palette and camera
- moves, and produces a shot-by-shot style report with contact sheets.
-- **Extensible style → skill routing** — one Markdown file per style (`styles/*.md`); production engines are ordinary
- agent skills. Adding a style needs no code.
-- **Two AI directors** — [Claude Code](https://docs.anthropic.com/en/docs/claude-code) or
- [Codex CLI](https://github.com/openai/codex), with your own account.
-- **Pre-production first** — storyboard, camera (mapped to reference shots), assets (with licenses) and style frames,
- iterated with you until you approve.
-- **Multi-agent production line that reviews as it goes**:
- - characters and assets are prepared by separate agents in parallel during pre-production;
- - the cast gate (one reviewer + fixer pair per character) overlaps with shot building;
- - 6 builders work on different segments at once; **each shot is reviewed by a fresh reviewer on full-resolution
- frames as soon as it is done**, while the builder moves on to the next shot;
- - issues are graded *blocker* vs *polish*; every fix must come with before/after crops, verified by the reviewer;
- - a final independent critic looks only at what spans segments: seams, continuity, pacing.
-- **A 2D character system without the "cut-out" look** (`vector_rig`) — a skeleton with a single outline, so limbs are
- always attached.
-- **Things only you can provide never stall production** — lyrics, your own character designs etc. are listed in the
- plan and provided or skipped before approval; paste lyric text and it is timed against your audio automatically.
-- **An AI-product UI** — see live what each agent is doing (thinking, running, which frames it looked at), a full log,
- image attachments in chat, and time-stamped notes right on the video.
-- **Three UI languages** — 繁體中文 (default), English, 简体中文, switchable top right; the AI director writes its plan
- and replies in the language you choose.
+[繁體中文](README.md) · **English** · [简体中文](README.zh-CN.md)
-## Quick start
+<picture>
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/home-en-dark.png">
+ <img src="docs/assets/home-en-light.png" alt="ReelMimic home page" width="860">
+</picture>
-### 1. Requirements
+</div>
-| Item | Version | Notes |
-|---|---|---|
-| Node.js | 20+ | web app and rendering |
-| Python | 3.10+ | analysis, frame grabs, lyric timing (packages in `requirements.txt`) |
-| FFmpeg | recent | on PATH, or set `FFMPEG_DIR` |
-| Chrome / Chromium | — | headless frame rendering; set `CHROME_PATH` if not found |
-| AI director (at least one) | — | `claude` (Claude Code) or `codex` (Codex CLI), installed and logged in |
+## What it is
-Optional: Blender 4.2+ (the paused 3D track), API keys for asset libraries and voices (see Configuration).
+Give ReelMimic a reference video (a file, a phone screen recording or a YouTube link) and one sentence about what you
+want. It breaks down the reference's editing, pacing, camera work and visual language, settles the plan with you,
+and **only after you approve** does a team of AI agents build it, reviewing every shot, and deliver a brand-new 2D
+animation in the same style.
-### 2. Install
+It learns technique from the reference — never its footage, characters or assets. Everything runs on your own machine
+with your own Claude Code or Codex account.
-```bash
-git clone <this repo> reelmimic && cd reelmimic
-./install.sh # macOS / Linux; on Windows double-click install.bat
+```mermaid
+flowchart LR
+ A[Reference video + one sentence] --> B[Style breakdown]
+ B --> C[Pre-production plan]
+ C -->|you approve| D[Parallel multi-agent build]
+ D --> E[Every character and shot reviewed as it's made]
+ E --> F[Final critic]
+ F --> G[Finished video]
+ G -.->|notes at any moment| D
```
-The installer sets up the Python packages and the web app, builds the UI and runs an environment check
-(run it again any time with `cd app && npm run doctor`).
-
-**Connect an AI director** (at least one, with your own account):
+## Features
-```bash
-npm i -g @anthropic-ai/claude-code && claude # Claude Code: the first run walks you through login
-npm i -g @openai/codex && codex login # or Codex
-```
+| Feature | What it does |
+|---|---|
+| **Style breakdown** | Measures shot count, average shot length, BPM, transitions, palette and camera moves; writes a shot-by-shot style report |
+| **Plan before rendering** | Storyboard mapped shot-by-shot to the reference, licensed assets, style frames — iterate until you're happy |
+| **Multi-agent production line** | Up to 6 builders in parallel; each finished shot is checked by a fresh reviewer on full-resolution frames, so defects are fixed where they're made |
+| **Fixes come with proof** | Issues are graded *blocker* / *polish*; every fix carries before/after crops of the same moment |
+| **See what the AI is doing** | Live thinking and steps for every agent, the frames it looked at, a full log; image attachments in chat |
+| **Edit on the video itself** | Once the film is ready, type notes at any moment and send them all at once |
+| **Extensible** | One Markdown file per style; production engines are ordinary agent skills — no code to add a style |
+| **Three UI languages** | 繁體中文, English, 简体中文, switchable top right; the AI director replies in your language |
+
+Currently 2D animation: flat-vector chibi, hand-painted watercolor, motion graphics and more. A 30-second video takes
+about 1–2 hours from plan approval to final cut, depending on the look.
-Nothing else to configure: Claude Code loads the repo's `.claude/skills/` automatically, and Codex reads `AGENTS.md`.
+## Quick start
-### 3. Run
+**You need**: Node.js 20+, Python 3.10+, FFmpeg, Chrome, and [Claude Code](https://docs.anthropic.com/en/docs/claude-code)
+or [Codex CLI](https://github.com/openai/codex) (at least one, logged in).
```bash
-./start.sh # macOS / Linux
-start.bat # Windows (double-click works too)
-# or: cd app && npm start
+git clone https://github.com/edenfunf/reelmimic.git && cd reelmimic
+./install.sh # Windows: double-click install.bat
+./start.sh # Windows: double-click start.bat
```
-Open <http://localhost:4318>. For UI development: `npm run server` + `npm run web`
-(<http://localhost:5173>, /api is proxied to 4318).
+Open <http://localhost:4318>. The installer sets up the Python and web packages, builds the UI and checks your
+environment (run `cd app && npm run doctor` any time). Claude Code loads the repo's `.claude/skills/` automatically and
+Codex reads `AGENTS.md` — nothing else to configure.
-### 4. Your first video
+### Your first video
-1. On the home page, drop a reference video or paste a YouTube link, write what you want (topic, length,
- characters…), and pick Claude Code or Codex.
-2. Wait for the style breakdown and the plan (about 30 minutes). Comment in the chat on the right (screenshots
- welcome) and the AI revises the plan.
-3. If the plan lists inputs only you can provide (e.g. lyrics), provide or skip them, then click
- **Approve and start**.
-4. The **Production line** tab shows the cast gate and every segment with its review frames; the **Log** tab has
- the full log.
-5. When the film is ready, type notes at any moment right under the video and send them all at once.
+1. On the home page, drop a reference video or paste a link, say what you want, and pick Claude Code or Codex.
+2. Wait for the breakdown and the plan; comment in the chat on the right (screenshots welcome).
+3. Provide or skip any inputs the plan asks for (e.g. lyrics), then click **Approve and start**.
+4. Follow every character and segment, with review frames, in the **Production line** tab.
+5. When the film is ready, leave notes right under the video at any moment.
## Configuration
-API keys and local paths live in **`~/.reelmimic/secrets.json`** (outside the repo, never committed) and are
-loaded when the server starts. See `secrets.example.json`:
+API keys and local paths go in `~/.reelmimic/secrets.json` (outside the repo, never committed); see
+[`secrets.example.json`](secrets.example.json).
| Key | Purpose |
|---|---|
-| `YATING_KEY` | Yating Taiwan-Mandarin voices for narration, <https://developer.yating.tw> |
-| `PIXABAY_KEY`, `FREESOUND_KEY` | more license-safe images / music / sound effects (Openverse works without a key) |
-| `FFMPEG_DIR`, `CHROME_PATH`, `BLENDER`, `CODEX_BIN`, `PYTHON` | tool locations when not on PATH |
+| `YATING_KEY` | Yating Taiwan-Mandarin voices for narration |
+| `PIXABAY_KEY`, `FREESOUND_KEY` | more license-safe images, music and sound effects (Openverse works without a key) |
+| `FFMPEG_DIR`, `CHROME_PATH`, `CODEX_BIN`, `PYTHON` | tool locations when they're not on PATH |
| `BUILDERS`, `MAX_AGENTS` | parallel builders per video (default 6), agents at once across all projects (default 12) |
| `PORT` | web port (default 4318) |
-## Layout
-
-```
-app/ ReelMimic web app
- server/ Node: REST + SSE, production state machine (jobs.mjs), per-step agent prompts (prompts.mjs), agent adapters
- web/ React UI (Vite); i18n.js handles the interface language
- scripts/doctor.mjs environment check
-.claude/skills/
- video-clone/ core skill: workflow SKILL.md, file contract CONTRACT.md, style registry styles/, tools scripts/, character system assets/vector_rig/
- <engine>/ production engine skills (hyperframes, painted-animation…)
-projects/<id>/ everything for one video (not version-controlled)
-docs/ architecture and extension guides
-```
+## Docs
-- [docs/en/ARCHITECTURE.md](docs/en/ARCHITECTURE.md) — how it works: stages, production line, file contract, agent adapters
-- [docs/en/EXTENDING.md](docs/en/EXTENDING.md) — add styles, production engines, AI directors; change the pipeline
-- [CONTRIBUTING.md](CONTRIBUTING.md) — development workflow
+- [Architecture](docs/en/ARCHITECTURE.md): stages, production line, file contract, agent adapters
+- [Extending](docs/en/EXTENDING.md): add styles, production engines and AI directors; change the pipeline
+- [Contributing](CONTRIBUTING.md)
-## Content and licensing principles
+## Content principles
-- From a reference we learn **technique** (rhythm, composition, transitions, how gags are built) — never its footage,
+- Learn technique from the reference (rhythm, composition, transitions, how gags are built) — never copy its footage,
characters, logos or assets.
- Characters are original by default; if you provide your own character designs, those are followed.
- External assets are logged with source, author and license (`assets/ASSETS.md`); unknown licenses are flagged.
diff --git a/README.md b/README.md
index 09d70bf..e8b99b8 100644
--- a/README.md
+++ b/README.md
@@ -1,119 +1,106 @@
-<p align="right"><b>繁體中文</b> · <a href="README.en.md">English</a> · <a href="README.zh-CN.md">简体中文</a></p>
+<div align="center">
-# ReelMimic 影摹 — 參考影片風格克隆
+<img src="docs/assets/logo.svg" width="76" alt="ReelMimic">
-丟一支你喜歡的影片(檔案、手機螢幕錄影或 YouTube 連結)+一句需求,AI 導演會拆解它的剪法與畫面語言、選對應的製作技能、
-和你一起把腳本/運鏡/素材想清楚,**你核准企劃後才開始生成**,每個角色、每一個鏡頭都由獨立審查員檢查過才交件。
+# ReelMimic
-> 目前支援 2D 動畫(向量 Q 版、手繪水彩、動態圖像…)。30 秒短片從核准企劃到成片約 1–1.5 小時(實測 68–84 分鐘),全部在你自己的電腦上跑。
+**丟一支喜歡的影片,AI 導演團隊幫你做出同樣風格的新動畫。**
----
+[![License: MIT](https://img.shields.io/badge/license-MIT-7A6BFF)](LICENSE)
+[![Claude Code](https://img.shields.io/badge/Claude_Code-supported-E86BD2)](https://docs.anthropic.com/en/docs/claude-code)
+[![Codex CLI](https://img.shields.io/badge/Codex_CLI-supported-FF9D5C)](https://github.com/openai/codex)
+![Node 20+](https://img.shields.io/badge/node-20%2B-5B57F0)
+![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-5B57F0)
-## 特色
-
-- **風格拆解**:自動量測參考片的鏡頭數、平均鏡頭長度、BPM、轉場、配色、運鏡,產出逐鏡的風格報告與總覽圖。
-- **可擴充的風格 → 製作技能對應**:一種風格一個 Markdown 檔(`styles/*.md`),製作引擎是一般的 agent skill,加新風格不用改程式。
-- **兩種 AI 導演**:接 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 或 [Codex CLI](https://github.com/openai/codex),用你自己的帳號。
-- **前製企劃先對焦**:分鏡、運鏡(逐鏡對照參考片)、素材(附授權)、定調畫面,來回討論到你滿意才核准。
-- **多 agent 生產線、邊做邊審**:
- - 前製時每個角色、素材由不同 agent 同時準備;
- - 角色關(每個角色一組審查+修正)與鏡頭製作重疊進行;
- - 6 個製作 agent 平行做不同段落,**每做完一鏡就由全新對話的審查員看全解析度截圖**,製作 agent 同時做下一鏡;
- - 問題分「一定要修/順手修」兩級,修正要附前後對照截圖,審查員先核對才放行;
- - 最後由獨立評審只看跨段的接縫、連戲、節奏。
-- **不拼接的 2D 角色系統**(`vector_rig`):骨架+一體外輪廓,四肢永遠接在身上。
-- **只有你能提供的東西不會卡住流程**:歌詞、自家角色設計圖等列在企劃裡,核准前就提供或略過;歌詞貼文字即可,系統用你的音檔自動對時。
-- **像 AI 產品的操作介面**:即時顯示每個 agent 正在做什麼(思考、執行、看了哪些影格)、完整紀錄、對話可附圖片、在影片時間點直接留言修改。
-- **三種介面語言**:繁體中文(預設)、English、简体中文,右上角切換;AI 導演會用你選的語言寫企劃與回報。
+**繁體中文** · [English](README.en.md) · [简体中文](README.zh-CN.md)
-## 快速開始
+<picture>
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/home-zh-TW-dark.png">
+ <img src="docs/assets/home-zh-TW-light.png" alt="ReelMimic 首頁" width="860">
+</picture>
-### 1. 需要的東西
+</div>
-| 項目 | 版本 | 說明 |
-|---|---|---|
-| Node.js | 20+ | 網站與渲染 |
-| Python | 3.10+ | 影片分析、截圖、歌詞對時(套件見 `requirements.txt`) |
-| FFmpeg | 近期版本 | 在 PATH 上,或設 `FFMPEG_DIR` |
-| Chrome / Chromium | — | 無頭渲染影格;找不到時設 `CHROME_PATH` |
-| AI 導演(至少一個) | — | `claude`(Claude Code)或 `codex`(Codex CLI),裝好並登入 |
+## 這是什麼
-選配:Blender 4.2+(暫停中的 3D 賽道)、各素材庫與語音 API 金鑰(見下方設定)。
+給它一支參考影片(檔案、手機螢幕錄影或 YouTube 連結)和一句需求,ReelMimic 會拆解那支片的剪法、節奏、運鏡與畫面語言,
+和你一起把企劃定下來,**你核准之後**才開始製作,並由一組 AI agent 分工完成、逐鏡審查,最後交出同風格的全新 2D 動畫。
-### 2. 安裝
+參考片只學手法,不複製它的畫面、角色或素材。全部在你自己的電腦上跑,用你自己的 Claude Code 或 Codex 帳號。
-```bash
-git clone <this repo> reelmimic && cd reelmimic
-./install.sh # macOS / Linux;Windows 雙擊 install.bat
+```mermaid
+flowchart LR
+ A[參考影片 + 一句需求] --> B[風格拆解]
+ B --> C[前製企劃]
+ C -->|你核准| D[多 agent 平行製作]
+ D --> E[每個角色、每一鏡即時審查]
+ E --> F[最後評審]
+ F --> G[成片]
+ G -.->|在影片時間點留言| D
```
-安裝腳本會裝 Python 套件、網站套件、編譯前端,最後跑環境檢查(之後也可以隨時 `cd app && npm run doctor`)。
+## 特色
-**連上 AI 導演**(至少一個,用你自己的帳號):
+| 功能 | 說明 |
+|---|---|
+| **風格拆解** | 自動量測鏡頭數、平均鏡長、BPM、轉場、配色與運鏡,產出逐鏡風格報告 |
+| **先企劃再生成** | 分鏡逐鏡對照參考片、素材附授權、定調畫面;來回討論到你滿意才開始 |
+| **多 agent 生產線** | 最多 6 個製作 agent 平行,每做完一鏡就由全新的審查員看全解析度畫面,缺陷在哪產生就在哪修 |
+| **修正要有證據** | 問題分「必修/順手修」兩級,每個修正都附同一秒、同一位置的前後對照 |
+| **看得見 AI 在做什麼** | 即時顯示每個 agent 的思考與步驟、看過的影格、完整紀錄;對話可附圖片 |
+| **直接在影片上改** | 成片出來後,在任一時間點打修改意見,一次送出 |
+| **可擴充** | 一種風格一個 Markdown 檔;製作引擎就是一般的 agent skill,加新風格不用寫程式 |
+| **三種介面語言** | 繁體中文、English、简体中文,右上角切換;AI 導演用你選的語言回報 |
-```bash
-npm i -g @anthropic-ai/claude-code && claude # Claude Code:第一次執行會引導登入
-npm i -g @openai/codex && codex login # 或 Codex
-```
+目前支援 2D 動畫:向量 Q 版、手繪水彩、動態圖像等。30 秒短片從核准企劃到成片約 1–2 小時,依畫風而定。
-不需要其他設定:repo 裡的 `.claude/skills/` 會被 Claude Code 自動載入,Codex 則讀 `AGENTS.md`。
+## 快速開始
-### 3. 啟動
+**需要**:Node.js 20+、Python 3.10+、FFmpeg、Chrome,以及 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 或 [Codex CLI](https://github.com/openai/codex)(至少一個,已登入)。
```bash
-./start.sh # macOS / Linux
-start.bat # Windows(雙擊也可以)
-# 或:cd app && npm start
+git clone https://github.com/edenfunf/reelmimic.git && cd reelmimic
+./install.sh # Windows:雙擊 install.bat
+./start.sh # Windows:雙擊 start.bat
```
-打開 <http://localhost:4318>。開發前端時:`npm run server` + `npm run web`(<http://localhost:5173>,/api 自動轉到 4318)。
+打開 <http://localhost:4318>。安裝腳本會裝好 Python 與網站套件、編譯前端,並檢查環境(之後可隨時 `cd app && npm run doctor`)。
+repo 裡的 `.claude/skills/` 會被 Claude Code 自動載入,Codex 則讀 `AGENTS.md`,不需要其他設定。
-### 4. 做第一支影片
+### 做第一支影片
-1. 首頁拖入參考影片或貼 YouTube 連結,寫一句你想做什麼(主題、長度、角色…),選 Claude Code 或 Codex。
-2. 等 AI 拆解風格、寫好前製企劃(約 30 分鐘)。在右側對話框提意見(可以附截圖),AI 改完再給你看。
-3. 企劃列出需要你提供的素材(例如歌詞)時,提供或略過後按「核准並開始生成」。
-4. 「生產線」分頁可以看到角色關、每一段鏡頭的狀態與審查截圖;「紀錄」分頁是完整 log。
-5. 成片出來後,在影片下方的輸入框直接針對某一秒打修改意見,一次送出多則。
+1. 首頁拖入參考影片或貼連結,寫下想做什麼,選 Claude Code 或 Codex。
+2. 等 AI 拆解並寫好企劃,在右側對話框提意見(可以附截圖)。
+3. 提供或略過企劃列出的素材(例如歌詞),按「核准並開始生成」。
+4. 在「生產線」分頁看每個角色、每一段的進度與審查截圖。
+5. 成片出來後,直接在影片下方針對某一秒留言修改。
## 設定
-API 金鑰與本機路徑放在 **`~/.reelmimic/secrets.json`**(repo 外,不會被 commit),伺服器啟動時載入,範本見 `secrets.example.json`:
+API 金鑰與本機路徑放在 `~/.reelmimic/secrets.json`(在 repo 外,不會被 commit),範本見 [`secrets.example.json`](secrets.example.json)。
| 鍵 | 用途 |
|---|---|
-| `YATING_KEY` | 雅婷台灣華語語音(旁白),<https://developer.yating.tw> |
-| `PIXABAY_KEY`、`FREESOUND_KEY` | 更多授權安全的圖片/音樂/音效(沒有也能用 Openverse) |
-| `FFMPEG_DIR`、`CHROME_PATH`、`BLENDER`、`CODEX_BIN`、`PYTHON` | 工具不在 PATH 上時指定位置 |
-| `BUILDERS`、`MAX_AGENTS` | 每支片平行的製作 agent 數(預設 6)、所有專案同時的 agent 上限(預設 12) |
+| `YATING_KEY` | 雅婷台灣華語語音(旁白) |
+| `PIXABAY_KEY`、`FREESOUND_KEY` | 更多授權安全的圖片、音樂、音效(沒有也能用 Openverse) |
+| `FFMPEG_DIR`、`CHROME_PATH`、`CODEX_BIN`、`PYTHON` | 工具不在 PATH 上時指定位置 |
+| `BUILDERS`、`MAX_AGENTS` | 每支片平行的製作 agent 數(預設 6)、全部專案同時的 agent 上限(預設 12) |
| `PORT` | 網站埠號(預設 4318) |
-## 專案結構
-
-```
-app/ ReelMimic 網站
- server/ Node:REST + SSE、生產線狀態機(jobs.mjs)、每個階段的 agent 指令(prompts.mjs)、agent 轉接層
- web/ React 前端(Vite),i18n.js 為介面語言
- scripts/doctor.mjs 環境檢查
-.claude/skills/
- video-clone/ 核心 skill:流程 SKILL.md、檔案合約 CONTRACT.md、風格表 styles/、工具 scripts/、角色系統 assets/vector_rig/
- <engine>/ 製作引擎 skill(hyperframes、painted-animation…)
-projects/<id>/ 每支影片的所有檔案(不進版本控制)
-docs/ 架構與擴充說明
-```
+## 文件
-- [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) — 系統怎麼運作:階段、生產線、檔案合約、agent 轉接
-- [docs/EXTENDING.md](docs/EXTENDING.md) — 加新風格、新製作引擎、新 AI 導演、調整流程
-- [CONTRIBUTING.md](CONTRIBUTING.md) — 開發方式與提交規範
+- [架構](docs/ARCHITECTURE.md):流程、生產線、檔案合約、agent 轉接層
+- [擴充指南](docs/EXTENDING.md):新增風格、製作引擎、AI 導演,調整流程
+- [貢獻方式](CONTRIBUTING.md)
-## 內容與授權原則
+## 內容原則
-- 參考片只學**手法**(節奏、構圖、轉場、笑點設計),不複製它的畫面、角色、Logo 或素材。
-- 角色預設原創;使用者提供自家角色的設計圖時照著做。
-- 外部素材自動記錄來源、作者與授權(`assets/ASSETS.md`),授權不明的會標示出來。
-- 歌詞只使用使用者提供的文字;不自動下載商業歌曲。
-- 你生成的影片由你負責確認可以使用的範圍。
+- 參考片只學手法(節奏、構圖、轉場、笑點設計),不複製畫面、角色、Logo 或素材。
+- 角色預設原創;你提供自家角色的設計圖時照著做。
+- 外部素材記錄來源、作者與授權(`assets/ASSETS.md`),授權不明的會標示。
+- 歌詞只用你提供的文字,不自動下載商業歌曲。
+- 生成的影片如何使用由你負責確認。
## 授權
-本專案程式碼以 [MIT License](LICENSE) 釋出。內含的第三方 skill 與素材各自保有原授權,見 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
+程式碼以 [MIT License](LICENSE) 釋出。內含的第三方 skill 與素材保有各自的授權,見 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
diff --git a/README.zh-CN.md b/README.zh-CN.md
index b566a13..daa4095 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -1,119 +1,106 @@
-<p align="right"><a href="README.md">繁體中文</a> · <a href="README.en.md">English</a> · <b>简体中文</b></p>
+<div align="center">
-# ReelMimic 影摹 — 参考视频风格克隆
+<img src="docs/assets/logo.svg" width="76" alt="ReelMimic">
-丢一支你喜欢的视频(文件、手机屏幕录像或 YouTube 链接)+一句需求,AI 导演会拆解它的剪法与画面语言、选对应的制作技能、
-和你一起把脚本/运镜/素材想清楚,**你核准企划后才开始生成**,每个角色、每一个镜头都由独立审查员检查过才交件。
+# ReelMimic
-> 目前支持 2D 动画(矢量 Q 版、手绘水彩、动态图像…)。30 秒短片从核准企划到成片约 1–1.5 小时(实测 68–84 分钟),全部在你自己的电脑上跑。
+**丢一支喜欢的视频,AI 导演团队帮你做出同样风格的新动画。**
----
+[![License: MIT](https://img.shields.io/badge/license-MIT-7A6BFF)](LICENSE)
+[![Claude Code](https://img.shields.io/badge/Claude_Code-supported-E86BD2)](https://docs.anthropic.com/en/docs/claude-code)
+[![Codex CLI](https://img.shields.io/badge/Codex_CLI-supported-FF9D5C)](https://github.com/openai/codex)
+![Node 20+](https://img.shields.io/badge/node-20%2B-5B57F0)
+![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-5B57F0)
-## 特色
-
-- **风格拆解**:自动量测参考片的镜头数、平均镜头长度、BPM、转场、配色、运镜,产出逐镜的风格报告与总览图。
-- **可扩充的风格 → 制作技能对应**:一种风格一个 Markdown 文件(`styles/*.md`),制作引擎是一般的 agent skill,加新风格不用改程序。
-- **两种 AI 导演**:接 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 或 [Codex CLI](https://github.com/openai/codex),用你自己的账号。
-- **前制企划先对焦**:分镜、运镜(逐镜对照参考片)、素材(附授权)、定调画面,来回讨论到你满意才核准。
-- **多 agent 生产线、边做边审**:
- - 前制时每个角色、素材由不同 agent 同时准备;
- - 角色关(每个角色一组审查+修正)与镜头制作重叠进行;
- - 6 个制作 agent 平行做不同段落,**每做完一镜就由全新对话的审查员看全分辨率截屏**,制作 agent 同时做下一镜;
- - 问题分「一定要修/顺手修」两级,修正要附前后对照截屏,审查员先核对才放行;
- - 最后由独立评审只看跨段的接缝、连戏、节奏。
-- **不拼接的 2D 角色系统**(`vector_rig`):骨架+一体外轮廓,四肢永远接在身上。
-- **只有你能提供的东西不会卡住流程**:歌词、自家角色设计图等列在企划里,核准前就提供或略过;歌词贴文本即可,系统用你的音频文件自动对时。
-- **像 AI 产品的操作界面**:即时显示每个 agent 正在做什么(思考、运行、看了哪些影格)、完整纪录、对话可附图片、在视频时间点直接留言修改。
-- **三种界面语言**:繁體中文(默认)、English、简体中文,右上角切换;AI 导演会用你选的语言写企划与回报。
+[繁體中文](README.md) · [English](README.en.md) · **简体中文**
-## 快速开始
+<picture>
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/home-zh-CN-dark.png">
+ <img src="docs/assets/home-zh-CN-light.png" alt="ReelMimic 首页" width="860">
+</picture>
-### 1. 需要的东西
+</div>
-| 项目 | 版本 | 说明 |
-|---|---|---|
-| Node.js | 20+ | 网站与渲染 |
-| Python | 3.10+ | 视频分析、截屏、歌词对时(套件见 `requirements.txt`) |
-| FFmpeg | 近期版本 | 在 PATH 上,或设 `FFMPEG_DIR` |
-| Chrome / Chromium | — | 无头渲染影格;找不到时设 `CHROME_PATH` |
-| AI 导演(至少一个) | — | `claude`(Claude Code)或 `codex`(Codex CLI),装好并登录 |
+## 这是什么
-选配:Blender 4.2+(暂停中的 3D 赛道)、各素材库与语音 API 密钥(见下方设置)。
+给它一支参考视频(文件、手机屏幕录像或 YouTube 链接)和一句需求,ReelMimic 会拆解那支片的剪法、节奏、运镜与画面语言,
+和你一起把企划定下来,**你核准之后**才开始制作,并由一组 AI agent 分工完成、逐镜审查,最后交出同风格的全新 2D 动画。
-### 2. 安装
+参考片只学手法,不拷贝它的画面、角色或素材。全部在你自己的电脑上跑,用你自己的 Claude Code 或 Codex 账号。
-```bash
-git clone <this repo> reelmimic && cd reelmimic
-./install.sh # macOS / Linux;Windows 双击 install.bat
+```mermaid
+flowchart LR
+ A[参考视频 + 一句需求] --> B[风格拆解]
+ B --> C[前制企划]
+ C -->|你核准| D[多 agent 平行制作]
+ D --> E[每个角色、每一镜即时审查]
+ E --> F[最后评审]
+ F --> G[成片]
+ G -.->|在视频时间点留言| D
```
-安装脚本会装 Python 套件、网站套件、编译前端,最后跑环境检查(之后也可以随时 `cd app && npm run doctor`)。
+## 特色
-**连上 AI 导演**(至少一个,用你自己的账号):
+| 功能 | 说明 |
+|---|---|
+| **风格拆解** | 自动量测镜头数、平均镜长、BPM、转场、配色与运镜,产出逐镜风格报告 |
+| **先企划再生成** | 分镜逐镜对照参考片、素材附授权、定调画面;来回讨论到你满意才开始 |
+| **多 agent 生产线** | 最多 6 个制作 agent 平行,每做完一镜就由全新的审查员看全分辨率画面,缺陷在哪产生就在哪修 |
+| **修正要有证据** | 问题分「必修/顺手修」两级,每个修正都附同一秒、同一位置的前后对照 |
+| **看得见 AI 在做什么** | 即时显示每个 agent 的思考与步骤、看过的影格、完整纪录;对话可附图片 |
+| **直接在视频上改** | 成片出来后,在任一时间点打修改意见,一次送出 |
+| **可扩充** | 一种风格一个 Markdown 文件;制作引擎就是一般的 agent skill,加新风格不用写程序 |
+| **三种界面语言** | 繁體中文、English、简体中文,右上角切换;AI 导演用你选的语言回报 |
-```bash
-npm i -g @anthropic-ai/claude-code && claude # Claude Code:第一次运行会引导登录
-npm i -g @openai/codex && codex login # 或 Codex
-```
+目前支持 2D 动画:矢量 Q 版、手绘水彩、动态图像等。30 秒短片从核准企划到成片约 1–2 小时,依画风而定。
-不需要其他设置:repo 里的 `.claude/skills/` 会被 Claude Code 自动加载,Codex 则读 `AGENTS.md`。
+## 快速开始
-### 3. 启动
+**需要**:Node.js 20+、Python 3.10+、FFmpeg、Chrome,以及 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 或 [Codex CLI](https://github.com/openai/codex)(至少一个,已登录)。
```bash
-./start.sh # macOS / Linux
-start.bat # Windows(双击也可以)
-# 或:cd app && npm start
+git clone https://github.com/edenfunf/reelmimic.git && cd reelmimic
+./install.sh # Windows:双击 install.bat
+./start.sh # Windows:双击 start.bat
```
-打开 <http://localhost:4318>。开发前端时:`npm run server` + `npm run web`(<http://localhost:5173>,/api 自动转到 4318)。
+打开 <http://localhost:4318>。安装脚本会装好 Python 与网站套件、编译前端,并检查环境(之后可随时 `cd app && npm run doctor`)。
+repo 里的 `.claude/skills/` 会被 Claude Code 自动加载,Codex 则读 `AGENTS.md`,不需要其他设置。
-### 4. 做第一支视频
+### 做第一支视频
-1. 首页拖入参考视频或贴 YouTube 链接,写一句你想做什么(主题、长度、角色…),选 Claude Code 或 Codex。
-2. 等 AI 拆解风格、写好前制企划(约 30 分钟)。在右侧对话框提意见(可以附截屏),AI 改完再给你看。
-3. 企划列出需要你提供的素材(例如歌词)时,提供或略过后按「核准并开始生成」。
-4. 「生产线」分页可以看到角色关、每一段镜头的状态与审查截屏;「纪录」分页是完整 log。
-5. 成片出来后,在视频下方的输入框直接针对某一秒打修改意见,一次送出多则。
+1. 首页拖入参考视频或贴链接,写下想做什么,选 Claude Code 或 Codex。
+2. 等 AI 拆解并写好企划,在右侧对话框提意见(可以附截屏)。
+3. 提供或略过企划列出的素材(例如歌词),按「核准并开始生成」。
+4. 在「生产线」分页看每个角色、每一段的进度与审查截屏。
+5. 成片出来后,直接在视频下方针对某一秒留言修改。
## 设置
-API 密钥与本机路径放在 **`~/.reelmimic/secrets.json`**(repo 外,不会被 commit),服务器启动时加载,范本见 `secrets.example.json`:
+API 密钥与本机路径放在 `~/.reelmimic/secrets.json`(在 repo 外,不会被 commit),范本见 [`secrets.example.json`](secrets.example.json)。
| 键 | 用途 |
|---|---|
-| `YATING_KEY` | 雅婷台湾华语语音(旁白),<https://developer.yating.tw> |
-| `PIXABAY_KEY`、`FREESOUND_KEY` | 更多授权安全的图片/音乐/音效(没有也能用 Openverse) |
-| `FFMPEG_DIR`、`CHROME_PATH`、`BLENDER`、`CODEX_BIN`、`PYTHON` | 工具不在 PATH 上时指定位置 |
-| `BUILDERS`、`MAX_AGENTS` | 每支片平行的制作 agent 数(默认 6)、所有项目同时的 agent 上限(默认 12) |
+| `YATING_KEY` | 雅婷台湾华语语音(旁白) |
+| `PIXABAY_KEY`、`FREESOUND_KEY` | 更多授权安全的图片、音乐、音效(没有也能用 Openverse) |
+| `FFMPEG_DIR`、`CHROME_PATH`、`CODEX_BIN`、`PYTHON` | 工具不在 PATH 上时指定位置 |
+| `BUILDERS`、`MAX_AGENTS` | 每支片平行的制作 agent 数(默认 6)、全部项目同时的 agent 上限(默认 12) |
| `PORT` | 网站端口号(默认 4318) |
-## 项目结构
-
-```
-app/ ReelMimic 网站
- server/ Node:REST + SSE、生产线状态机(jobs.mjs)、每个阶段的 agent 指令(prompts.mjs)、agent 转接层
- web/ React 前端(Vite),i18n.js 为界面语言
- scripts/doctor.mjs 环境检查
-.claude/skills/
- video-clone/ 内核 skill:流程 SKILL.md、文件合约 CONTRACT.md、风格表 styles/、工具 scripts/、角色系统 assets/vector_rig/
- <engine>/ 制作引擎 skill(hyperframes、painted-animation…)
-projects/<id>/ 每支视频的所有文件(不进版本控制)
-docs/ 架构与扩充说明
-```
+## 文档
-- [docs/zh-CN/ARCHITECTURE.md](docs/zh-CN/ARCHITECTURE.md) — 系统怎么运作:阶段、生产线、文件合约、agent 转接
-- [docs/zh-CN/EXTENDING.md](docs/zh-CN/EXTENDING.md) — 加新风格、新制作引擎、新 AI 导演、调整流程
-- [CONTRIBUTING.md](CONTRIBUTING.md) — 开发方式与提交规范
+- [架构](docs/zh-CN/ARCHITECTURE.md):流程、生产线、文件合约、agent 转接层
+- [扩充指南](docs/zh-CN/EXTENDING.md):添加风格、制作引擎、AI 导演,调整流程
+- [贡献方式](CONTRIBUTING.md)
-## 内容与授权原则
+## 内容原则
-- 参考片只学**手法**(节奏、构图、转场、笑点设计),不拷贝它的画面、角色、Logo 或素材。
-- 角色默认原创;用户提供自家角色的设计图时照着做。
-- 外部素材自动记录来源、作者与授权(`assets/ASSETS.md`),授权不明的会标示出来。
-- 歌词只使用用户提供的文本;不自动下载商业歌曲。
-- 你生成的视频由你负责确认可以使用的范围。
+- 参考片只学手法(节奏、构图、转场、笑点设计),不拷贝画面、角色、Logo 或素材。
+- 角色默认原创;你提供自家角色的设计图时照着做。
+- 外部素材记录来源、作者与授权(`assets/ASSETS.md`),授权不明的会标示。
+- 歌词只用你提供的文本,不自动下载商业歌曲。
+- 生成的视频如何使用由你负责确认。
## 授权
-本项目代码以 [MIT License](LICENSE) 发布。内含的第三方 skill 与素材各自保有原授权,见 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
+代码以 [MIT License](LICENSE) 发布。内含的第三方 skill 与素材保有各自的授权,见 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
diff --git a/docs/assets/home-en-dark.png b/docs/assets/home-en-dark.png
new file mode 100644
index 0000000..1acbbf8
Binary files /dev/null and b/docs/assets/home-en-dark.png differ
diff --git a/docs/assets/home-en-light.png b/docs/assets/home-en-light.png
new file mode 100644
index 0000000..99b76d8
Binary files /dev/null and b/docs/assets/home-en-light.png differ
diff --git a/docs/assets/home-zh-CN-dark.png b/docs/assets/home-zh-CN-dark.png
new file mode 100644
index 0000000..122e349
Binary files /dev/null and b/docs/assets/home-zh-CN-dark.png differ
diff --git a/docs/assets/home-zh-CN-light.png b/docs/assets/home-zh-CN-light.png
new file mode 100644
index 0000000..b5676b4
Binary files /dev/null and b/docs/assets/home-zh-CN-light.png differ
diff --git a/docs/assets/home-zh-TW-dark.png b/docs/assets/home-zh-TW-dark.png
new file mode 100644
index 0000000..77b0e1b
Binary files /dev/null and b/docs/assets/home-zh-TW-dark.png differ
diff --git a/docs/assets/home-zh-TW-light.png b/docs/assets/home-zh-TW-light.png
new file mode 100644
index 0000000..18d06c6
Binary files /dev/null and b/docs/assets/home-zh-TW-light.png differ
diff --git a/docs/assets/logo.svg b/docs/assets/logo.svg
new file mode 100644
index 0000000..b44c775
--- /dev/null
+++ b/docs/assets/logo.svg
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="128" height="128">
+ <defs><linearGradient id="bm" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7A6BFF"/><stop offset=".55" stop-color="#E86BD2"/><stop offset="1" stop-color="#FF9D5C"/></linearGradient></defs>
+ <rect x="1.5" y="1.5" width="29" height="29" rx="9" fill="url(#bm)"/>
+ <rect x="7" y="9" width="12" height="14" rx="3.2" fill="none" stroke="#fff" stroke-width="2" opacity=".55"/>
+ <rect x="12" y="9" width="12" height="14" rx="3.2" fill="#fff"/>
+ <path d="M16.4 13v6l4.6-3z" fill="#B65CE0"/>
+</svg>