Realtime translation
Translate finalized realtime transcript segments into a selected target language.
Realtime translation combines Perigee-1-transcribe-realtime with Perigee-1-text. Speech is transcribed first, then coherent final segments are translated. Partial transcript drafts are not translated.
Enable translation
| Field | Description |
|---|---|
language | Source speech language. Use one of the 10 realtime speech languages. |
translate | Set to true. |
target_language | One of the 19 text languages and different from the source. |
translation_domain | Optional vocabulary context such as banking. |
translation_window_ms | Optional final-segment coalescing window. |
Routing is handled automatically from one session configuration.
Attach translations to transcripts
A translation event includes the segment_ids it covers. Use those IDs to attach translated text to the correct finalized source text.
If translation cannot complete, the service emits translation_failed for the affected final segments. The original transcript remains usable.
Event order
- Receive
partialtranscript drafts. - Receive a stable
finaltranscript with asegment_id. - Receive
translationfor one or more final segment IDs. - If translation fails, receive
translation_failed; the source transcript remains valid.
The approximately 200 ms latency figure applies to realtime transcription, not to the complete transcription-and-translation flow. Translation follows coherent final segments and therefore arrives later.