Voice, speech-to-text and translation API for Morocco
Teams in Morocco can add spoken output, speech-to-text and translation to apps and services through one API. See below which languages of Morocco work today, what you pay in and what to know about data.
Why teams in Morocco use it
- Publishers in Morocco can offer audio editions of articles and reports.
- Municipal and national agencies in Morocco can read official notices aloud for people with low vision.
- Schools and training centres in Morocco can caption lessons and narrate reading material.
- Broadcasters across Morocco can turn written news into audio bulletins in the languages listeners use.
- Service desks in Morocco can transcribe calls and translate case notes for colleagues elsewhere in Northern Africa.
Morocco at a glance
These facts come from public reference data and decide how an integration for Morocco is set up.
- Capital: Rabat.
- Local currency: Moroccan Dirham (MAD).
- Time zone: Africa/Casablanca.
- Calling code: +212.
- Morocco is in Northern Africa; check your national data-protection law before sending personal audio.
- Video and audio are commonly shared on Facebook, WhatsApp, YouTube, TikTok and Instagram (general guidance, not usage statistics).
Languages of Morocco the API handles
Read live from the capability registry. In the local languages of Morocco, 4 of 7 can be voiced and 4 transcribed today. Voice: Arabic, French, English and Tachelhit (Tashelhiyt). Transcription: Arabic, French, Arabic, Moroccan (Darija) and English. Translation: Arabic, French, Arabic, Moroccan (Darija), English and Tachelhit (Tashelhiyt).
- Arabic (ara): voice available, transcription available, translation available.
- French (fra): voice available, transcription available, translation available.
- Central Atlas Tamazight (tzm): voice not yet, transcription not yet, translation not yet.
- Arabic, Moroccan (Darija) (ary): voice not yet, transcription available, translation available.
- Standard Moroccan Tamazight (zgh): voice not yet, transcription not yet, translation not yet.
- English (eng): voice available, transcription available, translation available.
- Tachelhit (Tashelhiyt) (shi): voice available, transcription not yet, translation available.
Billing for Morocco
Moroccan Dirham (MAD) is not charged at checkout. Customers in Morocco choose from USD and EUR and their bank handles the conversion.
The prices below come live from our price list.
Live plan prices
| Plan | USD | EUR |
|---|---|---|
| Free Developer | Free | Free |
| Indie | $19 | €16.99 |
| Starter | $49 | €44.99 |
| Growth | $249 | €229 |
| Scale | $999 | €919 |
Data residency and latency
We do not claim a data centre in Morocco or elsewhere in Northern Africa. Requests are processed on our own infrastructure. If your national law or a contract requires in-country processing, ask support before you integrate.
Expect latency from Rabat to depend on your own network path and audio length; test a short request from your servers (time zone Africa/Casablanca) first.
Examples of what teams build
Examples of projects that fit Morocco, offered as ideas only.
- A game studio voices dialogue and translates in-game text for local players.
- A development charity records field interviews and gets a text transcript for the report.
- An ed-tech platform narrates lessons and transcribes spoken answers from students.
- A museum builds audio tours and translated captions for visitors.
Cities in Morocco
Morocco has these city pages: Rabat, Casablanca, Fes, Marrakesh and Tangier.
A first request
The sample below requests speech in language code ara for a service in Morocco. Swap in your key and text.
curl -X POST "https://api.mredgeengine.com/v1/engine/tts" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-product-code: engine" \
-H "content-type: application/json" \
-d '{"text": "Hello", "language": "ara"}' \
--output hello.mp3Questions from developers in Morocco
Which languages of Morocco can the API voice?
Voice covers Arabic, French, English and Tachelhit (Tashelhiyt) today. Of 7 local languages listed for Morocco, 4 can be voiced.
Can I transcribe and translate speech from Morocco?
Transcription is available today for: Arabic, French, Arabic, Moroccan (Darija) and English. Translation is available for: Arabic, French, Arabic, Moroccan (Darija), English and Tachelhit (Tashelhiyt). Anything not listed here is marked not yet in the registry.
Which currency do I pay in from Morocco?
Billing from Morocco is in USD and EUR. MAD is the local money, and where checkout lacks it a conversion applies.
Is there a data centre in Morocco?
We say nothing about hosting in Morocco beyond this: requests run on our infrastructure. Support can discuss your requirements.
How do I start from Rabat?
Make an account and an API key, then run the sample on this page. Measure latency from your own servers in Morocco.