技能圖譜SKILLSGROVE
技能圖譜/影片製作/DojoCodingLabs/remotion-superpowers/add-voiceover

add-voiceover

安裝

$npx skills add https://github.com/DojoCodingLabs/remotion-superpowers --skill add-voiceover
$git clone --depth 1 https://github.com/DojoCodingLabs/remotion-superpowers.git /tmp/remotion-superpowers && mkdir -p ~/.claude/skills && cp -r /tmp/remotion-superpowers/skills/add-voiceover ~/.claude/skills/add-voiceover
請幫我安裝這個 Agent Skill:https://github.com/DojoCodingLabs/remotion-superpowers/tree/970efd2d2f4ce2492231a31ee684c2ead883f4bc/skills/add-voiceover ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITGenerate a voiceover narration and add it to your Remotion project. Provide a script or describe what the narration should say, and this will generate per-scene ElevenLabs TTS audio (official ElevenLabs text-to-speech skill) and wire it into your composition.
以下 SKILL.md 內容轉載自 DojoCodingLabs/remotion-superpowers(提交 970efd2),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 Dojo Coding Labs 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

Add Voiceover — Generate & Integrate Narration

You are helping the user add a voiceover narration to their Remotion project.

Load the remotion-production skill for the voiceover-sync and audio-integration rules, and the official ElevenLabs text-to-speech skill (npx skills add elevenlabs/skills) for the API details.

Workflow

0. Preview First

If Studio isn't running yet, start it now with npx remotion studio (or --no-open with an in-app browser, then open the URL it prints) and keep it open, following the official remotion-best-practices skill.

1. Get the Script

If the user hasn't provided a script:

  • Ask what the video is about
  • Ask about tone (professional, casual, energetic, calm)
  • Write the narration script, split into one line or paragraph per scene
  • Present for approval

2. Choose Voice

Pre-made voices (from the official text-to-speech skill):

  • George (JBFqnCBsd6RMkjVDRZzb) — Male, narrative (default)
  • Sarah (EXAVITQu4vr4xnSDxMaL) — Female, soft
  • Daniel (onwK4e9ZLuTAKqWW03F9) — Male, authoritative
  • Charlotte (XB0fDUnXU5powFXDhCwa) — Female, conversational

For a specific mood, accent or language, search the voice library; for a cloned voice or several speakers, see the elevenlabs-advanced rule. Use the same voice for every scene.

3. Generate TTS, One File per Scene

Generate through ElevenLabs, as the official Remotion voiceover guide also recommends:

  1. If ELEVENLABS_API_KEY isn't set for the project, run npx -y @elevenlabs/cli@latest onboard init from the project root and follow what it prints. Never ask for the key in chat.
  2. npm i @elevenlabs/elevenlabs-js, then create scripts/generate-audio.ts from the audio-integration rule, with one voiceover entry per scene (vo-scene1, vo-scene2, …) and the chosen VOICE_ID. The model is eleven_v4.
  3. Run node scripts/generate-audio.ts from the project root. Each scene lands at public/vo-sceneN.mp3. To redo one line, delete its file and run the script again.

The script reports no duration; step 4 measures the files.

Alternatives:

  • The ElevenLabs MCP text_to_speech tool is deprecated (archived upstream) but still ships for quick interactive one-offs. It writes into public/; rename its output to vo-sceneN.mp3.
  • KIE generate_speech (remotion-media) for cheap drafts: text, output_name: vo-scene1, voice: Eric (21 named voices, listed in the voiceover-sync rule). Suno and the other KIE-resold models aren't licensed by their owners through KIE. Use KIE audio for drafts and internal work, and generate final commercial audio with ElevenLabs.

4. Size the Scenes with calculateMetadata

Measure each vo-sceneN.mp3 in calculateMetadata with Mediabunny and pass the per-scene frame counts (Math.ceil(seconds * fps)) as props, as the voiceover-sync rule shows. The composition length then follows the audio, and regenerating a line updates the timing in Studio.

5. Wire into Composition

Place each scene's file with <Audio> from @remotion/media inside that scene (install with npx remotion add @remotion/media), following the official remotion-markup skill (audio.md):

import { Audio } from "@remotion/media";
import { staticFile } from "remotion";

// Inside scene 1:
<Audio src={staticFile("vo-scene1.mp3")} volume={1} />

6. Captions (optional)

Offer captions. They follow the official remotion-captions skill (word-level, @remotion/whisper-webgpu), with an ElevenLabs Scribe fallback when there's no GPU and TikTok-style presets from the captions-workflow rule. Run /add-captions, or /transcribe if the user only wants an .srt file.

7. Duck Background Music (if present)

If the project already has background music, lower its volume during voiceover. See audio-integration rule for the ducking pattern.

8. Review in Studio

Ask the user to play it in the open Studio. Don't render unless they ask for an MP4.

檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 Dojo Coding Labs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.