Skip to content

CerebriumAI/realtime-ai-commentator

Repository files navigation

Realtime AI Commentator

A demo application showing how to build a realtime AI sports commentator using Cerebrium, LiveKit and Cartesia.

This repo contains the code for creating an AI-powered sports commentator that can analyze and provide commentary on basketball games in realtime. It demonstrates:

  • Video streaming and synchronization using LiveKit
  • Computer vision-based player and ball tracking with Cartesia
  • AI commentary generation using Cerebrium
  • React frontend for video playback and commentary display

Getting Started

  1. Create a .env file in the root directory and populate it with the required environment variables
  2. Install dependencies using npm install
  3. Run the application using npm run dev