388 lines
9.3 KiB
JSON
388 lines
9.3 KiB
JSON
{
|
|
"last_node_id": 12,
|
|
"last_link_id": 13,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
0,
|
|
0
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
1
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"widgets_values": [
|
|
"example.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
0,
|
|
400
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
2
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"widgets_values": [
|
|
"example.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "IteratorItem",
|
|
"pos": [
|
|
400,
|
|
0
|
|
],
|
|
"size": [
|
|
315,
|
|
122
|
|
],
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "AUDIO_TEXT",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "VIDEO_PROMPT",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "ITERATOR_ITEM",
|
|
"type": "ITERATOR_ITEM",
|
|
"links": [
|
|
3
|
|
],
|
|
"slot_index": 3
|
|
}
|
|
],
|
|
"widgets_values": [
|
|
"Prompt Clip 1",
|
|
"Clip 1 details"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "IteratorItem",
|
|
"pos": [
|
|
400,
|
|
400
|
|
],
|
|
"size": [
|
|
315,
|
|
122
|
|
],
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "AUDIO_TEXT",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "VIDEO_PROMPT",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "ITERATOR_ITEM",
|
|
"type": "ITERATOR_ITEM",
|
|
"links": [
|
|
4
|
|
],
|
|
"slot_index": 3
|
|
}
|
|
],
|
|
"widgets_values": [
|
|
"Prompt Clip 2",
|
|
"Clip 2 details"
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "IteratorList",
|
|
"pos": [
|
|
800,
|
|
200
|
|
],
|
|
"size": [
|
|
315,
|
|
200
|
|
],
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "item1",
|
|
"type": "ITERATOR_ITEM",
|
|
"link": 3
|
|
},
|
|
{
|
|
"name": "item2",
|
|
"type": "ITERATOR_ITEM",
|
|
"link": 4
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
5
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "AUDIO_TEXT",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "VIDEO_PROMPT",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "IS_FINISHED",
|
|
"type": "BOOLEAN",
|
|
"links": [
|
|
13
|
|
],
|
|
"slot_index": 3
|
|
}
|
|
],
|
|
"widgets_values": [
|
|
"video_batch",
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "IteratorSignal",
|
|
"pos": [
|
|
1200,
|
|
400
|
|
],
|
|
"size": [
|
|
315,
|
|
82
|
|
],
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 5
|
|
},
|
|
{
|
|
"name": "is_finished",
|
|
"type": "BOOLEAN",
|
|
"link": 13
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "SIGNAL",
|
|
"type": "BOOLEAN",
|
|
"links": null,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"widgets_values": [
|
|
"video_batch",
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "VideoConcatenation",
|
|
"pos": [
|
|
1600,
|
|
200
|
|
],
|
|
"size": [
|
|
315,
|
|
200
|
|
],
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "video1",
|
|
"type": "*",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "video2",
|
|
"type": "*",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "video_path",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"widgets_values": [
|
|
"concatenated_video"
|
|
]
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "Note",
|
|
"pos": [
|
|
800,
|
|
500
|
|
],
|
|
"size": [
|
|
500,
|
|
150
|
|
],
|
|
"order": 7,
|
|
"mode": 0,
|
|
"widgets_values": [
|
|
"VIDEO BATCH TEMPLATE:\n1. Iterator List (Node 5) outputs the images/prompts for each clip.\n2. Connect these to your Video Generation nodes.\n3. Use 'Iterator Signal' (Node 10) at the end to trigger the next clip.\n4. Connect IS_FINISHED from List to Signal to enable auto-stop.\n5. Click Queue ONCE and it will run all clips."
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
3,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
2,
|
|
2,
|
|
0,
|
|
4,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
3,
|
|
3,
|
|
3,
|
|
5,
|
|
0,
|
|
"ITERATOR_ITEM"
|
|
],
|
|
[
|
|
4,
|
|
4,
|
|
3,
|
|
5,
|
|
1,
|
|
"ITERATOR_ITEM"
|
|
],
|
|
[
|
|
5,
|
|
5,
|
|
0,
|
|
10,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
13,
|
|
5,
|
|
3,
|
|
10,
|
|
1,
|
|
"BOOLEAN"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
} |