OpenAI
Use OpenAI for text-to-speech in Vapi.
OpenAI provides text-to-speech for Vapi voice agents.
You can use OpenAI through Vapi’s default integration, or connect your own account in Integrations.
Supported capability
Text-to-speech
Set voice.provider to openai, voice.model to a TTS model (tts-1, tts-1-hd, or gpt-4o-mini-tts), and voice.voiceId to a voice. Browse and copy a voice’s ID from the Voice Library; the default voice is alloy.
For additional API configuration options, review the OpenAIVoice fields in the Create Assistant API reference.