ܡܰܟܬܒ̈ܳܢܘܳܬܐWordPress & ܘܝܒܣܝܬܐ

ܩܘܠܐ ܟܘܪܕܝܐ ܘܪܐܣܬܢܝܒܝܣ ܥܠ ܘܝܒܣܝܬܟ

ܗܒ ܠܟܠ ܡܐܡܪܐ ܙܪܩܐ ܕܫܡܥܐ ܕܩܪܐ ܠܗ ܒܩܘܠܐ ܛܒܝܥܝܐ ܕܟܘܪܡܢܓܝ، ܣܘܪܢܝ ܐܘ ܟܪܡܢܟܝ، ܘܫܒܘܩ ܠܟܬܒܐ ܕܒܩܘܢ ܟܬܝܒܬܗܘܢ ܟܘܪܕܝܬܐ. ܐܫܬܡܫ ܒܬܘܣܦܬܐ ܕܘܘܪܕܦܪܣ ܐܘ ܚܕܐ ܣܛܪܐ ܕܩܘܕܐ ܥܠ ܟܠ ܘܝܒܣܝܬܐ ܐܚܪܬܐ.

WordPress plugin

  1. ܢܚܬ ܠܬܘܣܦܬܐ ܘܐܣܩ ܠܗ ܬܚܬ Plugins › Add New › Upload Plugin، ܗܝܕܝܢ ܐܦܥܠ ܠܗ.
  2. Sign in at mazdek.ai, add credit and create an API key under Settings › API.
  3. In WordPress open mazdek AI, paste the key and press Connect. Your site is added to your account by itself.
  4. Under mazdek AI › Audio choose the language, listen to the voices and pick one, and decide which posts are read: all, only some categories, or all except some.

In the block editor the mazdek AI panel adds Rastnivîs (spelling, diacritics, AI grammar) and an AI writing assistant: improve, shorten, expand, summary, headlines, meta description and translation.

Download the WordPress plugin

Any other website

Add your site under Settings › API › Websites, then paste this into your page template:

<script src="https://mazdek.ai/widget/v1.js"
        data-mazdek-site="mzpk_YOUR_SITE_KEY" async></script>

<!-- where the listen button should appear -->
<div data-mazdek-player></div>

<article data-mazdek-article>
  <h1>…</h1>
  <p>…</p>
</article>

<!-- optional: Rastnivîs button under a text field -->
<textarea data-mazdek-spell></textarea>

Your site key (mzpk_…) is shown there. Options:

data-mazdek-siteYour public site key. Required.
data-layout="compact"compact: ܚܕ ܙܪܥܐ ܙܥܘܪܐ ܚܠܦ ܟܠܗ ܡܢܓܢܐ.
data-themelight (default), dark, or auto to follow the visitor's system.
data-accent="#0a7c4a"ܪܢܓܐ ܕܒܪܢܕ ܕܝܠܟ ܠܙܪܥܐ ܘܠܩܕܡܐ.
data-radiusܟܢܦܐ: rounded (default), pill or square.
data-labelܟܬܒܐ ܕܙܪܥܐ (ܫܪܫܝܐ: "Listen" ܒܠܫܢܐ ܕܐܬܪܐ).
data-wave · data-skip · data-speed · data-stickyܫܘܝ ܠ "false" ܠܛܫܝܐ ܕܓܠܐ ܩܠܐ, 15 s ܫܘܪܐ, ܫܘܠܛܢܐ ܕܣܪܗܒܐ ܐܘ ܡܢܓܢܐ ܙܥܘܪܐ ܕܡܬܚܙܐ ܒܥܕܢܐ ܕܓܠܘܠܐ.
data-player="auto"Insert the player above the first <article> without a placeholder.
data-credit="false"Hide the small "mazdek AI" link in the player.
data-mazdek-playerWhere the listen button appears. One per article.
data-url · data-title · data-targetOptional: the article's canonical address, its title, and a CSS selector for its text.
data-mazdek-articleMarks the article text exactly. Without it the player reads the first <article> or <main>.
data-mazdek-spellAdds a Rastnivîs button under a <textarea>, input or editable area.

Which pages are read

By default every page of your domains can have audio. Add path rules (for example /news/) to limit it. In WordPress you choose post types and categories instead, and each post can be switched on or off in the editor.

Security and privacy

The site key is public by design, like a map key: it only works on the domains you registered. Before making new audio, our server downloads your page and checks that the text is really published there, so nobody can make your account read text that is not on your site.

The player sets no cookies and stores nothing about your visitors. Audio files are served through short-lived private links.

Pricing

Audio is billed from your prepaid credit at API rates, per character. Each article is generated once and then served to every listener for free; a monthly character limit per site protects your balance. Spell checking is free.

For developers

To have audio ready the moment an article is published, send its text from your server with your secret API key:

curl -X POST https://api.mazdek.ai/api/sites/SITE_ID/articles \
  -H "Authorization: Bearer $MAZDEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://example.com/news/123",
        "title": "Sernav",
        "text": "Nivîsa gotarê…" }'

The AI writing assistant, grammar check and translation are regular REST endpoints (/api/chat/v2, /api/spellcheck/grammar, /api/translate). Call them from your own back end with your API key — never put the secret key in a web page.

Languages: Kurmancî, Soranî and Kirmanckî (read by the Kurmancî voices). Manage your websites