January 24, 2025|5 min reading

The Ultimate Guide to Automatic1111 Command Line Arguments for Stable Diffusion

Complete Guide to Automatic1111 Command Line Arguments for Stable Diffusion
Author Merlio

published by

@Merlio

Don't Miss This Free AI!

Unlock hidden features and discover how to revolutionize your experience with AI.

Only for those who want to stay ahead.

Unlock your creative potential with Stable Diffusion’s AUTOMATIC1111 implementation! This guide takes you step-by-step through installation, system requirements, and advanced command-line arguments to elevate your AI-generated art.

Contents

  • Key Highlights
  • Top Command Line Arguments
  • System Requirements for Automatic1111
  • Step-by-Step Installation Guide
    • Step 1: Download and Install Python
    • Step 2: Install Git
    • Step 3: Clone the AUTOMATIC1111 Repository
    • Step 4: Install Dependencies Using PIP
    • Step 5: Run AUTOMATIC1111 WebUI
  • Exploring Command Line Arguments
    • Frequently Used Command Line Arguments
    • Comprehensive Command Line Argument List
  • FAQs

Key Highlights

  • Explore the most commonly used command line arguments for AUTOMATIC1111 WebUI.
  • Access a complete list of valid command line arguments for full customization.
  • Learn about system requirements and installation steps for AUTOMATIC1111 WebUI.

Top Command Line Arguments

AUTOMATIC1111’s script includes powerful command line arguments to globally adjust settings for optimal performance. Here are some key options:

  • --ui-config-file: Specify a custom UI configuration file.
  • --no-progressbar-hiding: Ensure the progress bar remains visible during operations.
  • --max-batch-count: Set the maximum number of batches for processing.
  • --ui-settings-file: Define a specific UI settings file.
  • --no-half: Disable half-precision computations for improved compatibility.

Pro Tip:

For enhanced performance on NVIDIA GPUs, add the Xformers argument to your BAT file for execution. Refer to the Stable Diffusion Wiki for further details.

System Requirements for Automatic1111

Before diving into installation, ensure your system meets these requirements:

  • CPU and GPU Requirements:
    • NVIDIA GPU with CUDA support is highly recommended.
    • Workarounds are available for AMD GPUs but may result in reduced performance.
  • RAM: At least 16GB is recommended for seamless operation.
  • Disk Space: Sufficient space to store models and generated images.

GPU Compatibility Notes:

  • Running AUTOMATIC1111 on an integrated GPU is possible but significantly slower and limited by the lack of CUDA support.
  • AMD GPUs may require specific workarounds for compatibility.

Step-by-Step Installation Guide

Step 1: Download and Install Python

Visit the official Python website and download the latest version compatible with your system (32-bit or 64-bit).

Run the installer and ensure you select Add Python to PATH for easy command-line access.

Verify the installation by typing python --version in the command prompt.

Step 2: Install Git

Download Git from the official website.

Follow the installation wizard and accept default settings unless customization is required.

Verify the installation by typing git --version in the command prompt.

Step 3: Clone the AUTOMATIC1111 Repository

Open your command prompt and navigate to your desired installation folder.

Clone the repository using:

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

Step 4: Install Dependencies Using PIP

Upgrade PIP to the latest version:

python -m pip install --upgrade pip

Navigate to the cloned repository folder.

Install dependencies using:

pip install -r requirements.txt

Step 5: Run AUTOMATIC1111 WebUI

Navigate to the repository folder.

Start the WebUI with:

python launch.py

Exploring Command Line Arguments

Frequently Used Command Line Arguments

  • -s or --steps: Adjust the number of steps for generating detailed images.
  • -n or --name: Set the output file name.
  • -a or --alpha: Control the transparency level of images.
  • -g or --gamma: Modify the scale of noise input.

Comprehensive Command Line Argument List

ArgumentCommandDefault ValueDescription--data-dirPath to data storage./Define base path for data storage.--configConfiguration file pathv1-inference.yamlSet the model configuration file.--ckptModel checkpoint pathmodel.ckptSpecify the model checkpoint.--apiEnable API modeFalseLaunches WebUI with API access.

For a detailed list, visit the Stable Diffusion Wiki.

FAQs

1. Can I run AUTOMATIC1111 on an integrated GPU?

Yes, but expect significantly reduced performance compared to a dedicated NVIDIA GPU with CUDA support.

2. Can I use AUTOMATIC1111 with an AMD GPU?

While NVIDIA GPUs are recommended, there are workarounds for AMD GPUs. Performance may vary depending on the configuration.

3. How do I update AUTOMATIC1111?

Navigate to the repository folder and run:

git pull

This will fetch the latest updates.

4. Where can I find more resources?

Visit the Stable Diffusion Wiki, community forums, and online tutorials to expand your knowledge.

Leverage the power of AUTOMATIC1111’s command line arguments to take full control of your AI art generation. Ready to start creating? Let your imagination soar!