Skip to navigation

Seed Live Interpretation 2.0

Seed Live Interpretation 2.0
ByteDance · Audio Generation
WEBSOCKET /v1/realtime

Simultaneous interpretation over a WebSocket: speech in, its translation out as text or as speech in the speaker’s own voice, between Chinese or English and 46 languages.

See Seed Live Interpretation 2.0 pricing and specs or try it in the Playground.

At a glance

FieldValue
Model idseed-live-interpretation-2-0
Model release date-
Input modalitiesAudio
Output modalitiesAudio, Text
Context window-
Weight precision-
RegionMalaysia
Featuresrealtime, speech_to_speech, translation, audio_in, audio_out, multilingual, voice_cloning
Native inferenceNo
NewYes
Supported endpointsWEBSOCKET /v1/realtime
Alternate model idsseed-live-interpretation-2.0, dola-seed-live-interpretation-2.0, bytedance/seed-live-interpretation-2.0, bytedance/seed-live-interpretation-2-0

Pricing

ChargeSpecRate
Input: audioper 1M audio input tokens$24.00
Inputper 1M prompt tokens$24.00
Outputper 1M generated tokens$24.00
Output: audioper 1M generated audio tokens$92.00

Example request

import asyncio, json, os, websockets
URL = "wss://api.empiriolabs.ai/v1/realtime?model=seed-live-interpretation-2-0"
async def main():
async with websockets.connect(
URL,
additional_headers=[("Authorization", f"Bearer {os.environ['EMPIRIOLABS_API_KEY']}")],
max_size=None,
) as ws:
print(json.loads(await ws.recv())["type"]) # session.created
await ws.send(json.dumps({
"type": "conversation.item.create",
"item": {"type": "message", "role": "user",
"content": [{"type": "input_text", "text": "Say hello."}]},
}))
await ws.send(json.dumps({"type": "response.create"}))
async for raw in ws:
event = json.loads(raw)
if event["type"] == "response.done":
break
asyncio.run(main())

Parameters

