Skills tts
Convert text to speech using Hume AI (or OpenAI) API. Use when the user asks for an audio message, a voice reply, or to hear something "of vive voix".
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/amstko/tts" ~/.claude/skills/openclaw-skills-tts && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/amstko/tts" ~/.openclaw/skills/openclaw-skills-tts && rm -rf "$T"
manifest:
skills/amstko/tts/SKILL.mdsource content
Text-to-Speech (TTS)
Convert text to speech and generate audio files (MP3).
Hume AI (Preferred)
- Preferred Voice:
9e1f9e4f-691a-4bb0-b87c-e306a4c838ef - Keys: Stored in environment as
andHUME_API_KEY
.HUME_SECRET_KEY
Usage
HUME_API_KEY="..." HUME_SECRET_KEY="..." node {baseDir}/scripts/generate_hume_speech.js --text "Hello Jonathan" --output "output.mp3"
OpenAI (Legacy)
- Preferred Voice:
nova - Usage:
OPENAI_API_KEY="..." node {baseDir}/scripts/generate_speech.js --text "..." --output "..."
General Notes
- The scripts print a
line with the absolute path to the generated file.MEDIA: - Use the
tool to send the resulting file to the user.message