InvokeAI 最新版安装指南

由于stable diffusion webui不太好安装,或者你使用一些SD整合包,可免除复杂安装,但你认为SD的操作界面太复杂,所以今天介绍一款支持新手一键安装的Stable Diffusion工具包InvokeAI。

1.什么是InvokeAI

InvokeAI 是一个创新的开源项目,它为开发者提供了一个集成化的平台,用于构建、测试和部署智能接口。无论是AI模型、微服务还是其他复杂系统组件,InvokeAI都提供了一种简单、高效的方式来管理和调用它们。

2.自动安装程序(Windows)

  • 电脑18G左右空间(无论你安装到哪个盘,C盘都需要至少6G的空间来下载和缓存python依赖项)
  • Python 版本(3.10或3.11,3.9不再支持)
  • C++运行库(https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170)

环境配置好之后
从guthub(https://github.com/invoke-ai/InvokeAI/releases/tag/v4.2.3)下载最新的windows安装InvokeAI-installer-v4.2.3.zip

解压下载的压缩包,双击install.bat安装

This script will install InvokeAI and its dependencies.

BEFORE YOU START PLEASE MAKE SURE TO DO THE FOLLOWING
1. Install python 3.10 or 3.11. Python version 3.9 is no longer supported.
2. Double-click on the file WinLongPathsEnabled.reg in order to
   enable long path support on your system.
3. Install the Visual C++ core libraries.
   Please download and install the libraries from:
   https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

See https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/ for more details.

FOR THE BEST USER EXPERIENCE WE SUGGEST MAXIMIZING THIS WINDOW NOW.
请按任意键继续. . .
║            interrupt with Control-C and retry.                            ║
║                                                                           ║
║            🠶  Latest stable release (recommended): 4.2.3                  ║
║            🠶  Last published pre-release version: 4.2.0b2                 ║
║                                                                           ║
╚═════════════════ Windows-AMD64════════════════════════════════════════════╝

❔ Please choose an Invoke version to install.
   <Enter> to install the recommended release (4.2.3). <Tab> or type to pick a version:

提示选择安装版本,输入:4.2.3,回车

❔ Please choose an Invoke version to install.
   <Enter> to install the recommended release (4.2.3). <Tab> or type to pick a version: 4.2.3
   Version 4.2.3 will be installed.


❔ Please select the install destination: [C:\Users\Administrator\invokeai]:
>>> C:\Users\Administrator\invokeai\

输入安装的位置,如果你想安装到其它磁盘,请输入完整路径,我选择默认回车

❔ Please select the install destination: [C:\Users\Administrator\invokeai]:
>>> C:\Users\Administrator\invokeai\

📁 InvokeAI will be installed in C:\Users\Administrator\invokeai
   Please confirm: [y/n] (y):

输入Y确认

  Detected the Windows-AMD64 platform

  See https://invoke-ai.github.io/InvokeAI/#system to ensure your system meets the minimum requirements.

  🠶  Your GPU drivers must be correctly installed before using InvokeAI! 🠴                                                                            

  Please select the type of GPU installed in your computer.

    1 🢒 an NVIDIA GPU (using CUDA™)                                                                                                                   
    2 🢒 Do not install any GPU support, use CPU for generation (slow)                                                                                 



Please make your selection: 

提示GPU或CPU来运行模型,如果你显卡配置低的话,选择2,否则选择1

下面就开始安装了

Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting invokeai==4.2.3 (from invokeai[onnx-cuda,xformers]==4.2.3)
  Downloading InvokeAI-4.2.3-py3-none-any.whl.metadata (23 kB)
Collecting accelerate==0.29.2 (from invokeai==4.2.3->invokeai[onnx-cuda,xformers]==4.2.3)
  Downloading accelerate-0.29.2-py3-none-any.whl.metadata (18 kB)
Collecting clip-anytorch==2.5.2 (from invokeai==4.2.3->invokeai[onnx-cuda,xformers]==4.2.3)
  Downloading clip_anytorch-2.5.2-py3-none-any.whl.metadata (8.1 kB)
Collecting compel==2.0.2 (from invokeai==4.2.3->invokeai[onnx-cuda,xformers]==4.2.3)
  Downloading compel-2.0.2-py3-none-any.whl.metadata (12 kB)
Collecting controlnet-aux==0.0.7 (from invokeai==4.2.3->invokeai[onnx-cuda,xformers]==4.2.3)
  Downloading controlnet_aux-0.0.7.tar.gz (202 kB)
     ---------------------------------------- 202.4/202.4 kB 2.5 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done

安装完成后,点击安装好的目录中的invoke.bat,启动InvokeAI

Desired action:
1. Generate images with the browser-based interface
2. Open the developer console
3. Command-line help
Q - Quit

To update, download and run the installer from https://github.com/invoke-ai/InvokeAI/releases/latest.

Please enter 1-4, Q: [1]

选择1启动

启动之后需要先转到模型选项卡,下载模型,模型文件是从huggingface下载的。

模型下载完成后就可以开始你的AI创作了,怎么样?是不是比SD操作简单多了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ac-er8888

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值