Files
lks-ai-anynode/workflows/wavy-raytrace-animation-anynode.json

220 lines
3.8 KiB
JSON

{
"last_node_id": 16,
"last_link_id": 25,
"nodes": [
{
"id": 4,
"type": "LoadImage",
"pos": [
54,
302
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ant.jpg",
"image"
]
},
{
"id": 11,
"type": "VHS_VideoCombine",
"pos": [
882,
291
],
"size": [
315,
527
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 24
},
{
"name": "audio",
"type": "VHS_AUDIO",
"link": null
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 8,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"format": "image/gif",
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00070.gif",
"subfolder": "",
"type": "output",
"format": "image/gif"
}
}
}
},
{
"id": 16,
"type": "AnyNode",
"pos": [
440,
321
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "any1",
"type": "*",
"link": 25
},
{
"name": "any2",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "any",
"type": "*",
"links": [
24
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AnyNode"
},
"widgets_values": [
"Use the same idea as ray tracing to project the image on to wavy or bumpy animated surface. The output should be an animation."
]
},
{
"id": 13,
"type": "ImageScaleToTotalPixels",
"pos": [
370,
166
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 15
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
25
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"nearest-exact",
0.4
]
}
],
"links": [
[
15,
4,
0,
13,
0,
"IMAGE"
],
[
24,
16,
0,
11,
0,
"IMAGE"
],
[
25,
13,
0,
16,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}