Files
kijai-ComfyUI-DynamiCrafter…/examples/dynamicrafter_i2v_example_01.json
T

598 lines
10 KiB
JSON

{
"last_node_id": 60,
"last_link_id": 148,
"nodes": [
{
"id": 6,
"type": "GetImageSizeAndCount",
"pos": [
1420,
269
],
"size": {
"0": 210,
"1": 86
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 145
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
143
],
"shape": 3,
"slot_index": 0
},
{
"name": "896 width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "512 height",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "1 count",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GetImageSizeAndCount"
}
},
{
"id": 5,
"type": "ImageResizeKJ",
"pos": [
861,
197
],
"size": {
"0": 315,
"1": 242
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 2
},
{
"name": "get_image_size",
"type": "IMAGE",
"link": null
},
{
"name": "width_input",
"type": "INT",
"link": null,
"widget": {
"name": "width_input"
}
},
{
"name": "height_input",
"type": "INT",
"link": null,
"widget": {
"name": "height_input"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
145
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResizeKJ"
},
"widgets_values": [
1024,
512,
"lanczos",
true,
64,
0,
0
]
},
{
"id": 58,
"type": "DynamiCrafterI2V",
"pos": [
1759,
160
],
"size": {
"0": 315,
"1": 418
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "DCMODEL",
"link": 138
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 146
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 140
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 141
},
{
"name": "image",
"type": "IMAGE",
"link": 143
},
{
"name": "image2",
"type": "IMAGE",
"link": null
},
{
"name": "mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
142
],
"shape": 3,
"slot_index": 0
},
{
"name": "last_image",
"type": "IMAGE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DynamiCrafterI2V"
},
"widgets_values": [
20,
7,
1,
16,
619731667089947,
"fixed",
10,
true,
"auto",
16,
4
]
},
{
"id": 50,
"type": "CLIPTextEncode",
"pos": [
1206,
777
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 148
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
141
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 1,
"type": "LoadImage",
"pos": [
490,
200
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"40.png",
"image"
]
},
{
"id": 60,
"type": "DownloadAndLoadCLIPModel",
"pos": [
728,
647
],
"size": [
371.0226473136131,
64.01405022360109
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "clip",
"type": "CLIP",
"links": [
147,
148
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadCLIPModel"
},
"widgets_values": [
"stable-diffusion-2-1-clip-fp16.safetensors"
]
},
{
"id": 49,
"type": "CLIPTextEncode",
"pos": [
1204,
522
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 147,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
140
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"branches in wind"
]
},
{
"id": 59,
"type": "DownloadAndLoadCLIPVisionModel",
"pos": [
1207,
52
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"links": [
146
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadCLIPVisionModel"
},
"widgets_values": [
"CLIP-ViT-H-fp16.safetensors"
]
},
{
"id": 52,
"type": "DownloadAndLoadDynamiCrafterModel",
"pos": [
1209,
-109
],
"size": {
"0": 389.78204345703125,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "DynCraft_model",
"type": "DCMODEL",
"links": [
138
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadDynamiCrafterModel"
},
"widgets_values": [
"dynamicrafter_1024_fp16_pruned.safetensors",
"auto",
true
]
},
{
"id": 29,
"type": "VHS_VideoCombine",
"pos": [
2099,
-128
],
"size": [
1270,
1018.2857142857143
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 142
},
{
"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": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00005.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4"
}
}
}
}
],
"links": [
[
2,
1,
0,
5,
0,
"IMAGE"
],
[
138,
52,
0,
58,
0,
"DCMODEL"
],
[
140,
49,
0,
58,
2,
"CONDITIONING"
],
[
141,
50,
0,
58,
3,
"CONDITIONING"
],
[
142,
58,
0,
29,
0,
"IMAGE"
],
[
143,
6,
0,
58,
4,
"IMAGE"
],
[
145,
5,
0,
6,
0,
"IMAGE"
],
[
146,
59,
0,
58,
1,
"CLIP_VISION"
],
[
147,
60,
0,
49,
0,
"CLIP"
],
[
148,
60,
0,
50,
0,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650712,
"offset": [
-264.2064939933011,
412.92671373513866
]
}
},
"version": 0.4
}