Retrieve all voices available for AI calls, including preset voices from Cartesia/ElevenLabs and your organization's cloned voices.
Returns
Get voices
import os
from revox import Revox
client = Revox(
api_key=os.environ.get("REVOX_API_KEY"), # This is the default and can be omitted
)
voices = client.voices.list()
print(voices.voices){
"voices": [
{
"id": "x",
"description": "description",
"language": "en",
"name": "name",
"provider": "cartesia",
"accent": "accent",
"gender": "gender",
"isCloned": true
}
]
}Returns Examples
{
"voices": [
{
"id": "x",
"description": "description",
"language": "en",
"name": "name",
"provider": "cartesia",
"accent": "accent",
"gender": "gender",
"isCloned": true
}
]
}