Generate speech from text. If voice_id is provided, uses that voice; otherwise uses the default built-in voice. Returns complete audio file. Synchronous endpoint - blocks until generation completes.
Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer
The text to generate speech for
Optional voice ID. If omitted, the default built-in voice is used.
Audio format: mp3, wav, or pcm
mp3, wav, pcm Temperature for generation (0.0-2.0)
0 <= x <= 2Top-p sampling parameter (0.0-1.0)
0 <= x <= 1Successful Response - Returns binary audio file
MP3 audio file