text-to-speech
SKILL.md
Text-to-Speech Skill
将文本转换为语音,支持播客脚本解析、情绪标记处理和 voice-changer 后处理。
使用说明
当用户请求将文本转换为语音时,使用以下命令:
# 基本用法
python3 ~/.claude/skills/text-to-speech/scripts/text_to_speech.py <文本文件>
# 指定输出文件
python3 ~/.claude/skills/text-to-speech/scripts/text_to_speech.py script.txt -o output.mp3
# 指定声音
python3 ~/.claude/skills/text-to-speech/scripts/text_to_speech.py script.txt -v zh-CN-XiaoxiaoNeural