Department of Science, Technology and MathematicsScience, Technology, and Mathematics

OpenAI API: Building Front-End Voice Apps with the Realtime API and WebRTC

With OpenAI’s Realtime API, you can build a custom real-time voice-to-voice AI chat into any front-end web app or other app through WebRTC. In this course, you’ll explore how the Realtime API works, see how to set up a secure WebRTC connection with ephemeral tokens, and get hands-on examples of how to add custom real-time AI chat with voice, text, and function calling into any web app using JavaScript.

Learn More