メインコンテンツへスキップ
GET
/
voices
List Voices
curl --request GET \
  --url https://api.cartesia.ai/voices \
  --header 'Cartesia-Version: <cartesia-version>' \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "<string>",
    "is_public": true,
    "name": "<string>",
    "description": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "embedding": [
      123
    ],
    "language": "en",
    "user_id": "<string>",
    "country": "US"
  }
]

承認

X-API-Key
string
header
必須

ヘッダー

Cartesia-Version
enum<string>
必須

API version header.

利用可能なオプション:
2024-06-10
:

"2024-06-10"

レスポンス

200 - application/json
id
string
必須

The ID of the voice.

is_public
boolean
必須

Whether the voice is publicly accessible.

name
string
必須

The name of the voice.

description
string
必須

The description of the voice.

created_at
string<date-time>
必須

The date and time the voice was created.

embedding
number<double>[]
必須

A 192-dimensional vector (i.e. a list of 192 numbers) that represents the voice.

language
string
必須

The voice's language, as an ISO 639-1 code (e.g. en, fr, zh)

:

"en"

user_id
string | null

The ID of the user who owns the voice.

country
string | null

The country associated with the voice, as an ISO 3166-1 alpha-2 code when available (e.g. US, GB, FR).

:

"US"