Skip to content

Python script to take data from stable-diffusion-webui with metadat and cycle through all Samplers and models for comparison

Notifications You must be signed in to change notification settings

4a50/SD-Model-Utils

Repository files navigation

Stable Diffusion Helper Scripts

Sample and Model Cycler

By: 4a50


Python Script to take a Stable Diffusion Image and cycle through either all Samplers, all Models, or both

Requires: Stable Diffusion Web UI by AUTOMATIC1111 running in API mode.


Command Line:

usage: SD-images-Script.py [-h] [-ma] [-sa] [-ss] [-ms] [-nl] path

Cycles a supplied image through all/selected Models and Samplers

positional arguments:
  path                  Path to PNG file with Stable Diffusion data

options:
  -h, --help            show this help message and exit
  -ma, --modelsall      Use All Models
  -sa, --samplersall    Use All Samplers
  -ss, --samplerselect  Use Only Selected Samplers
  -ms, --modelsselect   Use Only Selected Models
  -nl, --noeventlog     Do not log events to file

No options provided will create an image using data from image
Version Description Date
1.0 Use PNG to cycle through Samplers or Models CLI 2/20/23
1.1 Added Selectable Models and Samplers 2/21/23
1.2 Event Log to File Option 2/21/23
1.21 Fixed Bug if picture metadata does not negative prompts

SD CivitAi Model Handler

By: 4a50

Scrapes and Maintains JSON file of downloaded models

About

Python script to take data from stable-diffusion-webui with metadat and cycle through all Samplers and models for comparison

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages