How to Use Stable Diffusion for Beginners

Learn to generate AI images with Stable Diffusion. Step-by-step guide covering installation, prompting techniques, and settings for beginners.

  1. Install Automatic1111 WebUI. Download the Automatic1111 WebUI installer from the official GitHub repository. Run the webui-user.bat file on Windows or webui.sh on Mac/Linux. The installer will automatically download the required dependencies and Stable Diffusion model files. This process takes 15-30 minutes depending on your internet connection.
  2. Launch the web interface. Double-click webui-user.bat to start the application. Wait for the command prompt to display a local URL, typically http://127.0.0.1:7860. Open this URL in your web browser to access the Stable Diffusion interface. The interface loads with the txt2img tab active by default.
  3. Write your first prompt. Click in the large text box at the top labeled 'Prompt'. Type a clear description of what you want to create, such as 'a golden retriever sitting in a sunny garden'. Keep your first prompts simple and descriptive. Avoid complex artistic styles or technical terms until you understand the basics.
  4. Configure basic settings. Set the image dimensions using the Width and Height sliders. Start with 512x512 pixels for faster generation. Adjust the CFG Scale to 7-12 for balanced results. Set Steps to 20-30 for good quality without excessive processing time. Leave Sampling method on DPM++ 2M Karras for reliable results.
  5. Generate your first image. Click the orange 'Generate' button below the settings panel. The generation progress appears in the command prompt window. Processing typically takes 10-60 seconds depending on your hardware. The completed image appears in the output section on the right side of the interface.
  6. Refine with negative prompts. Expand the 'Negative prompt' section below the main prompt box. Add unwanted elements like 'blurry, low quality, distorted' to improve image quality. Negative prompts tell the AI what to avoid including in the generated image. This significantly improves consistency and removes common artifacts.
  7. Save and organize your images. Right-click any generated image and select 'Save image as' to download it to your computer. Images are automatically saved to the outputs/txt2img-images folder in your Stable Diffusion installation directory. The interface also saves generation parameters, allowing you to recreate or modify previous results.

Related

  • How to Use ChatGPT to Translate Text
  • How to Use ChatGPT for Coding Help
  • How to Use Gemini for Coding
  • How to Use Claude Code
  • How to Use Gemini for Coding Assistance
  • How to Use AI to Transcribe Meetings