AI Bedtime Story Generator
Generates a bedtime story for a 3-year-old using Whisper speech recognition and ElevenLabs' text-to-speech API - in your language.
Bedtime Story Generation and Voice Over Application
This is a Flask (Python) based web application that generates a bedtime story for a 3-year-old child, based on voice instructions about the content/title of the story.
It uses OpenAI Whisper and GPT-4o-mini model to transcribe the prompt and generate the story, and performs a voice-over of the generated story using ElevenLabs' text-to-speech API. The story is generated in the language of the prompt, the voice over is performed by a calming female voice, and the story always ends with everyone getting tired and going to bed!
Deployed on Google Cloud Run for scalable, serverless hosting.
Application Flow
Start by pressing the microphone button and record your story prompt in any language
Speak your story idea - for example: "Tell me a story about a brave little astronaut"
GPT-4o-mini generates a personalized bedtime story that always ends with going to sleep
Listen to the story with ElevenLabs' calming voice narration in your language
Multi-language support - works seamlessly in Russian, English, and other languages
Stories are generated and narrated in the same language as your prompt