Frontend for InterVideo: live AI avatar conversation with real-time animation, speech recognition, and video recording. Works with the InterVideo Pipeline backend for CV/JD-driven interview generation.
- Live avatar animation from a single photo using MediaPipe face landmarks
- Real-time conversation with AI (speech-to-text → LLM → text-to-speech with viseme sync)
- Local recording to WebM format (480p, audio + video mixed)
- Persistent memory via JSONL transcripts and rolling summaries
- No local AI models – runs on any modern laptop from ~2020+
Backend: Node.js 26.x + TypeScript
Frontend: Vite + vanilla TypeScript + Canvas 2D
STT: Deepgram Flux
LLM: OpenAI gpt-5.4-nano (Responses API)
TTS + Visemes: Azure Cognitive Services Speech
Face Animation: MediaPipe Face Landmarker
-
Install dependencies
npm install
-
Set up API keys in
.envDEEPGRAM_API_KEY=<your-key> OPENAI_API_KEY=<your-key> AZURE_SPEECH_KEY=<your-key> AZURE_SPEECH_REGION=<region> -
Start the dev server
npm run dev
-
Open
http://localhost:5173in Chrome or Edge
$0.016 per conversation minute ($0.95/hour). Deepgram new accounts get $200 credit.
- Chrome or Edge (current version)
- 2+ CPU cores, 8GB RAM
- ~0.5–1 GB disk per hour of recording
- API keys for Deepgram, OpenAI, and Azure Speech
Part of InterVideo monorepo. See /meta/brief.md for full system architecture. Pipeline backend lives at /pipeline/.
Expect ~1–3s turn latency. Use only photos you own or have consent for.