48048b2465bd50436c19f17a2b9523c4568a7b11
Co-authored-by: Cursor <cursoragent@cursor.com>
MAGICMATCH
ComfyUI custom nodes for neural color match: two images in, graded source out. Tune strength on a preview node before you wire the result to save/export.
Install
-
Clone into ComfyUI
custom_nodes:cd ComfyUI/custom_nodes git clone https://github.com/lookuters22/MAGICMATCH.git -
Install Python deps (ComfyUI’s environment):
pip install -r MAGICMATCH/requirements.txt -
Confirm the model file is present:
MAGICMATCH/models/color_match.onnx -
Restart ComfyUI. Nodes appear under MAGICMATCH.
Workflow (strength before export)
Use Build + Preview so changing the slider only re-applies the LUT (fast):
[Source] ──┬──► MagicMatch Build LUT ◄── [Reference]
│ │
│ ▼ lut
└──────► MagicMatch Preview (strength) ──► Preview Image
│
└──► Save / export when ready
| Step | Node |
|---|---|
| 1 | MagicMatch Build LUT — run once per source/reference pair |
| 2 | MagicMatch Preview (strength) — 0 = unchanged source, 1 = full match; re-queue after moving the slider |
| 3 | Connect preview output to your save/export chain |
MagicMatch (one-shot) combines build + apply in one node (simpler, slower when you change strength).
Requirements
- ComfyUI with standard
IMAGEtensors (batch size 1) onnxruntime,numpy(seerequirements.txt)- CPU inference by default (~5–15s for Build on first run per pair)
Nodes
| Class | Display name |
|---|---|
MagicMatchBuild |
MagicMatch Build LUT |
MagicMatchPreview |
MagicMatch Preview (strength) |
MagicMatch |
MagicMatch (one-shot) |
License
See LICENSE. The bundled color_match.onnx is part of this package; use responsibly and in compliance with applicable terms for any upstream model you obtained.
Languages
Python
95.7%
JavaScript
4.3%