15 lines
1.3 KiB
Plaintext
15 lines
1.3 KiB
Plaintext
[##]
|
|
A quick solution for upscaling models using a combination of ESRGAN models and ControlNet.
|
|
In some cases, you may want to mask out the character's face and run the result through Facelift.
|
|
Best ESRGAN models I'm aware of:
|
|
- 4xNomos8kSCHAT-L
|
|
- 4x_RealisticRescaler_100000_G
|
|
[/##]
|
|
[if batch_real_index=0]
|
|
[if sd_base="sdxl"]
|
|
, score_9, score_8_up, score_7_up, score_6_up, [img2img_autosize][image_edit autotone upscale="4xNomos8kSCHAT-L|4x_RealisticRescaler_100000_G" upscale_model_limit=1][replace _from="_" _to=" "][interrogate bypass_cache method="WaifuDiffusion" model="SmilingWolf/wd-vit-tagger-v3" blacklist_tags="{get blacklist_tags}"][/replace], detailed realistic photo[sets cn_0_enabled=1 cn_0_pixel_perfect=0 cn_0_model=controlnetxlCNXL_xinsirCnUnionPromax cn_0_module=none cn_0_weight=1.0 cn_0_guidance_end=1.0 cn_0_control_mode=1 sampler="DPM++ 2M" steps=15 denoising_strength=0.5 cfg_scale=7.5]
|
|
[/if]
|
|
[else]
|
|
[sets sampler="Restart" steps=20 denoising_strength=0.25 cfg_scale=15 negative_prompt="rfneg UnrealisticDream BadDream BeyondV3-neg" cn_0_enabled=1 cn_0_model=ip-adapter-plus-face_sd15 cn_0_module=ip-adapter_clip_sd15 cn_0_weight=0.5 cn_0_pixel_perfect=0 cn_1_enabled=1 cn_1_module=inpaint_only cn_1_model=inpaint cn_1_weight=1.0 cn_1_guidance_end=1.0 cn_1_control_mode=2], best quality (worst quality:-1)
|
|
[/else]
|
|
[/if] |