ComfyUI Node
Ultralytics Enhancer (CRT)
A ComfyUI node in CRT/Sampling with 34 inputs and 5 outputs.
Ultralytics Enhancer (CRT)
- image
- model
- positive
- negative
- vae
- enhanced_image
- enhanced_face
- cropped_face_before
- enhanced_face_alpha
- base_face_alpha
◄face_segm_model▾►
◄segm_threshold0.50►
◄grow_crop0►
◄sampler_namelcm►
◄schedulersimple►
◄cfg1.0►
◄steps2►
◄denoise1.00►
◄seed1►
◄edit_model_flux2kleinfalse►
◄upscale_megapixel1.5►
◄resize_back_to_originalfalse►
◄multi_face_resolution_strategyoptimal►
◄pre_crop_factor1.00►
◄post_mask_expand10►
◄post_mask_blur12.0►
◄post_mask_taper_borders8►
◄stage1_sigma_factor1.010►
◄stage2_sigma_factor0.990►
◄stage1_sigma_start0.100►
◄stage2_sigma_end1.000►
◄details_amount_stage10.05►
◄details_amount_stage20.10►
◄enable_noise_injectionenable►
◄injection_point0.50►
◄injection_strength0.05►
◄normalize_injected_noiseenable►
◄enhancement_mix1.00►
◄color_match_strength1.00►
CategoryCRT/Sampling
Inputs (34)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| face_segm_model | COMBO | 0 options: | |
| segm_threshold | FLOAT | 0.500–1 | — |
| grow_crop | INT | 00–512 | Expands each detected crop region by this many pixels before enhancement |
| model | MODEL | — | |
| positive | CONDITIONING | — | |
| sampler_name | COMBO | lcm | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 |
| scheduler | COMBO | simple | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 |
| cfg | FLOAT | 1.00–100 | Classifier Free Guidance scale. Higher values follow the prompt more closely. |
| steps | INT | 21–100 | — |
| denoise | FLOAT | 1.000–1 | Amount of denoising to apply. 1.0 = full denoising (txt2img), 0.5-0.8 typical for img2img. |
| seed | INT | 10–18446744073709550000 | — |
| edit_model_flux2klein | BOOLEAN | false | Enable per-crop reference latent conditioning for edit models like flux2klein |
| upscale_megapixel | FLOAT | 1.50.1–16 | Target megapixels used to upscale each crop before enhancement |
| resize_back_to_original | BOOLEAN | false | If disabled, the whole input is upscaled so refined crops can keep higher detail |
| multi_face_resolution_strategy | COMBO | optimal | Used only when resize_back_to_original is False to decide global upscale for multi-face inputs |
| pre_crop_factor | FLOAT | 1.000.1–1 | Tightens each SEGS crop around its center before enhancement. Lower is tighter. |
| post_mask_expand | INT | 10-64–64 | — |
| post_mask_blur | FLOAT | 12.00–64 | — |
| post_mask_taper_borders | INT | 80–128 | Fades the mask edges to black to prevent hard clipping lines |
| stage1_sigma_factor | FLOAT | 1.0100–100 | — |
| stage2_sigma_factor | FLOAT | 0.9900–100 | — |
| stage1_sigma_start | FLOAT | 0.1000–1 | — |
| stage2_sigma_end | FLOAT | 1.0000–1 | — |
| details_amount_stage1 | FLOAT | 0.05-5–5 | — |
| details_amount_stage2 | FLOAT | 0.10-5–5 | — |
| enable_noise_injection | COMBO | enable | Enable noise injection during sampling |
| injection_point | FLOAT | 0.500–1 | Percentage of steps after which to inject noise |
| injection_strength | FLOAT | 0.05-20–20 | Strength of injected noise |
| normalize_injected_noise | COMBO | enable | Normalize injected noise to match latent statistics |
| enhancement_mix | FLOAT | 1.000–1 | Mix between original (0.0) and enhanced (1.0) face. 0.5 = 50/50 blend |
| color_match_strength | FLOAT | 1.000–2 | Strength of color matching between original and enhanced face. 0.0 = disabled, 1.0 = full matching |
| negativeopt | CONDITIONING | — | |
| vaeopt | VAE | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| enhanced_image | IMAGE | — |
| enhanced_face | IMAGE | — |
| cropped_face_before | IMAGE | — |
| enhanced_face_alpha | IMAGE | — |
| base_face_alpha | IMAGE | — |