File size: 1,231 Bytes
992fb9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
license: mit
tags:
  - comfyui
  - image-generation
  - children-books
  - comic
  - sdxl
  - gritai
---

# GritAI Comic Pipeline

AI-powered illustrated book generation system. Takes story JSON input, generates consistent character art via SDXL + ComfyUI, composites with text overlays, outputs publication-ready PDFs.

## Capabilities
- **Children's Books**: 20-page illustrated stories with consistent characters
- **Comics**: Panel-based layouts with speech bubbles
- **Coloring Books**: Line-art versions for print

## Sample Outputs
- The Boy Who Cried Wolf (20 pages, children's book)
- Cinderella (children's book)
- War of the Worlds (comic format)
- 38 stories in library

## Architecture
```
Story JSON → spine_agent.py → ComfyUI (SDXL) → Image Compositing → PDF
```

## Requirements
- ComfyUI with SDXL checkpoint (juggernautXL recommended)
- Python 3.10+
- Local GPU (RTX 3060+ / 8GB+ VRAM)

## Usage
```powershell
cd GritAI-ComicPipeline
python spine_agent.py "render children_book stories/goldilocks.json"
```

## Built By
**Rob Lucyk** | GritAI Solutions LLC | Veteran-Owned
Local-first AI infrastructure. No cloud dependencies for core rendering.

*Built with ComfyUI + SDXL + Python + PowerShell*