edge-tts-cli

📁 nlyrthiia/tts-tools 📅 1 day ago
1
总安装量
1
周安装量
#77254
全站排名
安装命令
npx skills add https://github.com/nlyrthiia/tts-tools --skill edge-tts-cli

Agent 安装分布

windsurf 1
amp 1
cline 1
openclaw 1
opencode 1
cursor 1

Skill 文档

edge-tts-cli

Generate speech audio with the bundled edge-tts wrapper scripts.

Workflow

  1. Determine mode:
  • Use single mode when user provides one sentence/paragraph.
  • Use batch mode when user provides a .txt file (one line per clip).
  1. Use the launcher script so dependencies auto-bootstrap.
  2. Prefer the default male voice unless user requests another voice.
  3. Verify output file(s) exist after generation.

Instructions

Run commands from this skill directory:

# show help
./scripts/tts --help

# list voices
./scripts/tts --list-voices

# single text -> one mp3
./scripts/tts --text "Welcome to VexLand" --out ./out/1.mp3

# txt batch -> multiple mp3 files
./scripts/tts --txt ./voice_lines.txt --out-dir ./out --prefix line_ --start-index 1

Default behavior:

  • Primary voice: en-US-AndrewMultilingualNeural
  • Fallback voice: en-US-GuyNeural
  • Rate: +0%
  • Pitch: +0Hz

Common tuning:

./scripts/tts --text "Season one starts now" --out ./out/5.mp3 --rate +10% --pitch +5Hz

Notes

  • This tool uses online edge-tts endpoints; input text is sent to Microsoft speech service.
  • If generation fails due to network/timeout, retry once before changing voice.
  • In batch mode, blank lines and lines starting with # are skipped.