Language code: fa
Persian speech-to-text API (فارسی)
Pass "language": "fa" in one API call to transcribe Persian (Farsi) audio and video with KolWrite. You get right-to-left Persian text in timed segments with speaker labels as JSON, TXT, or SRT. Oracle models translate Persian into English or 99 other languages.
Transcribe Persian with one request
Set language to fa and start a job. Poll GET /transcribe/{jobId} for the result, or pass a webhook_url.
curl https://app.kolwrite.com/transcribe \
-H "x-api-key: $KOLWRITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audio_url": "https://example.com/interview-fa.m4a", "model": "oracle", "language": "fa", "include_diarization": true, "output_format": "json"}'
Translate Persian audio into English in the same job (Oracle models only):
curl https://app.kolwrite.com/transcribe \
-H "x-api-key: $KOLWRITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audio_url": "https://example.com/interview-fa.m4a", "model": "oracle_mini", "language": "fa", "translate_to": "en", "word_timestamps": false, "output_format": "srt"}'
Persian at a glance
| Property | Details |
|---|---|
| API code | fa |
| Native name | فارسی |
| Writing direction | Right to left |
| Automatic detection | Yes: omit language or send "auto" |
| Translate Persian audio into | Any of the 100 supported languages, on Oracle models |
| Translate other languages into Persian | Yes: translate_to: "fa" on Oracle models |
| Output | JSON (segments, word timings, speakers), TXT, SRT |
| Price | US$0.48 (Base) to US$3.60 (Oracle Max) per audio hour; US$1.44 on Oracle |
What to know about Persian transcription
- Persian is written right to left in the Perso-Arabic script. Render it with
dir="rtl"and a font that includes the Persian letters (پ چ ژ گ). - Persian relies on the zero-width non-joiner (U+200C) inside words like میخواهم. Make sure your storage, tokenizer, and comparison tools keep this character, because stripping it alters the words.
- Persian keyboards and documents often mix Arabic ي/ك with Persian ی/ک. Normalize both characters before indexing or searching.
- Dari (spoken in Afghanistan) uses the
facode rather than a separate one. Tajik, which is written in Cyrillic, has its owntgcode.
Where teams use Persian transcription
- Persian-language media and diaspora broadcasts.
- Research and human-rights interviews translated with
translate_to: "en". - Lectures and community content with Persian subtitles.
Choosing a model
Start with oracle (US$1.44 per hour) for production Persian audio. Use base (US$0.48) for clean, single-speaker recordings at volume, oracle_mini (US$0.96) for the cheapest translation, and oracle_pro or oracle_max for noisy or difficult audio. KolWrite does not publish a Persian accuracy figure for this API, so test a sample of your own recordings before committing. Full comparison: models and prices.
Questions and answers
Is Dari supported?
Send Dari audio using fa. Because Afghan pronunciation and vocabulary differ from Iranian Persian, test the model on your own recordings.
Why do some Persian words look broken after processing?
Something in your pipeline stripped out the zero-width non-joiner (U+200C). Make sure you preserve that character.
Can I translate Persian audio to English?
Yes, if you use an Oracle model and set translate_to: "en".