Listing ElevenLabs Voices
Sunra exposes a lightweight helper endpoint that lets you discover the voices available on the shared ElevenLabs account that powers our ElevenLabs TTS models. The endpoint does not run an inference pipeline — there is no billing, no prediction record, no queue. It is a direct, paginated lookup against the upstream ElevenLabs voice library. Once you find a voice you like, plug itsvoice_id into the custom_voice_id field of any ElevenLabs TTS model and the model will use that voice instead of its default.
Endpoint
Authorization header.
Query parameters
All parameters are optional.| Parameter | Type / values | Default | Description |
|---|---|---|---|
page_size | integer (max 100) | 10 | How many voices to return in one response. |
search | string | — | Filter by name, description, labels, or category. |
sort_by | name | date | — | Field to sort by. date sorts by voice creation time. |
sort_direction | asc | desc | — | Sort order. |
category | premade | cloned | generated | professional | — | Voice category. |
voice_type | personal | community | default | workspace | non-default | non-community | saved | — | Voice ownership / source. |
next_page_token | string | — | Pagination token returned by a previous response. |
Response
| Field | Description |
|---|---|
voices[].voice_id | The ID to pass as custom_voice_id to a TTS model. |
voices[].name | Human-readable voice name. |
voices[].settings | Default voice settings (stability, similarity_boost, etc.) or null if none are saved on the voice. |
has_more | true while more pages remain. |
next_page_token | Pass this as next_page_token in the next call to fetch the next page. null on the last page. |
Pagination
Drive pagination fromhas_more and next_page_token. Keep calling the endpoint with the previous response’s next_page_token until has_more is false:
Examples
Using a voice in a TTS model
Take anyvoice_id from the response and pass it as custom_voice_id when calling an ElevenLabs TTS endpoint. When custom_voice_id is set it overrides the model’s default voice field, so you can use any voice the account has access to — including cloned voices and voices saved from the ElevenLabs voice library, not just the defaults exposed by the schema’s voice enum.
This works for every Sunra ElevenLabs TTS endpoint:
elevenlabs/eleven-v3/text-to-speechelevenlabs/multilingual-v2/text-to-speechelevenlabs/turbo-v2.5/text-to-speechelevenlabs/multilingual-sts-v2/speech-to-speech