lh-edge-tts
由 liuhedev 提供
Git & GitHub简介
Text-to-speech conversion using Python edge-tts for generating audio from text.
描述
该技能的功能
Converts text to speech using Microsoft Edge's neural TTS service via Python edge-tts. Supports multiple languages and voices, with controls for speed, pitch, volume, and subtitle file generation in SRT or VTT format.
Uses Microsoft Edge's neural voices at no cost, with no API key required, while still supporting a wide range of languages and fine-grained audio controls.
何时使用
- Listen to a long article while commuting
- Generate narration for a tutorial in a specific accent
- Convert cooking instructions to audio hands-free
- Create accessible audio versions of written content
- Produce subtitled audio files for video projects
示例工作流
User asks: tts 'Welcome to the tutorial' with a British male voice at slightly faster speed
- 1
Detect 'tts' trigger in user message
- 2
Strip TTS-related keywords from the target text
- 3
Call tts_converter.py with --voice en-GB-RyanNeural and --rate +10%
- 4
Receive the generated MP3 file path
- 5
Return the MEDIA: path to Clawdbot for delivery
Audio file played in the current channel using en-GB-RyanNeural voice at +10% speed
安装
clawhub install liuhedev/lh-edge-tts运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。