zenstory-ai/video-recap-skills
AI 视频解说 Agent 技能包:自动切镜、看画面写解说词、配音混音合成成片,可导出剪映/CapCut 草稿,无需 GPU | Agent skills for narrated video recaps & CapCut drafts
What it solves
Manually turning a long drama series or a multi-episode show into a short, narrated recap video is tedious and error-prone: you need to watch the footage, pick the story thread, write a script, record voiceover, add subtitles, mix audio, and then still fix glitches. This project packages two AI skills that plug into coding agents like Claude Code or Codex CLI, so you can just give a video path and a plain-language instruction, and the agent does the whole pipeline: understand the scenes and dialogue, decide the main storyline and where to keep original voice, cut clips based on dialogue pauses, check for flicker and overspeed, generate narration, mix audio, add frames and subtitles, and export a CapCut draft for further fine-tuning.
How it works
The repo ships two skills: video-recap (the main production skill) and video-reference (an optional reference-analysis skill). After installation, you describe your video and desired outcome in plain language — for example, “make a 90-second vertical recap of ep1.mp4 with a 4:3 centered frame and export a CapCut draft.” The agent then runs a staged pipeline:
- Understand — it splits the video into shots, transcribes dialogue (using the Xiaomi MiMo API by default), and recognises visual content. It can also research characters if you supply the show name, so it uses real names instead of generic “man in black.”
- Plan — it writes a story plan and a visual-audio board that assigns each segment either to original dialogue (kept at original speed) or to narration, ensuring key dramatic moments are left untouched by voiceover.
- Cut & Write — in “cut” mode it first trims footage by dialogue pauses and shot changes, then writes narration against the actual cut timeline, so words align with pictures. It automatically blocks flicker (clips ≤ 0.20s), incomplete sentences, and overlong lines, and warns about dead air or vague labels.
- Voice & Mix — narration is synthesised (MiMo by default, optionally Fish Audio or self-hosted IndexTTS), then mixed to boost voices, duck music under speech, align transitions, and cap peaks at -1.0 dBTP to prevent distortion.
- Package — it adds portrait (9:16) or landscape (16:9) frames, subtitles, titles, character name tags, data cards, generates a
cover.jpg, and exports a multi-tracktimeline.jsonthat converts to a CapCut/JianYing draft folder.
All intermediate results are saved as JSON files (story plan, narration, revision log, QC reports), letting you review and iterate without losing already-done work. The system also has a local read-only review dashboard where you can playback the final video and click any subtitle to jump to that moment, plus a media library to preview music, voices, and frame styles.
Who it’s for
This is aimed at Chinese-speaking video creators, short-drama editors, and film/TV recap producers who want to produce narrated commentary videos (影视解说) efficiently using AI agents. It suits people comfortable with a command-line agent interface (Claude Code, Codex CLI, OpenCode, OpenClaw), and who already have or can get a Xiaomi MiMo API key and ffmpeg installed. You don’t need a GPU or to install Python packages manually.
Highlights
- Zero heavy installs — only Python 3.10+,
ffmpeg/ffprobe, and a MiMo API key (pay‑per‑use, roughly ¥1.3 per complete recap). - Preserves the best original audio — the story plan and audio board decide which beats keep original dialogue at full speed, with narration only filling gaps.
- Cut-then-write workflow — video is trimmed first, then narration is written against the real timeline, preventing word-picture misalignment.
- Automatic quality checks — blocks flicker, unfinished sentences, and overlong lines; runs decode, audio, and content QC before delivery.
- Full export ecosystem — exports CapCut drafts, generates covers, and includes a local read-only review page and a searchable media library.
- Resumable and restart-safe — analysis saves per shot, so interrupted runs can continue without redoing completed work.
Related
- Project
- Project
- Project
- Project
- Project