Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Children's Book & Activity Creator Studio

An interactive design tool that allows creators to generate complete children's storybooks combined with programmatic activity pages (mazes, word searches, quizzes, and coloring templates).

Key Features

  1. AI Story Outline Blueprint (Gemini API): Generates a sequential story structure, scene texts, and illustration prompts.
  2. Interactive Design Canvas (Canva-like interface):
    • Presets for Book Sizing: Square (8.5"x8.5"), Standard Letter (8.5"x11"), Digest (6"x9").
    • Safety margins (e.g. 0.5" green guide lines).
    • Bleed Cut boundaries (0.125" red dashed overlay guide) for print-ready layout calculations.
    • Inline text editing, drag-and-drop uploads, and dynamic layout switching.
  3. Programmatic Activities:
    • Algorithmic DFS Maze generator rendering vector SVG.
    • Word Search grid generator based on thematic story terms.
    • Automatically compiles multiple-choice quizzes on the content.
  4. Drawing to Coloring outline Converter: Grayscale Sobel-based PIL filter to process any uploaded cartoon character drawings into outline line-art for coloring page sheets.
  5. Print Exporting: Compiles page canvases into a print-ready PDF using ReportLab.

Quick Start Setup

1. Configure the Python Virtual Environment

Navigate to the project directory and install the requirements:

pip install -r requirements.txt

2. Configure API Key

Create a .env file in the root of the project:

GEMINI_API_KEY=your_key_here
GEMINI_MODEL=gemini-2.5-flash

3. Launch Server

Run the Flask server:

python app/server.py

Open your browser and navigate to http://localhost:8000 to use the creator studio.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages