When creating an assistant using the api, is there...
# support
b
Or will it default to vapi voice if no voice object is supplied?
v
Based on the documentation, I can see that the
voice
parameter is optional when creating an assistant through the API, but I don't have clear information about what happens when no voice object is supplied. Would you like me to find out specifically: 1. If there is a dedicated "Vapi voice model" option available when creating assistants 2. What default voice (if any) is used when no voice object is provided in your API request This will help me provide you with the most accurate information about voice configuration options. Sources: - [Create Assistant API Reference](https://docs.vapi.ai/api-reference/assistants/create-assistant) - [Assistants Documentation](https://docs.vapi.ai/assistants) - [Voice Widget Example](https://docs.vapi.ai/examples/voice-widget)
b
Yes please find out
k
When creating an assistant, you can specify the VAPI voice by including a voice object like this: "voice": { "provider": "vapi", "voiceId": "Elliot" // or any other VAPI voice } \### Default Behavior If no voice object is supplied when creating an assistant: \- The system will not automatically default to a VAPI voice \- Based on the API schema, the default appears to be PlayHT's "jennifer" voice This is visible in the assistant types definition where it shows: @default {"provider":"playht","voiceId":"jennifer"} However, when creating assistants through templates in the codebase, VAPI is often used as the default provider with code like: voice: { provider: VOICE_PROVIDERS.VAPI, voiceId: VOICE_PROVIDERS_CONFIG\[VOICE_PROVIDERS.VAPI\].defaultVoiceId, // This resolves to "Elliot" } \## Conclusion To directly answer your questions: 1\. Yes, there is an option to use VAPI voice models with assistants through the API 2\. No, it will not default to VAPI voice if no voice object is supplied - it appears to default to PlayHT's "jennifer" voice unless specified otherwise For best results, I recommend explicitly specifying the voice provider and voiceId when creating an assistant to ensure you get the exact voice you want.