Command Line Arguments and Settings · AUTOMATIC1111_stable-diffusion-webui Wiki · GitHub
Command Line Arguments and Settings · AUTOMATIC1111_stable-diffusion-webui Wiki · GitHub
CONFIGURATION
-h, --help None False Show this help message and exit.
--models-dir MODELS None base path where models are stored; overrides --data-dir
configs/stable-diffusion/v1-
--config CONFIG Path to config which constructs model.
inference.yaml
--no-download-sd-
None False Don't download SD1.5 model even if no model is found.
model
--do-not-download- do not download CLIP model even if it's not included in the
None False
clip checkpoint
--codeformer-
CODEFORMER_MODELS_PATH models/Codeformer/ Path to directory with codeformer model file(s).
models-path
--gfpgan-models-
GFPGAN_MODELS_PATH models/GFPGAN Path to directory with GFPGAN model file(s).
path
--esrgan-models-
ESRGAN_MODELS_PATH models/ESRGAN Path to directory with ESRGAN model file(s).
path
--bsrgan-models-
BSRGAN_MODELS_PATH models/BSRGAN Path to directory with BSRGAN model file(s).
path
--realesrgan-
REALESRGAN_MODELS_PATH models/RealESRGAN Path to directory with RealESRGAN model file(s).
models-path
--scunet-models-
SCUNET_MODELS_PATH models/ScuNET Path to directory with ScuNET model file(s).
path
--swinir-models-
SWINIR_MODELS_PATH models/SwinIR Path to directory with SwinIR and SwinIR v2 model file(s).
path
--textual-inversion-
TEXTUAL_INVERSION_TEMPLATES_DIR textual_inversion_templates Directory with textual inversion templates.
templates-dir
--styles-file STYLES_FILE styles.csv Path or wildcard path of styles files, allow multiple entries.
--allow-code None False Allow custom script execution from web UI.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings#all-command-line-arguments 1/4
10/03/2025, 19:49 Command Line Arguments and Settings · AUTOMATIC1111/stable-diffusion-webui Wiki · GitHub
Argument
Value Default Description
Command
--enable-insecure-
None False Enable extensions tab regardless of other options.
extension-access
--disable-console-
None False Do not output progress bars to console.
progressbars
--nowebui None False Only launch the API, without the UI.
--disable-tls-verify None False When passed, enables the use of self-signed certificates.
--skip-python-
None False Do not check versions of Python.
version-check
--skip-torch-cuda-
None False Do not check if CUDA is able to work properly.
test
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings#all-command-line-arguments 2/4
10/03/2025, 19:49 Command Line Arguments and Settings · AUTOMATIC1111/stable-diffusion-webui Wiki · GitHub
Argument
Value Default Description
Command
--timeout-keep-
int 30 set timeout_keep_alive for uvicorn
alive
PERFORMANCE
--disable-opt-split-
None False Force-disables cross-attention layer optimization.
attention
--no-half-vae None False Do not switch the VAE model to 16-bit floats.
--medvram-sdxl None False enable --medvram optimization just for SDXL models
--disable-model-
disable an optimization that reduces RAM use when
loading-ram- None False
loading a model
optimization
FEATURES
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings#all-command-line-arguments 3/4
10/03/2025, 19:49 Command Line Arguments and Settings · AUTOMATIC1111/stable-diffusion-webui Wiki · GitHub
Argument
Value Default Description
Command
--disable-safe-
None False Disable checking PyTorch models for malicious code.
unpickle
--update-all- On startup, it pulls the latest updates for all extensions you
None None
extensions have installed.
--no-tests None False Do not run tests even if --tests option is specified.
--disable-all-
None False disable all non-built-in extensions from running
extensions
--disable-extra-
None False disable all extensions from running
extensions
--unix-filenames- allow any symbols except '/' in filenames. May conflict with
None False
sanitization your browser and file system
DEFUNCT OPTIONS
--show-negative-
None False No longer has an effect.
prompt
--gradio-img2img-
GRADIO_IMG2IMG_TOOL None No longer has an effect.
tool
--gradio-inpaint-
GRADIO_INPAINT_TOOL None No longer has an effect.
tool
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings#all-command-line-arguments 4/4