文章主题:以下是文章的关键词提取: AIGC生成的图, 无需绘画基础, 制作插画, 教程
以下这些图像均为AIGC生成,无需具备任何绘画基础,其易用性之高,堪称“有手就行”。根据下方教程的指引,大约在20分钟内,你就有可能创作出超高清的插画作品。
本文介绍方法的使用前置条件
1、科学上网;2、有google,ChatGPT账号
具体操作步骤:
第一步,免费打开stable diffusion webui页面
如果您想了解更多有关Stable Diffusion WebUI Colab的信息,请点击以下链接:https://colab.research.google.com/github/camenduru/stable-diffusion-webui-colab/blob/main/stable/stable_diffusion_1_5_webui_colab.ipynb。这将带您进入相应的网页界面,您可以在此处进一步探索并了解其功能与特性。
在本篇文章中,我们将介绍如何进入stable-diffusion-webui-colab页面。首先,您需要访问GitHub网站,其地址是https://github.com。接着,在页面顶部的搜索框内输入“stable-diffusion-webui-colab”,然后选择与该关键字相关的所有项目。这样,您就可以顺利地进入所需的页面了。不过,这些步骤可以跳过,如果您可以直接查看第2步,那将更为便捷。
点击搜索返回结果第一个,camenduru/stable-diffusion-webui-colab,链接:https://github.com/camenduru/stable-diffusion-webui-colab
在访问Colab时,请点击名为“stable_diffusion_1_5_webui_colab”的链接。在这个页面中,您将找到一个名为“stable”的选项,这代表了我们在之前的步骤中所创建的稳定扩散模型。
在进入代码编辑笔记本页面之后,您需要先确认是否已选择硬件加速以及所选的GPU。操作步骤如下:首先点击【代码执行程序】,接着点击【更改运行时类型】,在硬件加速器选项中选择GPU,然后点击【保存】。最后,点击右上角的连接按钮,即可免费获取相关资源。
在执行代码的过程中,您需要首先点击【代码执行程序】按钮,然后选择【全部运行】。接下来,需耐心等待8-10分钟,直至看到Public WebUI Colab cloudflared URL的运行结果。根据提示,您可以点击该链接进入stable diffusion web页面,具体如图所示。
点击第二个链接,即可打开webUI页面
第二步,加载模型
作为一名专业的文章写作高手,我将为您提供一段新的文字描述,以替代原始内容。请参考以下改写后的内容:要使用CivitAi进行搜索,您需要首先点击该网站并选择“search by term”。在打开的搜索框中,输入关键词“ChilloutMix”,这是一个经过调整的模型。接下来,点击“get list”按钮,根据图片提示选择相应的模型和版本。之后,您可以挑选所需的模型文件名,并查看对应的下载地址。最后,点击“4th-downloadmodel”选项,即可下载4.27G的模型文件。整个过程大约需要2-4分钟的时间,而且不会消耗您的网络流量。
可以切换回代码执行页面查看下载进度。
2、当模型下载成功后,点击左上角的刷新按钮,点击向下箭头,就可以看到我们刚刚下载的模型了
在进入CivitAi界面后,您需要选择LORA并搜索Liyuu LoRA。一旦您勾选了搜索项并点击获取列表按钮,您就可以按照下图所示的选择开始绘制了。
4、进入txt2img,黏贴下面这段编码,点击箭头,
best quality, ultra high res, (photorealistic:1.4), <lora:Liyuu:0.8>, black hair, bangs, (collar:1.3), full body, looking_at_viewer, outdoor,
Negative prompt: paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, lowres,bad anatomy,bad hands, text, error, missing fingers,extra digit, fewer digits, cropped, worstquality, low quality, normal quality,jpegartifacts,signature, watermark, username,blurry,bad feet,cropped,poorly drawn hands,poorly drawn face,mutation,deformed,worst quality,low quality,normal quality,jpeg artifacts,signature,watermark,extra fingers,fewer digits,extra limbs,extra arms,extra legs,malformed limbs,fused fingers,too many fingers,long neck,cross-eyed,mutated hands,polar lowres,bad body,bad proportions,gross proportions,text,error,missing fingers,missing arms,missing legs,extra digit,
Size: 640×960, Seed: 1157415448, Model: ChilloutMix, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Model hash: 95afa0d9ea
5、点击Additional Networks,勾选Enable,点击refresh models,模型1选中刚刚下载的liyuulora模型,权重调为1,如下图所示
注释:
1、上诉步骤其实是完成从https://civitai.com 选择已经训练好的模型,进行参数和模型的加载,作者用这个模型进行人像尝试感觉效果不错,封面的图片均是在上述设置完成的。感兴趣的朋友可以下载其他模型尝试效果。
2、顶部的两个输入框分别对应着你期望的产出结果的关键词和你不期望出现的元素关键词,当前已经可以直接出图了,但是可能出图不会是你理想中的图,后面介绍如何使用chatGPT优化期望关键词,图1为直接运行结果,图2为修改期望关键词后的结果。
图2关键词
期望关键词
Oval or Heart-Shaped Face, Large Almond-Shaped Eyes, Long Eyelashes, Sparkling Irises, Arched and Neatly Groomed Eyebrows, Straight or Slightly Upturned Nose, Full Lips with Defined Cupids Bow, Smooth and Clear Skin with Healthy Glow, Silky and Shiny Hair with Volume and Movement, Serene, Confident, and Alluring Expression, Subtle Makeup Enhancing Natural Beauty, Delicate and Elegant Accessories such as Earrings or a Headpiece.
不期望关键词
paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, lowres,bad anatomy,bad hands, text, error, missing fingers,extra digit, fewer digits, cropped, worstquality, low quality, normal quality,jpegartifacts,signature, watermark, username,blurry,bad feet,cropped,poorly drawn hands,poorly drawn face,mutation,deformed,worst quality,low quality,normal quality,jpeg artifacts,signature,watermark,extra fingers,fewer digits,extra limbs,extra arms,extra legs,malformed limbs,fused fingers,too many fingers,long neck,cross-eyed,mutated hands,polar lowres,bad body,bad proportions,gross proportions,text,error,missing fingers,missing arms,missing legs,extra digit
不期望关键词翻译
paintings(绘画作品), sketches(素描), (worst quality:2)(最差画质:2), (low quality:2)(低画质:2), (normal quality:2)(普通画质:2), lowres(低分辨率), normal quality(普通画质), ((monochrome))(单色), ((grayscale))(灰度), skin spots(色斑), acnes(青春痘), skin blemishes(皮肤缺陷), age spot(老年斑), glans(龟头), lowres(低分辨率), bad anatomy(解剖错误), bad hands(手部错误), text(文字), error(错误), missing fingers(缺失手指), extra digit(多余手指), fewer digits(缺失手指), cropped(裁剪), worst quality(最差画质), low quality(低画质), normal quality(普通画质), jpeg artifacts(JPEG 压缩痕迹), signature(签名), watermark(水印), username(用户名), blurry(模糊), bad feet(脚部错误), poorly drawn hands(手部绘制不好), poorly drawn face(脸部绘制不好), mutation(突变), deformed(畸形), worst quality(最差画质), low quality(低画质), normal quality(普通画质), jpeg artifacts(JPEG 压缩痕迹), signature(签名), watermark(水印), extra fingers(多余手指), fewer digits(缺失手指), extra limbs(多余肢体), extra arms(多余手臂), extra legs(多余腿部), malformed limbs(肢体畸形), fused fingers(融合的手指), too many fingers(太多手指), long neck(颈部过长), cross-eyed(斜视), mutated hands(突变的手部), polar lowres(北极低分辨率), bad body(身体错误), bad proportions(比例错误), gross proportions(比例过于夸张), text(文字), error(错误), missing fingers(缺失手指), missing arms(缺失手臂), missing legs(缺失腿部), extra digit(多余手指)
第三步,与ChatGPT对话,获得关键词
方法1,直接让ChatGPT给出关键词描述
1、与ChatGPT对话,描述如下:你是stable diffusion参数大师,请给我[我希望看到的结果的文字描述]关键词描述,如:你是stable diffusion参数大师,请给我五官精致女神的关键词描述,帮助我绘制出女神画像,返回结果如下图所示
2、让ChatGPT将关键词用逗号分割,如图所示
Oval or Heart-Shaped Face, Large Almond-Shaped Eyes, Long Eyelashes, Sparkling Irises, Arched and Neatly Groomed Eyebrows, Straight or Slightly Upturned Nose, Full Lips with Defined Cupids Bow, Smooth and Clear Skin with Healthy Glow, Silky and Shiny Hair with Volume and Movement, Serene, Confident, and Alluring Expression, Subtle Makeup Enhancing Natural Beauty, Delicate and Elegant Accessories such as Earrings or a Headpiece.
根据上述关键词生成的效果如下所示
方法2,你描述一个故事的开头,让ChatGPT帮你完善这个画面的细节,然后提取关键词,再根据自己的喜好,增加修改关键词
方法3,利用ChatGPT-4的能力,使用new bing,搜索喜欢的图片,用右侧聊天窗口唤起ChatGPT-4,获取图片的标签信息,如下图所示:
第四步,开始作图
将上文生成的期望关键词录入到期望输入框中,点击【generate】即可查看效果了,如果不满意可以调整关键词,下图都是作者尝试的效果图。
注意
1、当不使用的时候,请断开链接并删除运行时,每天免费时长12小时,如果确认断开,需要重新加载模型,重复上述步骤
2、作者也是刚刚接触,所以也在学习中,希望可以和大家多多交流
这一轮AIGC真的很棒,可以看到在人物插画,卡通插画,图标logo设计,音视频领域产品都在不断成熟,未来这些ai能力有可能成为类似于使用Office一样的职场标配能力,结合ChatGPT简直就是用想象力去创作内容,即将上线的智能office365更是让人期待。
未来我们的生活和工作大概率会发生颠覆式改变,所以建议读者朋友都能以一个开放的心态,尽早尝试,不要再说AI不能干什么了,因为你真的可能不清楚它的迭代速度,从国际象棋,到围棋,再到ChaGPT,这一轮加速升级又让我想起了下面这幅漫画。
AI时代,拥有个人微信机器人AI助手!AI时代不落人后!
免费ChatGPT问答,办公、写作、生活好得力助手!
搜索微信号aigc666aigc999或上边扫码,即可拥有个人AI助手!