Localize Voice

POST

Headers

Auth
X-API-KeystringRequired
Cartesia-Version"2024-06-10"Required

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
dialectenumOptional

The dialect to localize to. Only supported for English (en).

Response

This endpoint returns an object.
embeddinglist of doubles

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

Built with