ComfyUI Node
h4 - Mutate
A ComfyUI node in h4_Live/Image with 55 inputs and 1 output.
h4 - Mutate
- image
- mask
- style_image_1
- style_image_2
- style_image_3
- style_image_4
- IMAGE
◄enable_colorfalse►
◄enable_sharpenfalse►
◄enable_upscalefalse►
◄enable_stylefalse►
◄enable_filmfalse►
◄enable_vignettefalse►
◄enable_effectsfalse►
◄pipeline_orderdefault►
◄hue_shift0►
◄saturation1.00►
◄brightness1.00►
◄contrast1.00►
◄gamma1.00►
◄color_temperature0.00►
◄tint0.00►
◄sharpen_amount1.0►
◄sharpen_radius1►
◄scale_factor2.00►
◄upscale_methodlanczos►
◄style_methodadain►
◄style_attention_modefull_kv►
◄style_strength0.75►
◄style_blend_modeweighted►
◄style_weight_11.00►
◄style_weight_21.00►
◄style_weight_31.00►
◄style_weight_41.00►
◄film_presetnone►
◄grain_amount0.00►
◄grain_size1.0►
◄grain_typemono►
◄vignette_intensity0.50►
◄vignette_radius0.70►
◄vignette_softness0.50►
◄vignette_color#000000►
◄bloom_intensity0.00►
◄bloom_radius5.0►
◄bloom_threshold0.70►
◄chromatic_aberration0.0►
◄posterize_levels256►
◄priority_style1►
◄priority_color2►
◄priority_film3►
◄priority_sharpen4►
◄priority_effects5►
◄priority_vignette6►
◄priority_upscale7►
◄mask_feather0.00►
◄display_consolefalse►
Categoryh4_Live/Image
Inputs (55)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| enable_color | BOOLEAN | false | Activates the Color Grade section. When ON, controls for hue, saturation, brightness, contrast, gamma, color temperature, and tint become available. |
| enable_sharpen | BOOLEAN | false | Activates the Sharpness section. When ON, controls for sharpening intensity and kernel radius become available. |
| enable_upscale | BOOLEAN | false | Activates the Upscale section. When ON, controls for scale factor and resampling method become available. Also works as a downscaler if the factor is below 1.0. |
| enable_style | BOOLEAN | false | Activates the Style Transfer section. When ON, connect style reference images and choose a transfer method to mutate the look of your image. |
| enable_film | BOOLEAN | false | Activates the Film & Grain section. When ON, controls for film stock emulation and photographic grain become available. |
| enable_vignette | BOOLEAN | false | Activates the Vignette section. When ON, a radial shadow is drawn from the edges inward to focus attention on the center of the image. |
| enable_effects | BOOLEAN | false | Activates the Effects section. When ON, controls for bloom/glow, chromatic aberration, and posterization become available. |
| pipeline_order | COMBO | default | Controls the order in which processing sections are applied. 'default' runs Style -> Color -> Film -> Sharpen -> Effects -> Vignette -> Upscale. Different orders produce dramatically different results because each stage transforms the image for the next stage. 'custom' lets you set individual priority numbers for each section. |
| hue_shiftopt | FLOAT | 0-180–180 | Rotates the entire color wheel. Positive shifts toward warm tones, negative shifts toward cool tones. 0 = no change. At 180 you've flipped every color to its opposite. |
| saturationopt | FLOAT | 1.000–3 | How vivid the colors are. 0 = full grayscale (black and white). 1 = no change. Crank it up and colors pop. Push it too far and it looks radioactive. |
| brightnessopt | FLOAT | 1.000–3 | Overall light intensity. 0 = pitch black. 1 = original brightness. Higher values wash everything out toward white. |
| contrastopt | FLOAT | 1.000–3 | The difference between lights and darks. 0 = totally flat gray. 1 = original contrast. Higher values deepen shadows and brighten highlights. |
| gammaopt | FLOAT | 1.000.1–3 | Adjusts the midtones without touching pure black or pure white. Below 1.0 = darker midtones (moody). Above 1.0 = brighter midtones (airy). Unlike brightness, this preserves your highlights and shadows. |
| color_temperatureopt | FLOAT | 0.00-1–1 | Shifts the overall warmth. Negative = cooler (blue tint, moonlight feel). Positive = warmer (golden hour, sunset vibes). 0 = neutral. |
| tintopt | FLOAT | 0.00-1–1 | Green-to-magenta shift. Negative = greenish cast. Positive = magenta/pink cast. Useful for correcting mixed lighting or creating stylized looks. |
| sharpen_amountopt | FLOAT | 1.00–5 | How aggressively edges are enhanced. 0 = no sharpening. 1 = subtle enhancement. Above 2.0 starts looking crunchy. Above 4.0 is extreme — great for texture work, bad for portraits. |
| sharpen_radiusopt | INT | 11–7 | How far the sharpening effect reaches around each edge. 1 = tight, precise edges. Higher values = broader halos around edges. Keep it low (1-2) for natural results. |
| scale_factoropt | FLOAT | 2.000.25–4 | Multiplier for the output size. 2.0 = double the resolution. 0.5 = half size. 4.0 = quadruple (be aware of VRAM). Also works as a downscaler if you go below 1.0. |
| upscale_methodopt | COMBO | lanczos | The math used to resize. Lanczos = sharp general purpose. Bicubic = smooth gradients. Bilinear = fast and soft. Nearest = hard pixel edges (pixel art). Area = best for shrinking images. Mitchell = balanced sharpness without ringing artifacts. |
| style_methodopt | COMBO | adain | Which algorithm transfers the style. Reinhard = fast color swap in LAB space. Histogram = exact color distribution clone. AdaIN = neural texture and color transfer using deep features. WCT = painterly neural style with full covariance alignment. FFT = frequency-domain texture swap. Optimal Transport = mathematically precise color redistribution. |
| style_attention_modeopt | COMBO | full_kv | Controls what gets pulled from the style image (applies to AdaIN and WCT only). Full (K+V) = everything — structure, texture, and color. V Only = colors and textures but keeps your composition intact. K Only = structural flow but keeps your own colors. Color Only = just the palette, nothing else touches. Texture Only = surface grain and texture without any color or structure shift. |
| style_strengthopt | FLOAT | 0.750–1 | How strongly the style is applied. 0 = no effect (original image). 0.5 = halfway blend. 1.0 = full style transfer. The sweet spot for most uses is 0.5 to 0.8. |
| style_blend_modeopt | COMBO | weighted | How multiple style images are combined when you connect more than one. Weighted = manual ratios per image. Sequential = applied one after another in order. Concatenate = averaged into one composite. Combine = additive sum. Multiply = shared features reinforced. Max = strongest feature wins. Min = most subtle result. Median = rejects outliers. Screen = light and airy blend. Overlay = dramatic contrast crossover. |
| style_weight_1opt | FLOAT | 1.000–1 | How much influence the first style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution to the composite. |
| style_weight_2opt | FLOAT | 1.000–1 | How much influence the second style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution. |
| style_weight_3opt | FLOAT | 1.000–1 | How much influence the third style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution. |
| style_weight_4opt | FLOAT | 1.000–1 | How much influence the fourth style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution. |
| film_presetopt | COMBO | none | Emulates the color science of classic film stocks. Portra 400 = warm skin tones with muted palette. Ektar 100 = punchy, saturated colors. Gold 200 = warm golden cast. Fuji Superia = cool blue-green shadows. Velvia 50 = nuclear saturation for landscapes. HP5/Delta = black and white conversion. CineStill 800T = tungsten cinema look with halation. Lomography Purple = wild purple-shifted experimental. |
| grain_amountopt | FLOAT | 0.000–1 | How much film grain to add. 0 = clean digital. 0.1 to 0.3 = subtle texture that breaks up digital smoothness. 0.5 and up = heavy grain, vintage feel. |
| grain_sizeopt | FLOAT | 1.00.5–3 | Size of the grain particles. 0.5 = fine, dense grain like 100 ISO film. 1.0 = standard. 3.0 = chunky, visible grain like pushing 3200 ISO in the dark. |
| grain_typeopt | COMBO | mono | Monochrome grain = uniform luminance noise across all channels, like real silver halide film. Color grain = each color channel (red, green, blue) gets independent noise, creating colorful speckles. Color grain is wilder and more experimental. |
| vignette_intensityopt | FLOAT | 0.500–1 | How dark the edges get. 0 = no vignette. 0.3 = subtle, cinematic. 0.7 = dramatic focus pulling. 1.0 = heavy darkening at the edges. |
| vignette_radiusopt | FLOAT | 0.700.1–1 | How far the clean center extends before the darkening begins. 0.1 = only the very corners stay dark. 0.7 = default oval shape. 1.0 = vignette barely reaches the center. |
| vignette_softnessopt | FLOAT | 0.500–1 | How gradual the transition is between the clean center and the dark edges. 0 = hard cutoff with a visible ring. 0.5 = natural gradient. 1.0 = extremely soft, barely noticeable transition. |
| vignette_coloropt | STRING | #000000 | The color of the vignette overlay as a hex code. #000000 (black) is classic. Try #0a0a2e for a cold night feel, or #2a1a0a for a vintage sepia-toned photograph. |
| bloom_intensityopt | FLOAT | 0.000–1 | Adds a soft glow around bright areas, like looking through a dreamy lens or a light fog. 0 = off. 0.2 = subtle warmth. 0.5 and up = ethereal. Great for fantasy, portrait, or atmospheric work. |
| bloom_radiusopt | FLOAT | 5.01–20 | How far the glow spreads from bright spots. Low values = tight halo hugging the highlight. High values = wide, atmospheric wash that softens the whole image. |
| bloom_thresholdopt | FLOAT | 0.700–1 | How bright a pixel needs to be before it starts glowing. 0 = everything glows (heavy fog effect). 0.7 = only highlights bloom (natural). 0.9 = only the absolute brightest pinpoints. |
| chromatic_aberrationopt | FLOAT | 0.00–10 | Simulates the color fringing you see in real camera lenses — the red and blue channels get slightly offset from each other. 0 = none. 1 to 3 = subtle lens realism. 5 and up = stylized, intentional distortion for a glitchy or vintage look. |
| posterize_levelsopt | INT | 2562–256 | Reduces the number of discrete color levels per channel. 256 = no change (full color depth). 64 = subtle banding. 8 = retro poster look. 4 = bold flat colors. 2 = near-duotone. Lower values create more dramatic, graphic-novel-style results. |
| priority_styleopt | INT | 11–7 | When pipeline order is set to 'custom', this sets the processing priority for the Style Transfer section. Lower numbers run first. If two sections share the same number, they run in their default order. |
| priority_coloropt | INT | 21–7 | When pipeline order is set to 'custom', this sets the processing priority for the Color Grade section. Lower numbers run first. |
| priority_filmopt | INT | 31–7 | When pipeline order is set to 'custom', this sets the processing priority for the Film & Grain section. Lower numbers run first. |
| priority_sharpenopt | INT | 41–7 | When pipeline order is set to 'custom', this sets the processing priority for the Sharpness section. Lower numbers run first. |
| priority_effectsopt | INT | 51–7 | When pipeline order is set to 'custom', this sets the processing priority for the Effects section. Lower numbers run first. |
| priority_vignetteopt | INT | 61–7 | When pipeline order is set to 'custom', this sets the processing priority for the Vignette section. Lower numbers run first. |
| priority_upscaleopt | INT | 71–7 | When pipeline order is set to 'custom', this sets the processing priority for the Upscale section. Lower numbers run first. |
| maskopt | MASK | — | |
| mask_featheropt | FLOAT | 0.000–1 | Softens the edges of the mask with a Gaussian blur so the processed region blends smoothly into the unprocessed region. 0 = hard cutoff at the mask boundary. 0.5 = moderate feathering. 1.0 = very soft, gradual transition. |
| style_image_1opt | IMAGE | — | |
| style_image_2opt | IMAGE | — | |
| style_image_3opt | IMAGE | — | |
| style_image_4opt | IMAGE | — | |
| display_consoleopt | BOOLEAN | false | Opens a live status bar at the bottom of the node to monitor execution progress. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |