Files
2026-01-16 12:23:18 +08:00

15 lines
603 B
Python

# 从 video_tools.py 文件中导入 VideoFrameReorderAndSkip 类
from .video_tools import VideoFrameReorderAndSkip
# 节点类映射:将 Python 类名映射到 ComfyUI 的内部名称
NODE_CLASS_MAPPINGS = {
"VideoFrameReorderAndSkip": VideoFrameReorderAndSkip
}
# 节点显示名称映射:在 ComfyUI 界面菜单中显示的易读名称
NODE_DISPLAY_NAME_MAPPINGS = {
"VideoFrameReorderAndSkip": "Video Frame Reorder & Skip" # 你可以在这里修改菜单里显示的名字
}
# 导出映射,固定写法
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']