Stable Diffusion用AI结合照片创造自然奇景
2023-10-19 本文已影响0人
旧巷听雨枫染晨
用AI结合照片创造自然奇景,以前需要一个技术很强,脑洞很大的设计师才能完成事情,现在没有任何设计师技能基础的人,也可以搞定了,这也许就是AI绘图的魅力所在。
1、找一个自己想映射的图片
例如犬子点赞图,哈哈
![](https://img.haomeiwen.com/i18103770/9b3fe20fba21a6b3.png)
2、通过SD的segment anything插件处理图片
处理成这样(其他工具也可以,目的是拿到结果图)
![](https://img.haomeiwen.com/i18103770/ffd04d49efcb1421.png)
3、设置SD基础参数
正向关键字:
The highest quality, masterpiece, high-definition image quality, rich details,Mountains, blue sky,clouds, plants, trees,lake, beautiful scenery
通用反向关键字:
EasyNegative, ng_deepnegative_v1_75t, badhandv4,(worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), bad anatomy,DeepNegative, skin spots, acnes, skin blemishes,(fat:1.2),facing away, looking away,tilted head, lowres,bad anatomy,bad hands, missing fingers,extra digit, fewer digits,bad feet,poorly drawn hands,poorly drawn face,mutation,deformed,extra fingers,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,missing arms,missing legs,extra digit, extra arms, extra leg, extra foot,teethcroppe,signature, watermark, username,blurry,cropped,jpeg artifacts,text,error
迭代步数3,采样方法DPM++ SDE Karras,高宽和准备的图一致即可
4、设置controlnet参数
![](https://img.haomeiwen.com/i18103770/61f1c1aac9aba563.png)
5、大功告成了!
权重控制好,自己多试试。
![](https://img.haomeiwen.com/i18103770/f8a678d4f721b561.png)
![](https://img.haomeiwen.com/i18103770/8ecf6e60fc4666d8.png)
![](https://img.haomeiwen.com/i18103770/edcdb8e3bccb9fa6.png)
![](https://img.haomeiwen.com/i18103770/107f81619bee85e2.png)