Neurox: AI-Powered Voice Call Prototype

Case study

Neurox: AI-Powered Voice Call Prototype

engineeringprototypeBy Jackson Barnes

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.

View the Source on GitHub โ†—

From Text to a Phone Call

The workflow starts with a phone number and custom message:

  1. The server initiates an outbound call through Twilio and associates the message with that call.
  2. When the call's media connection starts, the server requests speech from ElevenLabs.
  3. 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.