首页 > Ai资讯 > Ai知识库 > Stable Diffusion真实人物转卡通证件照(2.0版)

Stable Diffusion真实人物转卡通证件照(2.0版)

发布时间:2024年06月06日

一、简介

你想创建自己的卡通证件照吗?现在就来试试Stable Diffusion中的dreamshaper_7模型和卡通证件照_v2.0模型,再配合ControlNet插件,就可以把各种真实人物照片变成卡通证件照头像啦!小伙伴们,如果你喜欢这个想法,就帮我点赞和关注吧!感谢你们的支持!!!

二、实操案例

示例-1

 

原图

 

卡通证件照

Stable Diffusion 模型:dreamshaper_7.safetensors

外挂 VAE 模型:vae-ft-mse-840000-ema-pruned.safetensors

Lora模型:卡通证件照_v2.0.safetensors

反向tag:

bad-hands-5 ,EasyNegativeV2 ,ng_deepnegative_v1_75t ,bad-image-v2-39000

CLIP 终止层数:2

正向提示词:The best quality,  cartoon_portrait, 1 girl, single person, silver gray background, brown eyes, black long hair being coiled up, pink lips, smile gently, and wear black professional dress sideways,  <lora:卡通证件照_v2.0:0.7>

反向提示词:bad-hands-5 EasyNegativeV2 ng_deepnegative_v1_75t bad-image-v2-39000

迭代步数 (Steps):20

采样方法 (Sampler):DPM++ SDE Karras

宽度:616

高度:768 

总批次数:1

单批数量:1

提示词引导系数 (CFG Scale):7

随机数种子 (Seed):324646734

ControlNet v1.1.224:配置详见下图。

 

示例-2

 

原图

 

卡通证件照

Stable Diffusion 模型:dreamshaper_7.safetensors

外挂 VAE 模型:vae-ft-mse-840000-ema-pruned.safetensors

Lora模型:卡通证件照_v2.0.safetensors

反向tag:

bad-hands-5 ,EasyNegativeV2 ,ng_deepnegative_v1_75t ,bad-image-v2-39000

CLIP 终止层数:2

正向提示词:best quality, masterpiece,8K,ultra-high res,(high detaled skin,visible pores),shiny skin,white skin,1girl, solo,(black hair:1.2),(dynamic hairstyle:1.2),simple background,(straight-on,upper body:1.4),(from below:1.4)(golden hour :1.2),(soft focus:1.2),  <lora:卡通证件照_v2.0:0.6>

反向提示词: bad-hands-5 EasyNegativeV2 ng_deepnegative_v1_75t bad-image-v2-39000

迭代步数 (Steps):20

采样方法 (Sampler):DPM++ SDE Karras

宽度:768

高度:1152

总批次数:1

单批数量:1

提示词引导系数 (CFG Scale):7

随机数种子 (Seed):324646734

ControlNet v1.1.224:配置详见下图。

 

示例-3

 

原图

 

卡通证件照

Stable Diffusion 模型:dreamshaper_7.safetensors

外挂 VAE 模型:vae-ft-mse-840000-ema-pruned.safetensors

Lora模型:卡通证件照_v2.0.safetensors

反向tag:

bad-hands-5 ,EasyNegativeV2 ,ng_deepnegative_v1_75t ,bad-image-v2-39000

CLIP 终止层数:2

正向提示词:best quality, cartoon_portrait, Best quality, masterpiece, 8k uhd, HDR, extreme detailed, intricate details, professional, vivid colors),1gir is (wariza:1.3) on ground in broken chinese temple, wearing jingju clothes,(waist up, close up),(dramatic lighting, lighting on face, ray tracing, vray tracing),(nice hands, perfect hands, fixed),Long black hair,upper body, earrings,  lips,,  <lora:卡通证件照_v2.0:0.7>

反向提示词: 

bad-hands-5 ,EasyNegativeV2 ,ng_deepnegative_v1_75t ,bad-image-v2-39000

迭代步数 (Steps):20

采样方法 (Sampler):DPM++ SDE Karras

宽度:1024

高度:1536

总批次数:1

单批数量:1

提示词引导系数 (CFG Scale):7

随机数种子 (Seed):324646734

ControlNet v1.1.224:配置详见下图。

 

 

出自:https://mp.weixin.qq.com/s/c6SDJMZO4ht5TeuFBlGp4Q