Adjust the talking speed of the assistant.
# support
s
I want to adjust the speed of the assistant when the assistant talks. How can I configure it through the api? @Vapi
v
message has been deleted
@Shrey Certainly! To adjust the speed at which the assistant speaks, you can modify the speech synthesis settings. This is typically done by adjusting the rate parameter in the text-to-speech (TTS) configuration. If you're using VAPI, you would look for a setting related to speech rate or speed in the voice configuration options. If you have access to the API settings, you would typically send a request with the desired speech rate parameter. The exact field and value might depend on the specific API you're using, but it's often a numerical value or a percentage indicating the speed relative to the normal rate. For example, if the normal rate is 1x, setting it to 1.5x would increase the speed by 50%, while setting it to 0.75x would decrease the speed by 25%. If you need assistance with the specific API call or finding the right parameter, please let me know the details of your current setup or the API you're using, and I can provide more precise instructions.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
I am using 11labs voice provider. I want that the assistant should talk slowly. @Vapi
v
@Shrey To adjust the speaking rate of the assistant using the 11Labs voice provider, you would typically need to modify the speech rate parameter in the API request. However, since we are using playht as the provider and Jennifer as the voice, we will focus on that setup. For playht, you would adjust the
speed
parameter in your API request. Since you want the assistant to talk more slowly, you would set this parameter to a value less than 1.0 (which is the default normal speed). For example, setting it to 0.75 would make the speech 25% slower than the normal rate. Here's a general example of how you might adjust the speed in an API request:
Copy code
json
{
  "text": "Your text to be spoken here.",
  "voice": "Jennifer",
  "provider": "playht",
  "speed": 0.75 // Adjust this value to control the speed
}
Please replace "Your text to be spoken here." with the actual text you want the assistant to speak. If you need help with the specific API call or constructing the request, please let me know, and I can assist you further.
s
@Vapi there i no option for speed
@User there is no option for speed
18 Views