action.start
Start a live translation session.
An object that accepts the start parameters.
start Parameters
The webhook URI to be called. Authentication can also be set in the url in the format of username:password@url.
enThe language to translate from.
Learn more about our supported Voices & Languages here.
enThe language to translate to.
Learn more about our supported Voices & Languages here.
elevenlabs.joshThe TTS voice you want to use for the source language.
Learn more about our supported Voices & Languages here.
elevenlabs.joshThe TTS voice you want to use for the target language.
Learn more about our supported Voices & Languages here.
60000The timeout for speech recognition.
Possible Values: [Minimum value: 1500, Maximum Value: None]
100Voice activity detection silence time in milliseconds.
Possible Values: [Minimum value: 1, Maximum Value: None]
400Voice activity detection threshold.
Possible Values: [Minimum value: 0, Maximum Value: 1800]
local-callerThe direction of the call that should be translated.
Possible Values: [remote-caller, local-caller]
Example
- YAML
- JSON
live_translate:
action:
start:
webhook: 'https://example.com/webhook'
from_lang: en
to_lang: es
from_voice: en-US
to_voice: es-ES
live_events: true
ai_summary: false
speech_timeout: 30
vad_silence_ms: 500
vad_thresh: 0.6
debug_level: 2
direction:
- remote-caller
- local-caller
speech_engine: default
summary_prompt: Summarize this conversation
{
"live_translate": {
"action": {
"start": {
"webhook": "https://example.com/webhook",
"from_lang": "en",
"to_lang": "es",
"from_voice": "en-US",
"to_voice": "es-ES",
"live_events": true,
"ai_summary": false,
"speech_timeout": 30,
"vad_silence_ms": 500,
"vad_thresh": 0.6,
"debug_level": 2,
"direction": [
"remote-caller",
"local-caller"
],
"speech_engine": "default",
"summary_prompt": "Summarize this conversation"
}
}
}
}