---
title: "Convert Darija Text to Speech"
method: POST
path: "/synthesize/darija-audio/{darija_country}"
tags: ["Text-to-Speech"]
---

# Convert Darija Text to Speech

`POST /synthesize/darija-audio/{darija_country}`

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

## Path parameters

- `darija_country` 'darija_marocaine' | 'darija_tunisienne' | 'amiyia_egyptienne', required

## Request body

- object
  - `text` string, required — Text to convert into speech (Darija in Arabic script)
  - `speaker_name` string — Optional speaker name to customize the voice

## Response `200`

Audio successfully synthesized

## Other responses

- `400` — Invalid request (missing text or invalid dialect)
- `500` — Internal server error during synthesis

---

[API](https://skmtc.net/smartly/apis/smartly-ai-apis.md) · [All operations](https://skmtc.net/smartly/apis/smartly-ai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartly/smartly-ai-apis/revisions/1e26909d86c9/schema)
