Download OpenAPI specification:
API for converting text to speech with various voice options
Converts text to speech and returns the audio file as bytes
| text required | string The text to convert to speech |
| voice | string (VoiceOptions) Enum: "af_bella" "af_nicole" "af_sarah" "af_sky" "am_adam" "am_michael" "bf_emma" "bf_isabella" "bm_george" "bm_lewis" |
{- "text": "string",
- "voice": "af_bella"
}{- "detail": "string"
}Streams text-to-speech audio data
| text required | string The text to convert to speech |
| voice | string (VoiceOptions) Enum: "af_bella" "af_nicole" "af_sarah" "af_sky" "am_adam" "am_michael" "bf_emma" "bf_isabella" "bm_george" "bm_lewis" |
{- "text": "string",
- "voice": "af_bella"
}{- "detail": "string"
}