cURL
curl --request POST \ --url https://api.cartesia.ai/voices/mix \ --header 'Cartesia-Version: <cartesia-version>' \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "voices": [ { "id": "<string>", "weight": 123 } ] } '
{ "embedding": [ 123 ] }
API version header. Must be set to the API version, e.g. '2024-06-10'.
2024-06-10
2024-11-13
2025-04-16
"2024-06-10"
Show child attributes
The ID of the voice.
The weight of the voice or embedding in the mix. If weights do not sum to 1, they will be normalized.
A 192-dimensional vector (i.e. a list of 192 numbers) that represents the voice.