Optional
ad_Optional
add_does not do anything
Optional
administrator?: booleanAdministrator rights
Optional
agent_sqlite file to use for the database connection. It can be abs or relative path(from base path) default: task_scheduler.sqlite3
Optional
allow_allow custom script execution from webui
Optional
always_does not do anything
Optional
api?: booleanuse api=True to launch the API together with the webui (use --nowebui instead for only the API)
Optional
api_Set authentication for API like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"
Optional
api_use api-log=True to enable logging of all API requests
Optional
api_enable server stop/restart/kill via api
Optional
autolaunch?: booleanopen the webui URL in the system's default browser upon launch
Optional
bsrgan_Path to directory with BSRGAN model file(s).
Optional
ckpt?: stringpath to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded
Optional
ckpt_Path to directory with stable diffusion checkpoints
Optional
clip_Path to directory with CLIP model file(s).
Optional
codeformer_Path to directory with codeformer model file(s).
Optional
config?: stringpath to config which constructs model
Optional
controlnet_Path to directory with annotator model directories
Optional
controlnet_Path to directory with ControlNet models
Optional
controlnet_Set the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
Optional
controlnet_Cache size for controlnet preprocessor results
Optional
controlnet_Enable memory tracing.
Optional
cors_Allowed CORS origin(s) in the form of a comma-separated list (no spaces)
Optional
cors_Allowed CORS origin(s) in the form of a single regular expression
Optional
data_base path where all user data is stored
Optional
deepdanbooru?: booleandoes not do anything
Optional
device_Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)
Optional
disable_prevent all extensions from running regardless of any other settings
Optional
disable_do not output progressbars to console
Optional
disable_prevent all extensions except built-in from running regardless of any other settings
Optional
disable_disable an optimization that reduces RAM use when loading a model
Optional
disable_do not check if produced images/latent spaces have nans; useful for running without a checkpoint in CI
Optional
disable_Disable auto-update of openpose editor
Optional
disable_prefer no cross-attention layer optimization for automatic choice of optimization
Optional
disable_disable checking pytorch models for malicious code
Optional
disable_When passed, enables the use of self-signed certificates.
Optional
do_do not download CLIP model even if it's not included in the checkpoint
Optional
dump_launch.py argument: dump limited sysinfo file (without information about extensions, options) to disk and quit
Optional
embeddings_embeddings directory for textual inversion (default: embeddings)
Optional
enable_does not do anything
Optional
enable_enable extensions tab regardless of other options
Optional
esrgan_Path to directory with ESRGAN model file(s).
Optional
f?: boolean==SUPPRESS==
Optional
force_enable xformers for cross attention layers regardless of whether the checking code thinks you can run it; do not make bug reports if this fails to work
Optional
freeze_disable editing settings
Optional
gfpgan_GFPGAN directory
Optional
gfpgan_GFPGAN model file name
Optional
gfpgan_Path to directory with GFPGAN model file(s).
Optional
gradio_add path to gradio's allowed_paths, make it possible to serve files from it
Optional
gradio_set gradio authentication like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"
Optional
gradio_set gradio authentication file path ex. "/path/to/auth/file" same auth format as --gradio-auth
Optional
gradio_launch gradio with --debug option
Optional
gradio_does not do anything
Optional
gradio_does not do anything
Optional
gradio_does not do anything
Optional
hide_hide directory configuration from webui
Optional
hypernetwork_hypernetwork directory
Optional
ldsr_Path to directory with LDSR model file(s).
Optional
listen?: booleanlaunch gradio with 0.0.0.0 as server name, allowing to respond to network requests
Optional
localizations_localizations directory
Optional
log_launch.py argument: print a detailed log of what's happening at startup
Optional
loglevel?: stringlog level; one of: CRITICAL, ERROR, WARNING, INFO, DEBUG
Optional
lora_Path to directory with Lora networks.
Optional
lowram?: booleanload stable diffusion checkpoint weights to VRAM instead of RAM
Optional
lowvram?: booleanenable stable diffusion model optimizations for sacrificing a lot of speed for very low VRM usage
Optional
lyco_Path to directory with LyCORIS networks (for backawards compatibility; can also use --lyco-dir).
Optional
max_maximum batch count value for the UI
Optional
medvram?: booleanenable stable diffusion model optimizations for sacrificing a little speed for low VRM usage
Optional
medvram_enable --medvram optimization just for SDXL models
Optional
ngrok?: stringngrok authtoken, alternative to gradio --share
Optional
ngrok_The options to pass to ngrok in JSON format, e.g.: '{"authtoken_from_env":true, "basic_auth":"user:password", "oauth_provider":"google", "oauth_allow_emails":"user@asdf.com"}'
Optional
ngrok_does not do anything.
Optional
no_don't download SD1.5 model even if no model is found in --ckpt-dir
Optional
no_Disables gradio queue; causes the webpage to use http requests instead of websockets; was the default in earlier versions
Optional
no_do not switch the model to 16-bit floats
Optional
no_do not switch the ControlNet models to 16-bit floats (only needed without --no-half)
Optional
no_do not switch the VAE model to 16-bit floats
Optional
no_disable sha256 hashing of checkpoints to help loading performance
Optional
no_do not hide progressbar in gradio UI (we hide it because it slows down ML if you have hardware acceleration in browser)
Optional
nowebui?: booleanuse api=True to launch the API instead of the webui
Optional
opt_change memory type for stable diffusion to channels last
Optional
opt_prefer scaled dot product cross-attention layer optimization for automatic choice of optimization; requires PyTorch 2.*
Optional
opt_prefer scaled dot product cross-attention layer optimization without memory efficient attention for automatic choice of optimization, makes image generation deterministic; requires PyTorch 2.*
Optional
opt_prefer Doggettx's cross-attention layer optimization for automatic choice of optimization
Optional
opt_prefer InvokeAI's cross-attention layer optimization for automatic choice of optimization
Optional
opt_prefer older version of split attention optimization for automatic choice of optimization
Optional
opt_prefer memory efficient sub-quadratic cross-attention layer optimization for automatic choice of optimization
Optional
port?: stringlaunch gradio with given server port, you need root/admin rights for ports < 1024, defaults to 7860 if available
Optional
precision?: stringevaluate at this precision
Optional
realesrgan_Path to directory with RealESRGAN model file(s).
Optional
reinstall_launch.py argument: install the appropriate version of torch even if you have some version already installed
Optional
reinstall_launch.py argument: install the appropriate version of xformers even if you have some version already installed
Optional
scunet_Path to directory with ScuNET model file(s).
Optional
server_Sets hostname of server
Optional
share?: booleanuse share=True for gradio and make the UI accessible through their site
Optional
show_does not do anything
Optional
skip_launch.py argument: skip installation of packages
Optional
skip_if load a model at web start, only take effect when --nowebui
Optional
skip_launch.py argument: skip all environment preparation
Optional
skip_launch.py argument: do not check python version
Optional
skip_launch.py argument: do not check if CUDA is able to work properly
Optional
skip_Do not check versions of torch and xformers
Optional
styles_filename to use for styles
Optional
sub_the percentage of VRAM threshold for the sub-quadratic cross-attention layer optimization to use chunking
Optional
sub_kv chunk size for the sub-quadratic cross-attention layer optimization to use
Optional
sub_query chunk size for the sub-quadratic cross-attention layer optimization to use
Optional
subpath?: stringcustomize the subpath for gradio, use with reverse proxy
Optional
swinir_Path to directory with SwinIR model file(s).
Optional
test_launch.py argument: configure server for testing
Optional
textual_directory with textual inversion templates
Optional
theme?: stringlaunches the UI with light or dark theme
Optional
timeout_set timeout_keep_alive for uvicorn
Optional
tls_Partially enables TLS, requires --tls-keyfile to fully function
Optional
tls_Partially enables TLS, requires --tls-certfile to fully function
Optional
ui_filename to use for ui configuration
Optional
ui_Don't load model to quickly launch UI
Optional
ui_filename to use for ui settings
Optional
unload_does not do anything.
Optional
upcast_upcast sampling. No effect with --no-half. Usually produces similar results to --no-half with better performance while using less memory.
Optional
update_launch.py argument: download updates for all extensions when starting the program
Optional
update_launch.py argument: check for updates at startup
Optional
use_use CPU as torch device for specified modules
Optional
use_use Intel XPU as torch device
Optional
use_use textbox for seeds in UI (no up/down, but possible to input long seeds)
Optional
vae_Path to directory with VAE files
Optional
vae_Checkpoint to use as VAE; setting this argument disables all settings related to VAE
Optional
xformers?: booleanenable xformers for cross attention layers
Optional
xformers_enable xformers with Flash Attention to improve reproducibility (supported for SD2.x or variant only)
Don't use adetailer models from huggingface