Communitygithub.com

video-voiceover

Voice-first narration for the video-director skill — writes the narration script and timeline, prepares the clip list for a TTS tool (Vrew by default, any tool that exports audio works), then fits the REAL voice audio onto the CapCut timeline (voice_fit). CapCut stays the only editing/export platform. Use when the user asks for voice-over, narration, 配音, 旁白, Vrew, or as step 6b of every video-director production.

What is video-voiceover?

The video-voiceover skill is designed for the video-director workflow, focusing on generating and integrating high-quality voice-over narration. It first creates a script and planned timeline for the narration, outputting text files for a Text-to-Speech (TTS) tool, such as Vrew, to generate audio. The skill then uses the `voice_fit.py` script to precisely measure and align the real voice audio onto the CapCut timeline, retiming subtitles to match the actual spoken words. This ensures that the final video, exported from CapCut as an MP4, has perfectly synchronized voice-over without burning subtitles or using the TTS tool for final export. The process is automated for script creation, audio fitting, and quality checks, while voice generation in the TTS tool remains a manual step unless Computer Use or a browser extension is available. It supports multiple languages (zh-TW, ja, en) and adheres to strict rules for content accuracy, voice speed, and brand consistency.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/seungriongr/AI-Video-Studio/tree/HEAD/skills/video-voiceover

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Video voice-over (voice first, CapCut last)

script + timeline → TTS tool makes the voice AUDIO only → voice_fit.py measures it and places it on the CapCut timeline → subtitles retimed to the real voice → the user reviews and exports ONE MP4 from CapCut. Never finish the video in the TTS tool; never burn its subtitles into the video. S = the video-director skill folder; project P = <workspace>/Projects/<YYYY-MM-DD_place>.

Rules

  1. Narration says only what the footage/captions show; the TTS tool may not reword facts. Keep sign names as written. voice_fit warns when the tool's SRT differs from the script → check it.
  2. Speech must fit the video (≤ max_seconds) — never speed a voice up to fit; shorten the line and regenerate it.
  3. Use the user's own TTS account; never sign in for them, never buy credits.
  4. New TTS projects only, named like the draft + _voice. Never touch existing projects.
  5. Voice name and speed come from the brand profile (brand.json → voice; default speed ≈ 1.1×, brisk).

Step 1 — Script and planned timeline (automated, tested)

$P/voice/<stem>.narration.json: {"lang": "zh-TW", "lines": [{"shots": [0, 1], "text": "…", "lead": 0.2}]} python3 -I $S/scripts/voice_script.py <spec> <narration.json> $P/voice/<stem> → .txt (one clip per line, paste into the TTS tool), .json (planned windows), .srt. Speaking-rate defaults: zh 6.5 chars/s, ja 8.5, en 3.0 words/s. python3 -I scripts/vrew_sheet.py $P/voice/<stem> "<voice>" → .vrew_sheet.md (clip list).

Step 2 — TTS: voice audio only (MANUAL — see docs/CAPABILITIES.md)

Vrew example: new project from text / AI voice (not "AI short-form from video": it needs a video, writes its own script and may cost credits) → paste .txt (one line per clip, keep the pause between clips) → choose the voice → export audio (wav/mp3; if only MP4 is offered, export MP4 — voice_fit extracts the audio) + SRT if offered → save as $P/voice/<stem>.vrew.wav (+ .vrew.srt). The exact menu names depend on the Vrew version.

Step 3 — Fit the real voice (automated, tested with macOS voices)

python3 -I $S/scripts/voice_fit.py <spec> $P/voice/<stem>.json <voice file> $P/work/<stem>.voice.json [--srt <srt>] measures the audio (bin/audio_probe), matches phrases to lines (text length + pauses, or SRT), places each line at its shot, retimes subtitles (one per clip), sets the mix (footage muted, music ≤ 0.25, voice 1.0) and writes .fit.md. FAIL = too long for the video / a line after its shot / phrase-count mismatch → shorten lines or pass --srt.

Step 4 — Build, check, review (video-director steps 7–11)

QA checks every spoken phrase is on the timeline, edits fall in pauses, subtitles start with each line (±0.3 s) and stay until it ends, voice level (peak ≤ -1 dBFS, voiced RMS -24…-10), footage/music volumes, music licence (only files in <workspace>/Brand/ count as licensed).

Automation status

Automated + tested: steps 1, 3, 4. Manual: step 2 (generating the voice in the TTS app). Claude can drive the TTS app only with Computer use (desktop) or a browser extension (web); without them it hands over the .txt and the clip sheet and never claims the voice was generated.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Related Skills