Playht Style Guidance JSON?
# support
s
Here's how I'm trying to get the style guidance to change, but I don't have it right:
Copy code
"assistant": {
    "name": "Sarah",
    "voice": {
        "voiceId": "jennifer",
        "provider": "playht",
         "styleGuidance": {
            "style": 18
        }
    },
    "model": {
        "model": "gpt-4o",
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]() * [Voice Widget Example]() -----------------------------
### Answer It looks like you're trying to configure the voice style for an assistant using PlayHT in the JSON configuration. However, based on the information provided in the documentation sources at my disposal, there's no specific guidance or detailed schema available for setting 'styleGuidance' with PlayHT through Vapi. The official documents typically cover basic configuration like setting the voice provider and voice ID, but they do not delve into advanced voice styling parameters like 'styleGuidance'. For configuring basic voice properties, the typical structure involves specifying the provider and voice ID as part of the voice properties in your assistant’s configuration. Here's an example of how you might set up a voice using PlayHT correctly:
Copy code
json
{
    "voice": {
        "provider": "playht",
        "voiceId": "jennifer"
    }
}
If you need to implement more advanced voice styling and it is supported by PlayHT, I recommend checking directly with PlayHT's documentation or their customer support for more detailed guidance on using specific features like
styleGuidance
. For now, ensure that your basic assistant setup, including the model configuration, is correct and follows the standards provided in the documentation [(1)]() .
s
styleGuidance: 18 You need to add it directly like this. You don't need to add an additional object.
v
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
2 Views