World generation | NPC generation |
---|---|
Story Generator is an app, available as a web version or a standalone for Mac, Windows and Linux.
With ChatGPT as the backbone, create your own world and observe lifelike characters interacting with each other and living their lives. All that from a single text input with your world description!
OpenAI's ChatGPT blew my mind and I got an idea about using it as a tool for world generation. But static worlds are boring! So I decided to add NPCs (non-playable characters) to see if they can interact in the evolving worlds and achieve their goals... It turns out that yes, they can! And it's super interesting to observe how they do that and what happens to them. That's how the Story Generator was born.
World Creation: Create custom worlds from any(!) description you can imagine. Whether it's a medieval dark fantasy realm or a cyber-punk sci-fi setting with cyber-ponies (yes! Cyber-ponies!), the possibilities are endless
Dynamic NPCs: Each NPC within the generated world has its own unique name, attributes, global goal and current state. These characters are not mere placeholders but dynamic entities that react and adapt to the changing world around them
Evolving Worlds: With the initial description provided, the generated worlds undergo changes over time based on a specified interval. Immerse yourself in the excitement of observing a dynamic world that continuously evolves and transforms
Changing World Characteristics: Various aspects of the world, such as its temperature and environment, dynamically shift and transform. These changes trigger a chain of events that prompt the NPCs to respond and adapt, creating a dynamic and realistic narrative
Text-to-image Generation: Generated textual descriptions of the world and characters are fed to the text-to-image (Dall-e 3 by default) model which generates wonderful images that support the story
Ultimately, the world's and NPC's conditions converge to create an exceptional story.
Try it for free on the web, run it for free locally, or buy it to support the creator. Story Generator is built entirely using Shiny so if you want to know how to build web apps with Shiny alongside ChatGPT in an asynchronous manner that's a great source of knowledge! Additionally, you can employ Story Generator in your own game by customizing the code to suit your requirements.
conda create -n worldgpt python=3.10.6
pip install -r requirements.txt
python ./story_generator.py
It really matters! At least it will allow to support the free web-version of the app (hosting, openai requests)