Skip to content

Simple Tool Used to generate stories from plot descriptions using Gen AI models

License

Notifications You must be signed in to change notification settings

onepointconsulting/story_teller

Repository files navigation

Story Teller

This is a small experiment of an app which can be used to generate epic stories using LLMs.

Pre-requisites

You will need to have an OpenAI API key and in case you want to use the My Midjourney API, a MyMidjourney Token.

Installation instructions

Please make sure to install Conda first.

conda create -n story_teller python=3.12
conda activate story_teller
pip install poetry
poetry install
# This is important for PDF generation
playwright install

Running unit tests

python -m unittest

Running the command line application

python.exe ./story_teller/story_teller_main_cli.py

Running the local GUI application

python .\story_teller\ui\wx\main.py

If you are on Windows and have Powershell installed, you can simply run this script:

.\start.ps1

Fundamental Environment Variables

There are three expected environment variables:

OPENAI_API_KEY=<key>
TMP_FOLDER=<output folder for your stories>

MY_MIDJOURNEY_BEARER_TOKEN=<My Midjourney token (optional)>

About

Simple Tool Used to generate stories from plot descriptions using Gen AI models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages