Bubble gum blonde in pink - How to Install Invoke

Learn How to Install Invoke: Stable Diffusion Creative AI for Professionals and Enthusiasts

Invoke is a professional creative AI tool for visual media, based on the Stable Diffusion technology. Stable Diffusion is a state-of-the-art method for generating realistic and diverse images from text or other images. Invoke allows you to use Stable Diffusion models in a simple and intuitive way, through a web-based user interface (WebUI), a command-line interface (CLI), or a commercial cloud service. Invoke is different from other Stable Diffusion GUIs, such as ComfyUI and Automatic1111, in several ways. First, Invoke is the only tool that supports both the open source and the commercial versions of Stable Diffusion.

You can install Invoke locally on your PC if you have the right hardware, or you can sign up to the commercial version for a monthly fee that allows you access to their cloud GPU, which includes a workflow builder. Second, Invoke is designed to be fast, stable, and user-friendly. It has a sleek and modern WebUI that lets you generate images with a few clicks, a CLI that gives you more control and flexibility, and a cloud service that offers high performance and reliability.

Third, Invoke is constantly updated with the latest features and models from the Stable Diffusion research community. You can use Invoke to create stunning visual media with various modes and settings, such as text to image, image to image, outpainting, inpainting, color sketch, prompt matrix, and more.

In this tutorial, you will learn how to install Invoke for Stable Diffusion on Microsoft Windows, and how to use it to generate amazing images from your own prompts. Let’s get started!

Learn How to Install Invoke: Stable Diffusion Creative AI for Professionals and Enthusiasts

Invoke AI User Interface
Invoke AI User Interface

Invoke is a powerful and versatile tool for using Stable Diffusion, a generative AI technology that can create realistic and diverse images from text or other images. Invoke has many benefits that make it stand out from other Stable Diffusion GUIs, such as ComfyUI and Automatic1111. Here are some of the main benefits of Invoke:

Invoke is the only generative creation tool and custom AI model manager where you retain complete control & ownership of your work, your models, and your intellectual property, in perpetuity.

Before you start installing Invoke, you need to check if your system meets the following requirements. These requirements will help you install and run Invoke smoothly and efficiently:

  • Operating System: 

    You can use Invoke on Windows, MacOS, or Linux. However, you need to make sure that your operating system is updated to the latest version.

  • You need to have Python 3.10 or 3.11 installed on your machine. Earlier or later versions are not supported by Invoke. You can download and install Python from the official Python website.

    Download Python 3.12.1
    What to do if you have an unsupported version
    Go to Python Downloads and download the appropriate installer package for your platform. Invoke recommends Version 3.10.12, which has been extensively tested with InvokeAI.
  • Visual C++ Libraries

    Windows users must install the free Visual C++ libraries from Microsoft

    Download Microsoft Visual C++
  • CUDA Tools

    For those with NVidia GPUs, you will need to install the CUDA toolkit and optionally the XFormers library.

  • Node.js and pnpm: 

    You also need to have Node.js and pnpm installed on your machine. Node.js is a JavaScript runtime environment that is required for Invoke to work. pnpm is a package manager that is used to install the dependencies for Invoke. You can download and install Node.js from the official Node.js websiteYou can install pnpm with the command npm install -g pnpm if needed.

  • Hardware:

    For the best performance, you need to have a system with a powerful GPU, at least 16 GB of RAM and a minimum of 6-8 GB VRAM for rendering 1024×1024 images. If you don’t have a GPU, you can use the CPU option, but it will be much slower and less stable. You can check the compatibility of your GPU with the CUDA support matrix for Nvidia cards or the ROCm support matrix for AMD cards.

  • Storage:

    You need to have enough storage space on your computer to store the Invoke installation files, the models, and the generated images. The installation files are about 2 GB, the models are about 4 GB each, and the images can vary in size depending on the resolution and format. I recommend having at least a 1 TB drive for Invoke. These files are huge!!

  • Internet Connection:

    You need to have a stable and fast internet connection for downloading the Invoke installer and the models. The installer is about 500 MB and the models are about 4 GB each. You also need an internet connection for accessing the Invoke web UI and the cloud service.

Repository – InvokeAI · GitHub
Release Invoke 3.6.2 · invoke-ai/InvokeAI · GitHub

Stable Diffusion Prerequisite Installation Guide: Automatic1111, Invoke and Comfy UI
Stable Diffusion Prerequisite Installation Guide: Automatic1111, Invoke and Comfy UI

