Localize Voice

Create a new voice from an existing voice localized to a new language and dialect.

Headers

X-API-KeystringRequired
Cartesia-Version"2024-11-13"Required

Request

This endpoint expects an object.
voice_idstringRequired

The ID of the voice to localize.

namestringRequired

The name of the new localized voice.

descriptionstringRequired

The description of the new localized voice.

languageenumRequired

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).

original_speaker_genderenumRequired
Allowed values:
dialectenumOptional

The dialect to localize to. Only supported for English (en), Spanish (es), Portuguese (pt), and French (fr).

Response

This endpoint returns an object.
idstring

The ID of the voice.

user_idstring

The ID of the user who owns the voice.

is_publicboolean

Whether the voice is publicly accessible.

namestring

The name of the voice.

descriptionstring

The description of the voice.

created_atdatetime

The date and time the voice was created.

languageenum

The language that the given voice should speak the transcript in.

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