Spanish to Persian speech translation API

Stream Spanish (Español) speech and get Persian (فارسی) back in real time. One WebSocket, ISO codes es to fa, and ultra-low latency for voice agents and live apps.

Trusted by

Production-ready Spanish to Persian translation API

Real Spanish speech includes accents, regional dialects, code switching, and domain-specific vocabulary. Soniox recognizes it in a single model and streams Persian while the speaker is still talking.

Spanish (Indo-European > Romance > Western Romance) and Persian (Indo-European > Iranian > Western Iranian) come from different language families, so word order and morphology differ. Soniox reorders meaning in-stream instead of word by word.

Spanish is written in Latin and Persian in Arabic, so Soniox emits correctly scripted Persian text. Right-to-left output is handled directly in the token stream.

A breakthrough in real-time Spanish to Persian translation

check

Translate before the sentence ends

Persian meaning lands as Spanish is spoken, not after the caption catches up.

check

Directional es to fa streaming

Set the source and target codes once. Both arrive in a single labeled token stream.

check

High quality Persian output

Same model across every language, including historically underserved ones.

check

Native-speaker Spanish STT accuracy

Accurate Persian translation starts with accurate Spanish recognition across accents and language switching.

check

Names, numbers, and domain terms

Preserved across the pair, including phone numbers, emails, and IDs.

config.json
{
  "model": "stt-rt-v4",
  "translation": {
    "type": "one_way",
    "source_language": "es",
    "target_language": "fa"
  }
}

Spanish and Persian through a single stream

Spanish to Persian translation is built on top of Soniox Speech-to-Text API. Every spoken word is transcribed, and Persian translation streams mid-sentence in the same labeled token stream.

Turn it on by adding a translation block with source_language: "es" and target_language: "fa". It runs on the same WebSocket and the same model, with no extra round trip.

Live Spanish to Persian: written and spoken

Spanish to Persian speech-to-text

micLive Spanish speecharrow_right_altsubjectPersian text

Translate live Spanish into written Persian with the Soniox STT API. Soniox streams the Spanish transcript and the Persian translation as speech happens.

Use it for Persian captions, subtitles, meeting translation, agent assist, and multilingual transcription.

Spanish to Persian speech-to-speech

micLive Spanish speecharrow_right_altvolume_upSpoken Persian

Build full spoken Spanish to Persian translation by combining Soniox STT and Soniox TTS. Soniox recognizes Spanish, translates it, and speaks Persian with low latency.

Use it for live interpreters, bilingual voice agents, travel assistants, and customer support.

Live Spanish to Persian translation in action

Stream Spanish to Persian one-way to push all speech into Persian, or two-way to keep a bilingual conversation flowing between the two languages.

voice_selection
Spanish speaker says: Necesito tu feedback sobre la ruta a la sierra.
translate
Translated into Persian in real time.

One-way translation

Translate live Spanish into Persian. Everyone in the conversation sees the same translated stream.

Ideal for live captions, multilingual meetings, broadcasts, lectures, and customer calls.

voice_selection
Spanish speaker talks in Spanish.
hearing
Persian speaker hears Persian.
voice_selection
Persian speaker replies in Persian.
hearing
Spanish speaker hears Spanish.

Two-way translation

Translate between Spanish and Persian for live bilingual conversation. Each side speaks naturally and hears the other in their own language.

Soniox supports real-time two-way translation between any two of 60+ supported languages.

Accurate on both ends of the pair

Soniox transcribes Spanish at 5.3% word error rate and Persian at 10.9% word error rate. Accurate recognition on both sides is what makes the translation reliable.

speech_to_text

Speech-to-Text

Native-speaker accuracy across 60+ languages, with support for multilingual speech, alphanumerics, speaker diarization, context.

translate

Translation

Real-time streaming translation across 3,600 language pairs, built for high quality and low delay across all supported languages.

text_to_speech

Text-to-speech

High-fidelity speech generation in 60+ languages, built for names, alphanumerics, language switching, and ultra-low-latency streaming.

Together, they create a complete real-time low-latency speech AI platform.

quiz
About Spanish and Persian

Spanish has roughly 500,000,000 speakers across Spain, Mexico, Colombia, and Argentina. Persian has roughly 110,000,000 speakers across Iran, Afghanistan, and Tajikistan.

Spanish is the second most spoken language in the world by native speakers, after Mandarin Chinese.

Persian is one of the world's oldest literary languages, with a written tradition spanning over 2,500 years.

Soniox makes Spanish to Persian usable in real-time translation across every supported pair.

Frequently asked questions

How do I translate Spanish to Persian with the API?arrow_downward
Add a translation block to your real-time request with source_language "es" and target_language "fa". Soniox transcribes Spanish and streams the Persian translation over the same WebSocket.
Is Spanish to Persian translation real-time?arrow_downward
Yes. Soniox streams Persian while Spanish is still being spoken, so meaning arrives mid-sentence instead of after the sentence ends.
What about translating Persian to Spanish?arrow_downward
That direction is supported too. See the Persian to Spanish page, or use two-way translation to run both directions in one session.
Does Soniox handle Latin to Arabic output?arrow_downward
Yes. Soniox outputs correctly scripted Persian text in Arabic, including right-to-left rendering, directly in the token stream.
Does Soniox handle Spanish dialects and accents?arrow_downward
Yes. Soniox handles Spanish dialects like Castilian, Latin American Spanish, and Andalusian in a single model, so Persian translation stays accurate across regions.
Which other providers support Spanish to Persian?arrow_downward
Based on their public docs, OpenAI, Google, and Azure list both Spanish and Persian for real-time translation. Soniox is the only one that also supports two-way live translation across 60+ languages.
How fast is Spanish to Persian translation?arrow_downward
Soniox streams Persian as Spanish is being spoken, with ultra-low latency. Translation arrives before the sentence ends.

Ready to get started?

Create an account instantly, or contact us to design a custom package for your business.

Build with API arrow_right_alt

Documentation

Get up and running in minutes and spend your time building the product, not wrestling with the API.

Explore docs

See what you’ll pay

Pay only for what you use with our flexible pricing. Built to scale with you.

Pricing details