Files
melMass-comfy_mtb/examples/04-animation_builder-deforum.json
T

1189 lines
19 KiB
JSON

{
"last_node_id": 42,
"last_link_id": 69,
"nodes": [
{
"id": 11,
"type": "Get Batch From History (mtb)",
"pos": [
-828,
522
],
"size": [
235.1999969482422,
118
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "passthrough_image",
"type": "IMAGE",
"link": 10
},
{
"name": "enable",
"type": "BOOL",
"link": 9,
"widget": {
"name": "enable",
"config": [
"BOOL",
{
"default": true
}
]
},
"slot_index": 1
}
],
"outputs": [
{
"name": "i",
"type": "IMAGE",
"links": [
26
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Get Batch From History (mtb)"
},
"widgets_values": [
false,
1,
0
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 24,
"type": "Note",
"pos": [
-827,
406
],
"size": [
233.25148010253906,
82.53218841552734
],
"flags": {},
"order": 0,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"On first frame we get the init image, on all subsequent ones the feedback from the previous queue item"
],
"color": "#223",
"bgcolor": "#335",
"shape": 1
},
{
"id": 12,
"type": "Int To Bool (mtb)",
"pos": [
-1057,
583
],
"size": [
210,
36.366058349609375
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "int",
"type": "INT",
"link": 34,
"widget": {
"name": "int",
"config": [
"INT",
{
"default": 0
}
]
},
"slot_index": 0
}
],
"outputs": [
{
"name": "BOOL",
"type": "BOOL",
"links": [
9
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Int To Bool (mtb)"
},
"widgets_values": [
29
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 10,
"type": "LoadImage",
"pos": [
-1409,
524
],
"size": [
315,
314
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.png",
"image"
],
"color": "#432",
"bgcolor": "#653",
"shape": 1
},
{
"id": 18,
"type": "Get Batch From History (mtb)",
"pos": [
-960,
1257
],
"size": [
235.1999969482422,
118
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "passthrough_image",
"type": "IMAGE",
"link": null
},
{
"name": "enable",
"type": "BOOL",
"link": 31,
"widget": {
"name": "enable",
"config": [
"BOOL",
{
"default": true
}
]
},
"slot_index": 1
},
{
"name": "count",
"type": "INT",
"link": 44,
"widget": {
"name": "count",
"config": [
"INT",
{
"default": 1,
"min": 0
}
]
}
}
],
"outputs": [
{
"name": "i",
"type": "IMAGE",
"links": [
17,
18
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Get Batch From History (mtb)"
},
"widgets_values": [
true,
30,
0
]
},
{
"id": 20,
"type": "Export To Prores (mtb)",
"pos": [
-612,
1818
],
"size": [
292.4239807128906,
93.884033203125
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 17
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Export To Prores (mtb)"
},
"widgets_values": [
12,
"export"
]
},
{
"id": 35,
"type": "CLIPTextEncode",
"pos": [
-118,
331
],
"size": [
210,
54
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 60
},
{
"name": "text",
"type": "STRING",
"link": 66,
"widget": {
"name": "text",
"config": [
"STRING",
{
"multiline": true
}
]
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
54
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 9,
"type": "CheckpointLoaderSimple",
"pos": [
-558,
114
],
"size": [
301.2330322265625,
98
],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
62
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
59,
60
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
58,
69
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"revAnimated_v122.safetensors"
]
},
{
"id": 37,
"type": "VAEEncode",
"pos": [
-125,
236
],
"size": [
210,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 57
},
{
"name": "vae",
"type": "VAE",
"link": 58,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
55
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 34,
"type": "CLIPTextEncode",
"pos": [
-124,
84
],
"size": [
210,
96
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 59
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
53
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A plastic Barbie doll with a pink dress sleeping, draping, wrinkles, shiny"
]
},
{
"id": 33,
"type": "Text box",
"pos": [
-497,
349
],
"size": [
294,
95.1284408569336
],
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
66
],
"shape": 3,
"slot_index": 0
}
],
"title": "❌Mel Negatives (general) (Negative)",
"properties": {
"Node name for S&R": "Text box"
},
"widgets_values": [
"embedding:EasyNegative, embedding:EasyNegativeV2, watermark, text, deformed, NSFW, Cleavage, Pubic Hair, Nudity, Naked, censored"
]
},
{
"id": 39,
"type": "Reroute",
"pos": [
-156,
908
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 67
}
],
"outputs": [
{
"name": "",
"type": "INT",
"links": [
68
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 14,
"type": "Transform Image (mtb)",
"pos": [
-527,
520
],
"size": [
315,
178
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 26
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
57
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Transform Image (mtb)"
},
"widgets_values": [
0,
5,
1.03,
1,
0,
"reflect"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 36,
"type": "KSampler",
"pos": [
223,
262
],
"size": [
315,
442
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 62,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 53
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 54
},
{
"name": "latent_image",
"type": "LATENT",
"link": 55
},
{
"name": "denoise",
"type": "FLOAT",
"link": 63,
"widget": {
"name": "denoise",
"config": [
"FLOAT",
{
"default": 1,
"min": 0,
"max": 1,
"step": 0.01
}
]
},
"slot_index": 4
},
{
"name": "seed",
"type": "INT",
"link": 68,
"widget": {
"name": "seed",
"config": [
"INT",
{
"default": 0,
"min": 0,
"max": 18446744073709552000
}
]
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
56
],
"shape": 3,
"slot_index": 0,
"color": "#FF9CF9"
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
61876307854624,
"randomize",
15,
8,
"euler_ancestral",
"normal",
0.6
]
},
{
"id": 15,
"type": "SaveImage",
"pos": [
782,
259
],
"size": [
330.1112365722656,
378.1239929199219
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 19,
"type": "Save Gif (mtb)",
"pos": [
-613,
1256
],
"size": [
356.1775817871094,
471.8785705566406
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 18
}
],
"properties": {
"Node name for S&R": "Save Gif (mtb)"
},
"widgets_values": [
12,
1,
true
]
},
{
"id": 31,
"type": "PrimitiveNode",
"pos": [
-2060,
1291
],
"size": [
210,
82
],
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
43,
44
],
"widget": {
"name": "total_frames",
"config": [
"INT",
{
"default": 100,
"min": 0
}
]
},
"slot_index": 0
}
],
"title": "total_frames",
"properties": {},
"widgets_values": [
30,
"fixed"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 38,
"type": "VAEDecode",
"pos": [
556,
260
],
"size": [
210,
46
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 56
},
{
"name": "vae",
"type": "VAE",
"link": 69,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
65
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 22,
"type": "Fit Number (mtb)",
"pos": [
-647,
882
],
"size": [
232.28509521484375,
166
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "value",
"type": "FLOAT",
"link": 27
}
],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
63
],
"shape": 3,
"slot_index": 0
}
],
"title": "Fit Number (mtb) - Denoise",
"properties": {
"Node name for S&R": "Fit Number (mtb)"
},
"widgets_values": [
true,
0,
1,
0.3,
0.6
]
},
{
"id": 17,
"type": "Animation Builder (mtb)",
"pos": [
-1310,
883
],
"size": [
211.60000610351562,
318
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "total_frames",
"type": "INT",
"link": 43,
"widget": {
"name": "total_frames",
"config": [
"INT",
{
"default": 100,
"min": 0
}
]
},
"slot_index": 0
}
],
"outputs": [
{
"name": "frame",
"type": "INT",
"links": [
34
],
"shape": 3,
"slot_index": 0
},
{
"name": "0-1 (scaled)",
"type": "FLOAT",
"links": [
27
],
"shape": 3,
"slot_index": 1
},
{
"name": "count",
"type": "INT",
"links": [
67
],
"shape": 3,
"slot_index": 2
},
{
"name": "loop_ended",
"type": "BOOL",
"links": [
31
],
"shape": 3,
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "Animation Builder (mtb)"
},
"widgets_values": [
30,
1,
1,
0,
0,
"Idle",
"Iteration: Idle",
"reset",
"queue"
],
"color": "#232",
"bgcolor": "#353",
"shape": 1
}
],
"links": [
[
9,
12,
0,
11,
1,
"BOOL"
],
[
10,
10,
0,
11,
0,
"IMAGE"
],
[
17,
18,
0,
20,
0,
"IMAGE"
],
[
18,
18,
0,
19,
0,
"IMAGE"
],
[
26,
11,
0,
14,
0,
"IMAGE"
],
[
27,
17,
1,
22,
0,
"FLOAT"
],
[
31,
17,
3,
18,
1,
"BOOL"
],
[
34,
17,
0,
12,
0,
"INT"
],
[
43,
31,
0,
17,
0,
"INT"
],
[
44,
31,
0,
18,
2,
"INT"
],
[
53,
34,
0,
36,
1,
"CONDITIONING"
],
[
54,
35,
0,
36,
2,
"CONDITIONING"
],
[
55,
37,
0,
36,
3,
"LATENT"
],
[
56,
36,
0,
38,
0,
"LATENT"
],
[
57,
14,
0,
37,
0,
"IMAGE"
],
[
58,
9,
2,
37,
1,
"VAE"
],
[
59,
9,
1,
34,
0,
"CLIP"
],
[
60,
9,
1,
35,
0,
"CLIP"
],
[
62,
9,
0,
36,
0,
"MODEL"
],
[
63,
22,
0,
36,
4,
"FLOAT"
],
[
65,
38,
0,
15,
0,
"IMAGE"
],
[
66,
33,
0,
35,
1,
"STRING"
],
[
67,
17,
2,
39,
0,
"*"
],
[
68,
39,
0,
36,
5,
"INT"
],
[
69,
9,
2,
38,
1,
"VAE"
]
],
"groups": [
{
"title": "Video Output",
"bounding": [
-702,
1161,
516,
773
],
"color": "#3f789e",
"locked": false
},
{
"title": "START THE QUEUE BY CLICKLING HERE 👆",
"bounding": [
-1612,
1219,
521,
80
],
"color": "#8A8",
"locked": false
}
],
"config": {},
"extra": {},
"version": 0.4
}