get https://api.heygen.com/v2/voices/locales
Retrieves a list of available locales for voices, including their language, label, and locale identifiers.
Response
Field | Type | Description |
---|---|---|
data.locales | array | List of locales available for voices. |
locales[].value | string | The full name of the locale. |
locales[].label | string | The short name or label of the locale. |
locales[].language | string | The language corresponding to the locale. |
locales[].tag | string | A tag, if any (null if not available). |
locales[].locale | string | The locale identifier (e.g., "pt-BR"). |
locales[].language_code | string | The code representing the language and country (e.g., "pt-BR"). |