Simple in-browser demo of chat with AI voice responses. This project DOES NOT include a backend, all requests (transcription, chat completion, and audio synthesis) are made directly from the browser.
- Node / NPM
- OpenAI Account
- Eleven Labs Account (Optional)
- Clone the repo
- Run
npm install
- Create a
.env
file in the root directory - Add the following to the
.env
file
# Required
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
# Optional
ELEVEN_LABS_API_KEY=YOUR_ELEVEN_LABS_API_KEY
ELEVEN_LABS_VOICE_ID=YOUR_ELEVEN_LABS_VOICE_ID
- Run
npm run start
to start the server
This is a proof of concept and is not intended for production use. It is not secure and should not be used in a production environment. It is not intended to be used for any malicious purposes. Use at your own risk.
DO NOT EXPOSE THIS OVER A NETWORK