Notes:
- Offline scripts can be used with or without Automatic WebUI
- Online scripts rely on Automatic WebUI API which should be started with
--api
parameter - All scripts have built-in
--help
parameter that can be used to get more information
Text-to-image with all of the possible parameters
Supports upsampling, face restoration and grid creation
python generate.py
By default uses parameters from generate.json
Parameters that are not specified will be randomized:
- Prompt will be dynamically created from template of random samples:
random.json
- Sampler/Scheduler will be randomly picked from available ones
- CFG Scale set to 5-10
Textual inversion embedding training
python train-ti.py
Combined pipeline:
- Creates embedding
- Extracts images if input is movie
- Preprocesses images
- Runs training
LoRA training
python train-lora.py
Combined pipeline:
- Preprocesses images
- Runs training
LoRA extract from model
python moidules/lora-extract.py
Benchmark your Automatic WebUI
Note: Requires SD API
python modules/bench.py
Create previews of embeddings using preview templates
Note: Requires SD API
python modules/preview-embeddings.py
Create flexible image grids from any number of images
Note: Offline tool
python modiles/grid.py
Create invisible image watermark and remove existing EXIF tags
Note: Offline tool
python modules/image-watermark.py
Runs CLiP and Booru image interrogation
Note: Requires SD API
python modules/interrogate.py
Standalone implementation of GiT, CLiP and ViT image interrogation
Note: Offline tool
python modules/interrogate-offline.py
Create previews of models using built-in templates
Note: Requires SD API
python modules/preview-models.py
Extract color palette from image(s)
Note: Offline tool
python modules/palette-extract.py
Run image processing to extract face/body segments and run resolution/blur/dynamic-range checks
Note: Offline except for interrogate to generate caption files which requires SD API
python modules/process.py
Generate complex prompt ideas Note: Offline tool
python modules/prompt-ideas.py
Attempts to beautify the provided prompt
Note: Offline tool
python modules/promptist.py
Create loss-chart from training log Note: Offline tool, may require adjustment to train paths if used with other repos
python modules/train-losschart.py
Create customizable loss rate to be used in training Note: Offline tool
python modules/train-lossrate.py
Extract frames from video files
Note: Offline tool
python modules/video-extract.py
Utility module that handles async communication to Automatic API endpoints
Note: Requires SD API
Can be used to manually execute specific commands:
python sdapi.py progress
python sdapi.py interrupt python sdapi.py shutdown