DoublyDoo is a LangChain-based children's storytelling app that brings stories to life with AI-generated text, audio narration, and images. Kids can select a genre and enter their age and gender, and the app will create a unique, engaging story tailored just for them.
- AI-Generated Stories π: Creates personalized short stories based on the child's preferences.
- Text-to-Speech Narration π: Reads the story aloud using realistic AI-generated voices.
- AI-Generated Illustrations π¨: Generates vivid, cartoon-style images for different story scenes.
- Genre Selection π: Includes a variety of story genres like Fantasy, Adventure, Mystery, and more.
- LangChain: For managing AI-driven story generation.
- Google Gemini API: To generate the story content and prompts.
- Stable Diffusion: For creating AI-generated images.
- Edge-TTS: For text-to-speech functionality.
- Streamlit: For an interactive user-friendly interface.
git clone https://github.com/RijoSLal/doublydoo.git
cd doublydoopip install -r requirements.txtCreate a .env file in the project root and add your API keys:
API_TOKEN_IMAGE=your_huggingface_api_key
API_KEY_LLM=your_gemini_api_key
streamlit run doublydoo.py- Select a genre, enter your age, and choose a gender.
- The app generates a unique story with a title and moral.
- Each paragraph is illustrated with an AI-generated image.
- The story is read aloud using AI-generated speech.
- Enjoy an interactive storytelling experience! π
- Support for multiple voices and language options.
- Interactive storytelling elements where kids can make choices.
- Enhanced story customization features.
Contributions are welcome! Feel free to fork the repo, make improvements, and submit a pull request.
This project is licensed under the MIT License.
Enjoy the magical world of DoublyDoo! β¨π