Vapi
Use Hume as a text-to-speech (TTS) voice provider in your Vapi assistant.
Use Hume as a text-to-speech (TTS) voice provider in your Vapi assistant.
Vapi is a developer platform for building AI voice assistants that run over phone and web. It handles the full voice stack, including telephony, real-time audio streaming, and speech synthesis. You can configure assistant behavior directly in the Vapi dashboard.
Vapi includes built-in support for Hume’s text-to-speech (TTS) service. When creating an assistant, you can select a Hume voice from the Voice Library or provide a custom voice ID. Vapi manages all backend communication with Hume and handles audio formatting automatically.
To use Hume voices in Vapi, you need:
You don’t need to call the Hume API or manage authentication. Vapi handles all communication with Hume behind the scenes. A Hume API key is required for Vapi to access voices created on your Hume account. Visit the Integrations page of the Vapi dashboard to set your Hume API key.
In the Voice section of the Vapi dashboard, set the voice provider to Hume.
You can then choose a voice in one of two ways:
Vapi uses this selection to request audio from Hume during each assistant response. No additional configuration is required beyond selecting the voice.
Custom Hume voice IDs may fail in the Vapi dashboard. Vapi’s website currently can’t accept custom Hume voice IDs, so you may see an error or the UI may default back to a Voice Library voice. In that case, use the Vapi API to set the custom voice ID directly.
Vapi currently defaults Hume voices in the UI to Voice Library options. If you need a custom Hume voice ID, follow the steps below to update or create an assistant via the Vapi API.
Replace the REPLACE_ME values before running these commands in your terminal.
Replace the REPLACE_ME values before running these commands in your terminal.
Vapi token = Vapi API key. You can find it in the Vapi dashboard at dashboard.vapi.ai.
Vapi allows you to control when the assistant starts and stops speaking in response to the user. These settings can be adjusted in the Speech configuration section of the assistant dashboard.
The two primary options are:
These settings let you tune the assistant’s responsiveness and interruptibility based on your use case. Refer to Vapi’s speech configuration documentation for detailed configuration options.
You can validate your assistant’s voice configuration using the built-in testing tools in the Vapi dashboard.
To confirm that a Hume voice is working as expected:
If your assistant is not responding with a Hume voice as expected, check the following:
firstMessage and firstMessageMode are configured. Check your assistant settings to ensure these are set.Use the Vapi dashboard’s developer tools and session logs to investigate any errors related to voice selection or playback.
Get started with Vapi’s guide for building voice assistants that can make and receive phone calls.
Learn how to build and deploy voice assistants for the web using Vapi.
Configure how your assistant starts and stops speaking during a conversation.
Explore Hume’s voice capabilities, including voice design and voice cloning.