Skills deapi-audio
Text-to-speech, voice cloning, voice design, and transcribe audio files via deAPI GPU network. Trigger on 'text to speech', 'TTS', 'generate voice', 'read aloud', 'voice clone', 'clone voice', 'voice design', 'design voice', 'custom voice', 'transcribe audio', 'STT'. For video/YouTube transcription use deapi-video instead.
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/aleglowa/deapi-audio" ~/.claude/skills/openclaw-skills-deapi-audio && 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/aleglowa/deapi-audio" ~/.openclaw/skills/openclaw-skills-deapi-audio && rm -rf "$T"
manifest:
skills/aleglowa/deapi-audio/SKILL.mdsource content
deAPI Audio
Text-to-speech, voice cloning, voice design, and audio transcription via deAPI decentralized GPU network.
Scripts
| Script | Use when... |
|---|---|
| User wants to convert text to spoken audio |
| User wants to clone/replicate a voice from a sample audio file |
| User wants to generate speech with a voice described in natural language |
| User wants to transcribe an audio file (AAC, MP3, OGG, WAV, WebM, FLAC, max 10MB) |
Your config
! cat ${CLAUDE_SKILL_DIR}/config.json 2>/dev/null || echo "NOT_CONFIGURED"
If the config above is NOT_CONFIGURED, ask the user:
- What is your deAPI API key? (get one at https://deapi.ai, free $5 credit)
Then write the answer to ${CLAUDE_SKILL_DIR}/config.json as
{ "api_key": "their_key" }.
Alternatively, the user can set the
DEAPI_API_KEY environment variable directly, which takes priority over config.json.
Gotchas
- For YouTube/video transcription, use the
skill instead. This skill handles audio-only files (.mp3, .wav, .m4a, .flac, .ogg).deapi-video - Three TTS models:
(default),Kokoro
,Chatterbox
. UseQwen3
or--model Chatterbox
to switch.--model Qwen3 - Kokoro: Voice ID format is
. Language is auto-detected from voice prefix if{lang}{gender}_{name}
is omitted.--lang - Chatterbox: voice is always
, speed is fixed atdefault
, supports 22 languages. Text limit 10-2000 chars.1 - Kokoro: text limit 3-10001 chars. Long text may timeout — split into segments and generate separately.
- TTS output format defaults to mp3. WAV files are much larger but lossless.
- Kokoro:
range is 0.5-2.0. Values outside this range cause errors.speed - Qwen3 Voice Clone (
): ref audio must be 5-15 seconds. Too short or too long degrades quality. Formats: MP3, WAV, FLAC, OGG, M4A. URLs are downloaded automatically.voice-clone.sh - Qwen3 Voice Design (
): quality depends on thevoice-design.sh
description. Encourage specific details: gender, age, accent, speaking style, emotion.--instruct - Qwen3 models use full language names (
,English
, etc.) NOT language codes. 10 supported languages: English, Italian, Spanish, Portuguese, Russian, French, German, Korean, Japanese, Chinese.French - Qwen3 TTS (
): 9 voices available, default--model Qwen3
. Chinese language lacksVivian
voice.Ryan - Qwen3 text limit is 10-5000 chars. Speed is fixed at 1. Voice Clone and Voice Design use voice=
.default - Audio transcription accepts a local file path or URL (
). Formats: AAC, MP3, OGG, WAV, WebM, FLAC. Max 10 MB.--audio - Result URLs expire in 24 hours. Download promptly.
Quick examples
# Basic TTS bash scripts/text-to-speech.sh --text "Hello world" # British voice bash scripts/text-to-speech.sh --text "Good morning" --voice bf_emma # Chatterbox model (multilingual) bash scripts/text-to-speech.sh --model Chatterbox --text "Bonjour le monde" --lang fr # Qwen3 model bash scripts/text-to-speech.sh --model Qwen3 --text "Hello world" --voice Serena --lang English # Clone a voice from a sample bash scripts/voice-clone.sh --text "Hello, this is my cloned voice" --ref-audio /path/to/sample.mp3 # Clone with reference transcript for better accuracy bash scripts/voice-clone.sh --text "Welcome to the show" --ref-audio /path/to/sample.wav --ref-text "This is the original transcript" # Design a custom voice from description bash scripts/voice-design.sh --text "Good morning everyone" --instruct "A warm, deep male voice with a slight British accent" # Voice design in another language bash scripts/voice-design.sh --text "Bonjour tout le monde" --instruct "A cheerful young female voice" --lang French # Transcribe audio file (local or URL) bash scripts/speech-to-text.sh --audio /path/to/recording.mp3 bash scripts/speech-to-text.sh --audio "https://example.com/podcast.mp3"
For the full voice list and language codes, see references/voices.md.