AI绘画赛博机车保姆级教程

经常能刷到如下AI赛博机车图,其实就用SD技术生成 赛博朋克机甲风图片,实现超酷的“变装”效果,本文详细介绍AI绘画赛博机车教程,你只需要一步一步跟着操作,也能做出同款图片。

如果你有一点Stable Diffusion的基础,基本无能照着步骤操作也可以制作出来

如果你一点基础都没有,可以先去了解一下,或者看我之前发的教程也行

另外,文中需要用到的模型文件,也都给大家打包好放在末尾的网盘链接里,不需要大家再自己到处去找

目录

一、制作公式

1.大模型

2.正向提示词:

3.负向提示词:

4.基础参数

5.Lora及触发词

6.ControlNet

二、优质模板

1.真实机械风

2.赛博次元风

3.真人露脸图

4.星空机甲图

5.MJ生成机车图

三、问题答疑

1.是关键词、大模型、ControlNet完全照抄就可以了吗?

2.用文生图还是图生图?

3.出来的图片和上传的没有半毛钱关系,以及用不了ControlNet

4.Lora使用方法

5.出的头盔图露脸怎么办?

6.大模型怎么安装?

7.宽高比插件怎么安装?

8.ControlNet怎么安装?

四、整合资料网盘链接


一、制作公式

1.大模型

  1. majicMix Realistic(真实机械风)

  2. comix v3.1(赛博次元风)

2.正向提示词:

①画面高质量词:4k,best quality, masterpiece, high quality,realistic,finely detailed,ultra highres,(photorealistic:1.4),

②对画面的描述:1 girl, a motorcycle,helmet,Reflective windshield,solo,

③基础风格词:mecha,mech clothes,neon lights,

④霓虹灯 Lora:neon,CyberpunkAI,GlowingRunes_red,<lora:GlowingRunesAIv4:0.5>,

⑤机甲、机械 Lora:robot,roblit,mecha musume,mechanical parts,robot joints,headgear,

<lora:AMechaSSS[color_theme,mecha musume,mechanical parts,robot joints,headgear]:0.5>,

⑥增加细节 Lora:<lora:add_detail:1>,

3.负向提示词:

3个Embedding:

  • EasyNegative

  • ng_deepnegative_v1_75t

  • badhandv4

通用负向关键词:

nsfw,worst quality, low quality,lowres, watermark, monochrome, grayscale, ugly, blurry, Tan skin, dark skin, black skin, skin spots, skin blemishes, age spot, glans, disabled, distorted, bad anatomy, morbid, malformation, amputation, bad proportions, missing body, fused body, extra head, poorly drawn face, bad eyes, deformed eye, unclear eyes, cross-eyed, long neck, malformed limbs, extra limbs, extra arms, missing arms, bad tongue, strange fingers, mutated hands, missing hands, poorly drawn hands, extra hands, fused hands, connected hand, bad hands, wrong fingers, missing fingers, extra fingers, 4 fingers, 3 fingers, deformed hands, extra legs, bad legs, many legs, more than two legs, bad feet, wrong feet, extra feets,

4.基础参数

①迭代步数:30(28-32都可以试试看)

②采样方法:DPM++ 2M Karras 或者 DPM++ 2M SDE Karras

③宽高比不用设置,后面会自动调节的

④总批数设置4批,抽卡概率高些

⑤随机数种子:-1

5.Lora及触发词

1.霓虹灯 Lora:

①(neon)CyberpunkAI

触发词:neon,CyberpunkAI,

②GlowingRunes

触发词:GlowingRunes_red,

red可自由替换成:paleblue、green、purple、yellow、pink

2.机甲 Lora:

①Robotaction

触发词:robot,roblit,

②AMechaSSS

触发词:mecha musume,mechanical parts,robot joints,headgear,

3.增加细节Lora:

①Add_detail

触发词:无

6.ControlNet

①把启用、Pixel Perfect(完美像素)、Allow Preview(允许预览)打开

②ControlNet模型选择:Lineart或者Tile

Lineart的采样方法是线稿,用来出次元画风

Tile的采样方法则是先模糊再放大,用来出真实画风

③弄完点击蓝色框框可以把图片尺寸替换上去,但是要注意会不会过大,如果过大就要长和宽都除以2

