Localize Voice

POST

Headers

Auth
X-API-KeystringRequired
Cartesia-Version"2024-06-10"RequiredDefaults to 2024-06-10

Request

This endpoint expects an object.
embeddinglist of doublesRequired

A 192-dimensional vector (i.e. a list of 192 numbers) that represents the 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_gender"male" or "female"Required
Allowed values: malefemale
dialectenumRequired
Allowed values: auinsoukus

The dialect to localize to. This is only available when language is set to English.

Options: Australian (au), Indian (in), Southern American (so), UK (uk), US (us).

Response

This endpoint returns an object.
embeddinglist of doubles

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