Voice, speech-to-text and translation API for teams in Herat
Herat is a major city in Afghanistan. Developers, newsrooms and service teams in Herat can use one API to voice text, transcribe speech and translate. Below is what the API supports today for the languages of Afghanistan, how billing works, and examples of what teams build.
Why teams in Herat use it
Herat is one of the larger cities of Afghanistan, with its own newsrooms, businesses and service teams. Three angles that fit it:
- Event and tourism teams in Herat can offer audio guides and translated notices.
- Local newsrooms in Herat can turn stories into audio for commuters.
- Logistics and retail teams in Herat can add spoken guides for staff and customers.
- Start-ups in Herat can add voice and transcription to apps for customers across Afghanistan.
- Hospitals and clinics in Herat can transcribe dictated notes into text.
Languages around Herat the API handles
Registry check for Herat and the rest of Afghanistan: speech output exists for Persian, transcription for Persian and translation for Persian.
- Persian (fas): voice available, transcription available, translation available.
- Pashto (pus): voice not yet, transcription not yet, translation not yet.
Billing for Herat
From Herat you are charged in one of USD and EUR; the currency of Afghanistan is Afghan Afghani (AFN).
Live plan prices
Plan prices could not be read just now. The pricing page always shows the current list.
Data residency and latency
No data centre in Herat is claimed. Latency from Herat (time zone Asia/Kabul) depends on your network, so test from your own servers.
Examples of what teams build
- A game studio voices dialogue and translates in-game text for local players.
- A logistics firm sends spoken delivery updates to drivers.
- A radio producer drafts subtitles for interviews recorded in Persian.
- An ed-tech platform narrates lessons and transcribes spoken answers from students.
A first request
A first request from Herat, asking for speech in language code fas.
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": "fas"}' \
--output hello.mp3Questions from developers in Herat
Which local languages can I voice from Herat?
For Herat the available voice languages are Persian; others from Afghanistan show as not yet.
Which currency do I pay in from Herat?
Checkout charges USD and EUR. Afghan Afghani (AFN) is what people use in Herat, but it only helps if it appears in that list.
Is there a data centre in Herat?
No. Nothing on this page says there is local hosting in Herat; ask support if your contract needs it.
What latency should I expect from Herat?
It varies with your connection, so measure from Asia/Kabul; use webhooks for long files rather than waiting on one call.