← all repositories
jbilcke-hf/ai-comic-factory

Your comic book, ghostwritten by robots

A TypeScript app that chains an LLM to SDXL so you don't have to draw (or write) your own panels.

ai-comic-factory
Velocity · 7d
+1.3
★ / day
Trend
steady
star history

What it does

AI Comic Factory turns a single text prompt into a full comic strip. An LLM writes the panel descriptions and dialogue; SDXL draws the pictures. The result is a browser-based comic generator that runs as a Dockerized Next.js app, either on Hugging Face Spaces or your own hardware.

The interesting bit

The project is less a monolithic product than a configurable pipeline. It decouples story from style: swap the LLM engine between Hugging Face Inference, OpenAI, Groq, or Anthropic, and swap the renderer between Replicate, a custom VideoChain wrapper, or another SDXL endpoint. The author is admirably blunt that you’ll need to “code 👨‍💻” to wire up local or non-default models.

Key highlights

  • Supports six LLM backends out of the box: HF Inference API, HF Inference Endpoints, OpenAI, Groq, Anthropic Claude, or roll your own
  • Rendering is pluggable too: Replicate’s SDXL, a custom VideoChain API wrapper, or fork-and-patch for DALL-E etc.
  • Default stack uses Zephyr-7B-beta for scripting and SDXL base + refiner for visuals
  • Dockerized Next.js app with OAuth integration for Hugging Face community features
  • Open source, but explicitly not “duplicate and run immediately” — expects you to manage API keys and endpoints

Caveats

  • Self-hosting requires multiple moving parts (LLM API, rendering API, auth tokens) with no one-click deploy
  • The author’s VideoChain rendering layer is currently undocumented
  • Community-sharing features are hardcoded for the official Hugging Face deployment and irrelevant for personal installs

Verdict

Worth a look if you want to experiment with automated visual storytelling and don’t mind editing .env.local files. If you need a polished, batteries-included creative tool, this is still closer to a wiring diagram than a finished appliance.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.