wss://api.eesi.ai/v1/realtime/translations.
Good uses:
- A meeting in two languages. Leave the source language unset and each sentence is translated from whatever language it was spoken in.
- Speaking to an audience. Use your cloned voice and people hear you, in their language.
- Support across a language barrier, with no interpreter booked in advance.
Connect
Set the target language withlanguage and, optionally, the source with
source_language:
Choose the languages
You can also set or change the languages on a running session:
Put the target language in the same
session.update that sets
"type": "translation", or in the URL. Region codes such as pt-BR are fine.
A sentence that is already in the target language produces no output.
Choose the voice
Text in or out
Audio and text work in both directions on the same session:
Set
"output_modalities": ["text"] for text only, such as live subtitles. It
skips speech, so translations arrive sooner.
Tune it
Turn detection is set up for interpreting: a speaker starting a new sentence does not cut off the translation of the previous one. If you setaudio.input.turn_detection yourself, keep "interrupt_response": false or
the end of each translation gets clipped.
Each speaker’s words are translated on their own. When someone else starts
talking in the pause after a sentence, that sentence is translated then,
without waiting for the next speaker to finish. One speaker pausing in the
middle of their own sentence is still translated as one sentence.
Anything in instructions refines the translation, such as register or
terminology: