Icysoul 发表于 2022-10-14 09:25:19

分享一个离线版傻瓜式AI作图工具 (更新咒语和小技巧)

本帖最后由 Icysoul 于 2022-10-15 09:04 编辑

本帖为基于stable diffusion的AI作图工具
来源逛B站发现的宝藏up主为全人类服务
视频地址 https://www.bilibili.com/video/BV1JG411n7Xe/
下载:
迅雷云盘: https://pan.xunlei.com/s/VNDREaiKW3Wg2vNpaY4WViWtA1?pwd=rt4t#
我自己转存的百度盘: https://pan.baidu.com/s/1uSGu1Uco7PggeEQfTeEPeA?pwd=6msr


显卡需要N卡,根据自己显卡点开bat文件,等一会儿自动弹出网页窗口
有文字生成图片和图片生成图片等功能,还能一键迭代
另外作者目前还更新了模型数据库,可以看他最新视频






最后是生成图片最重要的关键词
正面描写的关键词就看个人xp发挥
生成色图推荐加入关键词NSFW,非常好用
真人图片和卡通图片可以用reality区别开

而排除关键词才是更关键的!
下面是我收集到的长串排除词咒语(来自BG向的图片生成帖子),用了之后生成图片的质量大幅提升,推荐贴进去
Negative prompt: multiple breasts, (mutated hands and fingers:1.5 ), (long body :1.3), (mutation, poorly drawn :1.2) , black-white, bad anatomy, liquid body, liquid tongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, lowres, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missing breasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fused ears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, fused animal ears, bad animal ears, poorly drawn animal ears, extra animal ears, liquid animal ears, heavy animal ears, missing animal ears, text, ui, error, missing fingers, missing limb, fused fingers, one hand with more than 5 fingers, one hand with less than 5 fingers, one hand with more than 5 digit, one hand with less than 5 digit, extra digit, fewer digits, fused digit, missing digit, bad digit, liquid digit, colorful tongue, black tongue, cropped, watermark, username, blurry, JPEG artifacts, signature, 3D, 3D game, 3D game scene, 3D character, malformed feet, extra feet, bad feet, poorly drawn feet, fused feet, missing feet, extra shoes, bad shoes, fused shoes, more than two shoes, poorly drawn shoes, bad gloves, poorly drawn gloves, fused gloves, bad cum, poorly drawn cum, fused cum, bad hairs, poorly drawn hairs, fused hairs, big muscles, ugly, bad face, fused face, poorly drawn face, cloned face, big face, long face, bad eyes, fused eyes poorly drawn eyes, extra eyes, malformed limbs, more than 2 nipples, missing nipples, different nipples, fused nipples, bad nipples, poorly drawn nipples, black nipples, colorful nipples, gross proportions. short arm, (((missing arms))), missing thighs, missing calf, missing legs, mutation, duplicate, morbid, mutilated, poorly drawn hands, more than 1 left hand, more than 1 right hand, deformed, (blurry), disfigured, missing legs, extra arms, extra thighs, more than 2 thighs, extra calf, fused calf, extra legs, bad knee, extra knee, more than 2 legs, bad tails, bad mouth, fused mouth, poorly drawn mouth, bad tongue, tongue within mouth, too long tongue, black tongue, big mouth, cracked mouth, bad mouth, dirty face, dirty teeth, dirty pantie, fused pantie, poorly drawn pantie, fused cloth, poorly drawn cloth, bad pantie, yellow teeth, thick lips, bad cameltoe, colorful cameltoe, bad asshole, poorly drawn asshole, fused asshole, missing asshole, bad anus, bad pussy, bad crotch, bad crotch seam, fused anus, fused pussy, fused anus, fused crotch, poorly drawn crotch, fused seam, poorly drawn anus, poorly drawn pussy, poorly drawn crotch, poorly drawn crotch seam, bad thigh gap, missing thigh gap, fused thigh gap, liquid thigh gap, poorly drawn thigh gap, poorly drawn anus, bad collarbone, fused collarbone, missing collarbone, liquid collarbone, strong girl, obesity, worst quality, low quality, normal quality, liquid tentacles, bad tentacles, poorly drawn tentacles, split tentacles, fused tentacles, missing clit, bad clit, fused clit, colorful clit, black clit, liquid clit, QR code, bar code, censored, safety panties, safety knickers, beard, furry ,pony, pubic hair, mosaic, excrement, faeces, shit, futa, testis
逛到一些念咒小技巧分享给大家,来自 https://nga.178.com/read.php?tid=33793017&rand=776

