Skip to content

Instantly share code, notes, and snippets.

@sithumonline
Created September 22, 2024 02:14
Show Gist options
  • Select an option

  • Save sithumonline/12f94a06733819bc69b3b3a43d08488d to your computer and use it in GitHub Desktop.

Select an option

Save sithumonline/12f94a06733819bc69b3b3a43d08488d to your computer and use it in GitHub Desktop.
{
"last_node_id": 104,
"last_link_id": 167,
"nodes": [
{
"id": 80,
"type": "ToBasicPipe",
"pos": {
"0": 509,
"1": 445
},
"size": {
"0": 241.79998779296875,
"1": 106
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 137
},
{
"name": "clip",
"type": "CLIP",
"link": 126
},
{
"name": "vae",
"type": "VAE",
"link": 125
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 128
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 130
}
],
"outputs": [
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"links": [
124
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ToBasicPipe"
}
},
{
"id": 76,
"type": "CLIPSetLastLayer",
"pos": {
"0": 126,
"1": 547
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 121
}
],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
127,
129
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPSetLastLayer"
},
"widgets_values": [
-2
]
},
{
"id": 79,
"type": "DetailerForEachPipeForAnimateDiff",
"pos": {
"0": 818,
"1": 146
},
"size": {
"0": 453.5999755859375,
"1": 446
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "image_frames",
"type": "IMAGE",
"link": 142
},
{
"name": "segs",
"type": "SEGS",
"link": 133
},
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"link": 124
},
{
"name": "detailer_hook",
"type": "DETAILER_HOOK",
"link": null
},
{
"name": "refiner_basic_pipe_opt",
"type": "BASIC_PIPE",
"link": null
},
{
"name": "scheduler_func_opt",
"type": "SCHEDULER_FUNC",
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [],
"slot_index": 0,
"shape": 3
},
{
"name": "segs",
"type": "SEGS",
"links": [
134
],
"slot_index": 1,
"shape": 3
},
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"links": null,
"shape": 3
},
{
"name": "cnet_images",
"type": "IMAGE",
"links": null,
"shape": 6
}
],
"properties": {
"Node name for S&R": "DetailerForEachPipeForAnimateDiff"
},
"widgets_values": [
256,
true,
768,
63628991,
"fixed",
20,
8,
"euler",
"normal",
0.8,
5,
0.2,
20
]
},
{
"id": 82,
"type": "CLIPTextEncode",
"pos": {
"0": 510,
"1": 983
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 129
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
130
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"low quality, worst quality"
]
},
{
"id": 78,
"type": "ADE_AnimateDiffLoaderGen1",
"pos": {
"0": 151,
"1": -23
},
"size": {
"0": 327.5999755859375,
"1": 242
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 122
},
{
"name": "context_options",
"type": "CONTEXT_OPTIONS",
"link": null
},
{
"name": "motion_lora",
"type": "MOTION_LORA",
"link": null
},
{
"name": "ad_settings",
"type": "AD_SETTINGS",
"link": null
},
{
"name": "ad_keyframes",
"type": "AD_KEYFRAMES",
"link": null
},
{
"name": "sample_settings",
"type": "SAMPLE_SETTINGS",
"link": null
},
{
"name": "scale_multival",
"type": "MULTIVAL",
"link": null
},
{
"name": "effect_multival",
"type": "MULTIVAL",
"link": null
},
{
"name": "per_block",
"type": "PER_BLOCK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
137
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ADE_AnimateDiffLoaderGen1"
},
"widgets_values": [
"AnimateLCM_sd15_t2v.ckpt",
"sqrt_linear (AnimateDiff)"
]
},
{
"id": 77,
"type": "VAELoader",
"pos": {
"0": 149,
"1": 342
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
125
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"vaeFtMse840000EmaPruned_vaeFtMse840k.safetensors"
]
},
{
"id": 86,
"type": "VHS_VideoCombine",
"pos": {
"0": 2021.1383056640625,
"1": -95.17262268066406
},
"size": [
222.35000610351562,
454.3500061035156
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 136
},
{
"name": "audio",
"type": "AUDIO",
"link": null
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"type": "VAE",
"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": 11,
"filename_prefix": "AnimateDiff",
"format": "image/gif",
"pingpong": true,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00013.gif",
"subfolder": "",
"type": "output",
"format": "image/gif",
"frame_rate": 8
},
"muted": false
}
}
},
{
"id": 85,
"type": "SEGSPaste",
"pos": {
"0": 1553.957275390625,
"1": -56.5736198425293
},
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 141
},
{
"name": "segs",
"type": "SEGS",
"link": 134
},
{
"name": "ref_image_opt",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
136,
138
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SEGSPaste"
},
"widgets_values": [
5,
255
]
},
{
"id": 88,
"type": "ChangeImageBatchSize //Inspire",
"pos": {
"0": 1120,
"1": -455
},
"size": {
"0": 415.8000183105469,
"1": 82
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 165
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
141,
142
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ChangeImageBatchSize //Inspire"
},
"widgets_values": [
16,
"simple"
]
},
{
"id": 90,
"type": "CLIPTextEncode",
"pos": {
"0": -940,
"1": 386
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 144
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
145
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"photo of a cat sitting in a garden"
]
},
{
"id": 91,
"type": "CLIPTextEncode",
"pos": {
"0": -934,
"1": 669
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 147
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
146
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark, cropped"
]
},
{
"id": 92,
"type": "EmptyLatentImage",
"pos": {
"0": -1195,
"1": 176
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
148
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 89,
"type": "KSampler",
"pos": {
"0": -682,
"1": 43
},
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 143
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 145
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 146
},
{
"name": "latent_image",
"type": "LATENT",
"link": 148
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
149
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
739721985019225,
"fixed",
20,
8,
"euler",
"karras",
1
]
},
{
"id": 75,
"type": "CheckpointLoaderSimple",
"pos": {
"0": -352,
"1": 418
},
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
122,
143
],
"slot_index": 0,
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
121,
126,
144,
147
],
"slot_index": 1,
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
150
],
"slot_index": 2,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"cyberrealisticLCM_cyberrealistic42.safetensors"
]
},
{
"id": 84,
"type": "MaskToSEGS",
"pos": {
"0": 647,
"1": -256
},
"size": {
"0": 315,
"1": 154
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 167
}
],
"outputs": [
{
"name": "SEGS",
"type": "SEGS",
"links": [
133
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "MaskToSEGS"
},
"widgets_values": [
false,
1.5,
false,
10,
false
]
},
{
"id": 103,
"type": "PreviewAnimation",
"pos": {
"0": 636,
"1": -441
},
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": null
},
{
"name": "masks",
"type": "MASK",
"link": null
}
],
"outputs": [],
"title": "Preview Animation e,m,p,t,y",
"properties": {
"Node name for S&R": "PreviewAnimation"
},
"widgets_values": [
8
]
},
{
"id": 93,
"type": "VAEDecode",
"pos": {
"0": -587,
"1": -222
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 149
},
{
"name": "vae",
"type": "VAE",
"link": 150
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
151,
152,
165
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 94,
"type": "PreviewImage",
"pos": {
"0": -289,
"1": -556
},
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 151
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 95,
"type": "Mask By Text",
"pos": {
"0": -231,
"1": -184
},
"size": {
"0": 400,
"1": 214
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 152
}
],
"outputs": [
{
"name": "thresholded_mask",
"type": "IMAGE",
"links": [
153
],
"slot_index": 0,
"shape": 3
},
{
"name": "raw_mask",
"type": "IMAGE",
"links": [],
"slot_index": 1,
"shape": 3
},
{
"name": "thresholded_image",
"type": "MASK",
"links": [
167
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "Mask By Text"
},
"widgets_values": [
"cat",
"",
0.5,
"no"
]
},
{
"id": 96,
"type": "PreviewImage",
"pos": {
"0": 350,
"1": -516
},
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 153
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 81,
"type": "CLIPTextEncode",
"pos": {
"0": 507,
"1": 700
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 127
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
128
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"dancing cat"
]
},
{
"id": 87,
"type": "PreviewAnimation",
"pos": {
"0": 1910,
"1": 399
},
"size": {
"0": 315,
"1": 290
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 138
},
{
"name": "masks",
"type": "MASK",
"link": null
}
],
"outputs": [],
"title": "Preview Animation 16x512x512",
"properties": {
"Node name for S&R": "PreviewAnimation"
},
"widgets_values": [
8,
null
]
}
],
"links": [
[
121,
75,
1,
76,
0,
"CLIP"
],
[
122,
75,
0,
78,
0,
"MODEL"
],
[
124,
80,
0,
79,
2,
"BASIC_PIPE"
],
[
125,
77,
0,
80,
2,
"VAE"
],
[
126,
75,
1,
80,
1,
"CLIP"
],
[
127,
76,
0,
81,
0,
"CLIP"
],
[
128,
81,
0,
80,
3,
"CONDITIONING"
],
[
129,
76,
0,
82,
0,
"CLIP"
],
[
130,
82,
0,
80,
4,
"CONDITIONING"
],
[
133,
84,
0,
79,
1,
"SEGS"
],
[
134,
79,
1,
85,
1,
"SEGS"
],
[
136,
85,
0,
86,
0,
"IMAGE"
],
[
137,
78,
0,
80,
0,
"MODEL"
],
[
138,
85,
0,
87,
0,
"IMAGE"
],
[
141,
88,
0,
85,
0,
"IMAGE"
],
[
142,
88,
0,
79,
0,
"IMAGE"
],
[
143,
75,
0,
89,
0,
"MODEL"
],
[
144,
75,
1,
90,
0,
"CLIP"
],
[
145,
90,
0,
89,
1,
"CONDITIONING"
],
[
146,
91,
0,
89,
2,
"CONDITIONING"
],
[
147,
75,
1,
91,
0,
"CLIP"
],
[
148,
92,
0,
89,
3,
"LATENT"
],
[
149,
89,
0,
93,
0,
"LATENT"
],
[
150,
75,
2,
93,
1,
"VAE"
],
[
151,
93,
0,
94,
0,
"IMAGE"
],
[
152,
93,
0,
95,
0,
"IMAGE"
],
[
153,
95,
0,
96,
0,
"IMAGE"
],
[
165,
93,
0,
88,
0,
"IMAGE"
],
[
167,
95,
2,
84,
0,
"MASK"
]
],
"groups": [
{
"title": "Group",
"bounding": [
500,
1,
785,
981
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.6303940863128487,
"offset": [
369.5779813382728,
316.7854057343224
]
}
},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment