inworld
# support
n
Hello, when I select inworld, I dont see where I can insert my custom voice in there (clone of my voice)
v
To use your custom (cloned) voice with the Inworld provider in Vapi, set the
voice
property in your assistant configuration like this:
Copy code
json
{
  "voice": {
    "provider": "inworld",
    "voiceId": "your-custom-voice-id"
  }
}
Replace
"your-custom-voice-id"
with the ID of your cloned voice. This allows you to use your custom voice with Inworld in Vapi as described in the documentation. Source: - [Custom voices documentation](https://docs.vapi.ai/customization/custom-voices/custom-voice)
n
is there a way to do this in the interface
or can you provide the full python code
z
To use your cloned voice, you need to set it in the assistant configuration via JSON or the API like this: { "voice": { "provider": "inworld", "voiceId": "your-cloned-voice-id" } } Replace "your-cloned-voice-id" with the actual voice ID from your Inworld account. If you prefer using Python to update the assistant, here’s an example: import requests VAPI_API_KEY = "your-vapi-api-key" ASSISTANT_ID = "your-assistant-id" url = f"https://api.vapi.ai/assistant/{ASSISTANT_ID}" headers = { "Authorization": f"Bearer {VAPI_API_KEY}", "Content-Type": "application/json" } payload = { "voice": { "provider": "inworld", "voiceId": "your-cloned-voice-id" } } response = requests.patch(url, json=payload, headers=headers) print(response.json())
You can check out above message
c
Looks like a UI limitation for this provider, adding custom ID not supported in dashboard, you can make a PATCH API call to assistant to update, the code Zayan shared above will work in python too. Reference - https://docs.vapi.ai/api-reference/assistants/update
z
yes it work in python too