GET
/
api
/
v1
/
agents
/
voices
/
available
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.agents.agent_get_available_voices()

    # Handle response
    print(res)
[
  {
    "provider": "OpenAI",
    "display_name": "Alloy",
    "var_name": "openai:alloy",
    "gender": "male",
    "model": "tts-1",
    "supported_languages": {
      "code": "en-US",
      "name": "English"
    },
    "deprecated": false
  }
]

Authorizations

Syllable-API-Key
string
header
required

Response

200 - application/json

Successful Response

The response is of type object[].