Cloud service · Azure · Updated

Translator Speech API - Translator Speech API is Azure's real-time speech translation capability, available through the Speech service, for translating spoken audio into text or synthesized speech.

In short

The service processes audio streams and returns source-language transcriptions, translated text, and optionally translated speech. Engineers use the Speech SDK or Speech CLI to build multilingual applications, with standard translation for configured source languages and Live Interpreter for conversational language switching.

Cloud Services Hub →

8 key features of Translator Speech API

01
Streaming speech-to-text translation

Translate incoming audio while a speaker is talking and receive translated text through SDK events. Use continuous recognition for ongoing sessions rather than repeatedly invoking short-utterance recognition.

02
Source transcription and translation results

Receive the recognized source text alongside translated output. Display both to help users identify recognition errors before relying on a translation.

03
Interim and final results

Show provisional transcription and translation results for responsive captions, then replace them with finalized utterances. Persist final results rather than treating every interim update as a separate statement.

04
Multiple translation targets

Request two target languages directly from the same input session. For larger language fan-out, evaluate the documented resource options or use a separate text translation stage.

05
Translated speech output

Produce synthesized audio from translated results for supported languages and voices. Validate voice compatibility and control playback so translated audio does not feed back into the microphone.

06
Live Interpreter

Continuously identify the language being spoken and accommodate language switching without restarting the session. Use this mode for conversational speech-to-speech experiences, subject to its supported languages and deployment requirements.

07
SDK-based audio integration

Use the Speech SDK to connect microphone input, supported files, or application-provided audio streams. Audio input options vary by SDK language and runtime, so test the intended client platform early.

08
Personal voice for Live Interpreter

Use an approved personal voice instead of a prebuilt voice for translated speech. Personal voice access requires an application and approval; it should not be assumed available to every resource.

Where Translator Speech API is used

  1. 01
    Multilingual live captions

    Stream a presenter's microphone audio and show translated captions to viewers in supported target languages. Keep interim captions visually distinct from final text and synchronize updates using application-level utterance identifiers.

  2. 02
    Contact center interpretation

    Connect an application's customer and agent audio streams to translation sessions and present translated text or speech. Keep each participant's audio separate where possible and provide escalation to a human interpreter for consequential or ambiguous exchanges.

  3. 03
    In-person service counters

    Build a tablet application that translates conversations between staff and visitors. Implement explicit microphone and playback controls to prevent synthesized output from being recognized as new input.

  4. 04
    Multilingual collaboration

    Add translated captions or spoken interpretation to a custom meeting application. The application remains responsible for participant management, audio routing, and distributing results to the correct recipients.

  5. 05
    Cross-language game communication

    Translate player voice chat into text or spoken output for teammates. Integrate consent, muting, and moderation controls in the game rather than assuming translation provides those functions.

How Translator Speech API is priced

Consumption-based speech translation

Standard speech translation is metered by processed audio duration under Azure Speech pricing. Estimate costs from session duration and concurrency, and verify the applicable region, target-language allowance, and meter before deployment; separately invoked Translator or text-to-speech operations can add charges.

Free-tier evaluation

Where available, the Speech free tier provides a limited monthly allowance for development and testing. Its usage and concurrency limits differ from paid resources, so it should not be treated as production capacity.

Services Translator Speech API works with

A common architecture separates the audio path from application control. A browser or mobile client authenticates to a backend, obtains a supported short-lived Speech token, and streams audio directly to the regional Speech endpoint. Azure Functions can implement the token endpoint, while Azure Key Vault protects resource keys used by that backend. This avoids embedding long-lived credentials in distributed clients.

For shared captioning, the application forwards translation events to Azure Web PubSub and groups viewers by session and target language. Messages should identify the utterance and indicate whether text is interim or final so clients can update captions without duplicating them. If more translated languages are needed, a separate Azure Translator stage can process finalized source text, with additional latency and consumption costs.

Persistence and operations form a separate path. Application code can write finalized transcripts and explicitly consented recordings to private Azure Blob Storage containers with retention policies. Azure Monitor and Application Insights can track failures, latency, and reconnection behavior without collecting conversation content by default. Keep recording, diagnostic logging, and user-visible translation independently configurable so operational troubleshooting does not inadvertently create a sensitive conversation archive.

Azure Functions

