Back to Projects
AI Children's Books

OurStories

AI-Powered Personalized Children's Books Platform - Create magical storybooks where your child is the main character.

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

OurStories combines cutting-edge web technologies with sophisticated AI processing to deliver a seamless bedtime story experience.

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

OurStories uses AI to create personalized bedtime stories.

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

Project Details

Technologies

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

Target Users

  • Parents & Caregivers seeking magical bedtime experiences
  • Gift Givers looking for unique, meaningful presents
  • Educators & Therapists using personalized storytelling

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