The mazdek AI API: Kurdish Speech to Text, Translation and Voices for Your Own App (2026)
A short tour of the mazdek AI API for developers: Kurdish speech to text, translation across 255+ languages, natural Kurmancî and Soranî voices, spell checking and chat as a pay-per-use REST API — with transcription jobs, webhooks, safe retries, public prices and an MCP server for AI assistants.

You are building a newsroom tool, a call-centre dashboard, a learning app or a subtitle pipeline — and it has to work in Kurdish. The speech recognition you tried does not know Kurmancî. The translator mixes up the dialects. The voices do not exist.
The mazdek AI API gives your software the same engines that run the mazdek AI apps: Kurdish speech to text, translation, natural Kurdish voices, spell checking and chat, as a pay-per-use REST API. This guide is the short tour.
What the API offers
| Capability | Endpoint | Notes |
|---|---|---|
| Translation | POST /api/translate | Kurmancî, Soranî, Kirmanckî and 255+ languages; batches with /api/translate/segments |
| Speech to text | POST /api/jobs | upload a file, or POST /api/jobs/url for a link; poll GET /api/jobs/{id} |
| Text to speech | POST /api/tts/generate | long text as a job with POST /api/tts/jobs |
| Chat | POST /api/chat/v2 | the assistant, grounded in Kurdish sources |
| Spell checking | POST /api/spellcheck | Kurmancî, Soranî, Kirmanckî; missing-letter completion and grammar |
| Songs | POST /api/songs | a full song from lyrics; poll GET /api/songs/{id} |
The base address is https://api.mazdek.ai.
Start in three steps
- Create an account at mazdek.ai and add credit.
- Create a key under Settings › API. It starts with
mazdek_sk_. - Send a request with the key in the
Authorizationheader:
curl https://api.mazdek.ai/api/translate \
-H "Authorization: Bearer mazdek_sk_..." \
-H "Content-Type: application/json" \
-d '{"text": "Good morning, how are you?", "targetLanguage": "ku"}'
The full reference, with every parameter and an API Playground where you can run requests in the browser, is in the API documentation. There is also a machine-readable OpenAPI specification.
Transcription as a job
Speech to text runs as a job: you send the file or the link, get an id back, and fetch the result when it is done.
- Mixed-language recordings. With
language: "auto"you can passexpected_languages— for examplear,ckb— so detection stays within the languages you expect. - Translation in the same job. Add
translate=trueand atarget_languageand the transcript comes back translated. - Subtitled video. Add
burn_subtitles=trueand you also get the video back with the subtitles burned in, in the style you choose. - A queue instead of a refusal. Jobs beyond your running limit are accepted as
queuedand start in order.
Webhooks instead of polling
Add a webhook_url to a transcription or speech job and a small signed event is sent to your server when the job ends. Each event carries a signature you verify with your account's signing secret, and failed deliveries are retried.
Safe retries
Networks fail. Send a unique Idempotency-Key header with a POST request, and a repeat with the same key returns the first answer instead of running — and charging — a second time.
Pay per use, from your credit
- API keys are billed from your credit balance, per request, at the published API rates. They never touch the monthly allowance of your plan.
- The price list is public and machine-readable:
https://api.mazdek.ai/api/keys/rates. - You are charged what the work really cost. Each request holds its estimated cost before it starts and settles to the real cost afterwards; the difference is returned.
- A monthly spending limit applies to your keys too, so a bug in your code cannot empty your balance.
Rate limits
API keys have their own limits, separate from the app and independent of your plan: requests per minute, and transcription jobs running at once. The current defaults are public at https://api.mazdek.ai/api/keys/limits, and every 429 answer tells you how long to wait in Retry-After. If your product needs more, the limits can be raised for your account.
For AI assistants: the MCP server
If you are connecting an AI assistant rather than writing code, mazdek AI also runs as an MCP server at https://api.mazdek.ai/api/mcp. Assistants such as Claude can then call Kurdish translation, spell checking, grammar and transcription as tools — see the Claude connector guide.
Not in the API yet
Document OCR, the live interpreter, Voice Mode, video clips, AI video, image creation, sound effects and the voice isolator are available in the apps but not with an API key yet.
Ready-made integrations
If you only want Kurdish audio and spell checking on a website, you may not need to write code at all: the WordPress plugin and the script embed do it for you.
What people build with it
- Newsrooms: transcribe interviews and broadcasts, and publish articles with audio
- Subtitle and media tools: Kurdish subtitles, translated and burned into the video
- Learning apps: pronunciation, dictation and reading aloud in Kurmancî and Soranî
- Customer service: transcribe and translate calls and messages from Kurdish-speaking customers
- Publishing tools: spell checking and missing-letter completion inside your own editor
Try it
Create a key and send your first request: API documentation.
Frequently asked questions
- How do I get an API key?
- Create an account at mazdek.ai, add credit and create a key under Settings › API. The key starts with mazdek_sk_ and is sent in the Authorization header.
- How is the API billed?
- Per request, from your prepaid credit balance, at the published API rates. API keys never use the monthly allowance of your plan.
- Which Kurdish dialects does the API support?
- Kurmancî, Soranî and Kirmanckî for speech to text, translation and spell checking, with Kurmancî and Soranî voices for text to speech.
- Are there rate limits?
- Yes. API keys have their own limits, separate from the app and independent of your plan. The defaults are public, and they can be raised for an account.
- Can I be notified when a job is finished?
- Yes. Add a webhook_url to a transcription or speech job and a signed event is sent to your server when it ends.
- Is there an OpenAPI specification?
- Yes, at mazdek.ai/openapi.json, next to the API documentation with an API Playground in the browser.
Related articles
Kurdish in Your Browser: Translate, Spell-Check and Listen with the mazdek AI Extensions (2026)
mazdek AI is now in the browser. Werger translates the text you select, Rastnivîs underlines Kurdish spelling mistakes where you write, and Read Aloud reads a page in a Kurdish voice — as separate small extensions for Chrome and Edge. What each one does, where to get it and what it sends.
- #browser-extension
- #chrome
- #integrations
Kurdish Translation and Voice Messages in Telegram: the mazdek AI Bot (2026)
A practical guide to @mazdekaibot: translate between Kurdish and other languages inside Telegram, turn Kurmancî and Soranî voice messages into text, hear the answer in a natural voice, chat with the assistant and get the daily Kurdish news bulletin — with your own mazdek AI plan.
- #telegram
- #integrations
- #translation
Kurdish Text to Speech for WordPress: a Listen Button and Spell Checker for Your Site (2026)
A practical guide to the mazdek AI plugin for WordPress: add a listen button in a natural Kurmancî, Soranî or Kirmanckî voice to every article, check Kurdish spelling in the editor while you type, and put the same player on any other website with one line of script.
- #wordpress
- #integrations
- #kurdish-tts


