709 lines
14 KiB
JSON
709 lines
14 KiB
JSON
{
|
|
"last_node_id": 26,
|
|
"last_link_id": 56,
|
|
"nodes": [
|
|
{
|
|
"id": 7,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1370,
|
|
230
|
|
],
|
|
"size": {
|
|
"0": 733.25,
|
|
"1": 732.75
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 56
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "Note",
|
|
"pos": [
|
|
300,
|
|
202
|
|
],
|
|
"size": {
|
|
"0": 490.25,
|
|
"1": 267.75
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"properties": {
|
|
"text": ""
|
|
},
|
|
"widgets_values": [
|
|
"Welcome to Deforum Comfy.\n\nThis is the simplest example to achieve Deforum-esque animations, right click on Deforum Sampling -> Convert to Nodes to expose the inner logic, and add optional Deforum image processors, or anything you'd like.\n\nThe way Deforum works requires a full run of a graph for each frame currently (with the exception of image interpolations [WIP]), thus hitting Queue Prompt generates one frame of your animation. Use Extra Options - Auto Queue for continous generation.\n\nThe Deforum Video Save node saves it's cached frames when the current_frame reaches max_frames set in Deforum. The current frame advances with each generation, and resets to 0 when reaching/passing max_frames (i.e. max frames set lower then current frame while running), or by setting the reset parameter of the Iterator node to 1. Don't forget to flip it back to 0, as it is resetting the latents as well."
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [
|
|
800,
|
|
310
|
|
],
|
|
"size": {
|
|
"0": 501.75,
|
|
"1": 108
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
54
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
51,
|
|
52
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
55
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 2
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CheckpointLoaderSimple"
|
|
},
|
|
"widgets_values": [
|
|
"protovisionXLHighFidelity3D_beta0520Bakedvae.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "DeforumBaseParamsNode",
|
|
"pos": [
|
|
473,
|
|
530
|
|
],
|
|
"size": {
|
|
"0": 317.4000244140625,
|
|
"1": 442
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "deforum_data",
|
|
"type": "deforum_data",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "deforum_data",
|
|
"type": "deforum_data",
|
|
"links": [
|
|
53
|
|
],
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DeforumBaseParamsNode"
|
|
},
|
|
"widgets_values": [
|
|
1024,
|
|
1024,
|
|
"euler",
|
|
"normal",
|
|
25,
|
|
7,
|
|
1,
|
|
"Deforum_{timestring}",
|
|
"fixed",
|
|
1,
|
|
"output/deforum",
|
|
0.4,
|
|
true,
|
|
false,
|
|
false,
|
|
true,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 26,
|
|
"type": "workflow/Deforum Sampler",
|
|
"pos": [
|
|
839,
|
|
540
|
|
],
|
|
"size": {
|
|
"0": 443.4000244140625,
|
|
"1": 418
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 51
|
|
},
|
|
{
|
|
"name": "CLIPTextEncode clip",
|
|
"type": "CLIP",
|
|
"link": 52
|
|
},
|
|
{
|
|
"name": "deforum_data",
|
|
"type": "deforum_data",
|
|
"link": 53
|
|
},
|
|
{
|
|
"name": "init_latent",
|
|
"type": "LATENT",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 54
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 55
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "positive_prompt",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "negative_prompt",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
56
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "workflow/Deforum Sampler"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
"",
|
|
"stable_diffusion",
|
|
785978144431937,
|
|
"randomize",
|
|
0,
|
|
0.8,
|
|
0.1,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
51,
|
|
1,
|
|
1,
|
|
26,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
52,
|
|
1,
|
|
1,
|
|
26,
|
|
1,
|
|
"CLIP"
|
|
],
|
|
[
|
|
53,
|
|
15,
|
|
0,
|
|
26,
|
|
2,
|
|
"deforum_data"
|
|
],
|
|
[
|
|
54,
|
|
1,
|
|
0,
|
|
26,
|
|
4,
|
|
"MODEL"
|
|
],
|
|
[
|
|
55,
|
|
1,
|
|
2,
|
|
26,
|
|
5,
|
|
"VAE"
|
|
],
|
|
[
|
|
56,
|
|
26,
|
|
2,
|
|
7,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"groupNodes": {
|
|
"Deforum Sampler": {
|
|
"nodes": [
|
|
{
|
|
"type": "DeforumGetCachedLatentNode",
|
|
"pos": [
|
|
926,
|
|
1437
|
|
],
|
|
"size": {
|
|
"0": 239.2784423828125,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DeforumGetCachedLatentNode"
|
|
},
|
|
"index": 0
|
|
},
|
|
{
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
875,
|
|
558
|
|
],
|
|
"size": {
|
|
"0": 400,
|
|
"1": 200
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
],
|
|
"index": 1
|
|
},
|
|
{
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
865,
|
|
818
|
|
],
|
|
"size": {
|
|
"0": 400,
|
|
"1": 200
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
],
|
|
"index": 2
|
|
},
|
|
{
|
|
"type": "DeforumIteratorNode",
|
|
"pos": [
|
|
848,
|
|
1073
|
|
],
|
|
"size": {
|
|
"0": 393,
|
|
"1": 286
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "deforum_data",
|
|
"type": "deforum_data",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "latent",
|
|
"type": "LATENT",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "deforum_frame_data",
|
|
"type": "DEFORUM_FRAME_DATA",
|
|
"links": [],
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "latent",
|
|
"type": "LATENT",
|
|
"links": [],
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "positive_prompt",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "negative_prompt",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DeforumIteratorNode"
|
|
},
|
|
"widgets_values": [
|
|
"stable_diffusion",
|
|
923224016066246,
|
|
"randomize",
|
|
0,
|
|
0.8,
|
|
0.1,
|
|
false,
|
|
false
|
|
],
|
|
"index": 3
|
|
},
|
|
{
|
|
"type": "DeforumKSampler",
|
|
"pos": [
|
|
903,
|
|
1724
|
|
],
|
|
"size": {
|
|
"0": 317.4000244140625,
|
|
"1": 106
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "latent",
|
|
"type": "LATENT",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "deforum_frame_data",
|
|
"type": "DEFORUM_FRAME_DATA",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DeforumKSampler"
|
|
},
|
|
"index": 4
|
|
},
|
|
{
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
949,
|
|
1613
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 46
|
|
},
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAEDecode"
|
|
},
|
|
"index": 5
|
|
},
|
|
{
|
|
"type": "DeforumCacheLatentNode",
|
|
"pos": [
|
|
935,
|
|
1521
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "latent",
|
|
"type": "LATENT",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DeforumCacheLatentNode"
|
|
},
|
|
"index": 6
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
null,
|
|
1,
|
|
1,
|
|
0,
|
|
1,
|
|
"CLIP"
|
|
],
|
|
[
|
|
null,
|
|
1,
|
|
2,
|
|
0,
|
|
1,
|
|
"CLIP"
|
|
],
|
|
[
|
|
null,
|
|
0,
|
|
3,
|
|
0,
|
|
15,
|
|
"deforum_data"
|
|
],
|
|
[
|
|
0,
|
|
0,
|
|
3,
|
|
1,
|
|
17,
|
|
"LATENT"
|
|
],
|
|
[
|
|
null,
|
|
0,
|
|
4,
|
|
0,
|
|
1,
|
|
"MODEL"
|
|
],
|
|
[
|
|
3,
|
|
1,
|
|
4,
|
|
1,
|
|
24,
|
|
"LATENT"
|
|
],
|
|
[
|
|
1,
|
|
0,
|
|
4,
|
|
2,
|
|
18,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
2,
|
|
0,
|
|
4,
|
|
3,
|
|
19,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
3,
|
|
0,
|
|
4,
|
|
4,
|
|
24,
|
|
"DEFORUM_FRAME_DATA"
|
|
],
|
|
[
|
|
4,
|
|
0,
|
|
5,
|
|
0,
|
|
21,
|
|
"LATENT"
|
|
],
|
|
[
|
|
null,
|
|
2,
|
|
5,
|
|
1,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
4,
|
|
0,
|
|
6,
|
|
0,
|
|
21,
|
|
"LATENT"
|
|
]
|
|
],
|
|
"external": [
|
|
[
|
|
5,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |