Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

dub-youtube-with-voiceai使用 Voiceai 为 YouTube 配音

Agent Skill

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

总安装

46,301

周安装

1,855

GitHub Stars

2

下载量

14,988
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dub-youtube-with-voiceai(使用 Voiceai 为 YouTube 配音)
来源仓库:https://github.com/gizmogremlin/dub-youtube-with-voiceai
安装命令:
openclaw skills install dub-youtube-with-voiceai
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install dub-youtube-with-voiceai

简介

使用 Voice.ai TTS 为 YouTube 视频配音。将脚本转换为可发布的配音,其中包含 YouTube 长片和 Shorts 的章节、字幕和音频替换。

SKILL.md

name
dub-youtube-with-voiceai
description
Dub YouTube videos with Voice.ai TTS. Turn scripts into publish-ready voiceovers with chapters, captions, and audio replacement for YouTube long-form and Shorts.
version
0.1.2
env
required_env
credentials
setup
none — single file, runs directly with Node.js
runtime
node>=20
optional_deps
ffmpeg

Dub YouTube with Voice.ai

This skill follows the Agent Skills specification.

Turn any script into a YouTube-ready voiceover — complete with numbered segments, a stitched master, chapter timestamps, SRT captions, and a review page. Drop the voiceover onto an existing video to dub it in one command.

Built for YouTube creators who want studio-quality narration without the studio. Powered by Voice.ai.


When to use this skill

ScenarioWhy it fits
YouTube long-formFull narration with chapter markers and captions
YouTube ShortsQuick hooks with punchy delivery
Course contentProfessional narration for educational videos
Screen recordingsDub a screencast with clean AI voiceover
Quick iterationSmart caching — edit one section, only that segment re-renders
Batch productionSame voice, consistent quality across every video

The one-command workflow

Have a script and a video? Dub it in one shot:

node voiceai-vo.cjs build \
  --input my-script.md \
  --voice oliver \
  --title "My YouTube Video" \
  --video ./my-recording.mp4 \
  --mux \
  --template youtube

This renders the voiceover, stitches the master audio, and drops it onto your video — all in one command. Output:

  • out/my-youtube-video/muxed.mp4 — your video dubbed with the AI voiceover
  • out/my-youtube-video/master.wav — the standalone audio
  • out/my-youtube-video/review.html — listen and review each segment
  • out/my-youtube-video/chapters.txt — paste directly into your YouTube description
  • out/my-youtube-video/captions.srt — upload to YouTube as subtitles
  • out/my-youtube-video/description.txt — ready-made YouTube description with chapters

Use --sync pad if the audio is shorter than the video, or --sync trim to cut it to match.


Requirements

  • Node.js 20+ — runtime (no npm install needed — the CLI is a single bundled file)
  • VOICE_AI_API_KEY — set as environment variable or in a .env file in the skill root. Get a key at voice.ai/dashboard.
  • ffmpeg (optional) — needed for master stitching, MP3 encoding, loudness normalization, and video dubbing. The pipeline still produces individual segments, the review page, chapters, and captions without it.

Configuration

Set VOICE_AI_API_KEY as an environment variable before running:

export VOICE_AI_API_KEY=your-key-here

The skill does not read .env files or access any files for credentials — only the environment variable.

Use --mock on any command to run the full pipeline without an API key (produces placeholder audio).


Commands

build — Generate a YouTube voiceover from a script

node voiceai-vo.cjs build \
  --input <script.md or script.txt> \
  --voice <voice-alias-or-uuid> \
  --title "My YouTube Video" \
  [--template youtube] \
  [--video input.mp4 --mux --sync shortest] \
  [--force] [--mock]

