{
"StatusCode": 200,
"Response": {
"AudioData": "<string>",
"Metadata": {
"Format": "Wav",
"SampleRate": 24000,
"Channels": 1
},
"RequestId": "req_6a9d7d739b18"
},
"Consumption": "18/15000"
}Convert Text to Speech
Convert text to high-quality speech with natural Arabic voices and multiple language support.
Arabic Excellence:
- Natural pronunciation for Arabic dialects
- Regional voice variations
- Cultural context understanding
- Proper Arabic phonetics
Available Speakers:
- Arabic Male: Hesham (recommended for MSA/Egyptian), Rawy (recommended for Saudi), Mohamed, Adel, Hytham
- Arabic Female: Hala (Saudi), Lina, Mona, Alice, Esraa
- English: Marcos Rudaski, Claribel Dervla
Consumption: Based on character count in input text
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 JSON body.
{
"StatusCode": 200,
"Response": {
"AudioData": "<string>",
"Metadata": {
"Format": "Wav",
"SampleRate": 24000,
"Channels": 1
},
"RequestId": "req_6a9d7d739b18"
},
"Consumption": "18/15000"
}Authorizations
Your API key from account settings
Your bot ID from account settings
Body
Text to convert to speech
"وش علومك اليوم؟"
Language code for speech synthesis
"ar-sa"
Voice to use for speech generation
"Rawy"
Required. Voice model version. One of: v1, v1-fast, v2, v3, v4, or eval-*.
"v1"
Controls variation in speech generation
0 <= x <= 10.5
Output sample rate in Hz
24000
Optional session identifier
"example-session-001"
Was this page helpful?