一. 咒文原则

1 prompt的优先级是按顺序下降的,也就是说你看重的tag应当被前置

2 prompt可以用()括起来使得权重*1.05倍,可以多层套用

3 咒语原则上越细节越好,但要认识到存在一些互斥prompt会使得出现一些掉san的图,比如long hair和angel wings,长发会导致ai不清楚翅膀应该怎么放置在长发后

4 在不使用img2img的情况下,十分建议指定一个姿势,比如sitting或者posing, lying这种,能够大幅度提升画面质量

5 在绝大多数情况下,添加((masterpiece))以及((best quality))可以有效提升画面质量

6 通用的bad prompt,可以避免一些不堪入目的情况

二. prompt分享(直接带括号的是我感觉加括号才会比较管用)

1 (1girl)(1boy)这类tag能够指定画面中的人数和性别(boy不太准的话就多加几个括号)

2 xxx hair, xxx clothes,xxx eyes可以指定衣服头发和眼睛的颜色和长短

3 blush,empty eyes,expressionless, one-eye closed可以用来指导表情,其中expressionless的图一般质量较高

4 slim legs,thigh legs,slim body, xxx body指定身材

5 xxx breasts指定大小

6 ((各种手游或是动画名))+(official art)指定官方画风

7 alternate costume, alternate hairstyle+{fashion}可以自动给你来点符合场景的穿搭和发型

8 starry/city/nature/street background,white background,simple background可以指定背景,还可以加上flower,tree,night,cyberpunk,blu sky,meteor这类景物描述

9 portrait是肖像画,用上这个tag会让图像质量容易变高,但缺点是用了一般就不给你生成手脚,只有大头照

10 前文提过的posing,sitting,lying,强烈推荐即使脑中没有姿势也先添加一个posing,不建议和portrait混用

11 detached collar, detached sleeves,long dress,kimono,总之就是各种衣服的样式,这个建议自行查单词或者用danbooru tag查询器

12 它真的超会画maid和vampire这类广受喜爱的文化符号!喜欢这些的请务必试试

13 (wind lift)是一个很好的tag,加上之后图片会变得动态

14 manga,monochrome,sketch可以生成黑白漫画,我看s1在这个基础上加上{{{asanagi}}}使用,得到的效果还真有点老师画作的意思

15 looking at viewer,looking back,looking away,looking up可以用来指定视线

16 caustics, cinematic lighting这种tag可以让打光变得很高级,画风往往也更写实

17 {mature female/male},{loli}可以指定大概年龄

18 full body,half body指定半身/全身照

三. 使用技巧

1 请尽量用相同的咒文多生成几张图再筛选,以判断是咒文不符合心意,还是随机种子选的不好

2 不同的画面比例对结果影响很大,竖图偏向于portrait和设定全身照,横图偏向于带背景有一定构图的全身照

3 当你得到一张整体满意但部分瑕疵的图片时,可以使用img2img功能,把不满意的部分用取色器取周围颜色进行涂抹,之后将noise设置为0.05,strength0.4便可以得到一个改进版本(step和scale可以自行调整,这俩参数分别指导迭代次数以及prompt准确性)

4 类似于3,可以用这样的方法改变你喜爱的图的人物表情/背景/服装/nsfw等设定(noise和strength需自行摸索)

5 不建议使用差分功能,效果不好

6 善用bad prompt,如果一时想不到你想要什么,不如想想你不想要什么

