我们大家好,我是小梁子。
【第一步】:大模型的选择
我们使用最近发布的ReminiClay黏土风_SDXL大模型。
模型下载地址(文末网盘地址也可获取)
LiblibAI: https://www.liblib.art/modelinfo/36404bfb74f64c168cad048312eb5f42
【第二步】:提示词的编写
正向提示词:
Prompt:clay,(photorealistic, best quality, ultra high res, extremely detailed eyes and face:1.3),1girl,solo,long hair,large breasts,chinese clothes,china dress,hanfu,jewelry,necklace,earrings,perfect body,standing,looking at viewer,
提示词:粘土,(逼真,高画质,超高分辨率,非常详细的眼睛和脸:1.3),1个女孩,独奏,长发,大胸,中国衣服,中国连衣裙,汉服,珠宝,项链,耳环,完美的身体,站立,看着观众。
反向提示词:
lowres,bad anatomy,((bad hands)),(worst quality:2),(low quality:2),(normal quality:2),paintings,sketches,lowres,bad anatomy,bad hands,text,error,missing fingers,
ControlNet单元0:上传写真人物的原图
注意这里的图片最好也是1024左右的大小。
控制类型:选择"Instant_ID"
预处理器:instant_id_face_embedding
模型:ip-adpter_instanid_sdxl
控制权重:1
控制类型:选择"Instant_ID"
预处理器:instant_id_face_keypoints
模型:control_instant_id_sdxl
控制权重:0.45
【第四步】图片的生成
我们可以通过修改正向提示词更换图片中人物服装,背景等元素。
提示词1:圣诞写真
Prompt:clay,(photorealistic, best quality, ultra high res, extremely detailed eyes and face:1.3),
1 girl,solo,exquisite hairstyle,brown hair,long hair,Christmas clothing,Christmas dress,bow,Christmas hat,Christmas,festive atmosphere,indoor,upper body,christmas lights,tree,gift box,roses,ribbons,Christmas decorations,lighting,fireplace,warm,
提示词:粘土,(逼真,高画质,超高分辨率,非常详细的眼睛和脸:1.3)
1个女孩,独唱,精致的发型,棕色头发,长发,圣诞服装,圣诞礼服,蝴蝶结,圣诞帽,圣诞,喜庆气氛,室内、上半身、圣诞彩灯、圣诞树、礼盒、玫瑰、彩带、圣诞装饰品、灯饰、壁炉、暖炉、
提示词2:婚纱
Prompt:clay,(photorealistic, best quality, ultra high res, extremely detailed eyes and face:1.3), 1 girl,solo,exquisite hairstyle,crown,headscarf,hair bun,
White wedding dress,long dress,jewelry,looking at the audience,
提示词:粘土,(逼真,高画质,超高分辨率,非常详细的眼睛和脸:1.3) 1个女孩,独唱,精致的发型,皇冠,头巾,发髻,白色婚纱,长裙,珠宝,看着观众,
没试还不知道,一试吓一跳,发现ReminiClay黏土风_SDXL大模型配合InstantID实现艺术写真效果这么好,搞的我一度怀疑是不是模型用错了,我使用最简单的提示词尝试了一下。
clay,(photorealistic, best quality, ultra high res, extremely detailed eyes and face:1.3),1 girl,black hair,
生成的图片如下。
我再把画质相关提示词去掉。
clay,1 girl,black hair,
clay,1girl,solo,long hair,large breasts,chinese clothes,china dress,hanfu,jewelry,necklace,earrings,perfect body,standing,looking at viewer,
这个又和没有使用画质关键词效果差别不大。有点蒙了。。。
clay,1girl,solo,long hair,
出图效果又贼好。算了,不纠结了。应该和大模型本身有关系哈。
这里我把自己尝试的过程都记录下来了,总之,从个人实际体验来看,ReminiClay黏土风_SDXL大模型配合InstantID实现艺术写真效果还蛮不错的,感兴趣的小伙伴可以自行去体验哈。
好了,今天的分享就到这里了,希望今天分享的内容对大家有所帮助。
模型放在网盘里,感兴趣的小伙伴自取!
https://pan.quark.cn/s/b3df771404e2
END
公众号精选内容
Stable Diffusion技术1: 基础篇 | 进阶篇 | 插件篇 | ControlNet | 应用篇
Stable Diffusion技术2: SD工具| SDXL | Stable Cascade | SD3