IPython shell frontend for generating images with Stable Diffusion.
- txt2img with improvements from webui, e.g. negative prompts and variation.
- Full IPython functionality during use.
- Prompt queuing.
- Saving/loading settings to/from config files during use.
- Separate terminals for IPython and progress prints.
i use # print usage instructions
p "E=mc2" # set prompt to E=mc2
q # queue txt2img job
i # print current parameter values
ni 50 # set number of iterations to 50
sn lms # set sampler name to LMS
se 42 # set seed to 42
qp "r/aww" # queue txt2img job with prompt "r/aww"
save "lms50" # save current settings
load ui_config # restore defaults from webui
qp "bronze statue" # queue txt2img job with prompt "bronze statue"
- Install Linux.
- Install the AUTOMATIC1111 "Voldemort" webui fork.
- Copy the file
shell.py
to the root of your webui installation.
- Open two terminals: a control terminal and a print terminal.
- Execute the file
set_progress_print_out.sh
from this repository in the print terminal. - Navigate to the root directory of the webui installation with the control terminal.
- Execute the
shell.py
script with the control terminal, e.g. viapython shell.py
. Any command line arguments are passed on to webui. If you get an ImportError at this stage please let me know (I have a non-standard webui installation).