ComfyUI Extension: ComfyUI_Hangover-Utils
This repository fully replaces and extends the previous Hangover Nodes
Custom Nodes (0)
README
Custom nodes for ComfyUI
This repository fully replaces and extends the previous Hangover Nodes
ComfyUI is the awesome stable diffusion GUI and backend.
Please note that this repository is currently a (learning) work in progress and might change anytime. It has been tested in Windows 10 only so far.
Updates
- Removed: Microsoft Kosmos2 interrogator.
- New node: Sympy Math Interpreter 🆕
- New node: Image Clipboard Paster 🆕
- New node: Image Clipboard Copy 🆕
- Updated Save Image node: It now can also copy the image to the clipboard
- New node: Extract workflow and node metadata 🆕
- New node: Simple wildcard prompt parser 🆕
Nodes overview:
- Powerful math in ComfyUI: Sympy Math Interpreter
- Stable Diffusion Privacy: Save Image with or without Metadata with copy to clipboard function
- Scale an Image To A Bounding Box
- Easily make an inpainting version of any SD1.5 model
- Image Clipboard Paster: Paste image(s) from your clipboard into ComfyUI
- Image Clipboard Copy: Copy image to the clipboard (node might need some dependencies)
- Get Workflow Data: Extract any field value from a node that is connected to the input.
- Text Encode Wildcards: Very simple and basic {wildcard} parser and prompt clipboard paster.
Node: Sympy Math Interpreter

Based on SymPy, this node brings powerful mathematical expression evaluation to ComfyUI. You can not only do + - * / pi E GoldenRatio but has also functions like round, min, max, sin, cos, exp, power, !, ... probably more than I am self aware of, and it can also do integration and differentiation. The node takes integer and float as input values.
Example expressions:
6 input variables are available (a, b, c, d, e, f)
round(a/b)min(max(a,b),c)diff(a*x**3+b*x**2+c,x)(symbolic differentiation)diff(a*x**2+b*x+c,x).subs({x:d})(differentiate, substitute and evaluate at point d)integrate(exp(-x**2),(x,a,b))(numerical integration from a to b)
Node: Save Image w/o Metadata

With this custom save image node, you can preview or save, include or exclude the ComfyUI workflow metadata in the image. It is a derivation of ComfyUI's built-in save image node. Note that you can always right click on the image to save, it will also include the workflow if activated. IT can also copy the image to the clipboard if desired.
Node: Scale Image To Bounding Box
This node scales an input image into a given box size, whereby the aspect ratio keeps retained. The image can also be padded to the full box size with an arbitrary color.
See example outputs and workflows
Node: Make Inpainting Model for SD1.5
This node easy creates an inpainting version of any SD1.5 model on the fly. No need to have GB's of inpainting models laying on your drive. This is very useful for any kind of inpainting nodes like detailers. Make sure you have the original SD1.5 models from RunwayML in your models folder:
They are needed for the calculation.
Node: Get Workflow Data

Extract the workflow or any field name from a node that is connected to this input.
Node: Text Encode Wildcards
A very simple wildcards parser. Make sure you have wildcards text files placed in your comfyui/models/wildcards folder. The node can also paste a text prompt from the clipboard that will be used instead of the text input field.
Installation
Unzip or git clone this repository into ComfyUI/custom_nodes folder and restart ComfyUI.