1. Overview and quickstart
MyVocal AI语音大模型API文档
English
  • 中文
  • English
  • 文字转语音大模型
    • API reference
      • Voice management
        • List voices
        • Create a voice
        • Delete a voice
      • HTTP synthesis
        • Streaming HTTP synthesis
        • Non-streaming HTTP synthesis
      • WebSocket synthesis
        • Standard TTS · Single connection
        • Standard TTS · Multiple contexts
        • Dialogue · Multiple contexts
      • Usage and request history
        • Get master key usage
        • Look up a request by ID
        • Get usage by voice
      • Sub-key management
        • Create a sub-key
        • List sub-keys
        • Get sub-key details
        • Update a sub-key
        • Get sub-key usage
    • Overview and quickstart
      • Models
      • Choose a model and endpoint
      • Supported languages
      • Audio formats and playback
      • FAQ
      • SDKs and examples
  • 金融行业定制TTS模型
    • Skyblight text to speech
      • Streaming text to speech
      • Non-streaming text to speech
      • List voices
      • Delete a voice
      • Create a voice
      • Get usage
    • Full-duplex communication
      • WebSocket integration guide
      • V2 bidirectional streaming synthesis (WebSocket)
  • 语音转文字ASR
    • Overview and quickstarts
      • Realtime transcription quickstart
      • File transcription quickstart
      • Models and capabilities
      • Changelog
    • API reference
      • Realtime transcription over WebSocket
      • Create a file transcription
      • Get ASR usage
  • 企业客户声音定制服务
    • Your custom brand voice
  1. Overview and quickstart

Supported languages

Choose your model and endpoint first, then look up the language code. Use zh for Mandarin and yue for Cantonese. language_code sets the pronunciation language. Supply the text in that language.

Common languages#

LanguageCode
Mandarin Chinesezh
Cantoneseyue
Englishen
Japaneseja
Koreanko
Spanishes
Frenchfr
Germande
All the languages above work with V4 and V3 Turbo. For other models, use the relevant section below.

V4 and V3 Turbo: full list#

Both models support the same 94 output languages. The table lists their codes.
language_code is optional. If omitted, the model selects a language based on the input. To choose explicitly, use a code from the table and provide text in that language. The setting controls language and pronunciation without translating the text.
Use zh for Mandarin and yue for Cantonese. Codes have two or three letters. Keep all three letters in ast, ceb, ckb, fil, kam and yue. Regional forms such as zh-CN and pt-BR are unsupported.
HTTP synthesis: set language_code in the JSON request body.
Multi-context dialogue over WebSocket: set language_code in the connection URL. It applies to the entire connection. Open separate connections for different language settings.
For either model, use Multi-context dialogue over WebSocket.
LanguageCode
Afrikaansaf
Amharicam
Arabicar
Armenianhy
Assameseas
Asturianast
Azerbaijaniaz
Belarusianbe
Bengalibn
Bosnianbs
Bulgarianbg
Burmesemy
Cantoneseyue
Catalanca
Cebuanoceb
Chichewany
Croatianhr
Czechcs
Danishda
Dutchnl
Englishen
Estonianet
Filipinofil
Finnishfi
Frenchfr
Fula (Pulaar)ff
Galiciangl
Georgianka
Germande
Greekel
Gujaratigu
Hausaha
Hebrewhe
Hindihi
Hungarianhu
Icelandicis
Indonesianid
Irishga
Italianit
Japaneseja
Javanesejv
Kambakam
Kannadakn
Kazakhkk
Kyrgyzky
Koreanko
Laolo
Latvianlv
Lingalaln
Lithuanianlt
Lugandalg
Luxembourgishlb
Macedonianmk
Malayms
Malayalamml
Maltesemt
Chinese (Mandarin)zh
Māorimi
Marathimr
Mongolianmn
Nepaline
Norwegianno
Occitanoc
Odiaor
Pashtops
Persianfa
Polishpl
Portuguesept
Punjabipa
Romanianro
Russianru
Serbiansr
Shonasn
Sindhisd
Slovaksk
Sloveniansl
Somaliso
Sorani Kurdishckb
Spanishes
Swahilisw
Swedishsv
Tajiktg
Tamilta
Telugute
Thaith
Turkishtr
Ukrainianuk
Urduur
Uzbekuz
Vietnamesevi
Welshcy
Wolofwo
Yorubayo
Zuluzu

Other models and endpoints#

MyVocal V3#

For V3, see 100 output languages. Use the V3 list when configuring that model.

HTTP:Multilingual V2#

The table below lists the languages documented for the HTTP endpoint. Check your chosen model and endpoint for other languages.
LanguageCode
Englishen
Japaneseja
Germande
Hindihi
Frenchfr
Koreanko
Portuguesept
Italianit
Spanishes
Indonesianid
Dutchnl
Turkishtr
Filipinofil
Polishpl
Swedishsv
Bulgarianbg
Romanianro
Arabicar
Czechcs
Greekel
Finnishfi
Croatianhr
Malayms
Slovaksk
Danishda
Tamilta
Ukrainianuk
Russianru

HTTP:Turbo#

LanguageCode
Englishen
Japaneseja
Germande
Hindihi
Frenchfr
Koreanko
Portuguesept
Italianit
Spanishes
Indonesianid
Dutchnl
Turkishtr
Filipinofil
Polishpl
Swedishsv
Bulgarianbg
Romanianro
Arabicar
Czechcs
Greekel
Finnishfi
Croatianhr
Malayms
Slovaksk
Danishda
Tamilta
Ukrainianuk
Russianru
Hungarianhu
Norwegianno
Vietnamesevi

Standard TTS over WebSocket#

multilingual_v2 supports the first 29 languages in the table. flash_v2_5 also supports Hungarian, Norwegian and Vietnamese, for a total of 32. This list applies to standard TTS over single-connection and multi-context WebSocket.
LanguageCode
Englishen
Japaneseja
Chinesezh
Germande
Hindihi
Frenchfr
Koreanko
Portuguesept
Italianit
Spanishes
Indonesianid
Dutchnl
Turkishtr
Filipinofil
Polishpl
Swedishsv
Bulgarianbg
Romanianro
Arabicar
Czechcs
Greekel
Finnishfi
Croatianhr
Malayms
Slovaksk
Danishda
Tamilta
Ukrainianuk
Russianru
Hungarianhu
Norwegianno
Vietnamesevi

Where to set the language#

HTTP: language_code in the JSON body.
Dialogue WebSocket: language_code in the connection URL, applied to the whole connection.
Standard TTS WebSocket: language_code in the connection URL. Choose a code from the list for your model.
If omitted, the model selects a language from the text. To specify a language, use its complete two- or three-letter code. Keep yue and fil intact and omit regional suffixes such as zh-CN.
上一页
Choose a model and endpoint
下一页
Audio formats and playback
Built with