https://github.com/haoming02/sd-webui-launch-options
An Extension for Automatic1111 Webui that customize settings before launching
https://github.com/haoming02/sd-webui-launch-options
stable-diffusion-webui stable-diffusion-webui-plugin
Last synced: 4 months ago
JSON representation
An Extension for Automatic1111 Webui that customize settings before launching
- Host: GitHub
- URL: https://github.com/haoming02/sd-webui-launch-options
- Owner: Haoming02
- License: mit
- Created: 2024-03-21T15:02:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T12:24:10.000Z (almost 2 years ago)
- Last Synced: 2025-08-18T11:53:34.072Z (10 months ago)
- Topics: stable-diffusion-webui, stable-diffusion-webui-plugin
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SD Webui Launch Options
This is an Extension for the [Automatic1111 Webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui), which allows you to change settings before the UI is loaded.
> Also supports [Forge](https://github.com/lllyasviel/stable-diffusion-webui-forge)
## Problem Statement
Wanna use a different checkpoint than last time when launching the Webui, but hate the time it takes to reload the model?
Introducing, **Launch Options**! Whenever you launch the Webui, it will first ask for the options, before it finishes loading everything. So now you can always start the UI with the checkpoint of choice!
**That's not all!** The options are completely customizable. You can put any settings for it to ask:
## How to Use
- **Options**
- You can edit the `config.yaml` **YAML** file to customize the settings to ask
- The **key** should be the same key from the `config.json` file inside the Webui folder
- The **value** should be an array of options to choose from
- The values can be strings or data structures
- Alternatively, if the value is only a **single** entry pointing to a **folder**, the options will become all filenames within that folder *(**eg.** point it to `~\webui\models\Stable-diffusion`)*
> Some examples are included
- **Launch**
- When you launch the Webui, it will ask for each of the settings specified in the `config.yaml`
- You can simply press `Enter` to skip a setting _(keep the current one)_
- or enter a `number` based on the specified options