v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
voices

Get Voice Accents

Gets the list of available accents in the shared voice library.

get/v1/voices/accents

Query parameters

languagestring nullable

If provided, only accents for this language code are returned.

Example:en

If provided, only accents for this language code are returned.

model_idstring nullable

If provided, returns the accents available for this model. Defaults to the most complete accent list when omitted.

Example:eleven_v3

If provided, returns the accents available for this model. Defaults to the most complete accent list when omitted.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

Example response

{
  "accents": [
    {
      "accent": "american",
      "code": "en-american",
      "language": "en",
      "name": "American"
    }
  ]
}