> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ElevenLabs Preset Voice Catalog

> Returns a preset voice catalog without consuming quota, including voice IDs, preview URLs and other metadata. The catalog is not an exhaustive whitelist; entries do not guarantee account access or compatibility with every model and parameter combination. Omitting both limit and offset preserves the full-array response. Either parameter enables optional pagination; the response remains an array. The catalog is usually updated infrequently, with no fixed update schedule. For initial downloads and explicit re-downloads, fetch every page, merge and save locally, then replace the old catalog only after the download succeeds. Filter by language, gender, name or other metadata in your application or locally.

Requires a Bearer Token and does not consume quota. Returns a voice catalog array with voice\_id, name, description, languages, preview\_url and other metadata. Preview preview\_url and copy the ID into Speech `voice_id` or Dialogue `inputs[].voice_id`. This is not an exhaustive whitelist: existing unlisted IDs can still be submitted. A catalog entry does not guarantee account access or compatibility with every model and parameter combination. An empty catalog returns \[]; an unavailable catalog returns 503.

## Download with pagination

The catalog is usually updated infrequently, with no fixed update schedule. For initial downloads and explicit re-downloads, fetch every page, merge entries in response order and save locally. Replace the old catalog only after the entire download succeeds. Filter by language, gender, name or other metadata in your application or locally; the endpoint does not provide these filters.

```http theme={null}
GET https://api.aihubmax.com/e/v1/configs/elevenlabs-preset-voice-id?limit=100&offset=0
Authorization: Bearer YOUR_API_KEY
```

Omitting both `limit` and `offset` preserves the original full-array response. Either parameter enables pagination. The response remains an array, retaining entry order and all metadata.

| Parameter | Rules |
| - | - |
| `limit` | Maximum entries per page, a decimal integer from 1 to 1000; defaults to 100 when only `offset` is supplied |
| `offset` | Zero-based offset, a nonnegative decimal integer; defaults to 0 in pagination mode |

Paginated responses include the following headers, which browsers can read directly:

| Header | Meaning |
| - | - |
| `X-Total-Count` | Current total number of catalog entries |
| `X-Limit` | Effective page-size limit |
| `X-Offset` | Offset of this page |
| `X-Next-Offset` | Next page offset; an empty string marks the end |

Continue using `X-Next-Offset` until it is empty. No extra request is needed when the last page contains exactly `limit` entries. Empty catalogs and offsets at or beyond the total return `[]` with an empty next offset. Invalid parameters return HTTP 400 with `error.code` set to `invalid_pagination`. Pages are not locked to a catalog snapshot; if the total changes, restart from `offset=0`.

## Complete download example

This Python example handles both initial downloads and explicit re-downloads. Set the `AIHUB_API_KEY` environment variable before running it. A failed download preserves the existing `elevenlabs-voices.json`.

```python theme={null}
import json
import os
from pathlib import Path
from urllib.request import Request, urlopen


def download_catalog(api_key):
    entries = []
    offset = 0
    total = None
    while True:
        url = (
            "https://api.aihubmax.com/e/v1/configs/elevenlabs-preset-voice-id"
            f"?limit=100&offset={offset}"
        )
        request = Request(url, headers={"Authorization": f"Bearer {api_key}"})
        with urlopen(request, timeout=60) as response:
            page = json.load(response)
            count = int(response.headers["X-Total-Count"])
            next_offset = response.headers.get("X-Next-Offset")
        if total is None:
            total = count
        if count != total or not isinstance(page, list) or next_offset is None:
            raise RuntimeError("Catalog changed or pagination is unavailable; retry from offset=0")
        entries.extend(page)
        if next_offset == "":
            if len(entries) != total:
                raise RuntimeError("Incomplete catalog; keep the previous local copy")
            return entries
        if not page or int(next_offset) != len(entries):
            raise RuntimeError("Invalid pagination progress; keep the previous local copy")
        offset = int(next_offset)


catalog = download_catalog(os.environ["AIHUB_API_KEY"])
target = Path("elevenlabs-voices.json")
staged = target.with_suffix(".download.json")
staged.write_text(json.dumps(catalog, ensure_ascii=False), encoding="utf-8")
staged.replace(target)
```


## OpenAPI

````yaml openapi/en/configs-elevenlabs-preset-voice-id.json GET /v1/configs/elevenlabs-preset-voice-id
openapi: 3.1.0
info:
  title: ElevenLabs Preset Voice Catalog
  version: '1.0'
servers:
  - url: https://api.aihubmax.com/e
security:
  - BearerAuth: []
paths:
  /v1/configs/elevenlabs-preset-voice-id:
    get:
      tags:
        - Config Query
      summary: ElevenLabs Preset Voice Catalog
      description: >-
        Returns a preset voice catalog without consuming quota, including voice
        IDs, preview URLs and other metadata. The catalog is not an exhaustive
        whitelist; entries do not guarantee account access or compatibility with
        every model and parameter combination. Omitting both limit and offset
        preserves the full-array response. Either parameter enables optional
        pagination; the response remains an array. The catalog is usually
        updated infrequently, with no fixed update schedule. For initial
        downloads and explicit re-downloads, fetch every page, merge and save
        locally, then replace the old catalog only after the download succeeds.
        Filter by language, gender, name or other metadata in your application
        or locally.
      operationId: configs-elevenlabs-preset-voice-id
      parameters:
        - name: limit
          in: query
          required: false
          description: >-
            Maximum entries per page, a decimal integer from 1 to 1000. Either
            limit or offset enables pagination. When only offset is supplied,
            limit defaults to 100. Omitting both returns the full array.
          schema:
            type: integer
            minimum: 1
            maximum: 1000
          example: 100
        - name: offset
          in: query
          required: false
          description: >-
            Zero-based entry offset, a nonnegative decimal integer; defaults to
            0 in pagination mode. Entries retain catalog order and all metadata.
            At or beyond the total count, returns an empty array and an empty
            X-Next-Offset header.
          schema:
            type: integer
            minimum: 0
            default: 0
          example: 0
      responses:
        '200':
          description: >-
            Catalog array; pagination changes only the entry range and preserves
            the array structure. An empty catalog or an out-of-range page
            returns []. The following headers are returned only in pagination
            mode and exposed to browsers through Access-Control-Expose-Headers.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ElevenLabsVoicePreset'
              example:
                - voice_id: 004KTmksPwLFhbYi3ENc
                  name: Zak - Male, Welsh Native
                  description: Casual voice nationality Welsh/English.
                  languages:
                    - en
                    - pt
                    - ar
                    - it
                    - es
                    - ko
                    - uk
                    - hi
                    - de
                    - 'no'
                    - hr
                    - cs
                    - vi
                    - pl
                    - sv
                  accent: british
                  gender: male
                  age: middle_aged
                  category:
                    - high_quality
                  preview_url: >-
                    https://storage.googleapis.com/eleven-public-prod/database/workspace/20f2f3fe22fc43f49c5fedebde76fac4/voices/004KTmksPwLFhbYi3ENc/2a637b54-34f0-48a2-b396-50eb4f3aedad.mp3
                  notice_period_days: 730
          headers:
            X-Total-Count:
              description: Total number of catalog entries.
              schema:
                type: integer
                minimum: 0
              example: 15450
            X-Limit:
              description: Effective page-size limit.
              schema:
                type: integer
                minimum: 1
                maximum: 1000
              example: 100
            X-Offset:
              description: Zero-based offset of this page.
              schema:
                type: integer
                minimum: 0
              example: 0
            X-Next-Offset:
              description: >-
                Decimal string for the next page offset. An empty string marks
                the end, including empty catalogs and out-of-range pages; stop
                when it is empty.
              schema:
                type: string
              example: '100'
        '400':
          description: >-
            Invalid limit or offset (empty, not a decimal integer, negative, or
            limit outside 1–1000); error.code is invalid_pagination.
        '401':
          description: Invalid or missing Token.
        '503':
          description: Voice catalog temporarily unavailable.
components:
  schemas:
    ElevenLabsVoicePreset:
      type: object
      required:
        - voice_id
      additionalProperties: true
      properties:
        voice_id:
          type: string
          description: Voice ID for Speech voice_id or Dialogue inputs[].voice_id.
          minLength: 1
        name:
          type:
            - string
            - 'null'
          description: Display name.
        description:
          type:
            - string
            - 'null'
          description: Voice description.
        languages:
          type:
            - array
            - 'null'
          description: Language codes.
          items:
            type: string
        accent:
          type:
            - string
            - 'null'
          description: Accent.
        gender:
          type:
            - string
            - 'null'
          description: Gender description.
        age:
          type:
            - string
            - 'null'
          description: Age label.
        category:
          type:
            - array
            - 'null'
          description: Category labels.
          items:
            type: string
        preview_url:
          type:
            - string
            - 'null'
          description: Preview audio URL.
        notice_period_days:
          type:
            - integer
            - 'null'
          description: Notice period in days, as recorded in the catalog.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.