Skip to content

Usage Examples

junebug12851 edited this page Dec 6, 2022 · 10 revisions

Use Defaults

Uses defaults in settings. If you haven't changed the settings this will print out a random prompt using random amount of words from the English dictionary and random amount of words from the artists file. Some of these words may be emphasized or de-emphasized randomly. It will do nothing more.

node .

Prompt: sooth, snail, gazetteer, Elkhart, convolution, sloop

Specify your own prompt

node . --prompt "landscape, dusk, sunset, sunlight"

Prompt: landscape, dusk, sunset, sunlight

Add some extra randomization to your prompt

This will add a random 10-digit number to your prompt, when re-using your prompt in variations that number will be automatically re-randomized

node . --prompt-salt

Prompt: Exercycle, serpentine, wind's, decennial, snips, detention, anchorwoman, Guido Reni [1325276756]

Fine-tune the auto-prompts

You can get pretty detailed with auto-prompts, make sure to read the details here Quick-Features-Explanation

node . --count 5 --max-count 10 --prompts 3 --emphasis-chance 0.75 --emphasis-max-levels 10 --de-emphasis-chance 0.75 --min-artists 1 --max-artists 10

Prompt: Pepys, chanciness, Guamanian, predicament, Nagpur, shipyard, sanctification, ampersand, [[yipped]], puttee, Honor C. Appleton, Bernat Sanjuan

Prompt: melodramatics, backslapper, teethe, [[[extinguishable]]], [shouter], iOS, groundless, Fuzhou, naive, Antonio Galli Bibiena, Dan Mumford

Prompt: Hamiltonian, [trouble], chimpanzee, gawkily

Change default dictionaries

Anything can be a list, but the program needs to select 2 lists to be designated as the default keywords list and the default artists list. by default, they are keyword which contains English vocabulary and artist which contains the standard Stable diffusion artists. Prompt generation uses these lists by default and so can you with {keyword} and {artist}

But you can change these. A common thing is to use the danbooru lists instead which works well for anime images.

Please note, danbooru can often output NSFW keywords. The default negative prompt will mostly prevent nsfw images no matter the prompt but please be advised when switching to the danbooru lists.

node . --artists "d-artist" --dict "d-keyword"

Prompt: wavy hair, old man, paper, cardigan vest

Auto-generating images and upscaling

The app can send prompts automatically to stable diffusion to have them generated into images and perhaps also upscaled

node . --generate-images --upscale-images

Prompt: eclair, Wobegon, Windsor, hellion, Justin Gerard, Nicolas Mignard

Upscaling...

image

Clone this wiki locally