Skip to content

Instantly share code, notes, and snippets.

// overall, this version (v2) moves toward the approach of constructing prompts within the artStyle list, such that you can e.g. place user inputs within a prompt multiple times, and have prompt construction completely depend on the art style
// NOTE: the notes below are old/outdated. lots of other changes that aren't listed here.
// changes (note that some of the non-breaking ones were back-ported to v1):
// - [breaking] all userInputs are now under a single `input` global variable - so [input.description] instead of polluting global namespace with [description]
// - [breaking] no more _optionName for <select> inputs - use [input.artStyle.getName] instead of [artStyle_optionName]
// - [breaking] no more 'append'/'prepend' options - not necessary now that we move to constructing prompts within the artStyle list
// - `remember=true` for user input specs, which remembers values even after page reload
// - multiple chat channels