Retrieve all voices available for AI calls, including preset voices from Cartesia/ElevenLabs and your organization's cloned voices.
Returns
Get voices
import Revox from '@revoxai/sdk';
const client = new Revox({
apiKey: process.env['REVOX_API_KEY'], // This is the default and can be omitted
});
const voices = await client.voices.list();
console.log(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
}
]
}