MLB X Google: AI-Powered Baseball Highlights

Inspiration

Baseball isn’t just a sport—it’s an experience that brings fans together, creating unforgettable moments. Whether it’s a game-winning home run or a spectacular diving catch, these highlights define the essence of the sport. But with countless games happening every season, keeping up with every key moment can be overwhelming.

That’s where MLB X Google comes in. We envisioned an AI-driven platform that enhances fan engagement by delivering personalized, AI-generated highlights in real-time, making it easier than ever for fans to stay connected to the game they love.

What it does

Imagine receiving a curated summary of every game, straight to your inbox. With MLB X Google, users can:

  • Get AI-generated fan highlights & alerts delivered via Gmail.
  • Access multilingual content (text & audio) for a global audience.
  • Create custom match highlights to relive their favorite moments.
  • Filter news articles to stay updated with relevant baseball stories.
  • Enjoy secure access with JWT authentication.

This platform ensures that no fan ever misses a moment—no matter where they are in the world.

How I built it

Bringing this vision to life required integrating multiple AI technologies and tools. I leveraged:

  • Google’s Gemini model for game summarization.
  • Google Cloud services for translation & text to audio in multiple languages.
  • FastAPI & MongoDB for a scalable and efficient backend.
  • React for a seamless and interactive UI.

By combining these technologies, I created a highly responsive and personalized AI-powered baseball experience for fans worldwide.

Challenges I ran into

Building a real-time AI-driven highlights platform wasn’t without its challenges:

  1. Polling for real-time updates: Implementing an efficient mechanism to detect new game updates from the MLB Stats API and process them in real-time.
  2. **Accurate content: ensuring accurate content and prompting the Gemini model to generate an engaging and interesting article about the game.

Accomplishments that I'm proud of

Throughout this journey, I achieved several key milestones:

  • Successfully automated AI-based text highlight generation.
  • Integrated multilingual support for both text and audio, making highlights accessible to fans worldwide.
  • Built an intuitive and user-friendly experience, allowing fans to filter news, personalize match highlights, and receive real-time alerts effortlessly.

What we learned

This project provided valuable insights into AI-driven content personalization and real-time data processing:

  • Multilingual AI models enhance accessibility but demand continuous optimization for accuracy.
  • Personalized content delivery significantly boosts fan engagement and retention.

These learnings will guide me as we take the platform to the next level.

What's next for MLB X Google

My journey doesn’t stop here. I'm excited to expand MLB X Google with new features:

  • Community features where fans can discuss, share, and engage with each other’s highlights.
  • Publicly accessible fan-created highlights, allowing users to contribute and showcase their creativity.
  • Live AI-powered text summaries to deliver instant game insights.
  • A mobile app for an on-the-go, AI-powered baseball experience.

I believe in bringing baseball fans closer to the game—and this is just the beginning!

Built With

Share this project:

Updates