snorcack

A project to generate character portraits from book text using RAG based book search and image generation using local diffusion models.

44
9
100% credibility
Found May 02, 2026 at 44 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

A web app that reads books, identifies characters, customizes their appearances with genres and actors, generates image prompts, and creates portraits using a local image generator.

How It Works

1
📚 Upload your book

You pick a novel in text format and share it with the app so it can read the story.

2
🔍 Find the characters

The app scans the book and Wikipedia to list all the main people in the tale.

3
👤 Pick your hero

You choose one character from the list to bring to life as a picture.

4
🎭 Dress them up

You pick a movie style, time period, or even a real actor to shape how they look.

5
📖 Select a scene

You choose a moment from the book to capture in the portrait.

6
Build the picture words

The app creates a perfect description of your character ready for drawing.

7
🖼️ Draw the portrait

You connect your picture maker and hit go to see the image appear step by step.

🎉 See your character

You get a stunning movie-like portrait of the book hero just as you imagined.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 44 to 44 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is CharacterGeneration?

CharacterGeneration turns book texts into cinematic character portraits by uploading a .txt or .epub file, then using RAG to scan for scenes and Wikipedia for character baselines. It generates tailored prompts for local ComfyUI diffusion models, complete with actor casting suggestions across industries like Hollywood or Bollywood, genre tweaks (cyberpunk horror to fantasy), and decade-specific styles. A React dashboard handles the workflow, from book indexing to real-time image previews via FastAPI backend and Ollama LLMs—all running locally.

Why is it gaining traction?

It bridges book lore to visuals without cloud dependencies, auto-injecting prompts into ComfyUI workflows and streaming progress—saving hours on manual prompt crafting. The glassmorphism UI feels premium, with editable descriptions, scenario selectors from book chunks, and history tracking, standing out from generic project generate ai tools by focusing on narrative depth. At 44 stars, early buzz comes from AI tinkerers sharing book-to-art pipelines on project github react examples.

Who should use this?

Indie game devs prototyping character art from lore docs, writers visualizing alternate casts for adaptations, or AI hobbyists experimenting with RAG on personal libraries. Perfect for those with ComfyUI setups wanting quick book-inspired portraits, not raw prompt engineers starting from scratch.

Verdict

Worth forking for local book-to-image workflows if you run Ollama and ComfyUI, but 1.0% credibility and 44 stars signal early-stage maturity—docs are solid via README, yet expect tweaks for edge cases. Try it as a project github template for custom gen projects.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.