OpenAI Realtime API Demos

This page shows demos of the OpenAI Realtime API, which makes it easy to build realtime voice and text AI applications. The demos are written in plain HTML and JavaScript, with no dependencies other than the Realtime API; click the GitHub link below to view the source code. Patches and issues welcome!

Note that the demos require an OpenAI API key, which you can get here.

🤖 Voice Agent Demo Lets you chat with a simple voice agent.
📓 Voice to Text Agent Demo Lets you chat with an agent that listens to voice and replies with text.
📝 Transcription Demo Transcribes mic or audio file input.
🔁 Loopback Demo Echoes back what you say after applying noise reduction.
🎨 Image Generation Demo Demonstrates how to generate images from a voice conversation.
🧑‍💻 Vibe Coding Demo Demonstrates how to delegate to a reasoning model for code generation.