ECS289G: Computational Storytelling using AI term project (Winter 2023)
Short Story Long is an automated Story generating framework with Character Profile Creator and Social interaction Dialogue Generator.
- Adaptable Author Input Module
- Story generator Module
- Dynamic Story Regeneration Editor
- Character Profile Creator
- Character Visualizer
- In-Game Dialogue Generator and Editor
A text multi-input system allows author to enter multiple attributes like genre, start of story, characters and their traits, etc to accomodate unique and creative thinking methods of different authors.
The inputs fed by the user is provided as an input to GPT module which generates the initial story.
An option to edit the initial input leads to dynamic story regenration while still maintaing the crux of storyline.
Profile creation based on the generated story will display character's name, age, traits and backstory.
Character Traits along with generated story is used as an input to GAN which results in chracter visualized as an image
Multiple optional attributes like number of characters, genre, location and expected social outcome are accomodated to develop an in-game dialogue scene which may be edited and regenrated based on author's liking.
Our project provides a complete integrated framework that can assist any author regardless of their thinking process in most idea generation or brainstorming processes involved for creating a game’s storyline, characters, appearances, in-game dialogues etc. This helps accommodate authors of different thinking characteristics on a single automated platform to help in story generation, character profile creation.
To run ShortSL on your machine please run the below commands in the same order:
git clone https://github.com/rohis06/ECS289G-project.gitcd ECS289G-projectTo use this repository, you need requirements.txt installed. You can install it using the below command.
pip install -r requirements.txtMake sure that you have the latest version of pip by running:
pip install --upgrade pipcd tkinterFinally, run the Tkinter application using the below command.
python story_gen.pyYou can get an idea of the kind of story / dialougue conversation generated by ShortSL by checking the files in sample_output folder.
- story.txt : This has a sample story being generated by ShortSL.
- dialogue.txt : This has a sample dialogue conversation being generated by ShortSL.
- char_Alex.txt and char_John.txt : These files show the kind of character profiles dynamically generated by ShortSL.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.




