Nodes/h4_Live/h4_Pythonipulator-inator 🐍
ComfyUI Node

h4_Pythonipulator-inator 🐍

A whole image-kernel toolbox, WIP and proud

By m3rr·Created 9 months ago·Updated 10 days ago· 1
h4_Pythonipulator-inator 🐍
  • image
  • IMAGE
operation_modePassthrough
cb_enabledfalse
cb_chromatic0
cb_glitch0.00
cb_scanlines0.00
geo_enabledfalse
geo_flipNone
geo_rotate0.0
geo_rotate_expandfalse
geo_resizeNone
geo_resize_scale1.00
geo_resize_w512
geo_resize_h512
clr_enabledfalse
clr_brightness1.00
clr_contrast1.00
clr_saturation1.00
clr_sharpness1.00
clr_invertfalse
clr_gamma1.00
blur_enabledfalse
blur_gaussian0.0
blur_box0.0
blur_median0
blur_sharpenfalse
sty_enabledfalse
sty_pixelate1
sty_vignette0.00
noise_enabledfalse
noise_gaussian0.00
edge_enabledfalse
edge_cannyfalse
edge_canny_low100
edge_canny_high200
edge_modeStandalone
save_filenameh4_
output_folderoutput/h4_pythonipulator

Sometimes you want to run an image through a kitchen sink of transforms without chaining twenty nodes. The h4_Pythonipulator-inator 🐍 is that kitchen sink: a single node with grouped controls for cyberpunk glitch effects, geometric transforms, color adjustment, blur, stylization, noise, and edge detection - and the ability to save the result straight to disk. The name is a joke, but the parameter count is serious, and the README is honest that it's still being hardened.

How it works

Each effect family has its own enable toggle and its own parameters, so the node only runs what you switch on. The families are:

  • cb_ - the cyberpunk group: cb_chromatic (chromatic aberration), cb_glitch, cb_scanlines. This is the flashy one the README keeps calling out as being tuned.
  • geo_ - geometric: flip, rotate (with an expand option so rotation doesn't crop), and resize by scale or explicit dimensions.
  • clr_ - color: brightness, contrast, saturation, sharpness, invert, gamma.
  • blur_ - Gaussian, box, and median blur, plus a sharpen toggle.
  • sty_ - pixelate and vignette.
  • noise_ - Gaussian noise.
  • edge_ - Canny edge detection, either standalone or overlaid on the original.

operation_mode controls what happens to the result: Passthrough just hands you the image, Save to Disk writes it to output_folder (default output/h4_pythonipulator) with save_filename, and Both does both. The IMAGE output always flows regardless.

Dependencies - the honest part

Most of this runs on what ComfyUI already has, but the node's own dependency checker lists opencv-python and scikit-image as required for full function - they're optional in the sense that the node loads and degrades gracefully without them, but advanced effects will warn in the console and may not work. If you want everything:

pip install opencv-python scikit-image

Installing it

It's part of h4_Live:

cd ComfyUI/custom_nodes
git clone https://github.com/m3rr/h4_Live
# restart ComfyUI

or ComfyUI Manager → search "h4_Live." Then install the optional libs above if you want the full effect set.

Where it can bite you

This is a WIP node in a WIP-heavy pack, so treat it accordingly: enable one family at a time, especially the cyberpunk group, which is the one the author is actively tuning and can change between updates. The save-to-disk feature writes to its own subfolder, not your normal output, so don't hunt for results in the usual place. And the parameter explosion is real - dozens of knobs across seven groups - which is exactly the kind of surface that breeds "I turned everything on and the image is a glitchy mess" moments. Resist that. Use the enable toggles like the mixing board they are, and this becomes a genuinely fun single-node effects studio.

Categoryh4_Live

Inputs (38)

NameTypeDefaultDescription
imageIMAGE
operation_modeCOMBOPassthrough3 options: Passthrough, Save to Disk, Both
cb_enabledoptBOOLEANfalse
cb_chromaticoptINT00–100
cb_glitchoptFLOAT0.000–1
cb_scanlinesoptFLOAT0.000–1
geo_enabledoptBOOLEANfalse
geo_flipoptCOMBONone4 options: None, Horizontal, Vertical, Both
geo_rotateoptFLOAT0.0-360–360
geo_rotate_expandoptBOOLEANfalse
geo_resizeoptCOMBONone3 options: None, Scale, Dimensions
geo_resize_scaleoptFLOAT1.000.01–10
geo_resize_woptINT5128–8192
geo_resize_hoptINT5128–8192
clr_enabledoptBOOLEANfalse
clr_brightnessoptFLOAT1.000–10
clr_contrastoptFLOAT1.000–10
clr_saturationoptFLOAT1.000–10
clr_sharpnessoptFLOAT1.000–10
clr_invertoptBOOLEANfalse
clr_gammaoptFLOAT1.000.1–5
blur_enabledoptBOOLEANfalse
blur_gaussianoptFLOAT0.00–100
blur_boxoptFLOAT0.00–100
blur_medianoptINT00–99
blur_sharpenoptBOOLEANfalse
sty_enabledoptBOOLEANfalse
sty_pixelateoptINT11–128
sty_vignetteoptFLOAT0.000–1
noise_enabledoptBOOLEANfalse
noise_gaussianoptFLOAT0.000–1
edge_enabledoptBOOLEANfalse
edge_cannyoptBOOLEANfalse
edge_canny_lowoptINT1000–255
edge_canny_highoptINT2000–255
edge_modeoptCOMBOStandalone2 options: Standalone, Overlay
save_filenameoptSTRINGh4_
output_folderoptSTRINGoutput/h4_pythonipulator

Outputs (1)

NameTypeDescription
IMAGEIMAGE