超簡單AI繪圖工具Stable Diffusion安裝篇2024最新版
TLDR杰克和艾粒介绍了2024年最新版的Stable Diffusion AI绘图工具的安装方法。他们区分了懒人安装法和标准安装法,懒人安装法适合不需要训练模型的用户,而标准安装法适合有训练需求的用户。视频中详细解释了安装步骤,包括硬件需求检查、Python和Git安装、PowerShell安全锁解除,以及如何安装WebUI和推荐的基础扩展。
Takeaways
- 🔧 视频介绍了AI绘图工具Stable Diffusion的2024最新版安装方法。
- 💻 强调了硬件需求,需要Nvidia显卡和超过6G的GPU专属内存。
- 🚀 提供了懒人包安装法,适合没有训练需求的用户。
- 🛠️ 懒人包安装法需要先更新程序,然后加入优化命令。
- 💾 标准安装法适合有训练需求的用户,需要安装Python、Git,并解除Powershell安全锁。
- 🔗 安装主程序前,要注意安装路径不能有中文或以点开头的文件夹。
- 📝 通过Git命令克隆webui的地址来安装主程序。
- 🌐 安装基础扩展,如中文化、提词辅助工具等,以增强功能。
- 🔄 安装完成后,需要重启webui来应用新的界面。
- ⚙️ 可以通过设置菜单进行基本修改,如修改语言、添加快速设置等。
Q & A
Stable Diffusion是什么?
-Stable Diffusion是一个AI绘图工具,可以用来生成高质量的图像。
为什么需要更新Stable Diffusion?
-社群的努力使得旧的安装方法不再适用,更新Stable Diffusion可以确保使用最新功能和修复。
安装Stable Diffusion前需要检查哪些硬件需求?
-需要Nvidia显卡和超过6G的GPU专属内存。如果是AMD显卡,则需要到Discord群组寻求帮助。
懒人安装法和标准安装法有什么区别?
-懒人安装法适合不打算进行训练的用户,操作简单,直接下载webui压缩包即可。标准安装法适合有训练需求的用户,需要安装Python、Git和解除Powershell安全锁。
如何进行懒人安装法?
-从官方网站下载webui压缩包,解压后运行update.bat更新程序,然后编辑webui-user.bat加入优化命令,最后运行run.bat开始安装。
标准安装法的步骤是什么?
-标准安装法分为三个步骤:安装Python、安装Git、解除Powershell安全锁,然后通过git命令克隆webui的仓库并安装。
为什么安装Python时要注意版本?
-官方推荐使用Python 3.10.6版本,使用正确的版本可以避免兼容性问题。
安装过程中提到的优化命令是什么?
-优化命令包括--xformers,以及如果VRAM只有8G或更低,可以加入--medvram以节省内存。
Stable Diffusion有哪些推荐的扩展?
-推荐的扩展包括中文化、提词辅助工具prompt-all-in-one、Adetailer、Free U、Tiled Diffusion、Tile VAE、Dynamic prompts、Tag complete、ControlNet、Openpose editor和Ultimate upscale。
如何安装Stable Diffusion的扩展?
-在webui的Extensions窗口中选择Install from URL,粘贴扩展的网址,然后点击install进行安装。
安装完扩展后需要做什么?
-安装完扩展后需要重启webui,对于终端机按下CTRL+C,输入Y确认,然后重新启动懒人包的run.bat或标准安装的webui-user.bat。
Outlines
🚀 Introduction and Purpose of the Video
Jack and Ellie introduce themselves and the purpose of the video, which is to help users reinstall Stable Diffusion (SD) and understand recent changes in the installation process due to evolving community methods. They address new users or those returning to SD after a break, offering guidance on reinstalling and recommending essential extensions. The video covers both 'lazy' and 'standard' installation methods, catering to users with different needs, especially based on whether they intend to train models. It also discusses hardware requirements such as the need for an Nvidia GPU with over 6GB of memory. The goal is to provide a comprehensive and updated installation guide.
⚡ Lazy Installation Method for Non-Training Users
This paragraph explains the 'lazy installation' method for users who do not plan on training models. The process involves downloading the webui from the official source, extracting the files, updating the program via 'update.bat,' and optimizing it with commands like '--xformers' for better performance. For users with limited VRAM, it suggests using '--medvram.' The system will automatically download the required packages and launch the webui, with the installation duration varying based on internet speed. Once installed, users can access the webui by running 'run.bat.'
🛠️ Standard Installation for Training Models
For users planning to train models, the standard installation method is recommended. It involves three steps: installing Python (version 3.10.6), Git, and disabling PowerShell's security lock. The video highlights the importance of removing older Python versions and ensuring 'add to PATH' is checked during installation. After installing Git, users will need to use PowerShell to run specific commands to enable Git operations. The webui is then installed by cloning the repository using Git and running it with 'webui-user.bat.' This method is crucial for users who intend to train models.
🔧 WebUI Extensions Installation
Once the webui is installed, this section covers the installation of various essential extensions. It outlines how to install extensions via the Extensions tab by pasting the URL and waiting for a success message. Extensions covered include: Chinese language localization, prompt assistance tools, face and hand detail fixes (Adetailer), image quality enhancement tools, high-resolution upgrades, and advanced prompt tools. The ControlNet extension is highlighted for its role in controlling AI-generated images, especially for character poses. The process concludes by advising users to restart the webui to apply the changes.
🌐 Basic WebUI Settings Configuration
This section explains the final configuration steps for the webui, including language localization settings, VAE options for improved image generation, and setting up the CLIP model for better prompt handling. The prompt tool can be configured to automatically translate Chinese inputs, with Google translation being the default option. The paragraph emphasizes the importance of restarting the webui after these changes to apply the settings.
🎥 Additional Resources and Final Thoughts
Jack and Ellie wrap up the video by encouraging viewers to explore additional resources provided in the description, including tutorials on model recognition and prompt syntax. They also invite users to join the community on Discord for further discussions and support. They close by thanking viewers and suggesting they consider subscribing to their channel or joining as members.
Mindmap
Keywords
💡Stable Diffusion
💡硬體需求
💡懶人包
💡webui
💡優化命令
💡標準安裝
💡Python
💡Git
💡Powershell
💡擴充
Highlights
超簡單AI繪圖工具Stable Diffusion2024最新版安裝教學
社群努力下,舊版安裝方法不再適用
適合新手或久未使用者重新安裝
推薦必裝擴充功能
提供懶人包和標準安裝兩種方式
硬體需求:Nvidia顯卡和超過6G的GPU專屬記憶體
AMD顯卡使用者可至Discord群組詢問
懶人包安裝法適合無訓練需求者
從官方載點下載webui壓縮檔
更新程式避免安裝失敗
加入優化命令節省記憶體
系統自動下載所需套件
安裝完成後自動彈出webui畫面
標準安裝適合有訓練需求者
標準安裝包括Python、Git和Powershell安全鎖解除
Python安裝需注意版本和PATH設定
Git安裝步驟簡單
Powershell解除安全鎖以執行git命令
安裝主程式需注意路徑不能有中文名稱
使用git clone命令下載主程式
安裝擴充功能提升繪圖體驗
中文化擴充簡化操作
提詞輔助工具助於調整提詞順序
Adetailer解決人物臉部和手部崩壞問題
Free U提升圖像品質
Tiled Diffusion和Tile VAE支援高解析度圖像生成
Dynamic prompts強化提詞功能
Tag complete加速TAG輸入
ControlNet控制人物姿勢、草稿、景深等
Openpose editor微調姿勢
Ultimate upscale高解析度放大工具
安裝完畢後需重新啟動webui
基本設置包括語言和功能選項
提詞輔助工具可更改語系
完成安裝後可試用中文提詞