Skip to content
Get started

Get voices

voices.list() -> VoiceListResponse { voices }
GET/voices

Retrieve all voices available for AI calls, including preset voices from Cartesia/ElevenLabs and your organization's cloned voices.

ReturnsExpand Collapse
class VoiceListResponse { voices }
voices: Array[{ id, description, language, 5 more}]
id: String

The ID of the voice.

minLength1
description: String

The description of the voice.

language: :en | :fr | :es | 5 more

The language of the voice.

One of the following:
:en
:fr
:es
:de
:it
:pt
:ru
:zh
name: String

The name of the voice.

provider: :cartesia | :elevenlabs

The provider of the voice.

One of the following:
:cartesia
:elevenlabs
accent: String

The accent/dialect of the voice (e.g. 'american', 'british', 'australian', 'quebec').

gender: String

The gender of the voice (e.g. 'male', 'female', 'neutral').

is_cloned: bool

Whether this is a cloned voice.

Get voices

require "revox"

revox = Revox::Client.new(api_key: "My API Key")

voices = revox.voices.list

puts(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
    }
  ]
}