前言
本教程及分享的软件均为开源项目只供互相学习探讨,使用本教程提供的软件做违法事情均与本人无关,请遵守使用者当地的法律法规
测试版说明:本项目下载的模型文件及本体需要有魔法上网才可以,因考虑到很多小伙伴无法使用魔法,本人已经将基本所需的模型文件及插件下载完,下载完后的压缩包是否可以使用,本人并未测试,请测试后给与反馈
本整合包 包含汉化插件
所用软件均是再本地运行
设备基本要求
显存8G及以上,本项目软件生成图片时非常吃显存
推荐显卡N卡30系列及以上
本人安装环境
Windows 10专业版
CPU:i7-10700
内存:16G
显卡3070 8G
所需软件
- 安装 Python 3.10.8, “Add Python to PATH”
- 安装 git.
- AI做图本体压缩包(已包含模型及插件)
所有所需软件均已经上传到网盘内,请一次性下载完成后再往后看
解压密码:51baipiao.net
安装教程
第一步:安装Python 3.10.8
可以到Python官网下载也可以再网盘内下载,不要安装最新版本的Python本人测试会报错,原因不明…网盘内提供的均是64位安装包
双击安装
注意一定要记录安装地址,每台电脑的安装地址不一致,这个后面要用
然后点CLOSE关闭即可
第二步安装git
这个可以到官网下载最新版也可以直接用网盘中的安装包
双击Git-2.40.1-64-bit开始安装
全部使用默认安装无脑下一步即可
第三步解压软件本体文件
将软件下载后解压到C盘,本人是将本体安装到C盘的并打包的,如果C盘不够大,可以尝试使用其他盘符
解压密码:51baipiao.net
目录为
C:/ai/stable-diffusion-webui/……
如果不对自行调整一下
第四步配置软件本体
打开这个目录
C:aistable-diffusion-webui
找到webui-user.bat这个文件
注意webui-user文件有两个一个是bat格式一个是sh格式,sh是Linux环境下使用的,不要选择错误
然后右键选择编辑
找到这一行修改后面的地址改成之前安装Python时候记录的地址后面加上
python.exe
然后保存即可
第五步软件运行
鼠标双击webui-user.bat这个文件即可打开一个CMD的命令提示窗开始跑码
等待3-5分钟即可,根据个人设备环境而异
当看到这个提示即表示运行成功,复制这个地址到浏览器打开即可
http://127.0.0.1:7860
打开后的界面(已安装汉化插件)
至此我们就可以生成自己想要的AI老婆了
简单的使用教程
中国风女友生成
打开网页,选择国风模型
正面提示词输入
1girl, beautiful, realistic
反向提示词输入
(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs,username,blurry,bad feet
其他选项看我的截图
输出结果样式展示
超写实AI虚拟人物生成教程
模型选择
ChilloutMix
正向词输入
(skin blemish:1.2), (skindentation), black eye, 1woman, 25yo, (((woman))), solo, realistic, best quality, photorealistic, masterpiece, 8k, high res, solo, extremely detailed face, (professional lighting, bokeh), (light particles, lens flare, glowing particles:0.6), (dynamic pose:1.2), soft lighting, top angle view, fashionable and trendy atmosphere, hongkong, street, city, harbour, ((daytime)), sky, ((looking at the viewer:1)), (looking at the camera),(portrait:0.6), cowboy shot, gorgeous, standing, keep original facial proportion, wide shoulder, full body, (small breast), (short hair), brown hair, floating hair, lips, lipstick, seductive smile, floating hair, smile, open_mouth, teeth, (sleeves less white blouse), (jumper skirt), eyelashes, mole, (mole under eye:1)
反向词输入
canvas frame, cartoon, earrings, ((disfigured)), ((bad art)), ((deformed)),((extra limbs)),((close up)),((b&w)), weird colors, blurry, (((duplicate))), ((morbid)), ((mutilated)), [out of frame], extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), ((age spot)), bad anatomy, bad_prompt_version2, easynegative, out of frame, mutation, mutated, extra limbs, extra legs, extra arms, disfigured, deformed, cross-eye, body out of frame, blurry, bad art, bad anatomy, tilting picture, tilting view, body rotation, ((looking sideway)), ((looking behind the shoulder)), nsfw, ((handbag)), ((bag)), (nude:1.5), nipples, (off shoulder:1), (cleavage:1)
其他配置选择按截图设置
输出结果样式展示
后记
软件只是工具切勿用做违法用途,请遵守所在地的法律法规
欢迎进群沟通,互相学习
欢迎分享教程,分享请备注来源谢谢