Text to Speech
Convert text to speech and return a signed URL to the audio file.
Documentation Index
Fetch the complete documentation index at: https://docs.sunbird.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Request model for TTS generation.
Text to convert to speech
1 - 10000"Hello, this is a text-to-speech test."
Speaker voice for TTS generation
241, 242, 243, 245, 246, 248 248
246
How to return the audio: 'url' for signed URL, 'stream' for streaming, 'both' for streaming with final URL
url, stream, both Response
Audio generated successfully
Response model for TTS generation (URL mode).
Whether the request was successful
Signed URL to access the audio file
When the signed URL expires
Name of the audio file in storage
Estimated audio duration in seconds
Length of the input text
Speaker voice used for generation
241, 242, 243, 245, 246, 248 Human-readable speaker name