ParameterTypeRequiredDefaultDescription
target_languageenumno"en"Language the speech is translated into. Chinese and English take any source language; the other languages are translated into from Chinese or English. These translate to speech and text. With text output only (modalities [“text”]), 32 more translate to text: nl, ro, pl, cs, sk, bg, uk, lt, lv, el, ga, ca, is, da, sv, no, fi, et, hu, tr, fa, hi, ur, bn, pa, kk, uz, az, my, km, jv, sw. · Allowed: zh, en, ja, ko, fr, de, es, pt, ru, ar, id, th, vi, it, fil, ms
source_languageenumno"auto"Language being spoken. auto recognizes Chinese and English, mixed, and needs a target of zh or en; a Chinese dialect (yue-CN, sh-CN, nan, lany, hak, shaanxi, jilu, jlua, sc) is translated into zh or en. · Allowed: auto, zh, en, ja, ko, fr, de, es, pt, ru, ar, id, th, vi, it, nl, ro, pl, cs, sk, bg, uk, lt, lv, el, ga, ca, is, da, sv, no, fi, et, hu, ms, fil, tr, fa, hi, ur, bn, pa, kk, uz, az, my, km, jv, sw, yue-CN, sh-CN, nan, lany, hak, shaanxi, jilu, jlua, sc
modalitiesstringno["text", "audio"][“text”, “audio”] returns the translation as text and speech; [“text”] returns text only.
voice_cloneenumno"always"always speaks the translation in the voice of whoever is speaking, matched again for each speaker; off uses voice. Spoken output only. · Allowed: off, always
voiceenumno"zh_female_vv_uranus_bigtts"Preset voice for the translated speech while voice_clone is off. All 203 Seed TTS 2.0 voices are listed here and by GET /v1/voices?model=seed-tts-2-0. For Korean, Russian, Arabic or Thai, choose a voice that lists that language. · Allowed: en_female_stokie_uranus_bigtts, en_female_dacey_uranus_bigtts, en_male_tim_uranus_bigtts, en_female_nadia_uranus_bigtts, en_male_kevin_uranus_bigtts, en_male_jamie_uranus_bigtts, en_female_hayley_uranus_bigtts, en_female_skye_uranus_bigtts, en_male_bruce_uranus_bigtts, en_male_alex_uranus_bigtts, en_male_yangguangjieshuonan_uranus_bigtts, en_male_ronald_uranus_bigtts, en_male_diyuwenrounan_uranus_bigtts, en_male_knightley_uranus_bigtts, en_male_fernando-martinez_uranus_bigtts, en_male_michael_uranus_bigtts, en_male_josh_uranus_bigtts, en_male_simba_p1_uranus_bigtts, en_male_motivational-coach_uranus_bigtts, en_male_marcus_uranus_bigtts, en_male_michael_kevin_uranus_bigtts, en_male_valentino_uranus_bigtts, en_male_josh_coery_uranus_bigtts, en_male_david_uranus_bigtts, en_female_allison_uranus_bigtts, en_male_godfather_uranus_bigtts, en_male_evil-guy-oxley_uranus_bigtts, en_male_joker_uranus_bigtts, en_female_wenrouzhishijieshuonv_uranus_bigtts, en_female_lana_del_rey_parky_s_p1_uranus_bigtts, en_female_jane_uranus_bigtts, en_female_rachel_p1_uranus_bigtts, en_male_cowboy-bob_uranus_bigtts, en_female_brittney_pimintel_uranus_bigtts, en_female_female_tutor_ms-jenny_uranus_bigtts, en_female_joanne_uranus_bigtts, en_male_bill_jones_corey_uranus_bigtts, en_male_adam-imitation_uranus_bigtts, en_male_brad_pitt_p1_uranus_bigtts, en_male_father-christmas_uranus_bigtts, en_male_hades_uranus_bigtts, en_male_alberto_uranus_bigtts, en_female_jenny_uranus_bigtts, en_male_valentino_corey_uranus_bigtts, en_male_russell_uranus_bigtts, en_male_tom_hiddleston_p1_uranus_bigtts, en_female_authoritative-informative_uranus_bigtts, en_male_jidongchuanjiaoshi_uranus_bigtts, en_female_myra_uranus_bigtts, en_male_bill-jones_uranus_bigtts, en_female_pleasant-female_uranus_bigtts, en_female_scarlet_p1_uranus_bigtts, en_female_brittney_uranus_bigtts, en_female_lana_del_rey_kelley_d_p1_uranus_bigtts, en_female_mel_uranus_bigtts, en_male_chandler_p1_uranus_bigtts, en_female_natasha_uranus_bigtts, en_male_cowboy_john_b_uranus_bigtts, en_male_deep-voice_uranus_bigtts, en_male_jimmy_uranus_bigtts, en_male_excited-male-voice_uranus_bigtts, en_female_xinwenjieshuonv_uranus_bigtts, en_female_authoritative-british_uranus_bigtts, en_female_myra_cmb_uranus_bigtts, en_female_zendaya_p1_uranus_bigtts, en_male_michael-mouse_uranus_bigtts, en_male_gollum_uranus_bigtts, en_female_sharron_uranus_bigtts, en_male_ryan_uranus_bigtts, mx_male_marcelo_uranus_bigtts, mx_male_felipe_uranus_bigtts, mx_female_leslie_uranus_bigtts, mx_female_bv065_uranus_bigtts, mx_male_bv165narrator_uranus_bigtts, mx_male_ht_mx_m012_uranus_bigtts, mx_female_bv166dialogue_uranus_bigtts, mx_male_bv165dialogue_uranus_bigtts, mx_female_bv166narrator_uranus_bigtts, mx_female_bv166emotion_uranus_bigtts, mx_male_migu_uranus_bigtts, es_male_guillem_uranus_bigtts, es_male_dani_uranus_bigtts, es_female_bv084_uranus_bigtts, es_female_ht_mx_f6_uranus_bigtts, es_male_felipe_uranus_bigtts, es_male_angel_uranus_bigtts, es_male_francisc_uranus_bigtts, es_male_mariano_uranus_bigtts, es_female_romina_uranus_bigtts, zh_female_vv_uranus_bigtts, zh_male_m191_uranus_bigtts, zh_male_taocheng_uranus_bigtts, zh_female_xiaohe_uranus_bigtts, zh_female_jitangnv_uranus_bigtts, zh_female_xiaoxue_uranus_bigtts, zh_male_shaonianzixin_uranus_bigtts, zh_female_yingyujiaoxue_uranus_bigtts, zh_female_meilinvyou_uranus_bigtts, zh_male_ruyayichen_uranus_bigtts, zh_female_liuchangnv_uranus_bigtts, zh_female_linjianvhai_uranus_bigtts, zh_female_peiqi_uranus_bigtts, zh_male_sophie_uranus_bigtts, zh_female_tianmeixiaoyuan_uranus_bigtts, zh_female_sajiaoxuemei_uranus_bigtts, zh_female_shuangkuaisisi_uranus_bigtts, zh_female_kefunvsheng_uranus_bigtts, zh_male_dayi_uranus_bigtts, zh_female_mizai_uranus_bigtts, zh_female_yuanqi_uranus_bigtts, zh_female_xiaoai_uranus_bigtts, zh_female_tianmeitaozi_uranus_bigtts, zh_female_kiwi_uranus_bigtts, pt_female_mari_uranus_bigtts, pt_male_martins_uranus_bigtts, pt_male_rael_uranus_bigtts, pt_female_bv530_uranus_bigtts, pt_male_bv531_uranus_bigtts, pt_male_bv172narrator_uranus_bigtts, pt_female_bv173narrator_uranus_bigtts, pt_male_bv172dialogue_uranus_bigtts, pt_female_bv173_uranus_bigtts, pt_female_bv173emotion_uranus_bigtts, pt_male_bv172_uranus_bigtts, pt_female_bv173dialogue_uranus_bigtts, pt_male_bv172emotion_uranus_bigtts, pt_male_eduardo-s_uranus_bigtts, ja_female_minimi_uranus_bigtts, ja_female_bv024_uranus_bigtts, ja_male_bv524_uranus_bigtts, ja_female_bv522_uranus_bigtts, ja_female_bv523_uranus_bigtts, ja_female_shirou_uranus_bigtts, ja_female_bv520_uranus_bigtts, ja_female_bv521_uranus_bigtts, ja_male_yusuke_uranus_bigtts, jp_female_minimi_uranus_bigtts, id_male_han_uranus_bigtts, id_female_phulia_uranus_bigtts, id_male_bv160_uranus_bigtts, id_female_bv164_uranus_bigtts, id_female_bv161_uranus_bigtts, id_male_m08_uranus_bigtts, id_male_bv164narration_uranus_bigtts, id_female_f20_uranus_bigtts, id_male_bv160dialogue_uranus_bigtts, id_male_bv164dialogue_uranus_bigtts, id_male_bv160narration_uranus_bigtts, id_female_bv161narration_uranus_bigtts, id_female_bv161dialogue_uranus_bigtts, id_female_cesna_uranus_bigtts, id_male_ikbal_uranus_bigtts, id_female_prisma_uranus_bigtts, ko_male_shane_uranus_bigtts, ko_female_bv546_uranus_bigtts, ko_male_bv545_uranus_bigtts, ko_male_m03_uranus_bigtts, kr_male_shane_uranus_bigtts, de_male_sven_uranus_bigtts, de_female_bv081_uranus_bigtts, de_male_seven_uranus_bigtts, fr_female_fr_bv078_uranus_bigtts, fr_male_usseau_uranus_bigtts, fr_female_fr_f47_uranus_bigtts, fr_male_fr_m29_uranus_bigtts, ru_female_sophie_uranus_bigtts, ru_male_pavel_uranus_bigtts, ru_female_irinae_uranus_bigtts, ru_female_af07_uranus_bigtts, ru_male_vlad_uranus_bigtts, vi_female_partner_uranus_bigtts, vi_female_ruan_uranus_bigtts, vi_female_ling_uranus_bigtts, vi_female_linh_uranus_bigtts, vi_female_wu_uranus_bigtts, vi_female_hong_uranus_bigtts, vi_male_wumg_uranus_bigtts, vi_female_f01507b_uranus_bigtts, ms_male_naim_uranus_bigtts, ms_male_ham_uranus_bigtts, ms_male_hazeem_uranus_bigtts, ms_female_qis_uranus_bigtts, th_female_bv568_neutral_uranus_bigtts, th_female_bv568_angry_uranus_bigtts, th_female_bv568_suprise_uranus_bigtts, th_female_bv568_hate_uranus_bigtts, th_female_bv568_happy_uranus_bigtts, th_female_bv568_sad_uranus_bigtts, th_female_bv568_fear_uranus_bigtts, th_male_angpao_uranus_bigtts, th_female_elle_uranus_bigtts, th_female_cake_uranus_bigtts, th_male_paran_uranus_bigtts, ar_female_dina_uranus_bigtts, ar_male_youssef_uranus_bigtts, ar_female_fatma_uranus_bigtts, it_male_enzo_uranus_bigtts, it_male_luca_uranus_bigtts, it_male_enzo2_uranus_bigtts, tl_female_annika_uranus_bigtts, tl_female_hervie_uranus_bigtts, tl_male_ed_uranus_bigtts, tl_male_jonathan-palad_uranus_bigtts
voice_idstringno-A custom voice: the voice_id Seed Voice Replication 2.0 returned on this account. Used instead of voice, with voice_clone off.
speednumberno1.0Speaking rate of the translated speech. 0.5 is half speed and 2.0 is double speed. · Range: 0.5 – 2.0
denoisebooleannofalseReduce background noise in the incoming audio before it is recognized.
hot_wordsarrayno-Words and names to recognize reliably, such as product names. Up to 1,000, counted with glossary, each at most 200 characters. · Max: 1000
glossaryobjectno-Preferred translations for specific terms, as an object of source term to translation, for example {“machine learning”: “aprendizaje automático”}. Guidance for the model: it may keep its own wording. Up to 1,000 terms, counted with hot_words, each at most 200 characters. Also accepted as translation.corpus.phrases.
replacementsobjectno-Text replacements for the transcript and the translation, as an object of regular expression to replacement text, for example {“[Bb]yte ?[Pp]lus”: “BytePlus”}. Up to 1,000 rules.
input_audio_formatenumno"pcm16"Encoding of the audio you append: base64 16-bit PCM, 16 kHz, mono. · Allowed: pcm16
output_audio_formatenumno"pcm16"Encoding of the translated speech: base64 16-bit PCM, 24 kHz, mono. · Allowed: pcm16

