Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

chore: Update nodes categories (#16077)

Alexis Rollande3a78dab9ed6
diff --git a/comfy_extras/nodes_context_windows.py b/comfy_extras/nodes_context_windows.py
index 15d2dc506..c7aad1c6f 100644
--- a/comfy_extras/nodes_context_windows.py
+++ b/comfy_extras/nodes_context_windows.py
@@ -105,6 +105,7 @@ class LTXVContextWindowsNode(ContextWindowsManualNode):
schema.node_id = "LTXVContextWindows"
schema.display_name = "LTXV Context Windows"
schema.description = "Set context windows for LTXV-like models."
+ schema.category="model/patch/ltxv"
schema.inputs = [
io.Model.Input("model", tooltip="The model to apply context windows to during sampling."),
io.Int.Input("context_length", min=1, max=nodes.MAX_RESOLUTION, step=8, default=145, tooltip="The length of the context window in real frames. Must be 8*n + 1."),
diff --git a/comfy_extras/nodes_dataset.py b/comfy_extras/nodes_dataset.py
index 5ca5a8e14..6ee0d91c3 100644
--- a/comfy_extras/nodes_dataset.py
+++ b/comfy_extras/nodes_dataset.py
@@ -1409,7 +1409,7 @@ class ShuffleVideoTextDatasetNode(io.ComfyNode):
node_id="ShuffleVideoTextDataset",
search_aliases=["shuffle", "randomize", "mix"],
display_name="Shuffle Pairs of Video-Text",
- category="dataset/video",
+ category="video/batch",
description="Randomly shuffle the order of pairs of video-text in a list.",
is_experimental=True,
is_input_list=True,
diff --git a/comfy_extras/nodes_lt.py b/comfy_extras/nodes_lt.py
index a6e5c5d27..ef622481c 100644
--- a/comfy_extras/nodes_lt.py
+++ b/comfy_extras/nodes_lt.py
@@ -1126,7 +1126,7 @@ class LTXVDurationPredictor(io.ComfyNode):
return io.Schema(
node_id="LTXVDurationPredictor",
display_name="LTXV Duration Predictor",
- category="conditioning/video_models",
+ category="model/conditioning/ltxv",
description="Predicts the natural shot duration for a prompt using the LTX 2.4 duration "
"head (loaded with ModelPatchLoader), and snaps it to the VAE's 8k+1 frame grid.",
search_aliases=["auto duration", "duration head", "num_frames"],
diff --git a/comfy_extras/nodes_model_patch.py b/comfy_extras/nodes_model_patch.py
index 5ce3bb25a..82a5f58eb 100644
--- a/comfy_extras/nodes_model_patch.py
+++ b/comfy_extras/nodes_model_patch.py
@@ -397,7 +397,7 @@ class AnimaLLLiteApply:
FUNCTION = "apply_patch"
EXPERIMENTAL = True
- CATEGORY = "model_patches/anima"
+ CATEGORY = "model/patch/anima"
def apply_patch(self, model, model_patch, image, strength, start_percent, end_percent, mask=None):
image = image[..., :3]