Experience the power of AI with this free AI voice generator demo. Utilizing Deepgram and Groq, we transform text into voice seamlessly. This repository contains a simple and efficient implementation
Browse by type
This is a simple version of OpenAI's voice functionality using free APIs. This demo lets you talk, listen, and converse with LLMs.
Original blog post is here: - Blog: Blog Post Youtube video explainer is here: YouTube Video
Feel free to play around!
You might want to edit all the prompts to change the tone of the response.
The architecture is simple, Voice -> Text -> LLM -> Text -> Voice. Rag and all sorts of fun creative things can be used to spice up the LLM.
You'll probably want to switch out SpeechRecognition for Whisper AI if you want non-chrome APIs or something more stable.
There is a lot of investment needed in handling state in the AudioPlayer, not necessary for this demo.
Playing with the prompts and context going to Groq is the key for personalisation.
Contact me for feedback!
I built a demo where you can:
Play the generated audio response in the browser.
NextJS: ★★★★★ - Wonderful technology, simplifies client and server-side development.
Edward Ejb503, Tying Shoelaces Blog
$ claude mcp add --transport http codehub https://codehub.bot/mcp
One hosted endpoint, no key: your agent can search, read and trace Ejb503/ai-voice-generation and every other graph here. Cursor, Windsurf and other clients →