Architecture

An automated novel-rewriting pipeline. Takes any text and rewrites it as dark fantasy prose, currently running as a CLI tool with a planned frontend.

How It Works

  1. Extracts a narrative skeleton (plot beats) from the original text.
  2. Dynamically updates a character psychological roster as the rewrite proceeds.
  3. Uses a highly specific system prompt enforcing visceral, sensory horror and mythic lyricism.
  4. Enforces a strict minimum 1.5x word-count expansion, slowing pacing and preventing the model from summarizing or eliding scenes.

View on GitHub