explaingit

zonghaoyuan/infiplot

Analysis updated 2026-05-18

216TypeScriptAudience · vibe coderComplexity · 4/5Setup · moderate

TLDR

An AI-powered interactive story game that generates every scene, dialogue line, and image live as you play, with no fixed plot.

Mindmap

mindmap
  root((InfiPlot))
    What it does
      Live AI generated story
      Text and images per scene
      No fixed plot
    Tech stack
      TypeScript
      Vercel
      Cloudflare Workers
      Docker
    Use cases
      Play an AI generated story
      Deploy your own instance
      Explore multi agent storytelling
    Audience
      Vibe coders
      Visual novel fans

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Play an interactive story where AI generates plot, dialogue, and art in real time

USE CASE 2

Deploy your own InfiPlot instance to Vercel or Cloudflare Workers with one click

USE CASE 3

Study how five coordinated AI agents keep a generated story consistent across scenes

USE CASE 4

Run InfiPlot locally with Docker using your own text, image, vision, and voice API keys

What is it built with?

TypeScriptVercelCloudflare WorkersDocker

How does it compare?

zonghaoyuan/infiplotant-design/ant-design-clisatomoit/lce-emerald-launcher
Stars216216215
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderateeasyeasy
Complexity4/52/52/5
Audiencevibe coderdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires your own API keys for separate text, image, vision, and optional text-to-speech providers.

The README does not state a license.

In plain English

InfiPlot is an interactive story game where artificial intelligence generates all the text and images on the fly as you play. There are no pre-written plot lines or fixed characters. Every scene, piece of dialogue, and background illustration is created fresh based on what you choose to do. You could play as a student learning magic in a fantasy school, or step into a historical drama, or replay a moment from your own past in an alternate version of events. The system works by running five coordinated AI agents behind the scenes: one that handles overall story structure, one that writes dialogue and plot beats, one that designs characters, one that arranges scenes, and one that generates the background artwork. These agents communicate with each other to keep the story consistent as it unfolds. While you are reading one scene, the system is already generating the next set of possibilities so that scene transitions happen without noticeable delay. Each playthrough is organized into scenes. A scene has a single AI-painted background image and a short sequence of narration, dialogue, and occasional choices. The background only changes when your choice moves the story to a genuinely different location or time. Clicking directly on the background image triggers a vision model that interprets where you clicked and decides whether to extend the current scene or open a new one. To run InfiPlot yourself, you connect it to AI service providers for four different tasks: text generation, image generation, a vision model for interpreting clicks, and optional text-to-speech for character voices. The repository includes one-click deployment buttons for Vercel and Cloudflare Workers, and a Docker setup for running it on your own server or computer. You supply your own API keys for each provider. The project is early-stage and was started in May 2026 by a small team of students from several Chinese universities who are also fans of visual novel and interactive fiction games. A live demo is available at infiplot.com.

Copy-paste prompts

Prompt 1
Explain how InfiPlot's five AI agents divide up story generation work
Prompt 2
Walk me through deploying InfiPlot to Cloudflare Workers with my own API keys
Prompt 3
How does InfiPlot decide when to generate a new background scene versus extend the current one
Prompt 4
Help me set up the Docker version of InfiPlot to run on my own computer

Frequently asked questions

What is infiplot?

An AI-powered interactive story game that generates every scene, dialogue line, and image live as you play, with no fixed plot.

What language is infiplot written in?

Mainly TypeScript. The stack also includes TypeScript, Vercel, Cloudflare Workers.

What license does infiplot use?

The README does not state a license.

How hard is infiplot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is infiplot for?

Mainly vibe coder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.