kids-education-ai
Generate a custom illustrated storybook for kids
Live Demo: https://huggingface.co/spaces/build-small-hackathon/kids-education-ai
X (Twitter) Post: https://x.com/gajanand2004/status/2066546382920687976
Children learn best through stories, visuals, and interactive experiences. However, most educational tools focus on only one aspect of learning, such as reading, image generation, or question answering.
I wanted to build a platform that combines storytelling, illustrations, audio narration, educational poems, and document understanding into a single learning experience powered entirely by small AI models.
The result is Kids Education AI, an educational platform that transforms a simple topic into a complete interactive storybook for children.
Parents and teachers often spend significant time creating engaging educational content for young learners.
A child may need:
These resources usually come from different tools and platforms.
I wanted to create a single application where all of these experiences could be generated automatically using AI.
The platform starts with a child's age and a story topic.
Example:
The system generates a complete story, extracts important scenes, creates illustrations, converts the story into audio narration, and finally builds a digital storybook.
In addition, users can generate educational poems, themed illustrations, and ask questions about uploaded PDFs or images.
One of the goals of this project was to demonstrate how much can be achieved using compact AI models.
The application uses:
Instead of relying on massive proprietary models, the entire experience is powered by efficient open-source models.
Age + Topic
↓
Story Generation
↓
Scene Extraction
↓
Image Generation
↓
Audio Narration
↓
Interactive Story Book
Each stage builds on the output of the previous stage, creating a complete educational experience from a single user input.
The frontend was built using Gradio and deployed on Hugging Face Spaces.
Backend AI services were deployed using Modal.
The story generation model runs through llama.cpp with a quantized GGUF model, making inference efficient while maintaining good quality.
Images are generated using FLUX.2 Klein, while speech narration is handled by NVIDIA Magpie TTS.
For OCR and document understanding, MiniCPM-V processes uploaded images and PDFs and answers user questions based on visual content.
Hugging Face Spaces
│
▼
Gradio UI
│
▼
Modal APIs
│
┌────────┼────────┐
▼ ▼ ▼
Story Images Audio
Model Model Model
│
▼
Storybook
│
▼
OCR & Vision
One challenge was coordinating multiple AI models in a single workflow.
Story generation, image generation, audio synthesis, and OCR all have different processing requirements and response times.
Another challenge was keeping the user experience simple despite the complexity happening behind the scenes.
The goal was to make the platform feel like a single application rather than several independent AI tools.
This project reinforced an important lesson:
Small models are far more capable than many people expect.
By combining specialized models and designing a structured workflow, it is possible to create rich educational experiences without relying on extremely large language models.
The challenge is often not model size, but system design.
Small models offer:
Kids Education AI demonstrates how storytelling, image generation, speech synthesis, and visual reasoning can all be achieved using compact open-source models.
Kids Education AI is more than a story generator.
It is an end-to-end educational platform that combines multiple AI capabilities into a single learning experience for children, parents, and teachers.
Building this project showed me how powerful small models can become when combined thoughtfully, and it highlights the potential of open-source AI for education.
Demo Video https://youtu.be/dP0XM33YxuM
Live Demo https://huggingface.co/spaces/build-small-hackathon/kids-education-ai
X Post https://x.com/gajanand2004/status/2066414224075796822
Generate a custom illustrated storybook for kids
More from this author