List Voices API
Find voices available for speech synthesis, including their IDs, names, descriptions, attribute tags, cumulative usage counts, and audio previews. Requests return enabled system voices by default. Use source=community to list available public community voices, source=all to query both system and public community voices (excluding personal voices), or source=personal to list personal voices accessible to your API key's organization.
Use the current API response when choosing a voice. Voices can be added, made private, or retired at any time, so this page does not maintain a static catalog.
Endpoint
- Method and path:
GET /v1/voices - Authentication:
X-API-Keyrequest header - Success response: HTTP
200,Content-Type: application/json
The API key must have Text to Speech access. Personal voice queries use organization access and do not require permission to create cloned voices.
Listing voices does not generate audio or incur speech synthesis charges. See Get your API key to create a key.
Query parameters
All query parameters are optional.
| Parameter | Type | Required | Description |
|---|---|---|---|
source | string | No | system (default, enabled system voices), community (available public community voices), all (both system and public community voices, excluding personal voices), or personal (personal voices in your API key's organization). |
model_id | string | No | Return only voices compatible with a public model ID, for example luna-tts-1.5. Omit to skip model filtering. |
search | string | No | Case-insensitive substring match against voice names, descriptions, and Chinese or English attribute tag labels. Maximum 100 characters after trimming surrounding whitespace. |
page_size | integer | No | Items per page: 1–100, default 20. |
cursor | string | No | The preceding response's next_cursor. Omit for the first page. |
Defaults apply only when source and page_size are omitted. An explicit empty source, an empty or zero page_size, empty model_id, empty filter values, duplicate parameters, and unknown query parameters are rejected with HTTP 400 (error_code: 10001). An empty or whitespace-only search skips keyword matching, and an empty cursor starts at the first page. Send each query parameter at most once; do not pass organization or user ID parameters to select another scope.
When search is provided, results rank name matches first, description matches second, and attribute tag matches third. Each voice appears once at its highest matching level, sorted by usage_count descending within the same level. When search is omitted, system follows catalog display order, personal returns newest voices first, and community and all sort by usage_count descending.
Filter parameters
All filter parameters accept strings. Pass comma-separated enum codes in one parameter to match any of those values (OR): up to 4 values for language, and up to 15 values for each other filter parameter. Combining multiple filter parameters requires a voice to match all of them (AND). Omit a filter to skip it.
| Parameter | Allowed values |
|---|---|
language | Primary language: zh (Chinese), en (English), ja (Japanese), ko (Korean) |
persona | Crush Types: mature_intellectual, golden_retriever_boy, playful_bad_boy, daddy, alpha_boss, powerful_woman, sunny, flirt, straightforward, tsundere, charming_schemer, clingy_cutie, cold_aloof, dark_mysterious, comforting |
gender | Gender: male, female, neutral |
age | Age group: child, adolescent, young_adult, middle_aged, older_adult |
usage_scenario | Use case: news_broadcasting, advertising, livestreaming, chat_companionship, teaching, customer_service, meetings, character_voice_acting, narration, audiobooks, public_speaking, podcasts, vlog, ai_assistant, sleep_meditation |
texture | Voice texture: soft, warm, breathy, bright, raspy, full_bodied, deep, thin |
emotion | Emotion: friendly, calm, confident, energetic, mysterious, restrained, sad, angry, sarcastic |
rhythm | Rhythm: conversational, distinct_pauses, brisk_concise, varied |
attitude | Attitude: serious, somewhat_serious, neutral, lighthearted, playful |
pitch | Pitch: very_low, low, medium, high, very_high |
speed | Speaking pace: slow, slightly_slow, moderate, slightly_fast, fast |
recording_environment | Recording environment: studio, phone_quality, indoor, outdoor |
Request examples
Set the API base URL and your API key:
export VUILABS_API_BASE_URL="https://api.vuilabs.ai"
export VUILABS_API_KEY="your-api-key"
List system voices using the default source:
curl --get "$VUILABS_API_BASE_URL/v1/voices" \
--header "X-API-Key: $VUILABS_API_KEY"
Query system and public community voices for Luna-TTS 1.5 with combined filters:
curl --get "$VUILABS_API_BASE_URL/v1/voices" \
--header "X-API-Key: $VUILABS_API_KEY" \
--data-urlencode 'source=all' \
--data-urlencode 'model_id=luna-tts-1.5' \
--data-urlencode 'language=en,ja' \
--data-urlencode 'usage_scenario=narration,character_voice_acting' \
--data-urlencode 'texture=warm,full_bodied' \
--data-urlencode 'page_size=20'
List your organization's personal voices:
curl --get "$VUILABS_API_BASE_URL/v1/voices" \
--header "X-API-Key: $VUILABS_API_KEY" \
--data-urlencode 'source=personal'
Response fields
A successful response contains these fields directly:
| Field | Type | Description |
|---|---|---|
voices | array | Voices in the current page; [] when no voices match. |
has_more | boolean | Whether another page is available. |
next_cursor | string / null | Cursor for the next page; null when there is no next page. |
System, public community, and personal voices use the same structure:
| Field | Type | Description |
|---|---|---|
voice_id | string | Public voice ID for synthesis requests with a compatible model. |
name | string | Voice name. |
description | string / null | Voice introduction; null when not provided. |
source | string | Voice source: system, community, or personal. |
supported_model_ids | string[] | Public model IDs currently compatible with this voice. |
multi_style | boolean | Whether the voice supports multi-style delivery. When true, the voice accepts scene and expressivity on Luna-TTS 1.5. |
usage_count | integer | Cumulative usage shown in the voice catalog, returned as a nonnegative integer. |
preview_url | string / null | Playable audio preview URL; null if no preview is available. |
preview_url_expires_at | integer / null | Expiration as a Unix timestamp in seconds; null when there is no fixed expiration or no preview URL. |
language | string / null | Labeled primary language (zh, en, ja, or ko); null when not labeled. |
persona | string / null | Crush Types code from the filter table; null when not labeled. |
gender | string / null | Gender code (male, female, or neutral); null when not labeled. |
age | string / null | Age group code (child, adolescent, young_adult, middle_aged, or older_adult); null when not labeled. |
usage_scenario | string / null | Use case code from the filter table; null when not labeled. |
attitude | string / null | Attitude code from the filter table; null when not labeled. |
pitch | string / null | Pitch code from the filter table; null when not labeled. |
speed | string / null | Speaking pace code from the filter table; null when not labeled. |
recording_environment | string / null | Recording environment code from the filter table; null when not labeled. |
texture | string[] | Voice texture codes in saved order; [] when not labeled. |
emotion | string[] | Emotion codes in saved order; [] when not labeled. |
rhythm | string[] | Rhythm codes in saved order; [] when not labeled. |
descriptive | string / null | Legacy free-text style description on some system voices; null when not labeled (including community and personal voices). Not an enum or a synthesis control. |
Attribute tag fields use the same enum codes as the filter parameters and are metadata for discovery, not synthesis request controls. The language field reflects the voice's labeled primary language rather than all supported cross-language synthesis capabilities.
Use the returned preview_url verbatim; do not construct or modify preview URLs. Preview URLs can differ across models for the same voice_id. For community voices, the preview remains playable while the voice is listed and available; if a URL expires or stops working, query again for a fresh URL. This API does not return an avatar URL.
The following illustrates the response structure using an example voice and placeholder preview URL. The live API response determines current voice availability and metadata:
{
"voices": [
{
"voice_id": "cv_example_public_voice",
"name": "Warm Narrator",
"description": "A warm and steady storytelling voice.",
"language": "en",
"gender": "male",
"age": "middle_aged",
"descriptive": null,
"preview_url": "https://example.com/voice-preview.wav",
"preview_url_expires_at": null,
"source": "community",
"supported_model_ids": [
"luna-tts-1.5"
],
"multi_style": false,
"persona": "mature_intellectual",
"usage_scenario": "narration",
"texture": [
"warm",
"full_bodied"
],
"emotion": [
"calm",
"friendly"
],
"rhythm": [
"conversational"
],
"attitude": "neutral",
"pitch": "medium",
"speed": "moderate",
"recording_environment": "studio",
"usage_count": 1536
}
],
"has_more": false,
"next_cursor": null
}
No matching results is also a successful response:
{
"voices": [],
"has_more": false,
"next_cursor": null
}
Pagination
When has_more is true, pass next_cursor unchanged as the next request's cursor. Keep the same API key, organization and project context, page_size, and query filters across pages. Cursors are opaque and expire after a period of time; when changing any query parameter or when a cursor expires, omit the old cursor and start from the first page.
This Python example lists system and public community voices for Luna-TTS 1.5 and reads their IDs and previews:
import os
import requests
params = {"source": "all", "model_id": "luna-tts-1.5", "page_size": 20}
headers = {"X-API-Key": os.environ["VUILABS_API_KEY"]}
while True:
response = requests.get(
f"{os.environ['VUILABS_API_BASE_URL']}/v1/voices",
headers=headers,
params=params,
timeout=30,
)
response.raise_for_status()
payload = response.json()
for voice in payload["voices"]:
print(voice["voice_id"], voice["name"], voice["preview_url"])
if not payload["has_more"]:
break
params["cursor"] = payload["next_cursor"]
Voice availability can change between pages; voices that become unavailable in the queried source are excluded from subsequent pages. Start from the first page when beginning a new browsing session or changing filters.
Use a voice
- Query with
model_idset toluna-tts-1.5, choosingsource(system,community,all, orpersonal) and any search or attribute filters you need. - Review the voice's name, description, tags, and
usage_count. Ifpreview_urlis present, play it to audition the voice. - Pass the returned
voice_idwithmodel_idset toluna-tts-1.5in the Text to Speech API. To create personal voices, see Voice Cloning or Voice Design; to delete a personal voice, see the Delete Voice API.
Newly enabled system voices appear in system and all, while retired or disabled system voices are excluded. Newly published community voices appear in community and all; if a community voice is made private or disabled by the platform, it is removed from community and all, while the owning organization can still find it with source=personal and use the same voice_id for synthesis as long as the voice has not been deleted. Deleted personal voices are excluded from all queries. If a community voice becomes unavailable after another organization lists it, new synthesis requests from that organization return HTTP 400 with error_code: 12950; query again and select an available voice, as the service does not silently substitute another voice.
Multi-style voices
Multi-style voices appear in the Luna-TTS 1.5 catalog with multi_style: true and support delivery scenes and expressivity levels. For scene and expressivity options and examples, see Multi-style voice example.
Errors
Failed requests return a non-2xx HTTP status and a JSON error body, rather than an empty successful page. Check the HTTP status and error_code; error_message defaults to English, or Chinese when Accept-Language: zh-CN is sent.
{
"error_code": 10001,
"error_message": "Invalid parameters",
"succeed": false,
"data": null
}
| HTTP status | error_code | Condition | What to do |
|---|---|---|---|
400 | 10001 | Invalid parameter, invalid or over-limit filter value, unsupported model, duplicate parameter, or invalid/expired cursor | Correct the parameter or filter values; when changing filters or after cursor expiration, retry without cursor. |
401 | 10003 | Missing or invalid API key | Check the X-API-Key header. |
403 | 10004 | Text to Speech is unavailable to this API key | Check the project's enabled capabilities. |
429 | 10005 or 10014 | Request limit reached | Reduce the request rate and retry later. |
500 | 10000 | Unexpected service error | Retry later; contact support if it continues. |
503 | 20002 | Voice catalog is unavailable, or the selected registered model is not enabled in the current environment | If the model is unavailable, choose a currently available model or contact support. For a temporary service failure, retry later. |
504 | 10006 | Voice query timed out | Retry later. |
See Errors for the common error response contract.