OpenAI’s LLM GPT-4 is utilized for generating text and story prompts, enriching the storytelling experience with creative and engaging content tailored to the user’s inputs. For image generation, DALL-E 3 integrated to transform textual prompts into vivid, imaginative visuals, enhancing stories with custom illustrations.

To complement the text-based storytelling, DALL-E 3 brings stories to life with vivid and custom illustrations. This image generation AI interprets text prompts from the story to create images that match the narrative’s tone and content. Whether it’s a distant galaxy or a hidden underwater city, DALL-E 3’s illustrations add a visual depth to stories that captivate the young audience’s imagination. This integration not only enriches the storytelling experience but also engages children in a more interactive and visually stimulating way.

Streamlit, an open-source app framework, is chosen for its simplicity and effectiveness in creating interactive web UIs. It connects to the backend services via API calls, enabling dynamic story creation and real-time updates. This allows parents and children to interact with the app effortlessly, navigating through stories, choosing prompts, and viewing generated text and images.