Convert text to natural-sounding speech in Arabic, French, and English.
Text-to-Speech (TTS) generates spoken audio from text. OpenDunes supports Arabic including Modern Standard Arabic and Darija-inflected voices, making it suitable for voice assistants, IVR systems, and accessibility features targeting Algerian users.
For longer texts, stream directly to disk to avoid buffering the full response in memory:
| Parameter | Description |
|---|---|
model | A TTS model slug — filter the catalog with ?modality=speech. |
voice | Voice preset name — available voices vary by model. |
input | Text to synthesize (up to the model's character limit). |
response_format | mp3 (default), opus, aac, flac, wav, pcm. |
speed | 0.25–4.0. Default 1.0. |
TTS is billed in DA per character of input text. Rates appear in the model catalog.