OpenAI API: Building Voice Apps with the Realtime API (October 2024)
53mGeneral2024-10-10
Authors

Morten Rand-Hendriksen
Senior Staff Instructor, Speaker, Web Designer, and Software Developer
Course details
The Realtime API from OpenAI gives you the tools and materials needed to integrate latency-free voice-to-voice interaction in your AI apps while leveraging existing features like function calling, memory, and more. In this course you’ll get an introduction to the Realtime API, a rundown of the documentation and provided examples, and hands-on practice building your own advanced voice- and text-powered AI app with function calling.
Learning objectives
Understand what the Realtime API is and what it can do.
Use the Realtime API to activate voice-to-voice interaction.
Configure the Realtime API with different voices and different instructions.
Build a React app with voice features and server-based AI integration for security.
Learning objectives
Understand what the Realtime API is and what it can do.
Use the Realtime API to activate voice-to-voice interaction.
Configure the Realtime API with different voices and different instructions.
Build a React app with voice features and server-based AI integration for security.
Skills covered
OpenAI APITelecommunicationsAPIsOpenAIGenerative AIFull-Stack Web DevelopmentArtificial Intelligence (AI)Web DevelopmentNetwork and System AdministrationSoftware DevelopmentOne-Off
Concepts
Introduction
- Add voice-to-voice interaction to any app
- Caution - Voice costs and spend limits
Voice Chat and the Realtime API
- Introducing the Realtime API
- Testing the Realtime API in the Playground
- Configuring the Realtime API's responses
- Documentation and examples
Exploring the Realtime API
- Introducing the OpenAI Realtime Console
- Setting up the Realtime Console
- Exploring the API through the console
- Using a relay server for secure key handling
- Voice-enabled function calling
- Getting the system to store information
- Configuring voice and instructions
- Realtime API - Key concepts
- The Azure Realtime audio SDK
Conclusion
- Tips for talking to machines