Inspiration
The world of mythical creatures has always captivated human imagination, but what if you could truly interact with them? Inspired by the desire to bring these fantastical beings to life through conversation, and leveraging the power of advanced Voice AI, we created "Fantastic Beasts and Where to Talk to Them." Our goal was to build an immersive experience where users could not only learn about these creatures but genuinely converse with them, each with a distinct and understandable personality.
What it does
Fantastic Beasts and Where to Talk to Them is an enchanting web application that allows you to engage in real-time voice conversations with a diverse array of mythical creatures. Simply click on a creature, and its unique voice will greet you, ready to share its lore, wisdom, or even a playful jest.
Key Features:
Unique, Human-Comprehensible Voices: Each creature (Dragons, Elementals, Reptiles, Aerial, Aquatic, Fae, Beasts) possesses a distinct voice powered by ElevenLabs, carefully configured for clarity and unique personality without being overly exaggerated or difficult to understand.
Examples: Dragons speak with deep authority, Fae with playful lightness, Reptiles with slow wisdom, all while maintaining high comprehensibility.
Interactive Conversations: Engage in dynamic voice chats with your chosen beast, asking questions and receiving spoken responses.
Expressive Audio Experience: Voices are tuned with moderate stability and style settings, ensuring natural, consistent, and expressive speech that enhances the creature's persona.
Robust Audio Controls: Prominent, universally accessible red "STOP AUDIO" buttons (in header, control bar, and per-message) ensure users can easily pause or end conversations at any time, for both ElevenLabs and browser fallback audio.
Seamless Fallback: If ElevenLabs API quota is exceeded, the app gracefully falls back to browser speech synthesis, with a subtle notification, ensuring uninterrupted conversation.
Immersive UI: A beautifully designed, intuitive interface with creature classifications, detailed lore, and visual cues that transport you into a world of magic and mystery.
How we built it
Fantastic Beasts and Where to Talk to Them was built rapidly on Bolt.new, leveraging its capabilities for full-stack web application development and seamless integration with external APIs.
Frontend (UI/UX): Developed using React, the interface is designed for immersion and ease of use. It features a creature selection panel, a dynamic conversation area, and clear visual indicators for audio status.
Voice Control: We implemented multiple redundant and visually prominent "STOP AUDIO" buttons, ensuring users have full control over the audio playback at all times, regardless of the audio source (ElevenLabs or browser fallback).
Visual Design: The UI is themed to evoke a sense of fantasy and wonder, with clear classifications and detailed creature information.
Voice AI Integration (ElevenLabs): The core of the project relies on ElevenLabs Conversational AI for text-to-speech.
Custom Voice Profiles: We meticulously adjusted ElevenLabs voice configurations (stability, style, similarity boost) for each creature type to create unique yet highly human-comprehensible voices.
Error Handling & Fallback: We implemented robust error handling for ElevenLabs API calls, specifically detecting quota issues. If ElevenLabs is unavailable, the system gracefully falls back to browser speech synthesis, providing a subtle, non-intrusive notification to the user.
Deployment: The application is deployed to Netlify, ensuring a publicly accessible and functional demo.
Challenges we ran into
The primary challenge was fine-tuning the ElevenLabs voice parameters to achieve a balance between unique creature personality and human-comprehensible clarity. Initial attempts sometimes resulted in voices that were too exaggerated or difficult to understand. We iterated extensively on stability, style, and similarity boost settings to ensure each beast's voice was distinct yet perfectly clear.
Another significant challenge was ensuring universal and robust audio control. We had to implement multiple stop points and ensure they functioned seamlessly across both the ElevenLabs API and the browser's native speech synthesis fallback, providing consistent visual feedback.
Accomplishments that we're proud of
We are incredibly proud of:
Creating Distinct, Understandable AI Voices: Successfully imbuing each mythical creature with a unique, human-comprehensible voice that enhances the immersive experience.
Seamless Voice AI Integration: Leveraging ElevenLabs to power dynamic, interactive conversations within a Bolt.new application.
Exceptional Audio Control UX: Implementing a highly intuitive and redundant system of stop buttons, ensuring users always feel in command of the audio.
Robust Fallback System: Providing a smooth user experience even when the primary ElevenLabs API is unavailable, demonstrating resilience.
Bringing Lore to Life: Transforming static creature descriptions into engaging, interactive voice encounters.
What we learned
This project deepened our understanding of:
The nuances of voice AI configuration for personality and clarity.
Designing intuitive audio controls in web applications for optimal user experience.
Implementing graceful fallback mechanisms for external API dependencies.
The power of Bolt.new for rapidly building and deploying interactive, AI-powered applications.
What's next for Fantastic Beasts and Where to Talk to Them
We envision expanding "Fantastic Beasts and Where to Talk to Them" into a richer, more expansive world:
More Creatures & Lore: Add a wider variety of mythical creatures with even more detailed and unique backstories.
Memory & Context: Implement AI memory to allow for more coherent and personalized multi-turn conversations with each beast.
Visual Enhancements: Explore integrating AI image generation (if feasible) to show a visual representation of the creature as it speaks.
Interactive Quests: Introduce mini-quests or riddles that users can solve by conversing with the beasts.
Mobile App: Develop a native mobile application for on-the-go conversations with fantastical creatures.
Built With
- bolt.new
- claudesonnet4
- css
- elevenlabs
- html
- javascript
- netlify
- npm
- react
- typescript
- vite
Log in or sign up for Devpost to join the conversation.