Novel AI Website is a powerful, open-source platform for creating and managing AI-generated novels. It moves beyond simple text generation, acting as an intelligent co-pilot that understands narrative structure, pacing, and long-term consistency. By leveraging a sophisticated world-building and memory system, it empowers authors to bring their creative visions to life with unprecedented depth and coherence.
This project is built with a cutting-edge tech stack, including Next.js, Prisma, and ChromaDB, to deliver a seamless and truly interactive writing experience.
精心构筑智能叙事,逐章雕琢文学世界。
Novel AI 网站 是一个强大的开源平台,专用于创作和管理 AI 生成的小说。它超越了简单的文本生成,扮演着一个能理解叙事结构、掌控故事节奏并维持长期连贯性的智能“副驾驶”。通过一套精密的世界观构建与记忆系统,本项目旨在赋予作者前所未有的能力,将他们的创意构想以惊人的深度和一致性变为现实。
本项目采用前沿技术栈构建,包括 Next.js、Prisma 和 ChromaDB,旨在提供无缝且真正交互式的写作体验。
- Dynamic Main Outline Generation: From a single idea to a multi-volume epic. The AI acts as a master storyteller, planning the entire narrative arc, key conflicts, and character development across multiple volumes.
- 动态主线大纲生成:从一个简单的想法,到一个多卷本的宏大史诗。AI 扮演着故事大师的角色,规划跨越多卷的完整叙事弧、核心冲突和角色成长。
- Intelligent Pacing Control: Our proprietary forward-looking control system ensures the narrative rhythm is perfectly managed. It prevents plot stagnation and acceleration, ensuring a natural story flow from the "cold start" to the grand finale.
- 智能节奏控制:我们自有的前瞻性控制系统,确保叙事节奏得到完美管理。它能有效防止情节停滞或过快发展,保证故事从“冷启动”到最终章的自然流畅性。
- Structured Chapter Outlines: The AI acts as a "screenwriter," breaking down high-level arcs into detailed, event-driven, chapter-by-chapter outlines, complete with key events and summaries.
- 结构化章节大纲:AI 如同“编剧”,将宏观的篇章分解为逐章的、事件驱动的详细大纲,包含关键事件和剧情梗概。
- World Evolution System (Vector Memory): A sophisticated RAG-based memory system using ChromaDB. It tracks characters, locations, plot points, and world-building rules, feeding relevant context to the AI for every generation to ensure unparalleled long-term narrative consistency.
- 世界演化系统(向量记忆):一套基于 RAG 和 ChromaDB 的精密记忆系统。它追踪角色、地点、情节线和世界观设定,在每次生成时为 AI 提供最相关的上下文,以确保无与伦比的长期叙事连贯性。
- Framework: Next.js (App Router)
- Backend: Node.js
- ORM: Prisma
- Database: PostgreSQL
- Vector Database: ChromaDB
- AI Integration: OpenAI, Google Gemini
- Styling: Tailwind CSS & Radix UI
- State Management: Zustand
- Testing: Vitest
-
Clone the repository:
git clone https://github.com/SliverKeigo/infinitenovel.git cd infinitenovel -
Install dependencies:
npm install
-
Set up the database:
- Create a
.envfile from.env.example. - Ensure you have a PostgreSQL server running and update the
DATABASE_URLin your.envfile. - Run migrations:
npx prisma migrate dev
- Create a
-
Run the development server:
npm run dev
The application will be available at
http://localhost:3000.
This project is licensed under the MIT License. See the LICENSE file for details.