Extensions/ComfyUI-post-processing-nodes
ComfyUI Extension Runs on cloud

ComfyUI-post-processing-nodes

A collection of post processing nodes for ComfyUI, which enable a variety of visually striking image effects.

By EllangoK·Created 3 years ago·Updated 2 years ago· 256
EllangoK/ComfyUI-post-processing-nodes
Nodes23
On cloudRunnable
Categorypostprocessing/Blends, postprocessing/Effects
Stars256
Updated2 years ago

Nodes (23)

ArithmeticBlend

Add, subtract, difference, and one mode that's a trap

postprocessing/Blends
AsciiArt

Your render, made of characters

postprocessing/Effects
Blend

Five real blend modes with a factor and auto-resize

postprocessing/Blends
Blur

Soften an image or mask edge

postprocessing/Filters
CannyEdgeMask

A one-node Canny edge detector for your graph

postprocessing/Masks
ChromaticAberration

Misaligning colors on purpose

postprocessing/Effects
ColorCorrect

ColorCorrect — a one-node color grade for images inside ComfyUI

postprocessing/Color Adjustments
ColorTint

Twenty preset film looks in one dropdown

postprocessing/Color Adjustments
Dissolve

The grainy crossfade that never smooth-blends

postprocessing/Blends
DodgeAndBurn

Sculpt light with a mask, the old darkroom way

postprocessing/Blends
FilmGrain

Film grain for when the AI polish is too clean

postprocessing/Effects
Glow

A soft bloom for lights, neon, and magic

postprocessing/Effects
HSVThresholdMask

Select by color, not by geometry

postprocessing/Masks
KuwaharaBlur

Smoothing without melting the edges

postprocessing/Filters
Parabolize

A quadratic tone curve with a vertex you control

postprocessing/Color Adjustments
PencilSketch

The classic invert-blur-dodge recipe, one node

postprocessing/Effects
Pixelize

Reduce the resolution on purpose

postprocessing/Effects
PixelSort

The glitch that won't stop being cool

postprocessing/Effects
Quantize

Posterize and dither like it's 1995

postprocessing/Color Adjustments
Sharpen

The fix after your upscaler goes soft

postprocessing/Filters
SineWave

Make your image shiver

postprocessing/Effects
Solarize

The one-dial Sabattier effect

postprocessing/Color Adjustments
Vignette

The two-second way to make AI images look shot, not generated

postprocessing/Effects
Readme

ComfyUI-post-processing-nodes

A collection of post processing nodes for ComfyUI, which enable a variety of visually striking image effects

Example Image and Workflow

<p align="center"> <img src="examples/workflow_output.png" width="50%" /> <img src="examples/example_workflow.png"/> </p>

Both images have the workflow attached, and are included with the repo. Feel free to submit more examples as well!


<details> <summary>$\Large\color{#00A7B5}\text{Expand Node List}$</summary> <br/>
  • ArithmeticBlend: Blends two images using arithmetic operations like addition, subtraction, and difference.
  • AsciiArt: Transforms an image into being composed of ASCII characters
  • Blend: Blends two images together with a variety of different modes
  • Blur: Applies a Gaussian blur to the input image, softening the details
  • CannyEdgeMask: Creates a mask using canny edge detection
  • Chromatic Aberration: Shifts the color channels in an image, creating a glitch aesthetic
  • $\color{#00A7B5}\textbf{ColorCorrect:}$ Adjusts the color balance, temperature, hue, brightness, contrast, saturation, and gamma of an image
  • $\color{#00A7B5}\textbf{ColorTint:}$ Applies a customizable tint to the input image, with various color modes such as sepia, RGB, CMY and several composite colors
  • Dissolve: Creates a grainy blend of two images using random pixels based on a dissolve factor.
  • DodgeAndBurn: Adjusts image brightness using dodge and burn effects based on a mask and intensity.
  • FilmGrain: Adds a film grain effect to the image, along with options to control the temperature, and vignetting.
  • Glow: Applies a blur with a specified radius and then blends it with the original image. Creates a nice glowing effect.
  • HSVThresholdMask: Creates a mask by thresholding HSV (hue, saturation, and value) channels
  • $\color{#00A7B5}\textbf{KuwaharaBlur:}$ Applies an edge preserving blur, creating a more realistic blur than Gaussian.
  • Parabolize: Applies a color transformation effect using a parabolic formula
  • PencilSketch: Converts an image into a hand-drawn pencil sketch style.
  • $\color{#00A7B5}\textbf{PixelSort:}$ Rearranges the pixels in the input image based on their values, and input mask. Creates a cool glitch like effect.
  • Pixelize: Applies a pixelization effect, simulating the reducing of resolution
  • $\color{#00A7B5}\textbf{Quantize:}$ Set and dither the amount of colors in an image from 0-256, reducing color information
  • Sharpen: Enhances the details in an image by applying a sharpening filter
  • SineWave: Runs a sine wave through the image, making it appear squiggly
  • $\color{#00A7B5}\textbf{Solarize:}$ Inverts image colors based on a threshold for a striking, high-contrast effect
  • Vignette: Applies a vignette effect, putting the corners of the image in shadow

$\color{#00A7B5}\textbf{Bolded Color Nodes}$ are my personal favorites, and highly recommended to expirement with

</details>

Install

To install these nodes

  • Navigate to your /ComfyUI/custom_nodes/ folder
  • Run git clone https://github.com/EllangoK/ComfyUI-post-processing-nodes/

Combine Nodes

By default post_processing_nodes.py should have all of the combined nodes. If you want a subset of nodes, you can run

python combine_files.py [--files FILES [FILES ...]] [--output OUTPUT]

or just run

python combine_files.py -h

for more help

Old Nodes

Some nodes have been have been added to the main repo, feel free to use those instead as they work perfectly fine. Old versions are still kept around for backwards compatability.