本帖最后由 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
最后附上一些我初步搞的图片,祝大家玩得开心!
|