A real-time voice AI demo built with the Iseer Live API. Talk to the Arete-Live model using your microphone and hear it respond with ultra-low latency native audio.
- 🎙️ Real-time Speech-to-Speech — Stream microphone audio directly to Arete-Live and hear responses instantly
- 🔊 Native Audio Output — 24kHz PCM playback with seamless buffering
- 💬 Live Transcriptions — See what you said and what the model said in real-time
- 🛑 Interruption Handling — Interrupt the model mid-sentence naturally, just like a real conversation
- 🎨 Glassmorphic UI — Modern dark-mode interface with animated voice orb visualizer
- 🐛 Built-in Debug Console — Copiable error logs displayed directly in the UI
- Node.js 18+
- An Iseer API Key (
iseer_live_...) — contactdeveloper@iseer.co
git clone https://github.com/GodelEsherBach/iseer-live-api-example.git
cd iseer-live-api-example
npm install
npm run devOpen http://localhost:5173 in your browser, click Connect, and start talking.
Update the API key and WebSocket URL in src/live-client.js:
const wsUrl = 'wss://genai.api.iseer.co?key=iseer_live_YOUR_API_KEY';├── index.html # App shell
├── public/
│ └── audio-processor.js # AudioWorklet for 16kHz PCM capture
├── src/
│ ├── live-client.js # WebSocket client for the Iseer Live API
│ ├── audio-manager.js # Mic capture (16kHz) & PCM playback (24kHz)
│ ├── main.js # UI logic, event handling, debug console
│ └── style.css # Glassmorphic dark-mode styles
└── package.json
- Connect — Opens a WebSocket to
wss://genai.api.iseer.cowith your API key - Setup — Sends a setup message specifying
models/arete-livewith audio response modality - Stream Audio — Captures microphone at 16kHz, chunks into ~100ms segments, and streams as base64 PCM
- Receive Audio — Decodes incoming 24kHz PCM audio chunks and schedules them for gapless playback
- Handle Events — Processes interruptions, transcriptions, turn completions, and errors
For the full Iseer Live API documentation, see the Complete Reference.
| Endpoint | Description |
|---|---|
wss://genai.api.iseer.co |
WebSocket endpoint for real-time sessions |
POST https://api.iseer.co/api/live-connect |
Provisioning API for ephemeral tokens |
Pass your API key as a query parameter or Authorization: Bearer header:
wss://genai.api.iseer.co?key=iseer_live_YOUR_API_KEY
- Vite — Dev server & build tool
- Vanilla JS — Zero framework dependencies
- Web Audio API — AudioWorklet for low-latency mic capture & playback
- WebSockets — Direct connection to the Iseer Live API
MIT — see LICENSE for details.
Need help? Contact
developer@iseer.cofor support.