Get available agent voices.
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 } ]
Successful Response
The response is of type AgentVoice · object[].
AgentVoice · object[]