Convert text to spoken audio (returns MP3 binary).
audio/mpeg) — not JSON.
Content-Type header is audio/mpeg.theo-voice-classic.| Voice | Character |
|---|---|
theo-voice-classic | Neutral, versatile — default |
theo-voice-bright | Bright, clear, upbeat |
theo-voice-storyteller | Narrative, expressive |
theo-voice-deep | Deep, authoritative |
theo-voice-warm | Warm, professional |
theo-voice-soft | Soft, thoughtful |
| Header | Value |
|---|---|
Content-Type | audio/mpeg |
Content-Length | File size in bytes |
X-Request-Id | Unique request ID (prefixed tts_) |
| Status | Code | Description |
|---|---|---|
| 400 | missing_text | text is required |
| 401 | invalid_api_key | Missing or invalid API key |
| 502 | tts_provider_error | Theo voice engine returned an error — retry |
| 503 | tts_unavailable | TTS is not configured on this instance |