Use this skill when the user wants fast text-to-speech with the globally installed edge-tts command.
Global commands:
edge-ttsedge-playbackBundled helper script:
scripts/tts_edge.pyPreferred Chinese test voice:
zh-CN-XiaoxiaoNeuraltemp/ directory.scripts/tts_edge.py for standard generation.edge-tts directly.message and set asVoice=true.Generate audio to the current caller workspace temp/ directory automatically:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "老板,你好,我是你的小助理。"
Generate audio with explicit relative path under the current caller workspace:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "老板,你好,我是你的小助理。" -o ./temp/out.mp3
Delete temporary file after successful sending:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py cleanup ./temp/out.mp3
Delete both audio and subtitles:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py cleanup ./temp/out.mp3 ./temp/out.vtt
Change voice explicitly:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "你好" -v zh-CN-XiaoxiaoNeural -o ./temp/out.mp3
Generate subtitles too:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "你好" -o ./temp/out.mp3 --subs ./temp/out.vtt
mkdir -p ./temp
edge-tts --voice zh-CN-XiaoxiaoNeural --text "老板,你好,我是你的小助理。" --write-media ./temp/out.mp3
edge-tts --list-voices
If the user asks for “气泡语音”, “语音条”, or a voice-message style result:
messageasVoice=trueIf the user asks for a normal audio file:
asVoice=truetemp/ directorypython3 scripts/tts_edge.py cleanup [subtitle] for deterministic cleanupedge-tts install unless the user explicitly asks共 1 个版本