🎬 TrailMixer – AI-Powered Trailer Generator
🚀 Inspiration
Movie directors, advertisers, and creators like Hack the 6ix need fast, high-quality videos to promote and recap their products/events. TrailMixer automates the video-making process using AI.
⚙️ What It Does
- Upload batches of raw (messy) video content
- Specify video duration and music style
- AI picks the most meaningful clips out of the batch
- Stitches the clips together and adds matching music based on sentiment analysis to create a polished trailer
- Similar to iMovie, the user can continue to edit with a built-in video editor by moving around media files, shrinking and expanding them with ease.
🛠️ Tech Stack
Frontend: React, TypeScript, ShadCN Backend: Python, FastAPI APIs:
TwelveLabs– video analysis via prompt engineeringFFmpeg– stitching video and music
⚡ Challenges
- Prompt engineering: No strict output format — solved with embedded JSON examples
- FFmpeg quirks: Unstable Python wrappers required manual debugging
- API limits: TwelveLabs rate-limited to 50 requests — used multiple keys and shared docs to manage -Building from scratch This is some of our members' first hackathon, and we managed to build an AI pipeline and video editor from the ground up.
✅ What We're Proud Of
- Learned new tools like TwelveLabs and FFmpeg
- Built a full-stack AI-powered app and understood the whole process (https://miro.com/app/board/uXjVJcA7HWY=/?share_link_id=914689440504)
- Completing our project while hitting up all the workshops, touching grass, and exploring YorkU
📚 What We Learned
- Working with multimodal media (video + audio)
- Prompt engineering is tricky — we barely scratched the surface!
- How to convert from seconds to pixels⁉️
🔮 What’s Next
- Add sound effects
- Integrate with external music APIs
Built With
- fastapi
- ffmpeg
- javascript
- python
- tailwind
- twelvelabs
- typescript
Log in or sign up for Devpost to join the conversation.