Inspiration
As someone who loves storytelling and creative tech, I wanted to build something meaningful, calming, and joyful. Bedtime has always felt like one of the most magical moments of the day — a time for connection, routine, and imagination. Inspired by that, I created a bedtime story generator that crafts soothing, personalized tales for children based on their name, age group, and chosen theme. To make the experience even more immersive, I added voice narration and a built-in lullaby — turning each story into an enchanting nightly ritual for families.
What it does
Below is how it works: User Enters Details The parent or guardian enters the child’s name, selects their age group (e.g., 0–2, 3–5, 6–8, 9–12), and chooses a story theme (e.g., magical, adventure, kindness, or funny).
AI Generates a Unique Story The app sends the information to an AI model (Together AI) that creates a calming bedtime story tailored to the child’s name, age, and chosen theme. The story includes a title, gentle pacing, and age-appropriate vocabulary.
Narration with Voice After the story is generated, users can tap “Listen to Story” and hear it narrated using ElevenLabs’ high-quality voice synthesis — designed to be soothing and expressive for each age group.
End the Night with a Lullaby Once the story ends, users can choose to play a built-in lullaby — a gentle musical feature that helps form a bedtime routine and signals sleep time.
How we built it
It was built using bolt.new. A model from Together ai was used to generate the story based on age and theme. Elevenlabs was used to convert the text to speech. Supabase was used to store my secret keys and database.
Challenges I ran into
I had some difficulty doing the speech to text feature. Because I was facing some difficulties with this i didnt realise that my tokens on Elevenlabs were reducing fast even though the it still was not fully functional. Also because of limited tokens i had to cut out some features and focus on finishing up what i have.
Accomplishments that I'm proud of
I'm incredibly proud that I made it to the finish line. There were moments when I genuinely thought about giving up — whether from technical hurdles, time pressure, or self-doubt. But I kept going. Even if I don’t win a prize, the real win for me is showing up, creating something meaningful, and pushing through to the end. This was my first time building something this personal, and I’m proud that I didn’t quit.
What I learned
This project taught me how to build and deploy an end-to-end AI-powered application, including:
- How to use Supabase Edge Functions for backend logic
- How to work with Together AI for natural language story generation
- How to integrate ElevenLabs API for high-quality voice narration
- The importance of good UX, especially for children's content I also learned how to prioritize features and simplify when under time and token constraints.
What's next for Bed Time Story Generator
- Add voice cloning so the stories can be read in parents voice
- The abillity to save stories
- Enable offline reading of saved stories
Built With
- bolt.new
- css3
- deno
- javascript
- react
- supabase
- togetherapi
Log in or sign up for Devpost to join the conversation.