This is the Stable Diffusion prerequisite guide. Here we will learn how to prepare your system for the installation of Stable Diffusion’s distinct Web UIs—Automatic1111, Invoke 3.0, and Comfy UI

Step 1: Download the Automatic Installer.

Download InvokeAI 3.6.2 Installer
  • Move the downloaded file to the folder you want to install Invoke.
  • Extract the InvokeAI Installer.

Step 2: Verify Python Version

  • Before you start the installer.
  • Please open up your system’s command line window (Terminal or Command) and type the commands:
  • python –version
  • If all is well, it will print “Python 3.X.X”, where the version number is at least 3.10., and not higher than 3.11.

Step 3: Verify pip Version

  • If the above works, check the version of the Python package manager, pip:
  • In the Command Prompt, Type the commands: pip –version
  • You should get a message that indicates that the pip package installer was derived from Python 3.10 or 3.11.
    For example: “pip 22.0.1 from /usr/bin/pip (python 3.10)”

Step 4: Run Long Paths on Windows

  • If you are on Windows, you will need to enable Windows Long Paths to run InvokeAI successfully.
    If you’re not sure what this is, you almost certainly need to do this.
  • Simply double-click the “WinLongPathsEnabled.reg” file located in this directory, and approve the Windows warnings.
    Note that you will need to have admin privileges in order to do this.

Step 5: Launch the installer.

  • Windows: Double-click the ‘install.bat’ file
    (while keeping it inside the InvokeAI-Installer folder).
  • Linux and Mac:
    Please open the terminal application and run ‘./install.sh’
    (while keeping it inside the InvokeAI-Installer folder).

The installer will create a directory of your choice and install the InvokeAI application within it. This directory contains everything you need to run
InvokeAI. Once InvokeAI is up and running, you may delete the InvokeAI-Installer folder at your convenience.

  • This is first menu you will see when Launching the InvokeAI Installer.
  • Maximize the window, then Press any key to continue.

Step 6: Follow the Installer’s Instructions.

Below, I will be highlighting the options that fit my PC. You will need to do the same.

  • InvokeAI will be installed in:

    • C:\Users\AndyH\invokeai Use this location? [y/n]:
    • (Select ‘n’ if you want to change directory)
  • Please select the type of GPU installed in your computer.

    • an NVIDIA GPU (using CUDA™)
    • an NVIDIA GPU (using CUDA™, and DirectML™ for ONNX) — ALPHA
    • no compatible GPU, or specifically prefer to use the CPU
    • I’m not sure what to choose
  • Dependencies will begin Downloading

    • After selecting your GPU above, Invoke will begin downloading and installing the dependencies required.
      (It may take awhile)
  • Root Directory and Configuration:

    After libraries are installed, InvokeAI will set up its root directory and configuration. You can choose between:

    • AUTOMATIC configuration: install reasonable defaults and a minimal set of starter models.
    • MANUAL configuration: manually inspect and adjust configuration options and pick from a larger set of starter models.
    • Select Automatic and it will pick the best settings for your platform/hardware.
      Just set it and forget it; InvokeAI will choose the best settings for you unless you have a strange alien computer,
      You can always change it later once you learn more about these features. It’s worth learning!
  • Launch Invoke AI!

    • Double click on the Invoke.bat (Windows Batch File) in the root directory to launch it.
    • A ‘Desired action’ window will open.
    • Select 1. Generate images with the browser-based interface.
    • Copy and Paste the URL address you’re provided in your browser, to access the Invoke WebUI.
Common Issue
Ignore this message.
“A matching Triton is not available, some optimizations will not be enabled.”
There’s no Windows triton, and that warning does not mean anything is wrong. Triton is not supported on windows, and only xformers 0.0.15 and above uses it. This error can be ignored on windows and xformer will still work and likewise with Invoke.
  • Launch the Invoke.bat (Windows Batch File)

  • Select Option 8. Update InvokeAI

  • Select your preferred update option.

    [1] Update to the latest official release.
    [2] Update to the latest pre-release (may be buggy, database backups are recommended before installation
    [3] Manually enter the version you wish to update to.

Invoke: How to Install and Manage Models

Select a Post
Select a Post

Post Excerpt

How to Install Stable Diffusion:

Tags And Categories

In: ,

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *

Horizontal ad will be here