Back to Projects
AI Children's Books

OurStories

AI-Powered Personalized Children's Books Platform - Create magical, one-of-a-kind storybooks where your child is the main character, featuring their unique appearance, personality traits, and hobbies woven into original narratives and illustrations.

MVP Complete
Production Ready
Freemium + Print-on-Demand
OurStories - AI-Powered Personalized Children's Books

📚 What is OurStories?

OurStories is a Next.js-based platform that revolutionizes children's literature by combining AI-powered story generation with personalized character creation. The platform uses advanced language models and image generation to create unique bedtime stories where children become the heroes of their own adventures, fostering a love for reading while making them feel truly seen, celebrated, and inspired.

🏗️ Technical Architecture

Frontend (Next.js 14+)

  • • Next.js 14+ with App Router
  • • TypeScript for type safety
  • • Tailwind CSS + shadcn/ui components
  • • Zustand/Redux Toolkit state management
  • • React Hook Form + Zod validation
  • • Interactive flipbook preview

Backend & Database

  • • PostgreSQL with Prisma ORM
  • • NextAuth.js v5 authentication
  • • UploadThing file management
  • • BullMQ job queues with Redis
  • • RESTful API architecture
  • • Comprehensive error handling

🤖 AI-Powered Features

Story Generation

  • • OpenAI GPT-4 for narrative creation
  • • Google Gemini alternative integration
  • • Age-appropriate content generation
  • • Personality-driven story arcs

Character Generation

  • • Stable Diffusion with LoRA training
  • • Consistent character appearance
  • • Photo-to-character likeness mapping
  • • Multiple illustration styles

Content Safety

  • • OpenAI Moderation API integration
  • • Google Cloud Vision safety filters
  • • Age-appropriate content validation
  • • Bias detection and mitigation

Image Processing

  • • Real-ESRGAN upscaling
  • • Face swapping algorithms
  • • Image composition pipeline
  • • Print-ready PDF generation

🎯 Core User Features

Story Creation Workflow

  1. 1. Child Profile Setup: Name, age, personality traits, and interests
  2. 2. Photo Upload: 1-5 photos for AI character likeness generation
  3. 3. Story Customization: Choose theme, length, and illustration style
  4. 4. AI Generation: Personalized narrative and character-consistent illustrations
  5. 5. Interactive Preview: Flipbook-style preview with editing capabilities
  6. 6. Content Review: Safety filters and quality validation
  7. 7. Publishing Options: Digital library or print-on-demand ordering

Personalization Engine

  • • Dynamic character insertion
  • • Hobby and interest integration
  • • Age-appropriate language adaptation
  • • Personality-driven story elements

Digital Library

  • • Personal story collection
  • • Cross-device synchronization
  • • Offline reading capabilities
  • • Reading progress tracking

🛍️ E-commerce & Production

Payment Processing

  • • Stripe integration for secure payments
  • • Subscription and one-time purchase options
  • • International payment support
  • • Automated invoice generation

Print-on-Demand

  • • High-quality physical book production
  • • Multiple binding and size options
  • • Global shipping capabilities
  • • Order tracking and notifications

🎨 User Experience Design

Mobile-First Design

  • • Responsive design for all devices
  • • Touch-optimized story creation
  • • Camera integration for photos
  • • Progressive web app features

Parent-Child Experience

  • • Intuitive creation process
  • • Child-safe content guarantee
  • • Engaging visual storytelling
  • • Shareable story collections

🚀 Development Roadmap

Phase 1: Core Platform (Completed)

✅ Foundation

  • • Next.js 14+ project architecture
  • • PostgreSQL database schema
  • • User authentication system
  • • AI service integrations

✅ Core Features

  • • Story generation pipeline
  • • Character creation system
  • • Image processing workflow
  • • Interactive preview interface

Phase 2: Advanced Features (In Progress)

🔄 Current

  • • Enhanced personalization options
  • • Multiple illustration styles
  • • Advanced editing capabilities
  • • Performance optimizations

🔮 Planned

  • • Multi-character story support
  • • Audio narration features
  • • Social sharing capabilities
  • • Analytics dashboard

🎯 Target Audience

👨‍👩‍👧‍👦 Parents & Caregivers

Parents seeking to create magical bedtime experiences with personalized stories that feature their children as heroes, fostering self-confidence and a love for reading through engaging, age-appropriate narratives.

🎁 Gift Givers

Grandparents, aunts, uncles, and family friends looking for unique, meaningful gifts that celebrate a child's individuality with custom storybooks that can be treasured for years to come.

🏫 Educators & Therapists

Teachers, child psychologists, and reading specialists who want to use personalized storytelling as a tool for engagement, self-esteem building, and addressing specific developmental or emotional needs.

Project Details

Status:Production Ready
Development:8-10 months
Team Size:Solo Project
Role:Founder & Lead Developer

Tech Stack

Next.js 14+
TypeScript
PostgreSQL
Prisma
NextAuth.js
OpenAI GPT-4
Google Gemini
Stable Diffusion
Tailwind CSS
shadcn/ui
Zustand
React Hook Form
Zod
UploadThing
BullMQ
Redis
Stripe
Real-ESRGAN
Vercel
AWS S3
Sentry

Key Features

AI Story Generation
Character Personalization
Photo Integration
Multiple Art Styles
Interactive Preview
Content Safety Filters
Print-on-Demand
E-commerce Integration

Project Highlights

Story Generation:Sub-10 second AI processing
Character Consistency:98% likeness accuracy
Content Safety:100% age-appropriate filtering
Print Quality:Professional hardcover books