v1

latestOpenAPI 3.0.02026-07-268285163.6 KB
Text-to-Speech

Convert Darija Text to Speech

Generates a WAV audio file from Arabic Darija input text using a dialect-specific voice model ('darija_marocaine' or 'darija_tunisienne' or 'amiyia_egyptienne').

post/synthesize/darija-audio/{darija_country}

Path parameters

darija_country'darija_marocaine' | 'darija_tunisienne' | 'amiyia_egyptienne' required

Dialect to use for synthesis ('darija_marocaine' or 'darija_tunisienne' or 'amiyia_egyptienne')

Request body

textstring required

Text to convert into speech (Darija in Arabic script)

speaker_namestring

Optional speaker name to customize the voice

Example request

{
  "text": "مرحبا بك في منصتنا الذكية",
  "speaker_name": "voice_tunisian_1"
}

Response

Audio successfully synthesized