UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Follow publication

Install Stable Diffusion on Mac — Beginners Guide

--

Generate AI Images with Ease on Your Mac

Hi there, I’m Anupam Pareek, a lead product designer on a mission to explore the exciting world of AI tools and their applications.

Today, I’ll guide you through the process of installing the stable diffusion UI on your Mac so that you can generate AI images with ease. So without further delay, let’s get that stable diffusion tool fired up on your Mac!

Watch tutorial

Step-by-Step instructions

Step 1: Install Homebrew

First, we need to install Homebrew. Copy the following code:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Open the terminal on your Mac and run the command.

Step 2: Install Required Packages

We need to install some more packages for this to work. Next, run the following command in terminal:

brew install cmake protobuf rust python@3.10 git wget

Step 3: Install Stable Diffusion UI

Now, we’ll install the stable diffusion UI. Type and execute the following command on terminal:

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

Step 4: Add Model Files

Once the installation is complete, open the stable diffusion web UI folder

To open the folder just run open . command on terminal, you will find stable-diffusion-webui folder there, find the ‘models’ folder in it, in models folder look for ‘Stable-diffusion’ folder and open it.

You’ll have to paste the CKPT or safetensor files for whichever model you choose to run on the stable diffusion UI.

Visit the Hugging Face website to download any .ckpt file from a good model. I’m using the Protogen-Infinity (8gb), but you can choose any model of your choice. Download the .ckpt file and place it in the stable-diffusion-webui > models > Stable-diffusion” folder.

— You can also use Mo-di-diffusion model if you don’t have enough storage on your mac, size of this ckpt file is just 2.13 gb.

Step 5: Launch the Web UI

In the terminal, type cd stable-diffusion-webui and then execute ./webui.sh

Step 6: Start Generating AI Images

Copy the URL displayed in the terminal and paste it into the browser and enter your first text prompt. Voila! Stable diffusion UI is installed on your Mac, and you can start generating AI images.

If you face any issues during the installation or runtime, please let me know in the comments. Although I’m a designer and not a developer, I’ll still try to help you out. Stay tuned for more videos and tutorials on design and AI coming from my side!

--

--

Published in UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Responses (18)