What it does:

  1. Reads the script and splits it into segments (by ## headings for .md, or by sentence boundaries for .txt)
  2. Optionally prepends/appends YouTube intro/outro segments
  3. Renders each segment via Voice.ai TTS
  4. Stitches a master audio file (if ffmpeg is available)
  5. Generates YouTube chapters, SRT captions, a review page, and a ready-made description
  6. Optionally dubs your video with the voiceover

Full options:

OptionDescription
-i, --input <path>Script file (.txt or .md) — required
-v, --voice <id>Voice alias or UUID — required
-t, --title <title>Video title (defaults to filename)
--template youtubeAuto-inject YouTube intro/outro
--mode <mode>headings or auto (default: headings for .md)
--max-chars <n>Max characters per auto-chunk (default: 1500)
--language <code>Language code (default: en)
--video <path>Input video to dub
--muxEnable video dubbing (requires --video)
--sync <policy>shortest, pad, or trim (default: shortest)
--forceRe-render all segments (ignore cache)
--mockMock mode — no API calls, placeholder audio
-o, --out <dir>Custom output directory

replace-audio — Dub an existing video

node voiceai-vo.cjs replace-audio \
  --video ./my-video.mp4 \
  --audio ./out/my-video/master.wav \
  [--out ./out/my-video/dubbed.mp4] \
  [--sync shortest|pad|trim]

Requires ffmpeg. If not installed, generates helper shell/PowerShell scripts instead.

Sync policyBehavior
shortest (default)Output ends when the shorter track ends
padPad audio with silence to match video duration
trimTrim audio to match video duration

Video stream is copied without re-encoding (-c:v copy). Audio is encoded as AAC for YouTube compatibility.

Privacy: Video processing is entirely local. Only script text is sent to Voice.ai for TTS. Your video files never leave your machine.

voices — List available voices

node voiceai-vo.cjs voices [--limit 20] [--query "deep"] [--mock]

Available voices

Use short aliases or full UUIDs with --voice:

AliasVoiceGenderBest for YouTube
ellieEllieFVlogs, lifestyle, social content
oliverOliverMTutorials, narration, explainers
lilithLilithFASMR, calm walkthroughs
smoothSmooth Calm VoiceMDocumentaries, long-form essays
corpseCorpse HusbandMGaming, entertainment
skadiSkadiFAnime, character content
zhongliZhongliMGaming, dramatic intros
floraFloraFKids content, upbeat videos
chiefMaster ChiefMGaming, action trailers

The voices command also returns any additional voices available on the API. Voice list is cached for 10 minutes.


Build outputs

After a build, the output directory contains everything you need to publish on YouTube:

out/<title-slug>/
  segments/           # Numbered WAV files (001-intro.wav, 002-section.wav, …)
  master.wav          # Stitched voiceover (requires ffmpeg)
  master.mp3          # MP3 for upload (requires ffmpeg)
  muxed.mp4           # Dubbed video (if --video --mux used)
  chapters.txt        # Paste into YouTube description
  captions.srt        # Upload as YouTube subtitles
  description.txt     # Ready-made YouTube description with chapters
  review.html         # Interactive review page with audio players
  manifest.json       # Build metadata: voice, template, segment list
  timeline.json       # Segment durations and start times

YouTube workflow

  1. Run the build command
  2. Upload muxed.mp4 (or your original video + master.mp3 as audio)
  3. Paste chapters.txt content into your YouTube description
  4. Upload captions.srt as subtitles in YouTube Studio
  5. Done — professional narration, chapters, and captions in minutes

YouTube template

Use --template youtube to auto-inject a branded intro and outro:

SegmentSource file
Intro (prepended)templates/youtube_intro.txt
Outro (appended)templates/youtube_outro.txt

Edit the files in templates/ to customize your channel's branding.


Caching

Segments are cached by a hash of: text content + voice ID + language.

  • Unchanged segments are skipped on rebuild — fast iteration
  • Modified segments are re-rendered automatically
  • Use --force to re-render everything
  • Cache manifest is stored in segments/.cache.json

Multilingual dubbing

Voice.ai supports 11 languages — dub your YouTube videos for global audiences:

en, es, fr, de, it, pt, pl, ru, nl, sv, ca

node voiceai-vo.cjs build \
  --input script-spanish.md \
  --voice ellie \
  --title "Mi Video" \
  --language es \
  --video ./my-video.mp4 \
  --mux

The pipeline auto-selects the multilingual TTS model for non-English languages.


Troubleshooting

IssueSolution
ffmpeg missingPipeline still works — you get segments, review page, chapters, captions. Install ffmpeg for stitching and video dubbing.
Rate limits (429)Segments render sequentially, which stays under most limits. Wait and retry.
Insufficient credits (402)Top up at voice.ai/dashboard. Cached segments won't re-use credits on retry.
Long scriptsCaching makes rebuilds fast. Text over 490 chars per segment is automatically split across API calls.
Windows pathsWrap paths with spaces in quotes: --input "C:\My Scripts\script.md"

See references/TROUBLESHOOTING.md for more.


References

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.58%
按下载量换算13,576

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills