cURL
curl --request POST \ --url https://api.vachana.ai/api/v1/tts/voice-clone/embeddings \ --header 'Content-Type: multipart/form-data' \ --header 'X-API-Key-ID: <x-api-key-id>' \ --form audio_file='@example-file'
{ "success": true, "message": "Voice embeddings generated successfully", "data": { "voice_clone_embedding": { "embedding": "<string>", "shape": [ 1, 768 ], "dtype": "torch.bfloat16" } } }
Generate voice clone embeddings from an audio file.
API Key ID for authentication
The audio file to generate embeddings for
Voice embeddings generated successfully
true
"Voice embeddings generated successfully"
Show child attributes
Was this page helpful?