Nathan
11/26/2025, 2:35 PMVapi Support Bot
11/26/2025, 2:36 PMNathan
11/26/2025, 2:47 PMNathan
11/26/2025, 3:36 PMVapi Support Bot
11/26/2025, 3:41 PMChiranjeet Mishra
11/28/2025, 12:52 AMjson
{
"voice": {
"provider": "custom-voice",
"server": {
"url": "https://your-tts-api.com/synthesize",
"credentialId": "cred_tts_auth_123",
"timeoutSeconds": 30
}
}
}
3. **Build your TTS Server**:
- Validate incoming requests to ensure they contain the correct fields.
- Generate and return audio in the required PCM format.
- Use a Node.js implementation if needed. Example server code can be found [here](https://docs.vapi.ai/customization/custom-voices/custom-tts).
4. **Testing**:
- Test your TTS endpoint directly.
- Create a test call using VAPI's API to check integration.
5. **Troubleshooting Common Issues**:
- Ensure you match audio format specifications: raw PCM, mono, 16-bit, little-endian at the exact requested sample rate.
- Address any symptoms of network or processing delays by optimizing server performance and checking configurations.
For more detailed instructions, refer to the [Custom TTS integration guide](https://docs.vapi.ai/customization/custom-voices/custom-tts).