From 6140e83c5c02b937ff0db4573c80d9c125058771 Mon Sep 17 00:00:00 2001 From: Alexis Rolland Date: Sun, 10 May 2026 15:28:50 +0800 Subject: [PATCH] Move guiders category to parent level at root of sampling category --- comfy_extras/nodes_custom_sampler.py | 9 ++++++--- comfy_extras/nodes_video_model.py | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/comfy_extras/nodes_custom_sampler.py b/comfy_extras/nodes_custom_sampler.py index c67145d2d..89cfdd494 100644 --- a/comfy_extras/nodes_custom_sampler.py +++ b/comfy_extras/nodes_custom_sampler.py @@ -793,7 +793,8 @@ class BasicGuider(io.ComfyNode): def define_schema(cls): return io.Schema( node_id="BasicGuider", - category="sampling/custom_sampling/guiders", + display_name="Basic Guider", + category="sampling/guiders", inputs=[ io.Model.Input("model"), io.Conditioning.Input("conditioning"), @@ -814,7 +815,8 @@ class CFGGuider(io.ComfyNode): def define_schema(cls): return io.Schema( node_id="CFGGuider", - category="sampling/custom_sampling/guiders", + display_name="CFG Guider", + category="sampling/guiders", inputs=[ io.Model.Input("model"), io.Conditioning.Input("positive"), @@ -868,7 +870,8 @@ class DualCFGGuider(io.ComfyNode): return io.Schema( node_id="DualCFGGuider", search_aliases=["dual prompt guidance"], - category="sampling/custom_sampling/guiders", + display_name="Dual CFG Guider", + category="sampling/guiders", inputs=[ io.Model.Input("model"), io.Conditioning.Input("cond1"), diff --git a/comfy_extras/nodes_video_model.py b/comfy_extras/nodes_video_model.py index 0f3881a24..35b3d1ea8 100644 --- a/comfy_extras/nodes_video_model.py +++ b/comfy_extras/nodes_video_model.py @@ -65,7 +65,7 @@ class VideoLinearCFGGuidance: RETURN_TYPES = ("MODEL",) FUNCTION = "patch" - CATEGORY = "sampling/video_models" + CATEGORY = "sampling/guiders" def patch(self, model, min_cfg): def linear_cfg(args): @@ -89,7 +89,7 @@ class VideoTriangleCFGGuidance: RETURN_TYPES = ("MODEL",) FUNCTION = "patch" - CATEGORY = "sampling/video_models" + CATEGORY = "sampling/guiders" def patch(self, model, min_cfg): def linear_cfg(args): @@ -158,4 +158,6 @@ NODE_CLASS_MAPPINGS = { NODE_DISPLAY_NAME_MAPPINGS = { "ImageOnlyCheckpointLoader": "Image Only Checkpoint Loader (img2vid model)", + "VideoLinearCFGGuidance": "Video Linear CFG Guidance", + "VideoTriangleCFGGuidance": "Video Triangle CFG Guidance", }