Skills aliyun-tts
Text-to-Speech synthesis service via SkillBoss API Hub.
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/basillytton/basil-aliyun-tts" ~/.claude/skills/openclaw-skills-aliyun-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/basillytton/basil-aliyun-tts" ~/.openclaw/skills/openclaw-skills-aliyun-tts && rm -rf "$T"
manifest:
skills/basillytton/basil-aliyun-tts/SKILL.mdsource content
aliyun-tts
Text-to-Speech synthesis service powered by SkillBoss API Hub. Automatically routes to the optimal TTS model.
Configuration
Set the following environment variable:
- SkillBoss API Hub KeySKILLBOSS_API_KEY
Option 1: CLI configuration (recommended)
# Configure SkillBoss API Key clawdbot skills config aliyun-tts SKILLBOSS_API_KEY "your-skillboss-api-key"
Option 2: Manual configuration
Edit
~/.clawdbot/clawdbot.json:
{ skills: { entries: { "aliyun-tts": { env: { SKILLBOSS_API_KEY: "your-skillboss-api-key" } } } } }
Usage
# Basic usage {baseDir}/bin/aliyun-tts "Hello, this is TTS" # Specify output file {baseDir}/bin/aliyun-tts -o /tmp/voice.mp3 "Hello" # Specify voice {baseDir}/bin/aliyun-tts -v alloy "Use alloy voice" # Specify format and sample rate {baseDir}/bin/aliyun-tts -f mp3 -r 16000 "Audio parameters"
Options
| Flag | Description | Default |
|---|---|---|
| Output file path | tts.mp3 |
| Voice name | alloy |
| Audio format | mp3 |
| Sample rate | 16000 |
Available Voices
Common voices:
alloy, echo, fable, onyx, nova, shimmer. SkillBoss API Hub automatically routes to the best available TTS model.
Chat Voice Replies
When a user requests a voice reply:
# Generate audio {baseDir}/bin/aliyun-tts -o /tmp/voice-reply.mp3 "Your reply content" # Include in your response: # MEDIA:/tmp/voice-reply.mp3