API References
Add your Voice
Add your voice using the Waves API.
POST
Note: The Mintlify web UI currently does not correctly upload files in the API request. Below, we have provided code examples in Python and curl to help you test the API.
Sample cURL Example
Sample Code Example
Here is a Python example using the requests
library:
Replace YOUR_API_KEY
with your actual API key and example.wav
with the path to your audio file.
Authorizations
JWT token for authentication
Path Parameters
The model to which the voice should be added.
Available options:
lightning-large
Body
multipart/form-data
Display name for the voice clone.
Audio file to create voice clone from.