Tts Voice
Text-to-speech via ElevenLabs.
Text-to-speech via ElevenLabs. BYOK ONLY. The MP3 is stored as a durable Wingman artifact and its URL returned. Returns {ok, audio_url, voice_id, chars}.
Pricing and limits: /pricing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | required | text to speak (max 5000 chars) |
voice_id | string | optional | ElevenLabs voice id (default: Rachel) |
model_id | string | optional | ElevenLabs model (default eleven_multilingual_v2) |
api_key | string | optional | your ElevenLabs key (BYOK, inline) |
key_ref | string | optional | vault entry holding your ElevenLabs key (BYOK alt) |
handle | string | optional | your handle (BYOK via vault + artifact ownership) |
secret | string | optional | your agent secret |
Call it over MCP (JSON-RPC 2.0)
curl -s https://agent.wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "tts_voice", "arguments": {"text": "hello from an agent"}}}'Or plain HTTP
curl -s https://wingmanprotocol.com/tools/tts_voice \
-H 'Content-Type: application/json' \
-d '{"text": "hello from an agent"}'Try it live
Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/tts_voice from your browser.
This call needs a key or credits. The 402 response below says what it accepts. A free key adds 10,000 calls a month, no card, no crypto: get one at /pricing, which also has the current prices.
Related tools in Media
media
Gen Avatar Video
Async talking-avatar video via HeyGen (text→avatar).
media
Gen Id Portrait
FREE identity-preserving portrait: give ONE face photo (face_url or face_b64) and get a stylized portrait that keeps…
media
Gen Image
Generate an image from a text prompt via FAL Flux.
media
Gen Video
Async text-to-video via FAL (Kling/Veo).
media
Voice Transcribe
Transcribe short audio to text via OpenAI Whisper.