Add video background removal and video upscaler nodes
- Add Runware Video Background Removal node with Bria support - Add Runware Video Upscaler node with Bria support - Add Runware Vectorize node for image vectorization - Add Lightricks Provider Settings node - Add Video Inference Inputs node for structured inputs - Add Input Audios and Reference Videos nodes - Update video inference with speech support and reference videos - Add new video models: OmniHuman 1/1.5, PixVerse LipSync, LTX - Update Bytedance provider settings with boolean controls - Add corresponding workflow examples
This commit is contained in:
+14
-2
@@ -47,11 +47,23 @@ function mediaUUIDHandler(msgEvent) {
|
||||
|
||||
if(mediaData.success) {
|
||||
const mediaNode = app.graph.getNodeById(mediaNodeID);
|
||||
|
||||
if(mediaNode !== null && mediaNode !== undefined) {
|
||||
// Find the mediaUUID widget specifically
|
||||
const mediaUUIDWidget = mediaNode.widgets.find(widget => widget.name === "mediaUUID");
|
||||
if(mediaUUIDWidget && mediaUUIDWidget.inputEl) {
|
||||
mediaUUIDWidget.inputEl.value = mediaUUID;
|
||||
|
||||
if(mediaUUIDWidget) {
|
||||
// Update both widget.value and inputEl.value for STRING widgets
|
||||
if(mediaUUIDWidget.value !== undefined) {
|
||||
mediaUUIDWidget.value = mediaUUID;
|
||||
}
|
||||
|
||||
if(mediaUUIDWidget.inputEl) {
|
||||
mediaUUIDWidget.inputEl.value = mediaUUID;
|
||||
// Trigger change events to update the UI
|
||||
mediaUUIDWidget.inputEl.dispatchEvent(new Event('input', { bubbles: true }));
|
||||
mediaUUIDWidget.inputEl.dispatchEvent(new Event('change', { bubbles: true }));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user