Real-time text to speech conversion with audio streaming for immediate playback.
Key Features:
Use Cases:
Audio Format: MP3 chunks delivered via server-sent events
Note: Example requests/responses shown here are illustrative. When using the live “Try it” tool, you may see two responses: an HTTP status preview and the API’s streaming output.
Your API key from account settings
Your bot ID from account settings
Text to convert to speech
"مرحباً! هذا بث صوتي لحظي."
Language code for speech
"ar"
Voice to use for generation
"Hesham"
Controls speech variation
0 <= x <= 10.8
Audio sample rate
24000
Size of audio chunks for streaming
x <= 400300
Streaming audio generation with progressive chunks
Server-sent events with audio chunks