你的游戏本不仅能玩游戏 AI更是让人欲罢不能

来源: 发布时间:2023-08-14 浏览量:

畅爽游戏,纵横电竞沙场可能是大家购买游戏本的首要目的,但是你知道吗?你的游戏本隐藏了无法想象的潜能,通过AI技术可以让你变身成一个插图艺术家,不管是写实风格、科幻风格还是二次元风格都轻松实现。下图就是AI生成的一张插图,大家看了后是否觉得很有意思?那这种插图是如何通过你的游戏本创造出来的呢?

descript

这种插图一般都是通过模型结合提示词通过GPUAI能力生产出来的,一般会选择Stable Diffusion搭配Webui来使用。今天小编就为大家简单介绍一下Stable Diffusion的快速部署方法。

 

步骤1

下载Stable Diffusion Webui

下载地址https://github.com/AUTOMATIC1111/stable-diffusion-webui

descript

进入页面后,点击Code绿色按钮,再点击Dowload ZIP就可将程序的压缩包下载到本地。

 

步骤2

下载并安装Git

下载地址https://git-scm.com/download/win

Git可以帮助Stable Diffusion Webui下载所需要的各种插件和模型。

 

步骤3

下载并安装Python

下载地址https://www.python.org/ftp/python/3.10.7/python-3.10.7-amd64.exe

Stable Diffusion Webui是开源项目,基于Python运行,下载时请注意不要使用太新的版本,推荐3.10.7以免造成兼容性问题而无法运行。

 

步骤4

配置Stable Diffusion WebuiPython运行目录

解压缩Stable Diffusion Webui后,在stable-diffusion-webui-master\venv文件夹下找到pyvenv.cfg文件,通过记事本打开手动设置为刚才Python的安装目录和版本信息。

descript

descript

descript

 

步骤5

下载模型

下载地址https://civitai.com/

由于安装的是官方版本,因此模型需要手动去下载,推荐去C站,模型数量众多下载速度也很快,重点是还可以使用各种下载工具提升速度。

descript

下载好的模型文件需要放到stable-diffusion-webui-master\models\Stable-diffusion文件夹中。

 

步骤6

启动Webui

返回Stable Diffusion Webui的根目录,找到Webui-user.bat批处理文件双击运行

descript

descript

第一次启动时会进行一些必要文件的下载及安装,耐心等待就好,直到出现Running on local URL:  http://127.0.0.1:7860字符段后就代表已经启动完成。此时将IP地址复制到浏览器中就能打开Webui界面了。

descript

descript

Stable Diffusion Webui图形化界面界面很简洁,但是却拥有强大的功能,下载好的模型文件会显示在上图红框的下拉列表里,选择期望的模型并在提示词中输入想要的结果并且在反向提示词中输入不希望出现的结果,点击生成稍等片刻就能得到一张由AI输出的图片。

descript

Webui中最主要的参数设定是采样迭代步数,默认的话为20,理论上迭代次数越多画面效果越精细,但同样会对GPU性能和显存容量提出更多要求。

descript

提示词1girl,:d,ahoge,bangs,belt_buckle,belt_collar,black_collar,black_hair,black_shirt,bubble,buckle,collar,collarbone,cup,demon_girl,demon_horns,drinking_glass,drinking_straw,fang,hair_between_eyes,hair_flaps,hand_up,head_tilt,heart,holding,holding_cup,horns,ice,long_hair,looking_at_viewer,multicolored_hair,open_mouth,pale_skin,parted_bangs,pointy_ears,portrait,purple_shirt,red_eyes,red_hair,ringed_eyes,shirt,simple_background,sleeves_past_fingers,sleeves_past_wrists,smile,soda,solo,striped,striped_shirt,torn_clothes,torn_shirt,two-tone_hair,virtual_youtuber,white_background,

反向提示词

(Worst Quality, Low Quality:1.4),(watermark:1.2),face,

 

下面给大家展示几款小编通过游戏本生成AI图片吧!

descript

提示词

complex 3d render ultra detailed of a beautiful porcelain profile woman android face, cyborg, robotic parts, 150 mm, beautiful studio soft light, rim light, vibrant details, luxurious cyberpunk, lace, hyperrealistic, anatomical, facial muscles, cable electric wires, microchip, elegant, beautiful background, octane render, H. R. Giger style, 8k, best quality, masterpiece, illustration, an extremely delicate and beautiful, extremely detailed ,CG ,unity ,wallpaper, (realistic, photo-realistic:1.37),Amazing, finely detail, masterpiece,best quality,official art, extremely detailed CG unity 8k wallpaper, absurdres, incredibly absurdres, robot, silver halmet, full body, sitting

 

反向提示词

(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3)

descript

提示词

(masterpiece,best quality),HDR,high-definition,Intricate Details,vray render, octane render, 1girl, happy smile, holding ice cream, many colorful balloons background

 

反向提示词

sketches, (worst quality, low quality:1.3), ((monochrome)), ((grayscale)), plump, old, FastNegativeV2

descript

提示词

(masterpiece), best quality, high resolution, highly detailed, detailed background, perfect lighting, The student council girl with twin braids and glasses whom you don't know that she's a pervert until looking prompts

 

反向提示词

(EasyNegative), (bad-hands-5), an6, verybadimagenegative_v1.3, (worst quality, low quality:1.2), (missing fingers, missing hands, missing legs:1.4) (extra limbs, extra fingers, extra hands, extra legs:1.4), (mutate fingers, mutated hands, mutated legs:1.4), (malformed hands, malformed fingers, malformed legs:1.4), (poorly drawn hands, poorly drawn face), (text, signature, watermark, username), (logo:1.5)

descript

提示词

A panda cub bear drinking boba tea, in the style of artgerm, edogawa ranpo, studyblr, jerry pinkney, high resolution, dotted, loose and fluid,

 

反向提示词

(worst quality:1.5), (low quality:1.5), (normal quality:1.5), lowres, bad anatomy, bad hands, multiple eyebrow, (cropped), extra limb, missing limbs, deformed hands, long neck, long body, (bad hands), signature, username, artist name, conjoined fingers, deformed fingers, ugly eyes, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, painting by bad-artist,

descript

是不是很神奇?是不是很好玩?但是小编要提醒大家的是,Stable Diffusion是一个非常非常非常依赖GPU性能和显存容量的AI应用。想要使用复杂的模型生成精美的图片,那么一台性能超群的游戏本是必不可少的。本篇文章中小编使用的就是一台搭载GeForce RTX 4060显卡的极光Pro游戏本。在768x512分辨率进行50次迭代可见平均速度在1.93it/S,对AI画图有兴趣的朋友完全可以凭借极光Pro游戏本进行相当复杂的艺术创作。

descript

目前机械革命极光Pro游戏本正在京东商城进行大促活动,仅需5999元就能到手,对于一台搭载GeForce RTX4060显卡的机型来说简直不要太香,不管是游戏还是AI画图,都能给你提供强劲的性能。关于Stable Diffusion,今天小编讲的仅仅是一些皮毛,后续小编还会一边学习一边为大家带来更有趣的玩法,敬请期待!

返回首页

返回顶部