Files
malkuthro-ComfyUI-Koolook/matte/__init__.py
T
AI MachineandClaude Opus 4.8 3e5855ed72 feat(matte): first-party mask-guided one-step video matting nodes
Adds matte/ — an independent implementation of the published VideoMaMa
one-step SVD method (matte/pipeline.py) plus Koolook's temporal windowing,
subject-focused crop/stitch, resolution control (/64, shortest-side) and
auto OOM resolution-backoff. Nodes: KoolookMatteLoader, KoolookMatteSampler,
KoolookMatteFocusCrop, KoolookMatteFocusStitch.

Registered via the existing guarded _merge_node_group("Koolook Matte",
".matte"), so a missing diffusers disables only these nodes. diffusers is
already pulled in by the radiance/whatdreamscost forks, so no new dependency.

Loads (never bundles) the VideoMaMa UNet (CC-BY-NC) + SVD VAE at runtime;
matte/NOTICE records the model licenses and user responsibility.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 23:29:16 +02:00

13 lines
563 B
Python

"""Koolook Matte — mask-guided one-step video matting nodes.
Part of the Koolook pack. Registered via the parent ``__init__``'s guarded
``_merge_node_group("Koolook Matte", ".matte")`` so a missing ``diffusers``
disables only these nodes, not the rest of Koolook.
The nodes LOAD (never bundle) the VideoMaMa UNet + SVD VAE weights at runtime;
those weights carry their own non-commercial licenses — see ``matte/NOTICE``.
"""
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]