v1
latestOpenAPI 3.1.0MIT2026-07-262861121.0 KBConvert text into natural-sounding speech using various TTS models from different providers. Supports multiple languages, voices, and customization options including speed control, voice instructions, and audio format selection.
post/tts
Request body
Example request
{
"text": "Hello! This is a test of the text-to-speech API.",
"voice": "af_bella",
"instructions": "speak with enthusiasm"
}Response
Text-to-speech response. Returns either JSON with audio URL or binary audio data depending on the model.
Example response
{
"audioUrl": "https://storage.url/audio-file.wav",
"contentType": "audio/wav"
}