Novel AI/ Naifu AI 快速簡單教學

75 回覆
21 Like 18 Dislike
2022-10-17 21:36:44
前日玩了一下novel ai 破解想做一個基本快速入門教學

Naifu 基本上是novel 的分支

個人比較喜歡naifu的風格



自己做的一些圖








首先如何玩ai?

想自己電腦玩基本要有8 gb 的N卡

沒N卡/N卡差的可租Cloud GPU或是買新N卡

不想出錢的可以google colab 免費,但有time limit 和要等

下面簡單教學來自大陸tg group:


Google/Free:

—超简单colab一键搭建
白嫖colab谷歌服务器无需本地显卡

https://colab.research.google.com/drive/1_Ma71L6uGbtt6UQyA3FjqW2lcZ5Bjck-

①↑打开由 colab文档链接,登录谷歌账号,左上角,代码执行程序→全部运行
且注意第一步有没有下载成功,如失败请重新运行
②直到第三步,会显示 bore.pub:xxx 和 xxx.trycloudflare.com
两个都是前端地址,不同映射隧道,哪个稳定用哪个
但需要等待出现 Application startup complete / 0.0.0.0:6969 字样出现时再访问


自己電腦玩:

—win 下载磁链/打包文件
磁链 magnet:?xt=urn:btih:4a4b483d4a5840b6e1fee6b0ca1582c979434e4d&dn=naifu&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce
打包 https://pub-2fdef7a2969f43289c42ac5ae3412fd4.r2.dev/naifu.tar
①下载 Python (https://www.python.org/downloads/windows/) ,选中“将 Python 添加到 PATH” 选项来安装
②磁链下载需要解压 program.zip 到当前目录,打包下载已自带解压
③运行 setup.bat 等待环境安装完成
④再运行 run.bat 启动,等待 0.0.0.0:6969 字样出现时访问内网地址

by @StableDiffusion_CN_WIKI

仲有webui可以自己train出style,便會用到embeddings,個人建議簡單好看玩naifu便好.

玩的時候記得要放prompt

有用的prompt: illustration,masterpiece, best quality, beautiful detailed eyes

這些prompt可以做到張圖更好,至於自己的圖想要什麼prompt自己+

基本negative prompt: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, bad feet, large breasts, huge breasts, cum

好看的prompt:
1.{{masterpiece}}, best quality, illustration, 1 girl,{loli}, beautiful detailed eyes, beautiful detailed water,beautiful detailed sky, sunshine,road,beautiful ,{shorts}, cinematic lighting, wet clothes , {red eyes} , {white hair} , cat ears,pink,cat,cute,small,tail,t-shirt,

2.masterpiece,best quality,official art,extremely detailed CG unity 8k wallpaper ,a girl,white hair, red eyes,small breastst,robe, slit_pupils,vampire,hair_ornament,braid,messy_hair,school,twin_braids,green,

最後奇怪的prompt:

1.{{{{{{from_above}}}}}}, pov, 1girl, 1boy, {{{missionary}}}, {sex}, penis, {{spread_pussy}}, {{{spread_legs}}}, on back, bed, arm at side, deep_penetration, nipples out of breasts, m_legs, {{shaved_pussy}}, smirk, seductive smile, half-closed eyes, [[[blush]]], open mouth, sweaty,

Negative prompt: {{{{futa, fuck in annus, man_missing}}}}, [[[[[greyscale]]]]], {{{extra arms, extra legs, extra limbs}}},

2.A girl with very long brown twin tails hair, purple eyes and small breasts is nude standing and (peeing:1.2) (pee:1.4) in the sea under the blue sky in the evening., pussy

3.(((masterpiece))), illustration,extremely detailed CG unity 8k wallpaper,best quality,beautiful detailed star sky,((beautiful flower lotus sea)), beautiful detailed pink blue eyes, looking down, cat paws,long beautiful white hair,hair ornament, hair flower, cute, white flower,white_socks ,parted lips, dynamic angle, blurry,shirt, Cat_ ears,flat_chest,little girl,shy,sad,[streaming tears:1.3],[female_child:1.4],full body,loose coat,(Blue pick dye),wet_queen_dress,thighhighs,bound_wrists, messy hair, small breasts,(virgin:1.5) (((cum inside))) ((wet labia)) spread legs bound, white fluid flow from pussy, ((tentacle sex)), ((ejaculating while penetrated)),by (giger:1.2)

一些有用的link:

tags:https://www.bilibili.com/read/cv19007299?from=articleDetail

FAQ:https://gist.github.com/crosstyan/f912612f4c26e298feec4a2924c41d99

novel ai leak : magnet:?xt=urn:btih:5bde442da86265b670a3e5ea3163afad2c6f8ecc&dn=novelaileak
2022-10-17 21:48:53
多謝分享
呢幅除咗花瓣pattern有啲怪外,構圖真係好靚
2022-10-17 21:53:47
其實我係用人地張ai圖自己+prompt出regenerate出來
original個張仲好看

2022-10-17 22:23:37
有冇得淨係down個model然後用AUTOMATIC1111個gui run
2022-10-17 22:39:40
放4/7gb model.ckpt 在 webui\stable-diffusion-webui\models > run webui.bat , install好>run webui-user.bat

玩過embeddings,沒有run過training.
2022-10-17 22:43:43
我已經有novelai 4gb個ckpt , naifu ai會唔會都有自己嘅ckpt
2022-10-17 22:57:11
naifu 同 leak 個4gb ckpt size 一樣但好像比 leak source多左個 58mb tags.index, 但點放naifu入webui等要其他人答
2022-10-17 23:07:29
希望可以勁方便放入webui就用得唔想down一大堆重複嘢
2022-10-17 23:15:43
係呀,webui自動save圖好過naifu ui,但naifu都有auto tag都唔錯, 我係run for a while,save pic zip ,refresh算.
2022-10-17 23:29:18
如果得張4GB GTX 16x0其實都有得玩,用AUTOMATIC1111/stable-diffusion-webui去load novel AI個4GB cpkt
然後改webui-user.bat入面COMMANDLINE_ARGS一行做
set COMMANDLINE_ARGS=--lowvram --opt-split-attention --precision full --no-half --xformers

可以每次運算最多出3張512*576嘅圖
2022-10-17 23:29:24
最後總結:我張3060ti 現在都係3k-4k,2手有d 2-3k 都只用10sec 便gen到張512 512圖,1日真係gen到8640張圖, 當你99張圖垃圾, 1%好的都有86張.

1個artist 1個月都唔知做唔做到86張圖.

過多3,4年真係好大機會請你gen ai 圖,好的圖p返d 手的錯位便算數.

如果唔係top 的 artist 真係要想下轉工/做到有自己個人特色.
2022-10-17 23:46:37
below 8gb d人話會慢

最好可能colab/cloud gpu + old gpu一起run
2022-10-18 00:13:23
係慢呀,約兩分鐘出三張圖
但張卡唔夠RAM冇計
2022-10-18 09:07:01
想講尋晚更新咗webui之後啲畫風唔同咗(差咗) 食ram多咗
2022-10-18 09:29:09
2022-10-19 07:21:39
但係你控唔控制到gen同一個人樣,但係唔同動作場境?
定還是都要靠撞出黎,似樣先留低?
2022-10-19 07:57:53
2022-10-19 09:38:03
搞咗成日 換咗另一堆prompt終於啲圖有返之前咁靚 但係食ram多咗一半以上
2022-10-20 14:46:40
多謝分享
用自己電腦做出黎, 靚到可以拎黎做wall paper
2022-10-20 23:22:27
暫時仲要撞,但現在同一個人樣都可以差唔多p

之後用training train個到出同一個樣都有唔難

動作場境可以用3d先做好pose,之後用 ai gen 做2d做返同一個人樣.






我這2張沒train 到只用prompt 玩下玩下都出到大約90-95% similarity的character,我做左大約50張最similar 的2張,我沒用img2img只係用word出的

我現在張3060ti 10-20sec一張

你拿張4090 2sec出一張,你說死唔死
2022-10-20 23:27:43
https://docs.qq.com/doc/DWHl3am5Zb05QbGVs
元素法典——Novel AI 元素魔法全收录

空间法





((illustration)), ((floating hair)), ((chromatic aberration)), ((caustic)), lens flare, dynamic angle,  ((portrait)),  (1 girl), ((solo)), cute face, ((hidden hands)), asymmetrical bangs, (beautiful detailed eyes), eye shadow, ((huge clocks)),  ((glass strips)), (floating glass fragments), ((colorful refraction)), (beautiful detailed sky), ((dark intense shadows)), ((cinematic lighting)), ((overexposure)), (expressionless),  blank stare, big top sleeves, ((frills)), hair_ornament, ribbons, bowties, buttons, (((small breast))), pleated skirt, ((sharp focus)), ((masterpiece)), (((best quality))), ((extremely detailed)), colorful, hdr
2022-10-20 23:31:11
其實電腦版個model 洗唔洗再train? 我搞黎搞去都無個似樣
2022-10-20 23:39:46
webui基本上要train, naifu不用, 有人train 左上傳embeddings你可以拿來用.

有人連静香都train

2022-10-20 23:40:55
train 有冇教學? 完全唔知點開頭
2022-10-20 23:41:52
lm
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