Files
ComfyUI-UniverSR/example_workflows/universr_video.json
T
Ethanfel 8972fed805 refactor(video): single Foley-style upload loader with inline preview
Replace the path+dropdown loader (and its non-rendering ui.gifs) with one
node mirroring FoleyTuneVideoLoaderUpload: a `video` upload widget with
drag-drop and an inline video preview, shipped via web/js/UniverSRVideo.js
(adapted from FoleyTuneVideo.js) + WEB_DIRECTORY.

The loader now outputs (UNIVERSR_VIDEO, AUDIO) so you can super-resolve the
audio and remux it. Updated the example workflow output order and README.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 13:25:06 +02:00

85 lines
2.3 KiB
JSON

{
"last_node_id": 4,
"last_link_id": 5,
"nodes": [
{
"id": 1,
"type": "UniverSRLoadVideoAudio",
"pos": [100, 200],
"size": [360, 150],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "video", "type": "UNIVERSR_VIDEO", "links": [2], "slot_index": 0},
{"name": "audio", "type": "AUDIO", "links": [1], "slot_index": 1}
],
"properties": {"Node name for S&R": "UniverSRLoadVideoAudio"},
"widgets_values": ["video.mp4", 0.0, 0.0]
},
{
"id": 2,
"type": "UniverSRModelLoader",
"pos": [100, 400],
"size": [360, 130],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "model", "type": "UNIVERSR_MODEL", "links": [3], "slot_index": 0}
],
"properties": {"Node name for S&R": "UniverSRModelLoader"},
"widgets_values": ["universr-audio", "auto", "", ""]
},
{
"id": 3,
"type": "UniverSRSampler",
"pos": [520, 200],
"size": [340, 320],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{"name": "audio", "type": "AUDIO", "link": 1},
{"name": "model", "type": "UNIVERSR_MODEL", "link": 3}
],
"outputs": [
{"name": "audio", "type": "AUDIO", "links": [4], "slot_index": 0},
{"name": "spectrogram", "type": "IMAGE", "links": [], "slot_index": 1}
],
"properties": {"Node name for S&R": "UniverSRSampler"},
"widgets_values": [16000, "midpoint", 4, 2.0, 0, "randomize", 10.0, 0.5, 1.0, false, true]
},
{
"id": 4,
"type": "UniverSRVideoCombiner",
"pos": [920, 200],
"size": [340, 170],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{"name": "video", "type": "UNIVERSR_VIDEO", "link": 2},
{"name": "audio", "type": "AUDIO", "link": 4}
],
"outputs": [
{"name": "output_path", "type": "STRING", "links": [], "slot_index": 0}
],
"properties": {"Node name for S&R": "UniverSRVideoCombiner"},
"widgets_values": ["UniverSR", "aac", true]
}
],
"links": [
[1, 1, 1, 3, 0, "AUDIO"],
[2, 1, 0, 4, 0, "UNIVERSR_VIDEO"],
[3, 2, 0, 3, 1, "UNIVERSR_MODEL"],
[4, 3, 0, 4, 1, "AUDIO"]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}