Inspiration
Mood Capsule was born from a simple idea: what if your mood could instantly shape your day? I love how music, art, and recommendations can lift us up, so I imagined an AI that curates it all personalized, fast, and fun. Think Spotify playlists meets mood boards, but smarter, powered by cutting-edge tech to match your vibe.
What it does
Mood Capsule is your AI-powered vibe curator. Enter how you feel say, “excited for a chill weekend” pick a mood color, vibe, and energy level. In seconds, it generates a custom image, a YouTube soundtrack, and tailored recommendations (books, movies, events) based on your input and city. It’s a mood-driven experience, wrapped in a sleek UI.
How we built it
I built Mood Capsule with a React frontend using Material-UI for a vibrant, responsive UI—color gradients and toggles galore. The backend runs on Express.js, stitching together AI magic: Hugging Face’s DistilBERT for mood analysis, Mistral-7B for recommendations, and AI Horde for image generation. Unsplash adds visuals, Axios handles API calls, and dotenv secures keys. It’s a clean frontend-backend split.
Challenges we ran into
The AI was tricky Mistral sometimes spat out unembeddable YouTube links. Image generation via AI Horde took time to stabilize, and syncing the dynamic UI with backend responses meant wrestling with React state and API timeouts. Debugging JSON parsing from AI outputs was a late-night headache too!
Accomplishments that we're proud of
I'm stoked to have a fully functional app in one hackathon! The UI’s a standout—smooth, colorful, and intuitive. Nailing real-time mood analysis with DistilBERT and personalized recs with Mistral feels huge. Plus, the demo video with flickering colors and a tight script looks pro. It’s a vibe I’d actually use myself.
What we learned
I levelled up on integrating multiple AI models DistilBERT’s sentiment chops, Mistral’s text generation, and AI Horde’s art skills. React’s state management clicked deeper, and I got cozy with Express routing and API flows. The big lesson? AI’s unpredictable plan for fallbacks and test like crazy.
What's next for Mood Capsule
Next, I’ll polish the AI tweak Mistral prompts for embeddable links and speed up image generation. A mobile app’s on the horizon, plus user profiles to save capsules. I’d love to add Spotify integration for soundtracks and real event APIs for cities. Mood Capsule could be your daily vibe companion smarter, slicker, and everywhere.
Built With
- aihorde
- api
- axios
- dotenv
- express.js
- huggingface
- javascript
- material
- node.js
- npm
- promptgeneration
- react
- router
- sentimentanalysis
- typescript
- unsplash

Log in or sign up for Devpost to join the conversation.