https://retellai.com/?utm_source=discord&utm_medium=seo logo
can I slow down how fast an agent speaks in genera...
# ❓・ai-evy-support
k
@AI Evy can I slow down how fast an agent speaks in general?
a
Thanks for tagging me @krudy. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can control how fast an agent speaks using the
voice_speed
parameter. [(1) ]() [(2) ]() [(3) ]() [(4) ]() [(5) ]() The
voice_speed
parameter controls the speed of voice with values ranging from [0.5, 2]. A lower value means slower speech, while a higher value means faster speech rate. If unset, the default value of 1 will apply. Here's how to set it when creating an agent:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
 response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
 voice_id: '11labs-Adrian',
}) ;
[(4) ]() To slow down the speech, set
voice_speed
to a value less than 1 (e.g., 0.7 for slower speech) when creating or updating your agent. [(1) ]() [(2) ]() [(4) ]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy if my agent is already created where do I access voice_speed ?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer If your agent is already created, you can update the
voice_speed
parameter using the Update Agent API. [(1) ]() The
voice_speed
parameter controls the speed of voice with values ranging from [0.5, 2]. Lower values mean slower speech, while higher values mean faster speech rate. If unset, the default value of 1 will apply. To update an existing agent's voice speed, you would make a PATCH request to update the agent with the new
voice_speed
value.
​ To learn more, see the sources I considered: [[1] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy I had a call where the agent spoke a lot faster than usual with making any updates to the speed
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer I understand you experienced unexpected faster speech during a call. While the
voice_speed
parameter controls speech rate (ranging from [0.5, 2], with 1 as default) , [(1) ]() [(2) ]() [(3) ]() there are a few factors that could cause variations in speech speed even without explicit updates: Potential causes: 1. Voice model variations - Different voice models may have slight natural variations in pacing. The agent uses the
voice_model
setting (like
eleven_turbo_v2
,
eleven_flash_v2
, etc.) , [(1) ]() [(3) ]() and some models may produce slightly faster or slower speech inherently. 2. Text normalization - If
normalize_for_speech
is enabled, the system converts numbers, currency, and dates to spoken form before audio generation, which could affect perceived pacing. 3. Responsiveness setting - The
responsiveness
parameter (ranging from [0,1]) controls how quickly the agent responds. Higher values mean faster exchanges, which might make the overall conversation feel faster-paced. To verify your current settings: You can check your agent's current
voice_speed
value by retrieving the agent configuration. The default is 1 if unset. [(1) ]() [(2) ]() [(3) ]() To ensure consistent speech speed: Set an explicit
voice_speed
value when updating your agent. For slower speech, use values less than 1 (e.g., 0.8) . [(1) ]() If the issue persists with a veri
fied
voice_speed
setting, it could be related to the specific voice provider's performance during that call. The troubleshooting guide mentions that minimizing latency sometimes involves changing to a faster TTS system, [(4) ]() which suggests TTS providers can have variable performance characteristics. Would you like help checking your agent's current configuration or adjusting the
voice_speed
parameter? **
​ To learn more, see the sources I considered: [[1] Update Agent](https://docs.retellai.com/api-references/update-agent) [[2] List Agents](https://docs.retellai.com/api-references/list-agents) [[3] Create Agent](https://docs.retellai.com/api-references/create-agent) [[4] Troubleshooting AI Voice Agent Issues | Retell AI](https://www.retellai.com/blog/troubleshooting-common-issues-in-voice-agent-development) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy how can I know which voice speed value an agent currently has?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer You can retrieve the current
voice_speed
value of an agent by using the Get Agent API. [(1) ]() Here's how to retrieve an agent's configuration, including the
voice_speed
value:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(agentResponse.agent_id) ;
The response will include the
voice_speed
parameter along with all other agent configuration settings. The
voice_speed
value ranges from [0.5, 2], with lower values meaning slower speech and higher values meaning faster speech rate. If the parameter was never explicitly set, the default value of 1 will be returned.
​ To learn more, see the sources I considered: [[1] Get Agent](https://docs.retellai.com/api-references/get-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.