二、优质模板

以下案例都已打包好放在网盘链接里的PNG信息库中

可以到SD的PNG图片信息中,直接提取同款提示词和参数设置

1.真实机械风

大模型使用majicMix Realistic,ControlNet使用Tile

提示词:

4k,best quality, masterpiece, high quality,realistic,finely detailed,ultra highres,(photorealistic:1.4),

1 girl, a motorcycle,helmet,Reflective windshield,solo,

mecha,mech clothes,neon lights,

neon,CyberpunkAI,GlowingRunes_red,<lora:GlowingRunesAIv4:0.5>,

robot,roblit,mecha musume,mechanical parts,robot joints,headgear,

<lora:AMechaSSS[color_theme,mecha musume,mechanical parts,robot joints,headgear]:0.5>,

<lora:add_detail:1>,

提示词:

4k,best quality, masterpiece, high quality,realistic,finely detailed,ultra highres,(photorealistic:1.4),

1 girl, helmet,a motorcycle,helmet,Reflective windshield,solo,

mecha,mech clothes,neon lights,

neon,CyberpunkAI,GlowingRunes_purple,<lora:GlowingRunesAIv4:0.5>,

robot,roblit,mecha musume,mechanical parts,robot joints,headgear,

<lora:AMechaSSS[color_theme,mecha musume,mechanical parts,robot joints,headgear]:0.5>,

<lora:add_detail:1>,

提示词:

1girl with helmet,white neon lights,(Lights Strip:1.4),(neon lights:1.8),1 mechanical girl,

(Mechanical clothes:1.4),mecha,A glowing mech,mechanical parts,mechanical arms,(Glowing helmet:1.6), motorcycle, outdoors, solo, sky,mechanical skeleton,8k,best quality,masterpiece,extremely delicateand beautiful,wallpaper,realistic,(photorealistic:1.4),finely detail,masterpiece,best quality,

(Mechanical body:1.4),ultra high res,(mechanical joints:1.3),more mechanical lines,

2.赛博次元风

大模型使用comix v3.1,ControlNet使用lineart

提示词:

best quality, masterpiece, high quality,realistic,finely detailed,ultra high res,

1 girl with a helmet riding amotorcycle,Mechanical body,Mechanical clothers,mecha, helmet,

sitting on a motorcycle,(Neon clothes:1),background,hlurry,starry sky,colourful background,bokeh,

