Voice settings emotion settings?
# support
s
How do we set the emotion?:
Copy code
"voice": {
        "voiceId": "jennifer",
        "provider": "playht",
        "emotion": Female Happy,
        "styleGuidance": 29
I'm trying to enable female happy emotion
v
Hi @Sajitsu, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Dashboard]() * [Web Calling]() * [Inbound Calling]() * [Outbound Calling]() -----------------------------
### Answer Currently, the Vapi documentation does not explicitly detail the configuration of emotions, such as setting an "emotion" or "styleGuidance" for voice properties in its API. The available documentation focuses on settings like the
voiceId
and
provider
, but does not include attributes for directly modifying emotion states in the voice output [(1)]() . For implementing specific voice tones or emotions, you might typically need to consult the documentation or support for the specific Text-to-Speech (TTS) provider you are using (in this case, PlayHT) to see if they offer these capabilities and how they can be integrated with Vapi. If PlayHT supports emotional speech synthesis, you would need to set these configurations on their platform or within their specific API parameters, and then integrate these configurations with Vapi as part of the voice setup in your assistant configuration.
Copy code
json
"voice": {
    "provider": "playht",
    "voiceId": "jennifer",
    "additionalSettings": {
        "emotion": "happy",
        "styleGuidance": 29
    }
}
Note: The
additionalSettings
field is hypothetical and represents where you might include such settings if supported by PlayHT. You would need to confirm the exact field names and values with PlayHT's API documentation or support team. For accurate implementation and further assistance, please refer to the specific TTS provider’s documentation or reach out to their support team.
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
4 Views