
Case study
Neurox: AI-Powered Voice Call Prototype
A voice-call prototype connecting a custom-message web interface, Twilio outbound calls, and ElevenLabs speech generation through a Node.js server.
Voice Integration Prototype ยท Twilio and ElevenLabs
I built Neurox to connect a message entered in a web interface with an outbound phone call that speaks it using an AI-generated voice. The project combines telephony and speech-generation APIs into a small, focused application.
From Text to a Phone Call
The workflow starts with a phone number and custom message:
- The server initiates an outbound call through Twilio and associates the message with that call.
- When the call's media connection starts, the server requests speech from ElevenLabs.
- The generated audio is sent through a WebSocket connection for playback in the call.
The prototype requests telephony-compatible audio and collects the generated response before sending it. Its implemented scope is custom-message playback.
Prototype Stack
- Node.js, TypeScript, and Express: Request handling and coordination between services.
- Twilio: Outbound calling and the call's media connection.
- ElevenLabs: Text-to-speech generation.
- WebSockets and ngrok: Audio delivery and a reachable endpoint during local development.
This project brought the API boundaries into one workflow: web input, call setup, speech generation, and audio playback.