h4_Pythonipulator-inator 🐍
A whole image-kernel toolbox, WIP and proud
- image
- IMAGE
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.
Inputs (38)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| operation_mode | COMBO | Passthrough | 3 options: Passthrough, Save to Disk, Both |
| cb_enabledopt | BOOLEAN | false | — |
| cb_chromaticopt | INT | 00–100 | — |
| cb_glitchopt | FLOAT | 0.000–1 | — |
| cb_scanlinesopt | FLOAT | 0.000–1 | — |
| geo_enabledopt | BOOLEAN | false | — |
| geo_flipopt | COMBO | None | 4 options: None, Horizontal, Vertical, Both |
| geo_rotateopt | FLOAT | 0.0-360–360 | — |
| geo_rotate_expandopt | BOOLEAN | false | — |
| geo_resizeopt | COMBO | None | 3 options: None, Scale, Dimensions |
| geo_resize_scaleopt | FLOAT | 1.000.01–10 | — |
| geo_resize_wopt | INT | 5128–8192 | — |
| geo_resize_hopt | INT | 5128–8192 | — |
| clr_enabledopt | BOOLEAN | false | — |
| clr_brightnessopt | FLOAT | 1.000–10 | — |
| clr_contrastopt | FLOAT | 1.000–10 | — |
| clr_saturationopt | FLOAT | 1.000–10 | — |
| clr_sharpnessopt | FLOAT | 1.000–10 | — |
| clr_invertopt | BOOLEAN | false | — |
| clr_gammaopt | FLOAT | 1.000.1–5 | — |
| blur_enabledopt | BOOLEAN | false | — |
| blur_gaussianopt | FLOAT | 0.00–100 | — |
| blur_boxopt | FLOAT | 0.00–100 | — |
| blur_medianopt | INT | 00–99 | — |
| blur_sharpenopt | BOOLEAN | false | — |
| sty_enabledopt | BOOLEAN | false | — |
| sty_pixelateopt | INT | 11–128 | — |
| sty_vignetteopt | FLOAT | 0.000–1 | — |
| noise_enabledopt | BOOLEAN | false | — |
| noise_gaussianopt | FLOAT | 0.000–1 | — |
| edge_enabledopt | BOOLEAN | false | — |
| edge_cannyopt | BOOLEAN | false | — |
| edge_canny_lowopt | INT | 1000–255 | — |
| edge_canny_highopt | INT | 2000–255 | — |
| edge_modeopt | COMBO | Standalone | 2 options: Standalone, Overlay |
| save_filenameopt | STRING | h4_ | — |
| output_folderopt | STRING | output/h4_pythonipulator | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |