YILING0013/AI_NovelGenerator

使用ai生成多章节的长篇小说,自动衔接上下文、伏笔

What it solves

This tool addresses the difficulty of maintaining narrative consistency and logical coherence when using LLMs to write long-form fiction. It prevents common AI writing issues such as characters forgetting their traits, plot holes, and contradictions across multiple chapters.

How it works

The system uses a multi-stage pipeline to generate a novel:

  1. Planning: It first creates a world-building document (settings, characters, and plot blueprints).
  2. Structuring: It generates a detailed chapter directory with prompts for each section.
  3. Drafting: It produces chapters using a combination of the directory and a vector-based semantic search engine that retrieves relevant context from previous chapters to ensure continuity.
  4. State Management: After each chapter is finalized, the tool updates a global summary, character state trajectories, and a local vector database to track the story's evolution.
  5. Verification: An automatic proofreading module scans for logical conflicts and plot contradictions.

Who it’s for

Authors and storytellers who want to use AI to assist in writing long-form novels while maintaining strict control over the plot and character development.

Highlights

  • State Tracking: Manages character development and foreshadowing trajectories.
  • Semantic Search: Uses vector embeddings to maintain long-term context consistency.
  • Multi-stage Generation: Separates world-building, outlining, and drafting to ensure coherence.
  • Visual Workbench: Provides a full-process GUI for configuring settings and editing generated text.
  • Automatic Proofreading: Detects plot contradictions and logical conflicts.

Related

  • Project
  • Project
  • Project
  • Project
  • Project