avatarJim Clyde Monge

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2263

Abstract

staller from <a href="https://github.com/invoke-ai/InvokeAI/releases/tag/v2.2.5">here</a>.</p><p id="b898">As of now, the latest version is v2.2.5.</p><figure id="a6e8"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*3yhuoQ0BGqY0609N0EIBHQ.png"><figcaption>Invoke AI GitHub</figcaption></figure><p id="4d58">Scroll down to the “Installation” section, and there you’ll see a list of installers compatible with Windows, Linux, and Mac.</p><figure id="4e5c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*VsXsukjQQNRQZuiJZFgUCw.png"><figcaption></figcaption></figure><h2 id="f67c">Step#2: Install InvokeAI</h2><p id="64be">After downloading, extract the files to your local disk, and you should see these files.</p><figure id="c64c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*MxGjMerzN2PxITGfRYAmlw.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><p id="0686">Run the WinLongPathsEnabled.reg file to change the registry and allow long paths on your system.</p><p id="8cb4">Next, run the “install.bat” file to start the installation.</p><p id="4af7">If you want to download models, you must first provide a HuggingFace token. A token can be generated from your <a href="https://huggingface.co/settings/tokens">hugging face account’s</a> Settings page and the Access Tokens tab.</p><figure id="1d03"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*Tw9zKz2IS5zpafJ8GN1y3g.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><p id="dd55">The installation may take some time, so while you're waiting, go grab a snack or a coffee.</p><p id="ba87">Once the installation is finished, you should see this message.</p><figure id="2521"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*raT5djvU5py35BSp_padRQ.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><p id="8d2c">Note: Install all recommended models when asked. These are the final files on the list.</p><figure id="efd1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*43jGmXVG9iVdPA3MRl7ogQ.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><h2 id="8226">

Options

Step #3: Start the Web UI</h2><p id="bd5f">Double-click on the “invoke.bat” file and select “Browser-based UI” in the choices.</p><figure id="5647"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*w8HIxBh00M8XFnw3BbPOPw.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><p id="0739">Copy the localhost IP and paste it into your browser. You should see this dashboard.</p><figure id="1ce1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*pR97snoDjTMDYWynsUElKA.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><p id="dd88">Awesome! We can start making images.</p><h2 id="49b1">Step #4: Generate sample images</h2><p id="4587">For this tutorial, we’ll leave all settings at default. Add your text prompt, saying, “An astronaut riding a horse in space." Here is a sample result.</p><figure id="0fbe"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*2DB9F1a1OOE_5EANpcYQ0g.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><p id="f4ce">The generation process of 512x512 images took ~30 seconds on my RTX 3060 Ti with 8GB of VRAM.</p><p id="c340">You can push some settings up to whatever your hardware can handle. The 1024x1024 image below took 2 minutes to generate.</p><figure id="2f91"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*yhWn-6lXaddhCUvP1VkBnA.png"><figcaption>Image by <a href="undefined">Jim Clyde Monge</a></figcaption></figure><p id="e908">Go ahead and play around with the text prompts and settings to generate unlimited images on your local PC. Enjoy.</p><p id="8510">Okay, that’s about it. I hope you find this tutorial helpful. If you encounter any issues, put them down in the comment section, and I will try to answer them all.</p><p id="e5f7"><i>Stay up to date with the latest news and updates in the creative AI space — follow the <a href="https://medium.com/generative-ai">Generative AI</a> publication.</i></p><p id="b5b2"><i>Please support my work on Medium and get unlimited access by becoming a member using my referral link <a href="https://jimclydemonge.medium.com/membership"><b>here</b></a></i><b>. </b><i>Have a nice day!</i></p></article></body>

How To Run Stable Diffusion With InvokeAI Toolkit — A Step-By-Step Guide

Image by Jim Clyde Monge

A few weeks ago, Automatic1111, the most popular UI for Stable Diffusion AI, got briefly banned from GitHub for unknown reasons. Some people think that there were a large number of reports from users who didn't like the idea of using AI to make art.

Although Automatic1111 has already been restored from GitHub, nobody knows if this will ever happen again. If it gets taken down again, there are other alternatives out there that are just as good. I recommend Invoke AI because it is relatively easy to install and has a robust feature set.

In this article, I am going to share how you can install and run InvokeAI on your local PC.

Note that I am currently running on Windows 11, so the tutorial is only for Windows users. If you’re running on Mac or Linux, head over to this GitHub documentation for the step-by-step guide.

Okay, let’s start with the hardware requirements.

System Requirements

You will need the following hardware.

  • An NVIDIA-based graphics card
  • At least 4 GB of VRAM
  • At least 12 GB of disk space
  • At least 12 GB Main Memory RAM

If everything is fine, let’s move on to the installation steps.

Step #1: Setup the environment

Download and install the following:

Step#1: Download the latest installer

Download the latest version of the InvokeAI installer from here.

As of now, the latest version is v2.2.5.

Invoke AI GitHub

Scroll down to the “Installation” section, and there you’ll see a list of installers compatible with Windows, Linux, and Mac.

Step#2: Install InvokeAI

After downloading, extract the files to your local disk, and you should see these files.

Image by Jim Clyde Monge

Run the WinLongPathsEnabled.reg file to change the registry and allow long paths on your system.

Next, run the “install.bat” file to start the installation.

If you want to download models, you must first provide a HuggingFace token. A token can be generated from your hugging face account’s Settings page and the Access Tokens tab.

Image by Jim Clyde Monge

The installation may take some time, so while you're waiting, go grab a snack or a coffee.

Once the installation is finished, you should see this message.

Image by Jim Clyde Monge

Note: Install all recommended models when asked. These are the final files on the list.

Image by Jim Clyde Monge

Step #3: Start the Web UI

Double-click on the “invoke.bat” file and select “Browser-based UI” in the choices.

Image by Jim Clyde Monge

Copy the localhost IP and paste it into your browser. You should see this dashboard.

Image by Jim Clyde Monge

Awesome! We can start making images.

Step #4: Generate sample images

For this tutorial, we’ll leave all settings at default. Add your text prompt, saying, “An astronaut riding a horse in space." Here is a sample result.

Image by Jim Clyde Monge

The generation process of 512x512 images took ~30 seconds on my RTX 3060 Ti with 8GB of VRAM.

You can push some settings up to whatever your hardware can handle. The 1024x1024 image below took 2 minutes to generate.

Image by Jim Clyde Monge

Go ahead and play around with the text prompts and settings to generate unlimited images on your local PC. Enjoy.

Okay, that’s about it. I hope you find this tutorial helpful. If you encounter any issues, put them down in the comment section, and I will try to answer them all.

Stay up to date with the latest news and updates in the creative AI space — follow the Generative AI publication.

Please support my work on Medium and get unlimited access by becoming a member using my referral link here. Have a nice day!

Ai Art
Stable Diffusion
Artificial Intelligence
Technology
Invoke Ai
Recommended from ReadMedium