Notes

Connect

  • WEBSOCKET /v1/realtime?model=seed-live-interpretation-2-0, in the OpenAI Realtime protocol: stream 16 kHz mono 16-bit PCM with input_audio_buffer.append. Set the languages, voice and output with session.update before the first audio.
  • Each translated sentence arrives as a response: response.audio_transcript.delta and response.audio.delta (24 kHz 16-bit PCM) with speech, or response.text.delta with text only. The speaker’s own words arrive as conversation.item.input_audio_transcription.completed.

Languages

  • Chinese or English is one side of every pair: any of 46 languages and 9 Chinese dialects translates into Chinese or English, and Chinese or English translates into any of the 46.
  • Spoken translation goes into 16 languages: Chinese, English, Japanese, Korean, French, German, Spanish, Portuguese, Russian, Arabic, Indonesian, Thai, Vietnamese, Italian, Filipino and Malay. The others are text only.
  • source_language defaults to auto, which recognizes Chinese and English, mixed, and needs a target_language of zh or en.

Voice

  • voice_clone always (the default) speaks the translation in the voice of whoever is speaking, matched again for each speaker. off uses voice, one of the Seed TTS 2.0 voices, or a custom voice_id from Seed Voice Replication 2.0. For Korean, Russian, Arabic or Thai, choose a voice that lists the language.
  • speed sets the rate of the translated speech; modalities ["text"] returns text only.

Terms

  • hot_words help recognize names and terms, glossary suggests translations of specific terms, and replacements rewrites the transcript and the translation by regular expression.

Billing

  • Billed per token: the audio you send (about 6.25 tokens a second), the translated text, and the translated speech (about 25 tokens a second). Each sentence’s response.done carries its usage.

Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/seed-live-interpretation-2-0.