Andrew Lowe
09/06/2024, 6:34 AMVapi
09/06/2024, 6:35 AM__experimental_controls
parameter, you can utilize these features by including the necessary controls in your API requests to VAPI, provided that VAPI supports passing custom parameters to the voice provider's API.
If you're looking to include these controls in your requests and can't find the option in the VAPI interface, you might need to do this programmatically by editing the API request payload to include the __experimental_controls
parameter with the desired settings for speed and emotion.
If you need assistance with how to format your request or if you're unsure whether VAPI allows passing these custom parameters, please ask support for more info on this. They can provide you with detailed instructions or inform you about any updates that might have introduced these features directly in the VAPI interface.Vapi
09/06/2024, 6:35 AMAndrew Lowe
09/06/2024, 7:09 AMAndrew Lowe
09/06/2024, 7:14 AMVapi
09/06/2024, 7:14 AM__experimental_controls
in your API calls.
When you're constructing an API request to VAPI, you can typically include custom parameters in the JSON payload of your POST request. Here's a general example of how you might structure your request with custom parameters:
json
{
"voiceProviderOptions": {
"__experimental_controls": {
"speed": "fast",
"emotion": "happy"
}
},
// ... other necessary parameters for your API call
}
In this example, voiceProviderOptions
is a hypothetical object where you can specify provider-specific options, such as Cartesia AI's __experimental_controls
. Please note that the actual structure and the name of the object where you include custom parameters may vary based on VAPI's implementation.
To include these custom parameters in your VAPI calls, you would need to refer to VAPI's official documentation or contact their support team to get the exact details on how to structure your request. They will provide you with the correct field names and the expected format for including such custom parameters.
If VAPI supports passing through custom parameters to the voice provider, following their documentation will allow you to adjust the speed and emotion of the voice as supported by Cartesia AI. If you're unable to find this information in the documentation or if you're unsure about the process, please reach out to VAPI's support team for further assistance. They will be the best resource for providing you with accurate and up-to-date information on how to use their API to its fullest potential.Shubham Bajaj
09/06/2024, 12:18 PM