首页 > Ai资讯 > Ai知识库 > Stable Diffusion图生图(真人转动漫)

Stable Diffusion图生图(真人转动漫)

发布时间:2024年06月06日

一、简介

今天给大家分享使用Stable
Diffusion
图生图进行真人转动漫,木木共使用了五种模型进行真人转动漫测试,重绘幅度在0.45~0.6之间,如果重绘幅度过大,会导致生成的图片偏离主体样貌,下面直接开始操作!!!

二、实操案例

1.图生图示例-02

Stable Diffusion 模型:2.5D动漫V1.0_V1.0.safetensors

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

Lora模型:

反向tag:空

CLIP 终止层数:2

正向提示词:1girl, solo, long
hair, looking at viewer, headphones, black hair, upper body, blurry, blurry
background, lips, realistic, shirt, closed mouth, white shirt,   

反向提示词:NSFW, (worst
quality:2), (low quality:2), (normal quality:2), lowres, normal quality,
((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,
(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21),
(tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad
anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331),
(missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many
fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers,
extra digit,bad hands, missing fingers, (((extra arms and legs))),

迭代步数 (Steps)20 

采样方法 (Sampler)DPM++ 2M Karras

宽度:512

高度:768

总批次数:3

单批数量:1

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

重绘幅度:0.45 

随机数种子 (Seed)453604059

2.图生图示例-02

IMG_258

Stable Diffusion 模型:CamelliaMix_2.5D_V1.safetensors

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

Lora模型:

反向tag:空

CLIP 终止层数:2

正向提示词:1girl, solo, long
hair, looking at viewer, headphones, black hair, upper body, blurry, blurry
background, lips, realistic, shirt, closed mouth, white shirt,   

反向提示词:NSFW, (worst
quality:2), (low quality:2), (normal quality:2), lowres, normal quality,
((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,
(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21),
(tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad
anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331),
(missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many
fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers,
extra digit,bad hands, missing fingers, (((extra arms and legs))),

迭代步数 (Steps)29

采样方法 (Sampler)DPM++ 2M Karras

宽度:512

高度:768

总批次数:3

单批数量:1

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

重绘幅度:0.45 

随机数种子 (Seed)453604059

3.图生图示例-03

IMG_259

Stable Diffusion 模型:cutekawaii_v1.0.safetensors

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

Lora模型:

反向tag:空

CLIP 终止层数:2

正向提示词:1girl, solo, long
hair, looking at viewer, headphones, black hair, upper body, blurry, blurry
background, lips, realistic, shirt, closed mouth, white shirt,   

反向提示词:NSFW, (worst
quality:2), (low quality:2), (normal quality:2), lowres, normal quality,
((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,
(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21),
(tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad
anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331),
(missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many
fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers,
extra digit,bad hands, missing fingers, (((extra arms and legs))),

迭代步数 (Steps)29

采样方法 (Sampler)DPM++ 2M Karras

宽度:512

高度:768

总批次数:3

单批数量:1

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

重绘幅度:0.5 

随机数种子 (Seed)453604059

4.图生图示例-04

IMG_260

Stable Diffusion 模型:Dark Sushi Mix 大颗寿司Mix_BrighterPruned.safetensors

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

Lora模型:

反向tag:空

CLIP 终止层数:2

正向提示词:1girl, solo, long
hair, looking at viewer, headphones, black hair, upper body, blurry, blurry
background, lips, realistic, shirt, closed mouth, white shirt,   

反向提示词:NSFW, (worst
quality:2), (low quality:2), (normal quality:2), lowres, normal quality,
((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,
(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21),
(tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad
anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331),
(missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many
fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers,
extra digit,bad hands, missing fingers, (((extra arms and legs))),

迭代步数 (Steps)29

采样方法 (Sampler)DPM++ 2M Karras

宽度:512

高度:768

总批次数:3

单批数量:1

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

重绘幅度:0.5 

随机数种子 (Seed)453604059

5.图生图示例-05

IMG_261

Stable Diffusion 模型:明快 CrispMix_v1 cucumber.safetensors

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

Lora模型:

反向tag:空

CLIP 终止层数:2

正向提示词:1girl, solo, long
hair, looking at viewer, headphones, black hair, upper body, blurry, blurry
background, lips, realistic, shirt, closed mouth, white shirt,   

反向提示词:NSFW, (worst
quality:2), (low quality:2), (normal quality:2), lowres, normal quality,
((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,
(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21),
(tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad
anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331),
(missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many
fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers,
extra digit,bad hands, missing fingers, (((extra arms and legs))),

迭代步数 (Steps)29

采样方法 (Sampler)DPM++ 2M Karras

宽度:512

高度:768

总批次数:3

单批数量:1

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

重绘幅度:0.5 

随机数种子 (Seed)453604059

6.图生图示例-06

IMG_262

Stable Diffusion 模型:cutekawaii_v1.0.safetensors

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

Lora模型:粉色机甲少女(跪求返图)_v1.0 

反向tag:空

CLIP 终止层数:2

正向提示词:1girl, solo, long
hair, looking at viewer, headphones, black hair, upper body, blurry, blurry
background, lips, realistic, shirt, closed mouth, white shirt,  <lora:
粉色机甲少女(跪求返图)_v1.0:1>   

反向提示词:NSFW, (worst
quality:2), (low quality:2), (normal quality:2), lowres, normal quality,
((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,
(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21),
(tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad
anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331),
(missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many
fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers,
extra digit,bad hands, missing fingers, (((extra arms and legs))),

迭代步数 (Steps)29

采样方法 (Sampler)DPM++ 2M Karras

宽度:512

高度:768

总批次数:3

单批数量:1

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

重绘幅度:0.6 

随机数种子 (Seed)453604059

7.操作截图

IMG_263

IMG_264

出自:https://mp.weixin.qq.com/s/-jH7hVUO-ayCdplca3KyfQ