elevenlabs-tts
Convert text to speech using ElevenLabs API. Use when you need to generate voice audio for messages, narrations, or accessibility.
How do I install this agent skill?
npx skills add https://github.com/winsorllc/upgraded-carnival --skill elevenlabs-ttsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a legitimate text-to-speech utility that integrates with the official ElevenLabs API. It follows security best practices by using environment variables for credentials and using built-in Node.js libraries without external dependencies.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
2 files scanned · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
ElevenLabs Text-to-Speech
Generate high-quality speech from text using ElevenLabs API.
Quick Start
/job/.pi/skills/elevenlabs-tts/elevenlabs-tts.js "Hello there" /tmp/output.mp3
Usage
Basic TTS
/job/.pi/skills/elevenlabs-tts/elevenlabs-tts.js "<text>" <output_file>
With Voice Selection
job/.pi/skills/elevenlabs-tts/elevenlabs-tts.js "<text>" <output_file> <voice_id>
List Available Voices
/job/.pi/skills/elevenlabs-tts/elevenlabs-tts.js --list-voices
Configuration
Requires environment variable:
ELEVENLABS_API_KEY- ElevenLabs API key
Available Voices
Default voices (get IDs with --list-voices):
rachel- Calm, professional femaledrew- Conversational maleclive- Authoritative malebella- Soft femaleantoni- Versatile malecharlie- Energetic male
SSML Support
Use SSML for advanced control:
<speak>
<break time="1s"/>
Hello there!
<break time="500ms"/>
How can I help you?
</speak>
Output Format
Creates MP3 file at specified path. Returns path on success.
Examples
# Generate speech with default voice
/job/.pi/skills/elevenlabs-tts/elevenlabs-tts.js "Welcome to our service" /tmp/welcome.mp3
# Generate with specific voice
/job/.pi/skills/elevenlabs-tts/elevenlabs-tts.js "This is important" /tmp/alert.mp3 EXAVITQu4vr4xnSDxMaL
# List all available voices
/job/.pi/skills/elevenlabs-tts/elevenlabs-tts.js --list-voices
Tips
- Keep text under 5000 characters per request
- Use breaks and pauses for natural speech
- Preview with short clips before generating long audio
- For emotional delivery, use voice-specific prompts in the text
When to Use
- User requests voice message or audio narration
- Creating accessibility audio content
- Generating voice responses for chatbots
- Text-to-speech for notifications
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/winsorllc/upgraded-carnival/elevenlabs-tts">View elevenlabs-tts on skillZs</a>