---
agentTools:
  projectIndex: https://elai.readme.io/llms.txt
---

# Languages/Voices list

List of all supported languages and voices. List is an array of supported languages. Each language is an object with name, male and female, where you can find voices separated by gender.

Each video slide should contain the correct combination of language/voiceProvider/voice.

## Important voice params

```json
{
  "voice": "21m00Tcm4TlvDq8ikWAM", // Voice ID to be use in your slides
  "voiceProvider": "elevenlabs", // Voice Provider (we suport 5 now, but constantly updating)
  "premium": true, // if this is a premium voice
}
```

## Basic example of voice-related params each slide should have:

```json
{
  ...
  slides: [{
    ...
    language: "English",
    voiceType: "text",
    voiceProvider: "azure",
    voice: "en-US-GuyNeural",
    ...
  }]
  ...
}
```

# OpenAPI definition

````json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Elai Public API",
    "version": "1.0",
    "description": "Every endpoint below is served under `https://apis.elai.io/api/v1`.\n\n## Authentication\n\nSend your workspace API token as a bearer token on every request:\n\n```\nAuthorization: Bearer <your-api-token>\n```\n\nGenerate and rotate the token in the Elai web app under **Settings → API**, or through\n`POST /generateToken`. The token is scoped to one **workspace** and authenticates as that\nworkspace's admin user — it is not tied to an individual person, and it carries admin rights\ninside that workspace.\n\nA request with a missing, unknown or revoked token gets a bare `401` with no response body.\n\n> **Organizations on the Unlimited plan cannot use the API.** Their requests are rejected with the\n> same bare `401` as an invalid token, with nothing to distinguish the two. If a valid, freshly\n> generated token returns `401` on every endpoint, check the plan first.\n\n## Errors\n\nFailures carry a JSON body of the shape `{ \"message\": \"...\" }`. Validation failures on the newer\nendpoints may add an `errors` array naming the offending fields. `401` is the exception: it has no\nbody at all.\n\nBoth render endpoints are **fire-and-forget** — they queue work and return immediately, so a\n`200` means \"accepted\", not \"rendered\". Render failures surface only through the `video_error`\nwebhook, never as an HTTP error on the call that started the render.\n\n## Scope\n\nThis reference is generated from the running code rather than maintained by hand, so it cannot\nquietly fall behind the API it describes. It documents 96 operations across the\n`/api/v1` surface.\n\nEndpoints are grouped by subject in the sidebar. If something you need is missing, or an endpoint\ndoes not behave as described here, tell us.\n\n---\n\n_Generated from `chore/web-4760/api-v1-reference-build` at `5289745d` on 2026-09-04._"
  },
  "servers": [
    {
      "url": "https://apis.elai.io/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "SECRET_KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/voices": {
      "get": {
        "summary": "Languages/Voices list",
        "description": "List of all supported languages and voices. List is an array of supported languages. Each language is an object with name, male and female, where you can find voices separated by gender.",
        "operationId": "voices-list",
        "responses": {
          "200": {
            "description": "The full voice catalogue: an array of **language groups**, each holding `male` and `female` voice arrays.\n\n`name` here is the language-group name (`English`, `Somali`, …) and is exactly the string the other endpoints expect as `language` — **case-sensitive**, and not a locale code. Do not send a voice's own `name` (`English (United States)`) as `language`; it is a different field that happens to share the key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Language-group name. Use this as `language` elsewhere."
                      },
                      "male": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "description": "One voice. Send `voice` and `voiceProvider` together — they must match, or synthesis returns 400.",
                          "additionalProperties": true,
                          "properties": {
                            "voice": {
                              "type": "string",
                              "description": "Voice id. This is the `voice` value for `PATCH /voices` and slide payloads."
                            },
                            "voiceProvider": {
                              "type": "string",
                              "enum": [
                                "azure",
                                "google",
                                "elevenlabs"
                              ],
                              "description": "Provider that owns this voice."
                            },
                            "character": {
                              "type": "string",
                              "description": "Display name of the speaker, e.g. `Andrew M`."
                            },
                            "name": {
                              "type": "string",
                              "description": "Locale label, e.g. `English (United States)`. Not the language-group name."
                            },
                            "locale": {
                              "type": "string",
                              "description": "BCP-47 locale, e.g. `en-US`."
                            },
                            "premium": {
                              "type": "boolean",
                              "description": "Requires a plan that allows premium voices."
                            },
                            "url": {
                              "type": "string",
                              "description": "Sample audio."
                            },
                            "styleList": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "Speaking styles this voice supports."
                            },
                            "stylePreview": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "Sample audio per style."
                            },
                            "tones": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "categories": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "icon": {
                              "type": "string",
                              "description": "Flag code for the locale."
                            },
                            "age": {
                              "type": "number"
                            },
                            "order": {
                              "type": "number"
                            },
                            "defaultStyle": {
                              "type": "string"
                            },
                            "rolePlayList": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "approxDurationCoeficient": {
                              "type": "number",
                              "description": "Used by `PATCH /voices/duration` to estimate speech length."
                            }
                          }
                        }
                      },
                      "female": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "description": "One voice. Send `voice` and `voiceProvider` together — they must match, or synthesis returns 400.",
                          "additionalProperties": true,
                          "properties": {
                            "voice": {
                              "type": "string",
                              "description": "Voice id. This is the `voice` value for `PATCH /voices` and slide payloads."
                            },
                            "voiceProvider": {
                              "type": "string",
                              "enum": [
                                "azure",
                                "google",
                                "elevenlabs"
                              ],
                              "description": "Provider that owns this voice."
                            },
                            "character": {
                              "type": "string",
                              "description": "Display name of the speaker, e.g. `Andrew M`."
                            },
                            "name": {
                              "type": "string",
                              "description": "Locale label, e.g. `English (United States)`. Not the language-group name."
                            },
                            "locale": {
                              "type": "string",
                              "description": "BCP-47 locale, e.g. `en-US`."
                            },
                            "premium": {
                              "type": "boolean",
                              "description": "Requires a plan that allows premium voices."
                            },
                            "url": {
                              "type": "string",
                              "description": "Sample audio."
                            },
                            "styleList": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "Speaking styles this voice supports."
                            },
                            "stylePreview": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "Sample audio per style."
                            },
                            "tones": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "categories": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "icon": {
                              "type": "string",
                              "description": "Flag code for the locale."
                            },
                            "age": {
                              "type": "number"
                            },
                            "order": {
                              "type": "number"
                            },
                            "defaultStyle": {
                              "type": "string"
                            },
                            "rolePlayList": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "approxDurationCoeficient": {
                              "type": "number",
                              "description": "Used by `PATCH /voices/duration` to estimate speech length."
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": [
                  {
                    "name": "English",
                    "male": [
                      {
                        "voice": "en-US-AndrewMultilingualNeural",
                        "voiceProvider": "azure",
                        "character": "Andrew M",
                        "name": "English (United States)",
                        "locale": "en-US"
                      }
                    ],
                    "female": [
                      {
                        "voice": "en-US-JennyNeural",
                        "voiceProvider": "azure",
                        "character": "Jenny",
                        "name": "English (United States)",
                        "locale": "en-US"
                      }
                    ]
                  }
                ]
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {}
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "tags": [
          "Voices"
        ]
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "tags": [
    {
      "name": "Voices",
      "description": "The voice catalog, custom voices, and speech synthesis for previewing."
    }
  ],
  "_id": {
    "buffer": {
      "0": 106,
      "1": 154,
      "2": 229,
      "3": 101,
      "4": 201,
      "5": 178,
      "6": 243,
      "7": 252,
      "8": 223,
      "9": 58,
      "10": 69,
      "11": 151
    }
  }
}
````