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

  1. Clone into ComfyUI custom_nodes:

    cd ComfyUI/custom_nodes
    git clone https://github.com/lookuters22/MAGICMATCH.git
    
  2. Install Python deps (ComfyUI’s environment):

    pip install -r MAGICMATCH/requirements.txt
    
  3. Confirm the model file is present:

    MAGICMATCH/models/color_match.onnx
    
  4. 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 IMAGE tensors (batch size 1)
  • onnxruntime, numpy (see requirements.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.

S
Description
No description provided
Readme MIT
22 MiB
Languages
Python 95.7%
JavaScript 4.3%