curl --request POST \
--url https://gateway.widebot.net/api/v3/AQL/TextToSpeech \
--header 'Content-Type: application/json' \
--header 'x-bot: <api-key>' \
--header 'x-user-auth: <api-key>' \
--data '
{
"TextMessage": "مرحباً بكم في منصة وايد بوت للذكاء الاصطناعي",
"LanguageCode": "ar-sa",
"Speaker": "Rawy",
"ModelType": "v1"
}
'{
"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.
POST
/
api
/
v3
/
AQL
/
TextToSpeech
curl --request POST \
--url https://gateway.widebot.net/api/v3/AQL/TextToSpeech \
--header 'Content-Type: application/json' \
--header 'x-bot: <api-key>' \
--header 'x-user-auth: <api-key>' \
--data '
{
"TextMessage": "مرحباً بكم في منصة وايد بوت للذكاء الاصطناعي",
"LanguageCode": "ar-sa",
"Speaker": "Rawy",
"ModelType": "v1"
}
'{
"StatusCode": 200,
"Response": {
"AudioData": "<string>",
"Metadata": {
"Format": "Wav",
"SampleRate": 24000,
"Channels": 1
},
"RequestId": "req_6a9d7d739b18"
},
"Consumption": "18/15000"
}Authorizations
Body
application/json
Text to convert to speech
Example:
"وش علومك اليوم؟"
Was this page helpful?

