メインコンテンツへスキップ
POST
/
voices
/
localize
Localize Voice
curl --request POST \
  --url https://api.cartesia.ai/voices/localize \
  --header 'Cartesia-Version: <cartesia-version>' \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "voice_id": "<string>",
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "user_id": "<string>",
  "is_public": true,
  "name": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "language": "en"
}

承認

X-API-Key
string
header
必須

ヘッダー

Cartesia-Version
enum<string>
必須

API version header.

利用可能なオプション:
2024-11-13
:

"2024-11-13"

ボディ

application/json
voice_id
string
必須

The ID of the voice to localize.

name
string
必須

The name of the new localized voice.

description
string
必須

The description of the new localized voice.

language
enum<string>
必須

Target language to localize the voice to.

Options: English (en), German (de), Spanish (es), French (fr), Japanese (ja), Portuguese (pt), Chinese (zh), Hindi (hi), Italian (it), Korean (ko), Dutch (nl), Polish (pl), Russian (ru), Swedish (sv), Turkish (tr).

利用可能なオプション:
en,
de,
es,
fr,
ja,
pt,
zh,
hi,
it,
ko,
nl,
pl,
ru,
sv,
tr
original_speaker_gender
enum<string>
必須
利用可能なオプション:
male,
female
dialect

Only available when language is set to English (en). Options: Australian (au), Indian (in), Southern (so), British (uk), or American (us).

利用可能なオプション:
au,
in,
so,
uk,
us

レスポンス

200 - application/json
id
string
必須

The ID of the voice.

user_id
string
必須

The ID of the user who owns 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.

language
string
必須

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

:

"en"