Using command line utilities I retrieve random artists, styles, cameras, and techniques, then pass that to the llm command line utility to generate random prompts.
You will need llm, shuf, iconv, tr, and sed available on the cmdline.
pip install llm
llm keys set openai
llm 'Artists work can be described through prompts. [REMOVED FOR BREVITY] For this task you will take inspiration from the following $input. Write 20 prompts given the instructions above, do not title or number your prompts.' --save artprompts
You will have to replace the urls with your own as I can't post them here but they are just gist text files with list of the thing in question.
curl -s YOURARTISTGISTHERE | shuf -n 3 | iconv -f utf-8 -t ascii//translit | tr '\n' ',' | sed 's/,$/\n/' > .temp_artist_%Date:~10,4%%Date:~4,2%%Date:~7,2%.txt && curl -s YOURCAMERAGISTHERE | shuf -n 2 | iconv -f utf-8 -t ascii//translit | tr '\n' ',' | sed 's/,$/\n/' > .temp_camera_%Date:~10,4%%Date:~4,2%%Date:~7,2%.txt && curl -s YOURSTYLEGISTHERE | shuf -n 2 | iconv -f utf-8 -t ascii//translit | tr '\n' ',' | sed 's/,$/\n/' > .temp_styles_%Date:~10,4%%Date:~4,2%%Date:~7,2%.txt && curl -s YOURTECHNIQUEGISTHERE | shuf -n 1 | iconv -f utf-8 -t ascii//translit | tr '\n' ',' | sed 's/,$/\n/' > .temp_techniques_%Date:~10,4%%Date:~4,2%%Date:~7,2%.txt && @for /F "delims=" %a in ('type .temp_artist_%Date:~10,4%%Date:~4,2%%Date.txt ^| more +0') do @for /F "delims=" %b in ('type .temp_styles_%Date:~10,4%%Date:~4,2%%Date.txt ^| more +0') do @for /F "delims=" %c in ('type .temp_techniques_%Date:~10,4%%Date:~4,2%%Date.txt ^| more +0') do @for /F "delims=" %d in ('type .temp_camera_%Date:~10,4%%Date:~4,2%%Date.txt ^| more +0') do @echo Using the following artists for inspiration: %a, create prompts using the style: %b making use of %c technique and shot on a camera like %d > .temp_inspiration_%Date:~10,4%%Date:~4,2%%Date:~7,2%.txt && cat .temp_inspiration_%Date:~10,4%%Date:~4,2%%Date:~7,2%.txt | llm -t artprompts