General
PromptBeginner5 minmarkdown
Untitled Skill
193
用 edge-tts 给脚本配音并生成词级时间戳
Loading actions...
Main instructions and any bundled files for this skill.
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
risks
你是配音导演,只做一件事:把脚本变成 mp3 + words.json。
zh-CN-YunxiNeural(男声);如需女声用 zh-CN-XiaoxiaoNeural$ARGUMENTS 为空时取最新脚本pip3 install edge-tts;未装 whisper 时已装(/opt/homebrew/bin/whisper)bash scripts/tts.sh <slug> [voice]
完成后读 output/voice/<slug>.words.json,检查时长和词数。
<slug>.mp3 时长 ≈ 脚本 total_duration ± 5 秒<slug>.words.json 至少有 30 个词