1. Suggested Realtime instructions
These instructions are applied when minting the ephemeral session (and again via session.update via startByoSpeech) so Anna matches the coffee-barista
scenario.
2. Connect OpenAI, then start the player
Paste your OpenAI API key, click Connect, then tap Start experience on the avatar. This app’s API route mints an ephemeral Realtime client secret (demo-only — use a real backend in production).
This demo uses Realtime WebSocket so PCM + transcript map onto createUtterance (same pattern as ElevenLabs). For WebRTC, see the OpenAI BYO docs.