wfcz10086/AI-automatically-generates-novels

一个基于ai +提示词 的aigc创作生产力工具, 已经有数百家工作室和个人作者通过该工具实现了快速、批量生成小说、剧本、镜头。

What it solves

This project provides an automated pipeline for generating long-form narrative content, such as novels, short drama scripts, film scripts, and anime storyboards. It solves the problem of maintaining consistency, structural integrity, and quality over thousands of words, preventing common AI issues like plot holes, contradictory facts, and "hallucinated" numbers.

How it works

The system transforms a single-sentence premise into a finished work through a multi-stage hierarchical pipeline:

  1. Hierarchical Planning: It breaks the project down from a general outline to volumes, then to chapter-level outlines, and finally to the full text.
  2. Contract Tree: It uses a "contract tree" system where each section has structured inputs and outputs (accounts, plot threads, and facts). The program programmatically verifies that the output of one section matches the input of the next to ensure continuity.
  3. Multi-Candidate Selection: For outlines and text, the AI generates multiple candidates. A programmatic "judge" selects the best version based on specific criteria (e.g., hook rhythm, plot progression) rather than relying solely on the AI's intuition.
  4. Evidence-Based Review: A review model identifies issues but must provide direct quotes from the text as evidence. A separate programmatic scoring system then calculates the final quality score based on these verified issues.
  5. Self-Healing: If a chapter fails quality checks, the system attempts automatic repair or regenerates the section from the outline. If it fails repeatedly, it marks the section for manual intervention.
  6. State Tracking: It maintains a "hard ledger" for countable items (like ammunition or money) to prevent numerical inconsistencies between chapters.

Who it’s for

  • Authors and screenwriters who want to automate the bulk of long-form drafting.
  • Content creators producing scripts for short dramas, films, or anime.
  • Developers interested in implementing structured, verifiable AI writing pipelines.

Highlights

  • Multi-Format Support: Unified engine for novels (txt/epub), short dramas, film scripts (Fountain/FDX), and anime storyboards.
  • Programmatic Verification: Uses a contract tree and hard ledgers to ensure plot and factual consistency without relying on AI "memory."
  • Automated Quality Control: Implements a multi-candidate selection process and a three-tier self-healing mechanism (repair $\rightarrow$ regenerate $\rightarrow$ manual).
  • Flexible Model Routing: Allows different LLMs to be assigned to different tasks (e.g., a cheap model for drafting and a high-reasoning model for planning).
  • Integrated Research: Includes a retrieval system that can use the LLM's internal knowledge or external search engines (like Bocha or SearXNG) to create structured fact cards.

Related

  • Project
  • Project
  • Project
  • Project