Practical overview
When it fits
Use the application for choice-led fiction with persistent story context, or explore the repository when building a narrative system that needs to validate generated changes before committing them.
Who it is for
- Readers who want to guide an ongoing generated story through choices.
- Developers exploring narrative games or stateful AI applications with persistent character and scene facts.
Documented uses
- Create a story world and begin a private interactive journey.
- Generate story turns in response to reader choices.
- Inspect a story-engine validation demo that rejects an attempted change to an established character name.
- Study a queued generation flow that validates model proposals before saving story-state changes.
Requirements & limits
The project repository is public and licensed under MIT. The documented validation demo runs locally with Go 1.26 or newer and does not require an API key, database or Docker.
- The application uses Next.js and Go; the server-side generation path includes a Go API and worker.
- Model requests use configurable OpenAI-compatible endpoints; provider-specific behavior may differ.
- The full application generation flow uses queued work and transactional persistence, while the standalone demo uses an in-memory repository and fake provider.
- The public edition contains synthetic development content and excludes the hosted site's catalog, original cover artwork, user data and production configuration.
- The project describes a reusable validation boundary, but does not demonstrate integrating it into another application.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run the story-engine validation demo
See a valid story turn commit and an invalid character-name change be rejected.
Before you start
- Go 1.26 or newer
- A local copy of the repository
Steps
From the repository root, change to services/server.
Run the command below.
go run ./cmd/demoObserve the harbor scene commit and the rejected character-name change; the demo checks that the committed version remains intact.
Expected outcome
A local demonstration of story-state validation using an in-memory repository and deterministic fake provider.
Guide limitations
- This demo needs no API key, database or Docker, but Go may download module metadata on first use.
- It demonstrates validation behavior, not real-model storytelling quality or the full worker-and-database path.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- weike-zhang/ai-novel-studio · Official homepage title · retained in its source language

