Skip to content

aminanvary/openai-realtime-voice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI Realtime Voice

A web application that allows users to interact with OpenAI's latest GPT Realtime model using WebRTC for speech-to-speech conversations.

Features

  • Realtime speech-to-speech conversations with OpenAI's GPT Realtime model
  • Support for OpenAI's exclusive voices (Cedar and Marin)
  • Dark/light theme toggle
  • Conversation history display
  • Connection status indicators
  • Persistent user preferences
  • Low-latency audio streaming with WebRTC
  • Direct audio input/output support

Getting Started

Prerequisites

  • An OpenAI API key with access to the GPT Realtime model
  • A modern web browser that supports WebRTC

Usage

  1. Visit the live demo or host the application yourself
  2. Enter your OpenAI API key
  3. Choose a voice for the AI responses (Cedar or Marin)
  4. Click "Start Conversation" to begin
  5. Speak naturally to interact with the AI in realtime
  6. Click "Stop" when you're finished

Privacy

This application runs entirely in your browser. Your OpenAI API key and conversations are not stored on any server and are only used to communicate with OpenAI's API.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • OpenAI for providing the realtime voice API
  • WebRTC for enabling browser-based audio streaming

About

A web application for realtime voice conversations with OpenAI's GPT Realtime model using WebRTC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages