Adding support for Sora remix

This commit is contained in:
Sirshendu Ganguly
2026-01-29 11:52:30 -05:00
parent e77fb39dcd
commit a72a8a0461
4 changed files with 10 additions and 15 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ def getCustomEndpoint():
custom_endpoint = os.getenv("RUNWARE_CUSTOM_ENDPOINT")
if custom_endpoint and isinstance(custom_endpoint, str):
return custom_endpoint
return "https://api.runware.ai/v1"
return "https://api.runware.dev/v1"
SESSION_TIMEOUT = getTimeout()
RUNWARE_API_KEY = getAPIKey()
+7 -13
View File
@@ -390,8 +390,8 @@ class videoModelSearch:
DESCRIPTION = "Directly Search and Connect Video Models to Runware Video Inference Nodes In ComfyUI."
FUNCTION = "videoModelSearch"
RETURN_TYPES = ("RUNWAREVIDEOMODEL", "INT", "INT")
RETURN_NAMES = ("Runware Video Model", "Width", "Height")
RETURN_TYPES = ("RUNWAREVIDEOMODEL",)
RETURN_NAMES = ("Runware Video Model",)
CATEGORY = "Runware"
@classmethod
@@ -421,33 +421,27 @@ class videoModelSearch:
# Use custom dimensions from Width/Height widgets
width = customWidth
height = customHeight
returnWidth = width
returnHeight = height
elif useCustomDimensions == "Disabled":
# Don't pass width/height (use None in dict, but return 0 for INT output)
# Don't pass width/height (use None in dict)
width = None
height = None
returnWidth = 0
returnHeight = 0
else: # "Model Default"
# Use model default dimensions
width = dimensions["width"]
height = dimensions["height"]
returnWidth = width
returnHeight = height
resultDict = {
"model": modelAirCode,
"useCustomDimensions": useCustomDimensions,
"width": width,
"height": height,
}
# Add resolution if enabled and model supports it
if useResolution and modelResolution is not None:
resultDict["resolution"] = resolution
resultDict["useResolution"] = True
else:
resultDict["useResolution"] = False
return (resultDict, returnWidth, returnHeight)
return (resultDict,)
+1 -1
View File
@@ -29,7 +29,7 @@ class RunwareVideoInferenceOutputs:
DESCRIPTION = "Extracts Runware video inference outputs such as draftId and videoId."
FUNCTION = "get_outputs"
RETURN_TYPES = ("STRING", "STRING")
RETURN_NAMES = ("Draft ID", "Video ID")
RETURN_NAMES = ("draftID", "videoID")
CATEGORY = "Runware"
OUTPUT_NODE = True # Ensure node executes even if outputs aren't used
File diff suppressed because one or more lines are too long