Skip to main content
POST
Text to Speech
Convert text to speech. Returns raw audio bytes (audio/mpeg) — not JSON.
The response is a binary MP3 file, not a JSON object. The Content-Type header is audio/mpeg.

Authentication

Requires a Bearer token. See Authentication.

Request Body

text
string
required
Text to convert to speech. Maximum 4,096 characters.
voice
string
default:"theo-voice-classic"
Optional Theo voice identifier. Omit to use the default voice. Unknown values fall back to theo-voice-classic.
speed
number
default:"1.0"
Playback speed multiplier (0.25–4.0).

Request Examples

Response

The response body is raw MP3 audio bytes.

Errors