57f56c04e2
- Replace PreviewAudio with VHS_VideoCombine — outputs video+audio together - Wire fps from FeatureExtractor to VideoCombine frame_rate - Wire audio from Sampler into VideoCombine - Clear hardcoded video filename - Set filename_prefix to SelVA, save_output=true Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
146 lines
4.5 KiB
JSON
146 lines
4.5 KiB
JSON
{
|
|
"id": "selva-video-to-audio-v1",
|
|
"revision": 2,
|
|
"last_node_id": 9,
|
|
"last_link_id": 17,
|
|
"nodes": [
|
|
{
|
|
"id": 2,
|
|
"type": "SelvaModelLoader",
|
|
"pos": [-640, 224],
|
|
"size": [288, 160],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "SELVA_MODEL",
|
|
"slot_index": 0,
|
|
"links": [3, 9]
|
|
}
|
|
],
|
|
"properties": {"Node name for S&R": "SelvaModelLoader"},
|
|
"widgets_values": ["large_44k", "bf16", "auto"]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "VHS_LoadVideo",
|
|
"pos": [-640, -160],
|
|
"size": [288, 310],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "meta_batch", "shape": 7, "type": "VHS_BatchManager", "link": null},
|
|
{"name": "vae", "shape": 7, "type": "VAE", "link": null}
|
|
],
|
|
"outputs": [
|
|
{"name": "IMAGE", "type": "IMAGE", "links": [13, 16]},
|
|
{"name": "frame_count", "type": "INT", "links": null},
|
|
{"name": "audio", "type": "AUDIO", "links": null},
|
|
{"name": "video_info", "type": "VHS_VIDEOINFO", "links": [14]}
|
|
],
|
|
"properties": {"Node name for S&R": "VHS_LoadVideo"},
|
|
"widgets_values": {
|
|
"video": "",
|
|
"force_rate": 0,
|
|
"custom_width": 0,
|
|
"custom_height": 0,
|
|
"frame_load_cap": 0,
|
|
"skip_first_frames": 0,
|
|
"select_every_nth": 1,
|
|
"format": "AnimateDiff"
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "SelvaFeatureExtractor",
|
|
"pos": [-256, -160],
|
|
"size": [320, 224],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "model", "type": "SELVA_MODEL", "link": 3},
|
|
{"name": "video", "type": "IMAGE", "link": 13},
|
|
{"name": "video_info", "shape": 7, "type": "VHS_VIDEOINFO", "link": 14}
|
|
],
|
|
"outputs": [
|
|
{"name": "features", "type": "SELVA_FEATURES", "slot_index": 0, "links": [10]},
|
|
{"name": "fps", "type": "FLOAT", "slot_index": 1, "links": [15]},
|
|
{"name": "prompt", "type": "STRING", "slot_index": 2, "links": [12]}
|
|
],
|
|
"properties": {"Node name for S&R": "SelvaFeatureExtractor"},
|
|
"widgets_values": ["", 29.916, 0, ""]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "SelvaSampler",
|
|
"pos": [128, -160],
|
|
"size": [320, 288],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "model", "type": "SELVA_MODEL", "link": 9},
|
|
{"name": "features", "type": "SELVA_FEATURES", "link": 10},
|
|
{"name": "prompt", "type": "STRING", "link": 12, "widget": {"name": "prompt"}}
|
|
],
|
|
"outputs": [
|
|
{"name": "audio", "type": "AUDIO", "slot_index": 0, "links": [17]}
|
|
],
|
|
"properties": {"Node name for S&R": "SelvaSampler"},
|
|
"widgets_values": ["", "", 0, 25, 4.5, 0, "randomize"]
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "VHS_VideoCombine",
|
|
"pos": [512, -160],
|
|
"size": [226, 334],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "images", "type": "IMAGE", "link": 16},
|
|
{"name": "audio", "shape": 7, "type": "AUDIO", "link": 17},
|
|
{"name": "meta_batch", "shape": 7, "type": "VHS_BatchManager", "link": null},
|
|
{"name": "vae", "shape": 7, "type": "VAE", "link": null},
|
|
{"name": "frame_rate", "type": "FLOAT", "link": 15, "widget": {"name": "frame_rate"}}
|
|
],
|
|
"outputs": [
|
|
{"name": "Filenames", "type": "VHS_FILENAMES", "links": null}
|
|
],
|
|
"properties": {"Node name for S&R": "VHS_VideoCombine"},
|
|
"widgets_values": {
|
|
"frame_rate": 8,
|
|
"loop_count": 0,
|
|
"filename_prefix": "SelVA",
|
|
"format": "video/h264-mp4",
|
|
"pix_fmt": "yuv420p",
|
|
"crf": 19,
|
|
"save_metadata": true,
|
|
"trim_to_audio": false,
|
|
"pingpong": false,
|
|
"save_output": true
|
|
}
|
|
}
|
|
],
|
|
"links": [
|
|
[3, 2, 0, 3, 0, "SELVA_MODEL"],
|
|
[9, 2, 0, 7, 0, "SELVA_MODEL"],
|
|
[10, 3, 0, 7, 1, "SELVA_FEATURES"],
|
|
[12, 3, 2, 7, 2, "STRING"],
|
|
[13, 8, 0, 3, 1, "IMAGE"],
|
|
[14, 8, 3, 3, 2, "VHS_VIDEOINFO"],
|
|
[15, 3, 1, 9, 4, "FLOAT"],
|
|
[16, 8, 0, 9, 0, "IMAGE"],
|
|
[17, 7, 0, 9, 1, "AUDIO"]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {"ds": {"scale": 1.0, "offset": [0, 0]}},
|
|
"version": 0.4
|
|
}
|