- Video generation nodes (Seedance Lite & Pro) - Image generation nodes (Seedream & SeedEdit) - Video URL to frames utility node - Comprehensive README with usage guide - Base64 image handling (no external hosting required)
24 lines
597 B
Python
24 lines
597 B
Python
import importlib
|
|
import importlib.util
|
|
|
|
node_list = [
|
|
"byteplus_video_node",
|
|
"video_to_frames_node",
|
|
"byteplus_image_node",
|
|
]
|
|
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
|
|
for module_name in node_list:
|
|
imported_module = importlib.import_module(f".nodes.{module_name}", __name__)
|
|
|
|
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
**NODE_DISPLAY_NAME_MAPPINGS,
|
|
**imported_module.NODE_DISPLAY_NAME_MAPPINGS,
|
|
}
|
|
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|