Files
smthemex-ComfyUI_LongCat_Av…/__init__.py
T
2026-05-28 13:37:10 +08:00

22 lines
812 B
Python

from comfy_api.latest import ComfyExtension, io
from typing_extensions import override
from .LongCat_Video_node import LongCat_Video_SM_Model, LongCat_Video_SM_Sampler,LongCat_Video_SM_Encode,LongCat_Video_SM_Audio,LongCat_Video_SM_Vocal,LongCat_Video_SM_VocalModel
class LongCat_Video_SM_Extension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
LongCat_Video_SM_Model,
LongCat_Video_SM_Sampler,
LongCat_Video_SM_Encode,
LongCat_Video_SM_Audio,
LongCat_Video_SM_Vocal,
LongCat_Video_SM_VocalModel
]
async def comfy_entrypoint() -> LongCat_Video_SM_Extension: # ComfyUI calls this to load your extension and its nodes.
return LongCat_Video_SM_Extension()