Voice & TTS: Text-to-Speech with ElevenLabs
PocketPaw can convert text to speech using OpenAI’s TTS API or ElevenLabs.
Providers
OpenAI TTS
export POCKETPAW_OPENAI_API_KEY="sk-..."export POCKETPAW_TTS_PROVIDER="openai"export POCKETPAW_TTS_VOICE="alloy" # alloy, echo, fable, onyx, nova, shimmerElevenLabs
export POCKETPAW_ELEVENLABS_API_KEY="your-key"export POCKETPAW_TTS_PROVIDER="elevenlabs"export POCKETPAW_TTS_VOICE="your-voice-id"Usage
User: Read this article aloud: [article text]Agent: [uses voice tool] → [audio file]Tool Schema
{ "name": "voice", "description": "Convert text to speech audio", "input_schema": { "type": "object", "properties": { "text": { "type": "string", "description": "Text to convert to speech" }, "voice": { "type": "string", "description": "Voice to use (optional)" } }, "required": ["text"] }}Policy Group
Belongs to group:voice. Also included in group:media.
Related
Speech to Text
Transcribe audio files to text with OpenAI Whisper.
Image Generation
Generate images with Google Gemini models.
Tools Overview
Browse all 50+ built-in tools available in PocketPaw.
Was this page helpful?