((neon light:1),portrait,sidelocks,Cyberpunk clothes,clothes,

提示词:

Red and blue, Optimus Prime,(1mechanical boy),solo,looking at viewer,Cyberpunk city setting,

Mech helmet, robot,standing,A glowing mech,((ultra realistic details)), portrait, global illumination, shadows,

octane render,8k, ultra sharp,metal,intricate, detailed ornaments, cold colors, Egyptian detail,

highly intricate details, realistic light, trending on cgsociety, glowing eyes, neon details, machanical limbs,bloo

提示词:

Red and blue, Optimus Prime,(1mechanical boy),solo,looking at viewer,Cyberpunk city setting,

Mech helmet, robot,standing,A glowing mech,((ultra realistic details)), portrait, global illumination, shadows,

octane render,8k, ultra sharp,metal,intricate, detailed ornaments, cold colors, Egyptian detail,

highly intricate details, realistic light, trending on cgsociety, glowing eyes, neon details, machanical limbs,bloo

3.真人露脸图

大模型使用majicMix Realistic,ControlNet使用Tile

会偏概率抽卡,不一定百分百出好看的

1girl, neon lamp , masterpiece,

high quality, best quality, beautiful, perfect lighting, detailed face, detailed body,

(((photorealistic, hyper-realistic, RAW photo:1.2))),

intricate details, 8k uhd, perfect face, perfect eyes,biomechanical, mechanical parts,dramatic lighting, cyborg ,(FULL BODY:1.1),ruins,

1girl, neon lamp , masterpiece,

high quality, best quality, beautiful, perfect lighting, detailed face, detailed body,

(((photorealistic, hyper-realistic, RAW photo:1.2))),

intricate details, 8k uhd, perfect face, perfect eyes,biomechanical, mechanical parts,dramatic lighting, cyborg ,(FULL BODY:1.1),ruins,

4.星空机甲图

大模型使用majicMix Realistic,ControlNet使用Tile

提示词加上(((White and golden))),(starry_sky:1.3),(hyper_galaxy:1.3)

提示词:

1 girl,a motorcycle,helmet,Reflective windshield,solo,

(((White and golden))),(starry_sky:1.3),(hyper_galaxy:1.3),mecha,mech clothes,neon lights,muscle-like lines of the mecha,reflected metal,

4k,best quality, masterpiece, high quality,realistic,finely detailed,ultra high res,(photorealistic:1.4),

robot,roblit,mecha musume,mechanical parts,robot joints,headgear, <lora:AMechaSSS[color_theme,mecha musume, mechanical parts,robot joints,headgear]:0.6>,

<lora:add_detail:1>,

5.MJ生成机车图

因为Midjoueny的特点就是简单高效,只需要输入提示词就能输出很精美的图片,不需要像SD搞这个大模型,那个ControlNet之类的,具体怎么使用MJ这里我就不多说了,网上搜一搜都有

我直接把我拆解好的提示词分享出来,大家只需要根据客户图片去描述一下翻译成英文再替换上去就可以

关键词拆解:

A little boy wears a helmet on his head and rides a motorcycle,Cute,handsome,full body, anime style, chibi,motion blur, cyberpunk,the best quality --niji 5 --s 200

一个小男孩头上戴着头盔,骑着摩托车,可爱,帅气,全身,动漫风格,赤壁,运动模糊,赛博朋克,最好的质量--niji 5 --s 200

加粗字体可以随意更换

A girl in a black jacket and a helmet rides a pink motorcycle,cute,handsome,full body, anime style, chibi,motion blur, cyberpunk,the best quality --niji 5 --s 200

穿着黑色夹克和头盔的女孩骑着粉色摩托车,可爱,帅气,全身,动漫风格,赤壁,运动模糊,赛博朋克,最好的品质--niji 5 --s 200

三、问题答疑

1.是关键词、大模型、ControlNet完全照抄就可以了吗?

不是,现有提供的只是为了给大家快速的入门,至少你能实现出AI赛博的风格出来了

因为每一张原图的不一样的,如果想做出真正好看,适配的AI赛博图,需要自己去多多测试

不同的关键词、大模型、ControlNet都会出来不一样的效果,自己多去试一下,才能更深刻感受到每一种的区别在哪里,之后才能更好的迭代

2.用文生图还是图生图?

都可以,最好的答案是都试试

3.出来的图片和上传的没有半毛钱关系,以及用不了ControlNet

虽然有ControlNet,但是没有装ControlNet的模型,需要把模型和预处理器都装上

4.Lora使用方法

①放到这个文件夹里

②web ui里点击这个小红书

③点击刷新,就可以用Lora了

提示词里:<lora:GlowingRunesAIv4:1>

注意最后这个1的参数可以调节,过强了就调成0.5,弱了就1.3,<lora:GlowingRunesAIv4:1.3>

5.出的头盔图露脸怎么办?

试试头盔护目镜这个词

6.大模型怎么安装?

这里的SD根目录就是大家在下载时,存放SD的那个文件夹

7.宽高比插件怎么安装?

①找到【扩展】选项

②点击加载扩展列表

③搜索【Aspect】

④安装【Aspect Ratio Helper】

云平台用户也可自行安装

https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git

8.ControlNet怎么安装?

①下载预处理器

下载网盘里的《1.预处理器》文件夹

里面有一个“downloads”文件夹

整个文件夹复制到SD的文件夹里面

具体位置:SD文件 > extensions > sd-webui-controlnet > annotator

②下载模型

下载网盘里的《2.模型》文件夹

里面有14个模型,把这些模型复制到SD文件夹里

具体位置:SD文件 > models > ControlNet

四、整合资料网盘链接

大模型、Lora、ControlNet、Embedding文件、PNG信息提取:

链接:https://pan.baidu.com/s/1pxjpV3E3Ut_OjIBPxmqJgw?pwd=rz1j
提取码:rz1j 

相关阅读:

AI绘画动漫转真人详细教程-CSDN博客

从零开始学AI绘画,万字Stable Diffusion终极教程(一)-CSDN博客

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

月流霜

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值