Clone Voice (Clip)

POST

Clones a voice from an audio clip uploaded as a file. The clip is uploaded using multipart/form-data with a clip field containing the audio file.

Headers

Auth
X-API-KeystringRequired
Cartesia-VersionstringRequired

The version of the Cartesia API to use.

Request

This endpoint expects a multipart form containing a file.
clipfileRequired
enhancebooleanOptional

Whether to enhance the audio before cloning the voice. Defaults to true.

Response

This endpoint returns an object.
embeddinglist of doubles