Use a backend function for application authorization and issuing supported short-lived Speech tokens without exposing resource keys to browsers. For example, a captioning client can authenticate to a function, obtain a token, and connect directly to Speech for its audio session. Avoid routing a long-lived audio stream through a short request-oriented function invocation.

Azure Key Vault

Store Speech resource keys in Key Vault when the application uses key-based authentication. For example, a token-issuing backend can retrieve its credential using a managed identity, keeping the long-lived key out of source code and client bundles. Plan key rotation and avoid logging secrets or issued tokens.

Azure Web PubSub

Publish translated text events to authorized audience groups while keeping audio streaming on the Speech connection. For example, a lecture application can deliver German captions to one group and Spanish captions to another. Include session identifiers, utterance identifiers, and interim-versus-final status in each message.

Azure Blob Storage

Persist finalized transcripts or consented audio recordings through application code. For example, write a session transcript containing source text, target-language text, and timestamps to a private blob container after the session ends. Apply lifecycle rules and scoped access because speech translation does not automatically create an application transcript archive.

Azure Monitor

Combine available resource metrics with application telemetry to troubleshoot translation sessions. For example, record session setup time, time to first translation, cancellations, and reconnect attempts in Application Insights. Exclude raw audio, transcript content, and credentials from routine diagnostic logs.

Azure Translator in Foundry Tools

Use a separate text translation stage when an application needs additional target languages or translation of typed messages alongside speech. For example, pass finalized source transcripts to Translator and distribute the returned text to additional caption channels. This is an application-managed pipeline with separate latency, language support, and billing considerations.

Azure DNS

With an Azure DNS private zone linked to the virtual network, the Speech resource hostname used by speech translation can resolve to its private endpoint IP address.

Azure Policy

Azure Policy can audit the Azure AI services accounts that provide speech translation for settings such as public network access, helping administrators identify resources that don't meet their network security requirements.

Azure portal

The Azure portal can create the Speech or multi-service resource that provides speech translation. The resource page lets you retrieve the endpoint and keys and configure networking and diagnostics.

Azure Private Link

Azure Private Link gives the Speech resource used for translation a private endpoint. Clients with access to that endpoint can send audio for translation without using the resource's public endpoint.

What is Translator Speech API

2 min read

Translator Speech API refers to speech translation capabilities provided through Azure Speech, rather than the text-only Azure Translator API. It accepts spoken audio and produces translated text, synthesized speech, or both. Applications can also receive the source transcription, allowing them to display the original utterance alongside its translation. This makes the service suitable for live captions, multilingual customer interactions, and voice-enabled applications.

For standard speech translation, configure a supported source locale and at least one target language. For example, an application can recognize English using en-US and request German text using de. Source recognition locales, translation target languages, and synthesis voices have different support matrices; validate the complete combination before implementation. The service directly supports translation into two target languages in one call. Requirements for additional targets should be evaluated against the documented multi-service resource or separate translation service options.

The Speech SDK exposes a TranslationRecognizer configured with SpeechTranslationConfig and an audio input configuration. Audio can come from a microphone or an application-provided stream, with file input support depending on the SDK platform. Single-utterance recognition suits short interactions, while continuous recognition uses events to deliver results over a longer session. In the JavaScript SDK, single-shot translation ends after detected silence or a maximum of 15 seconds of processed audio; use continuous recognition for ongoing conversations.

Applications should treat interim results as provisional because recognized and translated text can change before an utterance is finalized. Display interim text for responsiveness, but persist final results for transcripts and downstream processing. Handle cancellation, authentication failures, missing speech, network interruptions, and explicit session shutdown. Release recognizers and audio resources when a session ends, and make reconnection behavior visible to users rather than silently losing audio.

Live Interpreter provides a different conversational experience: it continuously identifies the spoken language without requiring a configured input language and supports language changes within a session. It produces translated speech with natural voice characteristics and supports prebuilt voices or personal voice. Personal voice requires approved access. Confirm supported languages, regions, SDK requirements, and feature availability before selecting this mode.

For production deployments, keep resource credentials out of client applications and use a backend to issue supported short-lived authorization tokens. Place application components near the selected Speech region to reduce network latency, and test with representative microphones, accents, background noise, and domain terminology. Obtain appropriate consent before processing or recording conversations. Configure retention and access controls explicitly for any transcripts or audio that your application stores, and monitor session failures, latency, concurrency, and consumption.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.