feat: wire prompt output from feature extractor to sampler in demo workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-04 17:13:23 +02:00
parent d495939367
commit 679a607a85
+9 -7
View File
@@ -1,8 +1,8 @@
{ {
"id": "selva-video-to-audio-v1", "id": "selva-video-to-audio-v1",
"revision": 0, "revision": 1,
"last_node_id": 6, "last_node_id": 6,
"last_link_id": 8, "last_link_id": 9,
"nodes": [ "nodes": [
{ {
"id": 1, "id": 1,
@@ -55,9 +55,10 @@
], ],
"outputs": [ "outputs": [
{"name": "features", "type": "SELVA_FEATURES", "slot_index": 0, "links": [5]}, {"name": "features", "type": "SELVA_FEATURES", "slot_index": 0, "links": [5]},
{"name": "fps", "type": "FLOAT", "slot_index": 1, "links": []} {"name": "fps", "type": "FLOAT", "slot_index": 1, "links": []},
{"name": "prompt", "type": "STRING", "slot_index": 2, "links": [9]}
], ],
"widgets_values": ["dog barking", 30.0, 0.0, ""], "widgets_values": ["", 30.0, 0.0, ""],
"properties": {"Node name for S&R": "SelvaFeatureExtractor"} "properties": {"Node name for S&R": "SelvaFeatureExtractor"}
}, },
{ {
@@ -71,7 +72,7 @@
"inputs": [ "inputs": [
{"name": "model", "type": "SELVA_MODEL", "link": 4}, {"name": "model", "type": "SELVA_MODEL", "link": 4},
{"name": "features", "type": "SELVA_FEATURES", "link": 5}, {"name": "features", "type": "SELVA_FEATURES", "link": 5},
{"name": "prompt", "type": "STRING", "link": null, "widget": {"name": "prompt"}}, {"name": "prompt", "type": "STRING", "link": 9, "widget": {"name": "prompt"}},
{"name": "negative_prompt", "type": "STRING", "link": null, "widget": {"name": "negative_prompt"}}, {"name": "negative_prompt", "type": "STRING", "link": null, "widget": {"name": "negative_prompt"}},
{"name": "duration", "type": "FLOAT", "link": null, "widget": {"name": "duration"}}, {"name": "duration", "type": "FLOAT", "link": null, "widget": {"name": "duration"}},
{"name": "steps", "type": "INT", "link": null, "widget": {"name": "steps"}}, {"name": "steps", "type": "INT", "link": null, "widget": {"name": "steps"}},
@@ -81,7 +82,7 @@
"outputs": [ "outputs": [
{"name": "audio", "type": "AUDIO", "slot_index": 0, "links": [6]} {"name": "audio", "type": "AUDIO", "slot_index": 0, "links": [6]}
], ],
"widgets_values": ["dog barking", "", 0.0, 25, 4.5, 0], "widgets_values": ["", "", 0.0, 25, 4.5, 0],
"properties": {"Node name for S&R": "SelvaSampler"} "properties": {"Node name for S&R": "SelvaSampler"}
}, },
{ {
@@ -105,7 +106,8 @@
[3, 2, 0, 3, 0, "SELVA_MODEL"], [3, 2, 0, 3, 0, "SELVA_MODEL"],
[4, 2, 0, 4, 0, "SELVA_MODEL"], [4, 2, 0, 4, 0, "SELVA_MODEL"],
[5, 3, 0, 4, 1, "SELVA_FEATURES"], [5, 3, 0, 4, 1, "SELVA_FEATURES"],
[6, 4, 0, 5, 0, "AUDIO"] [6, 4, 0, 5, 0, "AUDIO"],
[9, 3, 2, 4, 2, "STRING"]
], ],
"groups": [], "groups": [],
"config": {}, "config": {},