AIGC工具-Stable Diffusion安装指南

Stable Diffusion Web UI安装教程

简介

这是一款ai学习的作图模型训练,github的官网地址是https://github.com/AUTOMATIC1111/stable-diffusion-webui

参考上面的github仓库中的README.md文件可以搭建本地化服务。该搭建过程需要一些编程基础,当然,如果没有的话只要按照文档中的步骤一步步去做个人觉得问题应该也不是很大,里面针对macos以及windows系统做了bat和sh文件一键安装脚本。当然,安装前提是你的计算机本身有python环境,Git环境等。具体可参考:

https://openai.wiki/stable-diffusion-webui-localization.html

安装完成后启动本地访问地址:http://127.0.0.1:7860

模型概念

模型概念解析:

  • 基础模型:作为基础,即按照某种基础进行模型生成
  • 人物模型:在基础模型的前提下,额外扩展个性化模型

基础模型一般都会推荐使用chilloutmix_NiPrunedFp32Fix.safetensors。

而人物模型则花样百出,例如koreanDollLikeness_v15.safetensors韩国人物模型,或者taiwanDollLikeness_v10.safetensors台湾人物模型。

针对这两种不同定义的模型,我们虽然在网站上下载的模型文件后缀都是. safetensors,但是我们放置在stable-diffusion-webui目录下的位置上不一样。

模型下载:

基础模型存放位置:models/Stable-diffusion/,即chilloutmix_NiPrunedFp32Fix.safetensors就会存放在该目录下,官方下载地址:https://civitai.com/models/6424/chilloutmix 大概是4g左右

人物模型存放位置:stable-diffusion-webui/models/Lora/,即koreanDollLikeness_v15.safetensors或者taiwanDollLikeness_v10.safetensors就会存放在该目录下,官方下载地址:https://civitai.com/ 选择lora标签就可以查到大量的人物模型。同时也可以选择第三方的人物模型下载地址:https://openai.wiki/lora.html

插件简介

插件下载:

下载ControlNet 插件教程:https://openai.wiki/controlnet-install.html

有可能存在下载失败的情况,参考以下解决方案:https://www.bilibili.com/video/BV1RD4y1A7Cb

txt2img参数设定:

  1. korean
    lora:koreanDollLikeness_v15:0.66, best quality, ultra high res, (photorealistic:1.4), 1 girl, (aegyo sal:1), Kpop idol, sitting down, spread legs, sports bra, miniskirt, black hair, (braided hair), full body, cute, smile, ((puffy eyes)), facing front, (facing viewer), see through, thin waist, huge breasts, armpits, arms up, ulzzang-6500:1

Negative prompt: paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot

Size: 512x1024, Seed: 2382839894, Model: chilloutmixni, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 7, Model hash: 7234b76e42

  1. nude(R18)
    best quality, ultra high res, (photorealistic:1.4), 1girl, nude, full body, spread legs, lora:koreanDollLikeness_v15:1 ,lora:yaeMikoRealistic_yaemikoMixed:1,
    Negative prompt: paintings, sketches, (worst quality:2),(low quality:2),(normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans,{{{bad_hands}}},badhand, bad_feet,
    ENSD: 31337, Size: 960x1024, Seed: 4138265202, Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Clip skip: 2, Model hash: fc2511737a

互联网开放

设置开放互联网访问参数,打开webui.py搜索如下关键词,将share=cmd_opts.share,设置为=True

app, local_url, share_url = shared.demo.launch(

复制代码
        share=cmd_opts.share,

词条生成器工具

词条生成器:

https://publicprompts.art/hyper-realistic-anime-portraits/ 参考

https://tag.redsex.cc/ AI咒术生成器

https://www.4b3.com/ 论坛

masterpiece, best quality,knit,cloth,Symmetrical pattern,Fabric Styling,Landscape style,plus material

参考网站

https://zhuanlan.zhihu.com/p/608206724 知乎教程

https://openai.wiki/lora.html *使用图文教程

https://civitai.com/ *model资源库

http://tag.muhou.net/ 词条生成器

相关推荐
阿杰学AI4 小时前
AI核心知识92——大语言模型之 Self-Attention Mechanism(简洁且通俗易懂版)
人工智能·ai·语言模型·自然语言处理·aigc·transformer·自注意力机制
猫头虎4 小时前
如何使用Docker部署OpenClaw汉化中文版?
运维·人工智能·docker·容器·langchain·开源·aigc
猫头虎6 小时前
手动部署开源OpenClaw汉化中文版过程中常见问题排查手册
人工智能·langchain·开源·github·aigc·agi·openclaw
多恩Stone6 小时前
【3D AICG 系列-9】Trellis2 推理流程图超详细介绍
人工智能·python·算法·3d·aigc·流程图
猫头虎6 小时前
OpenClaw开源汉化发行版:介绍、下载、安装、配置教程
运维·windows·开源·aigc·ai编程·agi·csdn
EdisonZhou7 小时前
MAF快速入门(15)Agent调试利器:DevUI
llm·aigc·agent·.net core
种时光的人7 小时前
CANN 生态 ×AIGC 合规:cann-compliance 让大模型落地既安全又合规
安全·aigc
多恩Stone7 小时前
【3D AICG 系列-8】PartUV 流程图详解
人工智能·算法·3d·aigc·流程图
计算机小手7 小时前
Docker 部署 OpenClaw 汉化版,畅玩个人 AI 智能代理
经验分享·docker·aigc·开源软件
种时光的人7 小时前
CANN生态自动调优:cann-auto-tune 让AIGC大模型性能优化自动化、极致化
性能优化·自动化·aigc