Add video transcription, fix model names

This commit is contained in:
Sirshendu Ganguly
2025-10-27 14:41:58 -04:00
parent 056c15a1b7
commit 30dcf89ec6
9 changed files with 172 additions and 84 deletions
+11
View File
@@ -255,6 +255,17 @@ def sendImageCaption(captionText, nodeID):
},
)
def sendVideoTranscription(transcriptionText, nodeID):
PromptServer.instance.send_sync(
"runwareVideoTranscription",
{
"success": True,
"transcriptionText": transcriptionText,
"nodeID": nodeID,
"widgetName": "prompt", # Target the prompt widget (matching imageCaptioning pattern)
},
)
def inferenecRequest(genConfig):
global RUNWARE_API_KEY, RUNWARE_API_BASE_URL, SESSION_TIMEOUT
RUNWARE_API_KEY = os.getenv("RUNWARE_API_KEY")