Endpoints
List Voices
List the studio voices you can use with the Text to Speech endpoint
GET
Try itcurl https://api.menavoice.ai/api/tts/voicesimport requests
response = requests.get("https://api.menavoice.ai/api/tts/voices", timeout=30)
for voice in response.json()["voices"]:
print(voice["id"], voice["nameEn"], voice["gender"])const response = await fetch("https://api.menavoice.ai/api/tts/voices");
const { voices } = await response.json();
console.log(voices.map((v) => v.id));{
"voices": [
{
"id": "noura",
"nameAr": "نورة",
"nameEn": "Noura",
"descAr": "صوت مشرق وحيوي",
"descEn": "Bright and lively",
"gender": "female"
},
{
"id": "layla",
"nameAr": "ليلى",
"nameEn": "Layla",
"descAr": "صوت حازم وشبابي",
"descEn": "Firm and youthful",
"gender": "female"
},
{
"id": "mohammed",
"nameAr": "محمد",
"nameEn": "Mohammed",
"descAr": "صوت مرح ونشيط",
"descEn": "Cheerful and energetic",
"gender": "male"
}
]
}Returns the 30 studio voices you can use as voiceId in Text to Speech, with their names and descriptions in English and Arabic. This endpoint is public: it doesn't need an API key and isn't billed.
Voices in your own voice library aren't included.
Response
application/jsonvoicesobject[]required
The studio voices, female voices first.
Was this page helpful?

