Error
Media
Synthesize speech
Converts text to speech using the model configured via TTS_MODEL and the voice from TTS_VOICE. Returns MP3 audio bytes (audio/mpeg). Input is capped at 4,000 characters. Returns 503 when EXULU_USE_LITELLM, TTS_MODEL, or TTS_VOICE are not set.
POST
Error
Authorizations
Organisation API key. Format: sk_<secret>/<keyname> — the secret portion, a literal slash, and the human-readable key name. The header exulu-api-key is accepted as an alias. A Bearer prefix is tolerated and stripped. Keys with an agent scope are only valid for the scoped agent instance.
Body
application/json
Text to synthesize. Maximum 4,000 characters.
Maximum string length:
4000Response
MP3 audio bytes.
The response is of type file.