Inspiration
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for AI Guru
๐ AI Guru โ Project Submission Write-up
๐ก Inspiration
Education is drowning in static notes, endless slides, and boring videos that donโt teach โ they just talk. Students want a real teacher: someone who explains, demonstrates, answers doubts, and guides them personally. So we asked: What if every student had an AI-powered teacher who looked real, spoke naturally, and generated fresh video lessons instantly? That idea became AI Guru โ an AI educator that teaches, speaks, gestures, answers doubts, and creates personalized video lectures on any topic.
๐ What it does
AI Guru is a full AI-driven learning system that:
- ๐น Generates personalized video lectures using AI avatars
- ๐น Creates complete scripts, thumbnails, captions, and summaries
- ๐น Offers real-time doubt solving like a live teacher
- ๐น Allows students to choose their AI teacher avatar & voice
- ๐น Stores every lecture online for future playback
- ๐น Gives a smooth, interactive video player with captions & speed control
- ๐น Makes learning faster, visual, and more engaging
In short: You type a topic โ AI Guru generates a high-quality video lecture in minutes.
๐๏ธ How we built it
AI Guru is powered by a multi-layer architecture:
Frontend (Base44)
- Custom React-based UI inside Base44
- Topic input + avatar/voice selection
- Progress tracker (โGenerating Script โ Video Rendering โ Finalizingโฆโ)
- Video player with captions, speed, fullscreen, seek, etc.
Backend Functions
- Script generation using LLM
- HeyGen API for real MP4 generation
- Polling engine for video rendering status
- MP4 download + upload to cloud storage
- Auto-captions generator (.vtt)
- Auto thumbnail generator
- Lecture metadata storage in Firestore
Tech Stack
- Base44 (frontend + backend)
- HeyGen API (AI avatars + video rendering)
- LLM text generation
- Firebase-style storage
- Axios for async requests
- VTT caption generator
Everything is fully automated โ no manual editing, no slides, no templates.
๐งฉ Challenges we ran into
- Getting the video generation API and Base44 backend to communicate reliably
- Handling long script processing delays during video rendering
- MP4 downloads failing due to CORS and binary buffer issues
- Ensuring smooth playback on all devices (Safari required special handling)
- Keeping API keys secure inside Base44 (Secrets only work with backend enabled)
- Auto-generating captions & thumbnails without external tools
- Avoiding slide-based fallback when the video engine fails
Each challenge forced us to refine the pipeline until it became stable and fully automated.
๐ Accomplishments that we're proud of
- Built a fully automatic video lesson generator from scratch
- Integrated HeyGen API flawlessly for AI teacher videos
- Achieved zero slides โ only real MP4 output
- Created end-to-end system: script โ video โ captions โ thumbnail โ player
- Designed a clean UI that feels like an educational version of Instagram
- Implemented real-time doubt solving through AI
Most importantly: We turned raw text into full teaching videos without human editing.
๐ What we learned
- How to integrate video rendering APIs with serverless backend functions
- How to handle asynchronous long-running tasks (video polling)
- How to generate captions programmatically from LLM output
- How to build scalable AI features inside a no-backend platform like Base44
- How to structure clean UX for AI-generated content
- Importance of securing API keys and stable endpoints
We learned that AI video generation is powerful โ but requires careful engineering to feel seamless for students.
๐ฎ Whatโs next for AI Guru
The next upgrade roadmap:
- ๐ค Voice cloning for personalized teachers
- ๐งโ๐ซ Create your own avatar using a selfie
- ๐งช Interactive quizzes automatically generated from the lecture
- ๐ฏ Adaptive learning paths based on student performance
- ๐ฑ Launch mobile app version (Android/iOS)
- ๐ง Fine-tuned subject expert AI models
- ๐๏ธ Community-shared lecture library
- ๐ค Live AI teacher mode (real-time speaking avatar)
AI Guru is just beginning โ the goal is to create the worldโs smartest AI tutor.
Built With
- base44
Log in or sign up for Devpost to join the conversation.