cURL
curl --request POST \ --url https://api.trillet.ai/v1/api/voices \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "name": "<string>", "description": "<string>", "embedding": {}, "language": "<string>" } '
{ "_id": "665a1b2c3d4e5f6a7b8c9d0e", "name": "Custom Sales Voice", "description": "Professional sales voice", "language": "en", "workspaceId": "664a1b2c3d4e5f6a7b8c9d0e", "createdAt": "2024-06-01T09:00:00.000Z" }
Create a custom voice using a voice embedding.