Added workflows
This commit is contained in:
@@ -141,7 +141,7 @@ class txt2vid:
|
||||
"tooltip": "Connect a Runware Accelerator Options Node to configure caching and acceleration settings.",
|
||||
}),
|
||||
"settings": ("RUNWAREVIDEOSETTINGS", {
|
||||
"tooltip": "Connect a Runware Video Inference Settings node to configure draft, audio, promptUpsampling, voiceDescription, style, thinking, multiClip, etc.",
|
||||
"tooltip": "Connect a Runware Video Inference Settings node to configure draft, audio, promptUpsampling, voiceDescription, style, thinking, multiClip, shotType, promptExtend, etc.",
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ class videoModelSearch:
|
||||
"google:3@1 (Veo 3.0 Fast)",
|
||||
"google:3@2 (Veo 3.1)",
|
||||
"google:3@3 (Veo 3.1 Fast)",
|
||||
"google:veo@3.1-lite (Veo 3.1 Lite)",
|
||||
],
|
||||
"Bytedance": [
|
||||
"bytedance:2@1 (Seedance 1.0 Pro)",
|
||||
@@ -72,6 +73,7 @@ class videoModelSearch:
|
||||
"runware:200@8 (Wan 2.2 A14B Animate)",
|
||||
"alibaba:wan@2.6 (Wan 2.6)",
|
||||
"alibaba:wan@2.6-flash (Wan 2.6 Flash)",
|
||||
"alibaba:wan@2.7 (Wan2.7)",
|
||||
],
|
||||
"OpenAI": [
|
||||
"openai:3@1 (OpenAI Sora 3.1)",
|
||||
@@ -161,6 +163,7 @@ class videoModelSearch:
|
||||
"google:3@1": {"width": 1280, "height": 720},
|
||||
"google:3@2": {"width": 1280, "height": 720},
|
||||
"google:3@3": {"width": 1280, "height": 720},
|
||||
"google:veo@3.1-lite": {"width": 1280, "height": 720},
|
||||
|
||||
# Bytedance Models
|
||||
"bytedance:2@1": {"width": 864, "height": 480},
|
||||
@@ -202,6 +205,7 @@ class videoModelSearch:
|
||||
"runware:200@8": {"width": 1104, "height": 832},
|
||||
"alibaba:wan@2.6": {"width": 1280, "height": 720},
|
||||
"alibaba:wan@2.6-flash": {"width": 1280, "height": 720},
|
||||
"alibaba:wan@2.7": {"width": 1280, "height": 720},
|
||||
|
||||
# OpenAI Models
|
||||
"openai:3@1": {"width": 1280, "height": 720},
|
||||
@@ -290,6 +294,7 @@ class videoModelSearch:
|
||||
"google:3@1": "720p",
|
||||
"google:3@2": "720p",
|
||||
"google:3@3": "720p",
|
||||
"google:veo@3.1-lite": "720p",
|
||||
|
||||
# Bytedance Models
|
||||
"bytedance:2@1": "480p",
|
||||
@@ -331,6 +336,7 @@ class videoModelSearch:
|
||||
"runware:200@8": "720p",
|
||||
"alibaba:wan@2.6": "720p",
|
||||
"alibaba:wan@2.6-flash": "720p",
|
||||
"alibaba:wan@2.7": "720p",
|
||||
|
||||
# OpenAI Models
|
||||
"openai:3@1": "720p",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""
|
||||
Runware Video Inference Settings Node
|
||||
Provides settings (draft, audio, promptUpsampling, voiceDescription, style, thinking, multiClip, etc.) for Runware Video Inference.
|
||||
Provides settings (draft, audio, promptUpsampling, voiceDescription, style, thinking, multiClip, shotType, promptExtend, etc.) for Runware Video Inference.
|
||||
"""
|
||||
|
||||
from typing import Dict, Any
|
||||
@@ -105,6 +105,24 @@ class RunwareVideoSettings:
|
||||
"label_on": "Enabled",
|
||||
"label_off": "Disabled",
|
||||
}),
|
||||
"useShotType": ("BOOLEAN", {
|
||||
"tooltip": "Enable to include shotType in video inference settings.",
|
||||
"default": False,
|
||||
}),
|
||||
"shotType": (["single", "multi"], {
|
||||
"tooltip": "Shot type: single (one continuous shot) or multi (multiple switching shots). Parameter priority: shot_type > prompt. Only used when 'Use Shot Type' is enabled.",
|
||||
"default": "single",
|
||||
}),
|
||||
"usePromptExtend": ("BOOLEAN", {
|
||||
"tooltip": "Enable to include promptExtend in video inference settings.",
|
||||
"default": False,
|
||||
}),
|
||||
"promptExtend": ("BOOLEAN", {
|
||||
"tooltip": "Prompt extend flag. Only used when 'Use Prompt Extend' is enabled.",
|
||||
"default": False,
|
||||
"label_on": "Enabled",
|
||||
"label_off": "Disabled",
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,7 +131,7 @@ class RunwareVideoSettings:
|
||||
FUNCTION = "createSettings"
|
||||
CATEGORY = "Runware"
|
||||
DESCRIPTION = (
|
||||
"Configure video inference settings (draft, audio, promptUpsampling, voiceDescription, style, thinking, multiClip, etc.) for Runware Video Inference. "
|
||||
"Configure video inference settings (draft, audio, promptUpsampling, voiceDescription, style, thinking, multiClip, shotType, promptExtend, etc.) for Runware Video Inference. "
|
||||
"Connect to Runware Video Inference node."
|
||||
)
|
||||
|
||||
@@ -139,6 +157,10 @@ class RunwareVideoSettings:
|
||||
thinking = kwargs.get("thinking", "auto")
|
||||
use_multi_clip = kwargs.get("useMultiClip", False)
|
||||
multi_clip = kwargs.get("multiClip", False)
|
||||
use_shot_type = kwargs.get("useShotType", False)
|
||||
shot_type = kwargs.get("shotType", "single")
|
||||
use_prompt_extend = kwargs.get("usePromptExtend", False)
|
||||
prompt_extend = kwargs.get("promptExtend", False)
|
||||
|
||||
settings: Dict[str, Any] = {}
|
||||
|
||||
@@ -162,6 +184,10 @@ class RunwareVideoSettings:
|
||||
settings["thinking"] = thinking
|
||||
if use_multi_clip:
|
||||
settings["multiClip"] = bool(multi_clip)
|
||||
if use_shot_type:
|
||||
settings["shotType"] = shot_type
|
||||
if use_prompt_extend:
|
||||
settings["promptExtend"] = bool(prompt_extend)
|
||||
|
||||
return (settings,)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user