Generate text-to-speech audio from a complete text block with HTTP POST.
Documentation Index
Fetch the complete documentation index at: https://docs.gradium.ai/llms.txt
Use this file to discover all available pages before exploring further.
Your Gradium API key
The text to convert to speech
Voice ID from the library or custom voice ID
Audio output format
wav, pcm, opus, ulaw_8000, mulaw_8000, alaw_8000, pcm_8000, pcm_16000, pcm_22050, pcm_24000, pcm_44100, pcm_48000 When true, returns raw audio bytes instead of JSON
Audio data returned successfully