Skip to content

Prompt generator that converts Game State to narrative prompts for LLM Image and Story generation.

License

Notifications You must be signed in to change notification settings

caseywescott/GamePrompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GamePrompt

A prompt generator that represents Game State as narrative text for LLM image and story generation. Creates both narrative prompts and image prompts customized for the style and parameters of Realms game.

Example

Run .addTestEvents for demo:

Narrative Prompt:

Seeking adventure and good fortune, our hero Naima travels to Oltoltek, 412 hectares away. The travel was not without cost - She consumed 2 hens, 1 rabbit, 9 root vegetables for sustenance. Behold! A siege befalls our hero. Confronted by 2 foes, a battle ensues, leaving our protagonist with 3 hits sustained, losing 3 vital hit points, leaving Naima toughened, vigorous. This chapter begins with a journey to Skohnikkezh, 12 hectares away. The travel was not without cost - She consumed 5, fish 4 root vegetables for sustenance. While traveling the lands of Skohnikkezh, Naima trades with Galbraith, who exchanges copper for our hero's Tannis Root. Settled in the the lands of Skohnikkezh, She has the need to farm resources for the next leg ahead.

MidJourney Prompt:

Double exposure, with fantasy landscape of castles and rivers and war. With a restless spirit, She marches to Oltoltek, 412 hectares away. The travel was not without cost. Behold! A siege befalls our hero. Confronted by 2 foes, a battle ensues, leaving our protagonist with 3 hits sustained, losing 3 vital hit points. As fate would have it, our hero is victorious! Seeking adventure and good fortune, our hero travels to Skohnikkezh, 12 hectares away. The travel was not without cost. While traveling the lands of Skohnikkezh, Naima trades with Galbraith. Settled in the the lands of Skohnikkezh, She has the need to farm resources for the next leg ahead. Ancient, no guns, Fantasy landscape, ancient, Arthurian era, Medieval era. Black background. In the style of a realist painting. cinematic, post-production, depth of field,cinematography, cinema, color grading, professional color grading, 35mm lens, incredibly detailed --no text --v 4 --q 2

Screen Shot 2023-02-20 at 2 47 17 PM

Screen Shot 2023-02-20 at 2 15 59 PM

Screen Shot 2023-02-20 at 2 17 08 PM

Screen Shot 2023-02-20 at 2 45 21 PM

Screen Shot 2023-02-20 at 2 47 24 PM

Screen Shot 2023-02-20 at 2 47 01 PM

About

Prompt generator that converts Game State to narrative prompts for LLM Image and Story generation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published