Get Supported Voice For Audio Models

GEThttps://api.oneinfer.ai/v1/ula/get-supported-voice-for-audio-models?model_names=:modelNames

Fetch the supported voice_id values and the default voice for TTS models before calling audio generation. Where an entry has voice_description: true (Qwen/Qwen3-TTS-VoiceDesign), the model takes a description of the voice as voice_id instead; where it has voice_description: false and lists no voices (ResembleAI/chatterbox-turbo), the model has its own voice and takes no voice_id. Where given, max_characters is the most characters one request takes.

Request parameters

model_namesstring
Comma-separated audio model names. Example: bulbul:v2,bulbul:v3. If omitted, returns all supported voice maps.
Example Request
GET https://api.oneinfer.ai/v1/ula/get-supported-voice-for-audio-models?model_names=bulbul:v3
Authorization: Bearer <YOUR_TOKEN>

Response

JSON
{
  "api_details": {
    "api_status": "success",
    "api_message": "API has returned response successfully."
  },
  "data": {
    "by_model": {
      "bulbul:v3": {
        "provider": "sarvam",
        "default_voice_id": "shubh",
        "voice_ids": ["abhilash", "anushka", "manisha", "vidya", "shubh"]
      }
    },
    "unknown_models": []
  },
  "error": {}
}

Error status codes

CodeStatusDescription
200OKSupported voices fetched successfully.
401UnauthorizedMissing or invalid Authorization header / Bearer token.
403ForbiddenInsufficient credit balance or auth failure.
500Internal Server ErrorUnexpected error while fetching supported voices.

Response

202 - application/json