Nodes Browser

ComfyDeploy: How ComfyUI-TeaNodes works in ComfyUI?

What is ComfyUI-TeaNodes?

Nodes:TC_EqualizeCLAHE, TC_SizeApproximation, TC_ImageResize, TC_ImageScale, TC_ColorFill.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-TeaNodes and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-TeaNodes

Adds a few new nodes:

Image Equalization CLAHE (This node can't be any more Kornia)

  • When images have their histogram smoothly distributed, I'd say it gives ControlNet preprocessor an easier time.
  • Works great when image BG is removed.

Image Size Approximation

  • Works based on pixel count that retains Image ratio.
  • This algorithm is really dumbly written, but it works.
  • Great for stabilizing the speed of image-to-image generation.

Image Resize

  • Takes size tuple from Size Approximation Node.
  • Seriously, image size always has 2 numbers, why can't it fit through a single wire?
  • It also defaults to a node socket instead of having to convert it into input from a widget.

Image Scale

  • Simply multiplies image size by a factor.
  • 20240425: Now scales smoothly when multiplied by non-power-of-2 factors - use LANCZOS option now
  • Have an easier time saving in-process scrap images at half or quarter resolution.

Crop To

  • Crop an image to the same size of the reference image
  • Hate some of those nodes that complains about bad tensor dimensions for whatever reasons? Fear no longer.

KorniaGamma

  • This works like an easy/complex/idk brightness/contrast/level adjustment node
  • Image processing power must be utilized for better results.

Random & Non-Random Color Fill

  • Fill based on reference image size
  • Randomness defined by original color and a variance in hue, saturation and value
  • Hopefully the color input field works for most color string formats.

Don't know how licensing works so code relying on other repos has been ignored for now.