Skip to main content

Languages

The lang_code parameter controls the language used for speech synthesis. Pass it when creating a TTS session or websocket connection:

tts_config = TTSConfig(lang_code='fr')
wss://api.neuphonic.com/speak/en?api_key=<API_KEY>

The full list of supported languages is below. Note that the chosen voice must be available for the chosen language — use client.voices.list() to see which voices support which languages.

Languagelang_codeNotes
EnglishenAmerican and British accents available
ChinesezhMandarin accent available
Frenchfr
Germande
Japaneseja
Koreanko
SpanishesCastilian, Argentinian, Mexican, Colombian, Peruvian and Venezuelan accents available
PortugeseptBrazilian and European Portuguese accents available
Urduur