先使用关键词生成需要换脸的模板
关键词:A passport-style photograph of a 23-year-old Chinese girl with delicate features, wearing a deep blue uniform suit and a white shirt, against a soft grey background. The suit is complemented by a dark blue and white striped tie, adding a touch of elegance. She poses frontally, with a composed and serious expression. The studio lighting is bright and focused, illuminating her face and the textures of her clothing. The style is realistic, with an emphasis on the contrast between the deep blue of the suit and the light grey of the background. Hd quality, natural look --ar 3:4 --v 6.0 --s 750
添加insightface机器人
打开浏览器输入github,找到insightface,添加至自己的服务器
或者直接在输入框输入:https://discord.com/oauth2/authorize?client_id=1090660574196674713&permissions=274877945856&scope=bot
![get-271 Midjourney 一键生成证件照,用AI做证件照分分钟搞定](https://www.1ai.net/wp-content/uploads/2024/07/get-271.jpg)
输入/saveid
这个命令是需要我们提供脸的照片,最好高清
![get-272 Midjourney 一键生成证件照,用AI做证件照分分钟搞定](https://www.1ai.net/wp-content/uploads/2024/07/get-272.jpg)
在Idname自定义脸的名字,发送
定义名字方便我们后面的命令找到,我这边设置idname为xscn
![get-273 Midjourney 一键生成证件照,用AI做证件照分分钟搞定](https://www.1ai.net/wp-content/uploads/2024/07/get-273.jpg)
输入/swapid
这个命令是需要我们提供脸的模板
![get-274 Midjourney 一键生成证件照,用AI做证件照分分钟搞定](https://www.1ai.net/wp-content/uploads/2024/07/get-274.jpg)
在idname定义脸的名字和saveid保持一致,回车发送就可以看到结果啦
![get-275 Midjourney 一键生成证件照,用AI做证件照分分钟搞定](https://www.1ai.net/wp-content/uploads/2024/07/get-275.jpg)
最后就得到自己喜欢的专属证件照啦,需要注意的就是换脸的图片越清晰越好哦。