diff --git a/__init__.py b/__init__.py index f7086d2..dabcb9a 100644 --- a/__init__.py +++ b/__init__.py @@ -183,6 +183,10 @@ NODE_CLASS_MAPPINGS = { "Runware Video Audio Input": RunwareAudioInput, "Runware Video Speech Input": RunwareSpeechInput, "Runware Speech Inputs Combine": RunwareSpeechInputCombine, + # Backward-compatible aliases for existing workflows + "Runware Reference Videos": referenceVideos, + "Runware Reference Voices": referenceVoices, + "Runware Video Inputs References": videoInputsReferences, "Runware Video Inference Inputs Reference Videos": referenceVideos, "Runware Video Inference Inputs Reference Voices": referenceVoices, "Runware Video Inference Inputs Reference Audios": referenceAudios, diff --git a/clientlibs/types.js b/clientlibs/types.js index 77a42ec..d454480 100644 --- a/clientlibs/types.js +++ b/clientlibs/types.js @@ -106,8 +106,11 @@ const RUNWARE_NODE_TYPES = { AUDIOINPUT: "Runware Video Audio Input", SPEECHINPUT: "Runware Video Speech Input", REFERENCEVIDEOS: "Runware Video Inference Inputs Reference Videos", + REFERENCEVIDEOS_LEGACY: "Runware Reference Videos", REFERENCEVOICES: "Runware Video Inference Inputs Reference Voices", + REFERENCEVOICES_LEGACY: "Runware Reference Voices", REFERENCEAUDIOS: "Runware Video Inference Inputs Reference Audios", + VIDEOINPUTSREFERENCES_LEGACY: "Runware Video Inputs References", VIDEOINFERENCEINPUTS: "Runware Video Inference Inputs", VIDEOINFERENCEELEMENTS: "Runware Video Inference Elements", VIDEOINFERENCEELEMENTSCOMBINE: "Runware Video Inference Elements Combine", @@ -402,10 +405,18 @@ const RUNWARE_NODE_PROPS = { bgColor: DEFAULT_BGCOLOR, colorModeOnly: true, }, + [RUNWARE_NODE_TYPES.REFERENCEVIDEOS_LEGACY]: { + bgColor: DEFAULT_BGCOLOR, + colorModeOnly: true, + }, [RUNWARE_NODE_TYPES.REFERENCEVOICES]: { bgColor: DEFAULT_BGCOLOR, colorModeOnly: true, }, + [RUNWARE_NODE_TYPES.REFERENCEVOICES_LEGACY]: { + bgColor: DEFAULT_BGCOLOR, + colorModeOnly: true, + }, [RUNWARE_NODE_TYPES.REFERENCEAUDIOS]: { bgColor: DEFAULT_BGCOLOR, colorModeOnly: true, @@ -510,6 +521,10 @@ const RUNWARE_NODE_PROPS = { bgColor: DEFAULT_BGCOLOR, colorModeOnly: true, }, + [RUNWARE_NODE_TYPES.VIDEOINPUTSREFERENCES_LEGACY]: { + bgColor: DEFAULT_BGCOLOR, + colorModeOnly: true, + }, [RUNWARE_NODE_TYPES.VIDEOINPUTSFRAMEIMAGES]: { bgColor: DEFAULT_BGCOLOR, colorModeOnly: true, diff --git a/modules/videoInferenceInputs.py b/modules/videoInferenceInputs.py index 9e9cb43..c05a771 100644 --- a/modules/videoInferenceInputs.py +++ b/modules/videoInferenceInputs.py @@ -42,16 +42,16 @@ class videoInferenceInputs: "tooltip": "Background image for video generation. Connect a Load Image node to provide the background.", }), "References Images": ("RUNWAREVIDEOINPUTSREFERENCEIMAGES", { - "tooltip": "Connect the Video Inputs References node to provide reference images." + "tooltip": "Connect the Runware Video Inference Inputs Reference Images node to provide reference images." }), "Reference Videos": ("RUNWAREREFERENCEVIDEOS", { - "tooltip": "Connect the Reference Videos node to provide reference video mediaUUIDs." + "tooltip": "Connect the Runware Video Inference Inputs Reference Videos node to provide reference video mediaUUIDs." }), "Reference Audios": ("RUNWAREINPUTAUDIOS", { "tooltip": "Connect the Runware Video Inference Inputs Reference Audios node to provide reference audio mediaUUIDs." }), "Reference Voices": ("RUNWAREREFERENCEVOICES", { - "tooltip": "Connect the Reference Voices node to provide reference voice URLs or mediaUUIDs." + "tooltip": "Connect the Runware Video Inference Inputs Reference Voices node to provide reference voice URLs or mediaUUIDs." }), "draftId": ("STRING", { "default": "", diff --git a/modules/videoInputsReferences.py b/modules/videoInputsReferences.py index 495d920..449697a 100644 --- a/modules/videoInputsReferences.py +++ b/modules/videoInputsReferences.py @@ -5,7 +5,7 @@ from typing import List, Dict, Any class videoInputsReferences: """Video Inputs References node for configuring reference images with types""" - MAX_REFERENCES = 4 + MAX_REFERENCES = 10 @classmethod def INPUT_TYPES(cls):