Extensions/ComfyUiNodes
ComfyUI Extension

ComfyUiNodes

Custom math, string, and utility nodes for ComfyUI workflows including LoRA preview and group input management. (Description by CC)

By Madlumi·Created 8 months ago·Updated 8 months ago· 0
Madlumi/ComfyUiNodes
Nodes22
On cloudLocal install
Categorymnodes/util, mnodes/int
Stars0
Updated8 months ago

Nodes (22)

M Extended LoRA Loader (thumb+meta)

The LoRA loader that shows you the card, not just the filename

mnodes/util
M Group Inputs

The all-in-one control panel

mnodes/util
M Int Abs

Distance as a number, signedness gone

mnodes/int
M Int Add (a + b)

The tiny node that makes your seed math explicit

mnodes/int
M Int Clamp

Keep a number where it belongs

mnodes/int
M Int Div Floor (a // b)

Aspect-ratio math without fractions

mnodes/int
M Int DivMod (q,r)

Quotient and remainder from M Int DivMod

mnodes/int
M Int Eq (a==b)

M Int Eq turns 'are these equal?' into a number you can wire

mnodes/int
M Int GCD

Greatest common divisor in your image graph? Sure, if you need it

mnodes/int
M Int LCM

The least common multiple node nobody knew they didn't need

mnodes/int
M Int Le (a<=b)

M Int Le

mnodes/int
M Int Lt (a<b)

Comparing numbers to drive a branch

mnodes/int
M Int Max

Take the bigger number, every time

mnodes/int
M Int Min

The cheap way to put a floor under a value

mnodes/int
M Int Mod (a % b)

Wrap-around math for looping batches and grids

mnodes/int
M Int Mul (a * b)

Doubling sizes and scaling seeds without a scratch pad

mnodes/int
M Int Neg

M Int Neg for offset seeds and inverted values

mnodes/int
M Int Pow (a ** b)

Exponent math with a sanity clamp

mnodes/int
M Int Sign

-1, 0, or 1 — direction as a number

mnodes/int
M Int Sub (a - b)

M Int Sub in practice

mnodes/int
M Regex Replace (picked option)

The regex replacer that also rolls the dice for you

mnodes/string
M String Pick (index)

Picking a line out of a list — the boring node you'll actually reuse

mnodes/string
Readme

mnodes

key features:

  • Simple Maths
  • Regex replace from list
  • Lora preview

mint.py

  • small math helpers (ints/floats), quick arithmetic inside graphs

mstring.py

  • string picker, select item by index/number

mutil.py

  • workflow glue
  • M Group Inputs: one node that holds common knobs and outputs them (prompts, seed, size, sampler settings, ckpt, filename, 5 loras+strength)
  • M Extended LoRA Loader: normal LoRA loader + shows sidecar meta/thumb if you have: <lora>.txt <lora>.png