本文主要是介绍【Stable Diffusion电商化妆品】“冰雪奇缘”图文教程,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
本教程使用的是文生图功能,启动webui,跟上节奏,开始制作:
主要步骤分为:
① 选好大模型,② 输入关键词,③ 选好LORA模型,④ 设置出图参数,⑤ 设置ControlNet
大模型使用:majicMIX realistic 麦橘写实_v7
正面关键词:
Ice and snow wilderness, cosmetics, bottles, non-human, depth of field, outdoor, ice and snow, snowfall,best quality,High Quality,realistic,RAW photo,masterpiece,8k,insane details,High detail,hyperdetailed,Lighting,Master Lighting,film grain,
(冰雪荒野,化妆品,瓶子,非人,景深,户外,冰雪,降雪,最佳质量,高品质,逼真,RAW照片,杰作,8k,疯狂的细节,高细节,超细节,照明,大师照明,胶片纹理,)
负面关键词:
ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),easynegative,drawing,painting,crayon,sketch,graphite,impressionist,noisy,blurry,soft,deformed,ugly,(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4),text,close up,cropped,out of frame,worst quality,low quality,jpeg artifacts,ugly,duplicate,morbid,mutilated,extra fingers,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,dehydrated,bad anatomy,bad proportions,extra limbs,cloned face,disfigured,gross proportions,malformed limbs,missing arms,missing legs,extra arms,extra legs,fused fingers,too many fingers,long neck,((nsfw)),sketches,tattoo,(beard:1.3),(EasyNegative:1.3),badhandv4,(worst quality:2),(low quality:2),(normal quality:2),lowers,normal quality,facing away,looking away,text,error,extra digit,fewer digits,cropped,jpeg artifacts,signature,watermark,username,blurry,skin spots,acnes,skin blemishes,bad anatomy,fat,bad feet,cropped,poorly drawn hands,poorly drawn face,mutation,deformed,tilted head.bad anatomy.bad hands,extra fingers,fewer digits,extra limbs.extra arms,extra legs,malformed limbs.fused fingers,too many fingers,long neck,cross-eyed,mutated hands,bad body,bad proportions,gross proportions,text,error,missing fingers,missing arms,missing legs,extra digit,extra arms,extra leg,extra foot,missing fingers,(Worst quality,low quality,lowres:1.2),error,cropped,jpeg artifacts,out of frame,watermark,signature
注意根据模型填写触发词,如: bottle Cosmetic,bingxue...
采样方式:DPM++ 2M Karras
迭代步数:30
勾选高分辨率修复
放大算法:4x-UltraSharp
重绘采样步数:25
重绘幅度:0.31
等比缩放:1.5
图片数量:3(多次抽卡,挑选出满意的图片)
提示词引导系数:7
启用ControlNet,第一个选择Inpaint局部重绘,用来重绘非产品区域
预处理器选择:inpaint_only
模型选择:control_v11p_sd15_inpaint
控制权重:0.45
起始步数:0.18
完结步数:0.88
第二个ControlNet选择SoftEdge软边缘,用来固定产品轮廓
预处理器选择:pidinet
模型选择:control_v11p_sd15 _softedge
控制权重:0.5
起始步数:0.22
完结步数:0.82
准备就绪,开始生成!
选出比较满意的,然后通过后期软件进行合成,来看下最终效果吧:
提示词翻译插件:sd-webui-bilingual-localization
这个插件提供双语翻译功能,使得界面可以支持两种语言,对于双语用户来说是一个很有用的功能。
提示词库:sd-webui-oldsix-prompt
提供提示词功能,可能帮助用户更好地指导图像生成的方向。
上千个提示词,无需英文基础快速输入提示词,该词库还在不断更新。
以后再也不担心英文写出不卡住思路了!
由于篇幅原因,有需要完整版Stable Diffusion插件库的小伙伴,点击下方插件即可免费领取
这篇关于【Stable Diffusion电商化妆品】“冰雪奇缘”图文教程的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!