ComfyUI Node Runs on cloud
Automatic CFG - Advanced
A ComfyUI node in model_patches/Automatic_CFG with 53 inputs and 2 outputs.
Automatic CFG - Advanced
- model
- attention_modifiers_positive
- attention_modifiers_negative
- attention_modifiers_fake_negative
- attention_modifiers_global
- MODEL
- STRING
◄automatic_cfghard►
◄skip_uncondtrue►
◄fake_uncond_startfalse►
◄uncond_sigma_start1000.0►
◄uncond_sigma_end1.0►
◄lerp_uncondfalse►
◄lerp_uncond_strength2.0►
◄lerp_uncond_sigma_start1000.0►
◄lerp_uncond_sigma_end1.0►
◄subtract_latent_meanfalse►
◄subtract_latent_mean_sigma_start1000.0►
◄subtract_latent_mean_sigma_end1.0►
◄latent_intensity_rescalefalse►
◄latent_intensity_rescale_methodhard►
◄latent_intensity_rescale_cfg8.0►
◄latent_intensity_rescale_sigma_start1000.0►
◄latent_intensity_rescale_sigma_end3.0►
◄cond_expfalse►
◄cond_exp_normalizefalse►
◄cond_exp_sigma_start1000.0►
◄cond_exp_sigma_end1.0►
◄cond_exp_method▾►
◄cond_exp_value2.0►
◄uncond_expfalse►
◄uncond_exp_normalizefalse►
◄uncond_exp_sigma_start1000.0►
◄uncond_exp_sigma_end1.0►
◄uncond_exp_method▾►
◄uncond_exp_value2.0►
◄fake_uncond_expfalse►
◄fake_uncond_exp_normalizefalse►
◄fake_uncond_exp_method▾►
◄fake_uncond_exp_value2.0►
◄fake_uncond_multiplier1►
◄fake_uncond_sigma_start1000.0►
◄fake_uncond_sigma_end1.0►
◄auto_cfg_topk0.25►
◄auto_cfg_ref8.0►
◄attention_modifiers_global_enabledfalse►
◄disable_condfalse►
◄disable_cond_sigma_start1000.0►
◄disable_cond_sigma_end0.0►
◄save_as_presetfalse►
◄preset_name—►
◄eval_string_cond—►
◄eval_string_uncond—►
◄eval_string_fake—►
◄args_filter—►
Categorymodel_patches/Automatic_CFG
Inputs (53)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| automatic_cfg | COMBO | hard | 5 options: None, soft, hard, hard_squared, range |
| skip_uncond | BOOLEAN | true | — |
| fake_uncond_start | BOOLEAN | false | — |
| uncond_sigma_start | FLOAT | 1000.00–10000 | — |
| uncond_sigma_end | FLOAT | 1.00–10000 | — |
| lerp_uncond | BOOLEAN | false | — |
| lerp_uncond_strength | FLOAT | 2.00–10 | — |
| lerp_uncond_sigma_start | FLOAT | 1000.00–10000 | — |
| lerp_uncond_sigma_end | FLOAT | 1.00–10000 | — |
| subtract_latent_mean | BOOLEAN | false | — |
| subtract_latent_mean_sigma_start | FLOAT | 1000.00–10000 | — |
| subtract_latent_mean_sigma_end | FLOAT | 1.00–10000 | — |
| latent_intensity_rescale | BOOLEAN | false | — |
| latent_intensity_rescale_method | COMBO | hard | 3 options: soft, hard, range |
| latent_intensity_rescale_cfg | FLOAT | 8.00–100 | — |
| latent_intensity_rescale_sigma_start | FLOAT | 1000.00–10000 | — |
| latent_intensity_rescale_sigma_end | FLOAT | 3.00–10000 | — |
| cond_exp | BOOLEAN | false | — |
| cond_exp_normalize | BOOLEAN | false | — |
| cond_exp_sigma_start | FLOAT | 1000.00–10000 | — |
| cond_exp_sigma_end | FLOAT | 1.00–10000 | — |
| cond_exp_method | COMBO | 24 options: amplify, root, power, erf, erf_amplify, exp_erf, +18 | |
| cond_exp_value | FLOAT | 2.00–100 | — |
| uncond_exp | BOOLEAN | false | — |
| uncond_exp_normalize | BOOLEAN | false | — |
| uncond_exp_sigma_start | FLOAT | 1000.00–10000 | — |
| uncond_exp_sigma_end | FLOAT | 1.00–10000 | — |
| uncond_exp_method | COMBO | 22 options: amplify, root, power, erf, erf_amplify, exp_erf, +16 | |
| uncond_exp_value | FLOAT | 2.00–100 | — |
| fake_uncond_exp | BOOLEAN | false | — |
| fake_uncond_exp_normalize | BOOLEAN | false | — |
| fake_uncond_exp_method | COMBO | 25 options: cond_pred, previous_average, amplify, root, power, erf, +19 | |
| fake_uncond_exp_value | FLOAT | 2.00–1000 | — |
| fake_uncond_multiplier | INT | 1-1–1 | — |
| fake_uncond_sigma_start | FLOAT | 1000.00–10000 | — |
| fake_uncond_sigma_end | FLOAT | 1.00–10000 | — |
| auto_cfg_topk | FLOAT | 0.250–0.5 | — |
| auto_cfg_ref | FLOAT | 8.00–100 | — |
| attention_modifiers_global_enabled | BOOLEAN | false | — |
| disable_cond | BOOLEAN | false | — |
| disable_cond_sigma_start | FLOAT | 1000.00–10000 | — |
| disable_cond_sigma_end | FLOAT | 0.00–10000 | — |
| save_as_preset | BOOLEAN | false | — |
| preset_name | STRING | — | |
| eval_string_condopt | STRING | — | |
| eval_string_uncondopt | STRING | — | |
| eval_string_fakeopt | STRING | — | |
| args_filteropt | STRING | — | |
| attention_modifiers_positiveopt | ATTNMOD | — | |
| attention_modifiers_negativeopt | ATTNMOD | — | |
| attention_modifiers_fake_negativeopt | ATTNMOD | — | |
| attention_modifiers_globalopt | ATTNMOD | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |
| STRING | STRING | — |