7 多提一句,因为接了gpt3,这玩意可以用来生成漫画,你输入a monochrome manga of xxx(故事描述文本)就会出现一个小漫画,还挺有意思的

https://nga.178.com/read.php?&tid=33793017

懒癌患者直接复制这里, 红色部分需要根据个人xp改改

(an extremely delicate and beautiful), masterpiece, best quality, best quality,Amazing,beautiful detailed eyes,finely detail,Depth of field,extremely detailed CG unity 8k wallpaper, masterpiece, 1 boy, short hair , heighly details, slit_pupilsfull body, details, gloden eyes, best quality, extremely detailed,Behind the hand,Fantastical,(((Clear face))),((Clear eyes)),landscape,scenery,((panorama)),(((Proportional coordination))),(naughty_face),(naughty),open_mouth,smile,evil smile, steampunk
最后附上一些我初步搞的图片,祝大家玩得开心!



某乖leo 发表于 2022-10-14 09:40:45

哈哈哈,把bg向的全排除了,那就剩bl向的了,感谢分享

cdcai 发表于 2022-10-14 09:55:55

哈哈这一堆排除词{:6_167:}光看词语就能想到奇奇怪怪的图片了

烤啦啦啦啦 发表于 2022-10-14 09:58:16

可惜目前AI不会画吉尔,只有身材能看,那基本当清水看了{:6_193:}

Athlyptt 发表于 2022-10-14 10:02:28

原來2G顯存的也能裝了?
之所以一直沒有裝本地端就是因為顯存只有2G...

不過考量到以後要玩3A遊戲的需求, 我可能還是得乖乖換顯卡了

maloner 发表于 2022-10-14 10:04:40

N卡玩家来啦~居然有NSFW关键词过滤,这个属实小惊喜!{:6_200:}

dream223635 发表于 2022-10-14 10:21:17

感觉显卡应该不够用呢,真想自己创作看看ai能做出什么图,感谢分享了

Forseti 发表于 2022-10-14 10:31:43

做这种ai图是不是很占显卡啊

Burry 发表于 2022-10-14 11:13:49

图怎么说的,我看图更希望是原创,而不是单纯缝合。哪怕画的不好,至少让人看到努力在里面,AI做出来的图,给我一种没有灵魂的作品。

tjw2469 发表于 2022-10-14 11:23:33

下了这个版本试了一下,原先摸索出来效果不错的prompt组合用这个版本生成出来的图片却不太行了
看来不同版本之间有各自不同的风格

cc簗橗 发表于 2022-10-14 12:03:04

这个视频我也刷到了。当时我还好佩服这个up

Marius1232 发表于 2022-10-14 12:52:45

双击完就没反应了。神秘
管理员模式也勾了

r10987423 发表于 2022-10-14 13:39:33

感覺會很有用,希望AI能畫出漂亮的肉體

南风知我意 发表于 2022-10-14 13:52:39

这么多关键词一把子收藏了,肯定很有用;P

笨笨的Ben 发表于 2022-10-14 13:55:50

最近AI作画很火啊。到处在推荐这个!!

沃克子 发表于 2022-10-14 15:26:59

今天看了个很牛的ai绘,下面排除词长得像五千字论文,蛮像发动究极魔法的

Mewtwome 发表于 2022-10-14 15:27:23

试试能不能玩坏{:3_46:}

冬眠的小蛇 发表于 2022-10-14 17:00:32

大佬。。这个网页弹窗是空白的是情况,等了好久都没有反应

planwalker 发表于 2022-10-14 17:08:48

显卡的要求太劝退我了,还有那些关键词,真的跟念咒语一样啊,感觉使用AL就是在用召唤魔法,用关键词吟唱施法,然后把色图召唤出来(色图召唤师):lol

498712154 发表于 2022-10-14 18:28:53

{:3_46:}以后可以自产自销噜
页: [1] 2 3
查看完整版本: 分享一个离线版傻瓜式AI作图工具 (更新咒语和小技巧)