← all repositories

cameronking4/openai-realtime-api-nextjs

A Next.js starter template for building voice AI applications using OpenAI's Realtime API via WebRTC.

443 stars TypeScript Chat AssistantsAgents
openai-realtime-api-nextjs
Velocity · 7d
+0.8
★ / day
Trend
steady
star history

This project provides a WebRTC-based voice streaming application that integrates OpenAI’s Realtime API with a Next.js 15 frontend. It includes a React hook that abstracts WebRTC handling for OpenAI connections, UI components with shadcn/ui and Tailwind styling, and tool-calling functionality with six example functions like getCurrentTime and launchWebsite. The application supports localization across English, Spanish, French, and Chinese.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.