先看效果:
关键思路:
通过使用ControlNet插件,提取上传字型的线稿((lineart)和字体空间深度(depth),从而基于上传字型生成新的字体样式。
大模型的选择:
推荐这两个写实模型
写实henmixReal_v40.safetensors
写实\majicmixRealistic_.v4.safetensors
VAE
模型的VAE(SD VAE)
vae-ft-mse-840000-ema-pruned.safetensors
关键词:
正向
UHD,super detail,great details,best quality,Fresh watermelon slices,Melting ice,(front Volume light:1.2),f/2.8,Blue sky and white clouds background,burning sun,above Flowing glacier,from below,
UHD,超级细节,伟大的细节,最好的质量,新鲜的西瓜片,融化的冰,(体积照明:1.2),f/2.8,蓝天白云背景,燃烧的太阳,在流动的冰川之上,仰视
负向
text,logo,badhandv4,EasyNegative,ng_
deepnegative_v1_75t,rev2-badprompt,verybadimagenegative_v1.3,negative_hand-neg,nsfw,logo,text,mutated hands and fingers,deformed,bad anatomy,disfigured,poorly drawn face,mutated,extra limb,ugly,poorly drawn hands,missing limb,
Steps:25, Sampler: DPM++2S a, CFG scale:7, Seed:1210105432, Size:512x512, Model hash: f4151d2b7b, Model: Henmix_Real_henmixReal_v40, Denoising strength:0.7, Clip skip:2, ControlNet 0:
"preprocessor: lineart_standard(from white bg black line), model: control_v11p_sd15_lineart_fp16
[5c23b17d], weight:0.5, starting/ending:(0,1), resize mode: Crop and Resize, pixel perfect: True, control mode: Balanced, preprocessor params:(512,100,200)", ControlNet 1:"preprocessor: depth_midas, model: control_depth-fp16 [400750f6], weight:0.4, starting/ending:(0,1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params:(512,64,64)", Hires upscale:2, Hires upscaler:R-ESRGAN 4x+
ControlNet参数:
在ControlNet区域上传白底黑字字体图片,调整Control参数如下:
如何配置出多个ControlNeta参数:
操作路径:设置-一一ControlNet--一最大网络数量调整为“2或以上”
其他参数参考:
生成:
思考:
可以适当修改关键词,生成不同的水果样式,如柠檬(lemon以、草莓(strawberry以桃子(peach)等