Nodes/h4_Live/h4 - Mutate
ComfyUI Node

h4 - Mutate

A ComfyUI node in h4_Live/Image with 55 inputs and 1 output.

By m3rr·Created 8 months ago·Updated 16 days ago· 1
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)

NameTypeDefaultDescription
imageIMAGE
enable_colorBOOLEANfalseActivates the Color Grade section. When ON, controls for hue, saturation, brightness, contrast, gamma, color temperature, and tint become available.
enable_sharpenBOOLEANfalseActivates the Sharpness section. When ON, controls for sharpening intensity and kernel radius become available.
enable_upscaleBOOLEANfalseActivates 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_styleBOOLEANfalseActivates the Style Transfer section. When ON, connect style reference images and choose a transfer method to mutate the look of your image.
enable_filmBOOLEANfalseActivates the Film & Grain section. When ON, controls for film stock emulation and photographic grain become available.
enable_vignetteBOOLEANfalseActivates the Vignette section. When ON, a radial shadow is drawn from the edges inward to focus attention on the center of the image.
enable_effectsBOOLEANfalseActivates the Effects section. When ON, controls for bloom/glow, chromatic aberration, and posterization become available.
pipeline_orderCOMBOdefaultControls 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_shiftoptFLOAT0-180–180Rotates 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.
saturationoptFLOAT1.000–3How 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.
brightnessoptFLOAT1.000–3Overall light intensity. 0 = pitch black. 1 = original brightness. Higher values wash everything out toward white.
contrastoptFLOAT1.000–3The difference between lights and darks. 0 = totally flat gray. 1 = original contrast. Higher values deepen shadows and brighten highlights.
gammaoptFLOAT1.000.1–3Adjusts 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_temperatureoptFLOAT0.00-1–1Shifts the overall warmth. Negative = cooler (blue tint, moonlight feel). Positive = warmer (golden hour, sunset vibes). 0 = neutral.
tintoptFLOAT0.00-1–1Green-to-magenta shift. Negative = greenish cast. Positive = magenta/pink cast. Useful for correcting mixed lighting or creating stylized looks.
sharpen_amountoptFLOAT1.00–5How 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_radiusoptINT11–7How 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_factoroptFLOAT2.000.25–4Multiplier 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_methodoptCOMBOlanczosThe 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_methodoptCOMBOadainWhich 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_modeoptCOMBOfull_kvControls 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_strengthoptFLOAT0.750–1How 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_modeoptCOMBOweightedHow 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_1optFLOAT1.000–1How much influence the first style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution to the composite.
style_weight_2optFLOAT1.000–1How much influence the second style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution.
style_weight_3optFLOAT1.000–1How much influence the third style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution.
style_weight_4optFLOAT1.000–1How much influence the fourth style image has when using Weighted blend mode. 0 = ignored entirely. 1 = full contribution.
film_presetoptCOMBOnoneEmulates 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_amountoptFLOAT0.000–1How 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_sizeoptFLOAT1.00.5–3Size 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_typeoptCOMBOmonoMonochrome 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_intensityoptFLOAT0.500–1How dark the edges get. 0 = no vignette. 0.3 = subtle, cinematic. 0.7 = dramatic focus pulling. 1.0 = heavy darkening at the edges.
vignette_radiusoptFLOAT0.700.1–1How 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_softnessoptFLOAT0.500–1How 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_coloroptSTRING#000000The 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_intensityoptFLOAT0.000–1Adds 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_radiusoptFLOAT5.01–20How 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_thresholdoptFLOAT0.700–1How 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_aberrationoptFLOAT0.00–10Simulates 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_levelsoptINT2562–256Reduces 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_styleoptINT11–7When 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_coloroptINT21–7When pipeline order is set to 'custom', this sets the processing priority for the Color Grade section. Lower numbers run first.
priority_filmoptINT31–7When pipeline order is set to 'custom', this sets the processing priority for the Film & Grain section. Lower numbers run first.
priority_sharpenoptINT41–7When pipeline order is set to 'custom', this sets the processing priority for the Sharpness section. Lower numbers run first.
priority_effectsoptINT51–7When pipeline order is set to 'custom', this sets the processing priority for the Effects section. Lower numbers run first.
priority_vignetteoptINT61–7When pipeline order is set to 'custom', this sets the processing priority for the Vignette section. Lower numbers run first.
priority_upscaleoptINT71–7When pipeline order is set to 'custom', this sets the processing priority for the Upscale section. Lower numbers run first.
maskoptMASK
mask_featheroptFLOAT0.000–1Softens 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_1optIMAGE
style_image_2optIMAGE
style_image_3optIMAGE
style_image_4optIMAGE
display_consoleoptBOOLEANfalseOpens a live status bar at the bottom of the node to monitor execution progress.

Outputs (1)

NameTypeDescription
IMAGEIMAGE