# List voices

> The voices of a speech model, ready-made ones and the voices your project has cloned.

`GET https://api.getlykia.com/v1/audio/voices`

Lists the voices you can pass as `voice` to [`POST /audio/speech`](https://www.getlykia.com/en/docs/api-reference/audio-speech) for a model: the provider's ready-made voices and the clones of the key's project. Clones of other projects are never listed.

## Query parameters

- `model` (string) — A speech model id or preset. Defaults to the model of your `@tts` preset.

## Example

**Request**

cURL

```bash
curl "https://api.getlykia.com/v1/audio/voices?model=openai/gpt-4o-mini-tts" \
  -H "Authorization: Bearer $LYKIA_API_KEY"
```

Python

```python
import os

import requests

response = requests.get(
    "https://api.getlykia.com/v1/audio/voices",
    headers={"Authorization": f"Bearer {os.environ['LYKIA_API_KEY']}"},
    params={"model": "elevenlabs/eleven_multilingual_v2"},
    timeout=30,
)
response.raise_for_status()
for voice in response.json()["data"]:
    print(voice["id"], voice["name"], voice["category"])
```

TypeScript

```typescript
const params = new URLSearchParams({ model: "elevenlabs/eleven_multilingual_v2" });
const response = await fetch(`https://api.getlykia.com/v1/audio/voices?${params}`, {
  headers: { Authorization: `Bearer ${process.env.LYKIA_API_KEY}` },
});
if (!response.ok) throw new Error(`Lykia returned ${response.status}: ${await response.text()}`);

const voices = (await response.json()) as { data: { id: string; name: string; category: string }[] };
for (const voice of voices.data) console.log(voice.id, voice.name, voice.category);
```

**Response (200)**

```json
{
    "object": "list",
    "model": "openai/gpt-4o-mini-tts",
    "provider": "openai",
    "data": [
        {
            "id": "alloy",
            "object": "voice",
            "name": "Alloy",
            "category": "premade",
            "provider": "openai"
        },
        {
            "id": "ash",
            "object": "voice",
            "name": "Ash",
            "category": "premade",
            "provider": "openai"
        },
        {
            "id": "coral",
            "object": "voice",
            "name": "Coral",
            "category": "premade",
            "provider": "openai"
        }
    ]
}
```

## Response

- `object` (string) — Always `list`.
- `model` (string) — The model the voices are for.
- `data` (array) — Voices.
  - `id` (string) — Pass as `voice`.
  - `object` (string) — Always `voice`.
  - `name` (string) — The voice's display name.
  - `category` (string) — `premade` for the provider's voices, `cloned` for your project's clones.
  - `language`, `description`, `labels` — When the provider describes the voice.
  - `provider` (string) — The provider the voice belongs to.
  - `created_at` (integer) and `requires_verification` (boolean) — On clones.
