ComfyUI-CogVideoXWrapper/examples/cogvideox_Fun_I2V_02.json

691 lines
12 KiB
JSON

{
"last_node_id": 51,
"last_link_id": 123,
"nodes": [
{
"id": 48,
"type": "CogVideoSampler",
"pos": {
"0": 1200,
"1": 124
},
"size": [
330,
574
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "COGVIDEOMODEL",
"link": 114
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 116
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 117
},
{
"name": "samples",
"type": "LATENT",
"link": null,
"shape": 7
},
{
"name": "image_cond_latents",
"type": "LATENT",
"link": 120,
"shape": 7
},
{
"name": "context_options",
"type": "COGCONTEXT",
"link": null,
"shape": 7
},
{
"name": "controlnet",
"type": "COGVIDECONTROLNET",
"link": null,
"shape": 7
},
{
"name": "tora_trajectory",
"type": "TORAFEATURES",
"link": null,
"shape": 7
},
{
"name": "fastercache",
"type": "FASTERCACHEARGS",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": [
123
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CogVideoSampler"
},
"widgets_values": [
49,
25,
6,
458091243358272,
"randomize",
"CogVideoXDDIM",
1
]
},
{
"id": 30,
"type": "CogVideoTextEncode",
"pos": {
"0": 490,
"1": 146
},
"size": {
"0": 471.90142822265625,
"1": 168.08047485351562
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 54
}
],
"outputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"links": [
116
],
"slot_index": 0,
"shape": 3
},
{
"name": "clip",
"type": "CLIP",
"links": [
110
],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "CogVideoTextEncode"
},
"widgets_values": [
"fireworks display over night city. The video is of high quality, and the view is very clear. High quality, masterpiece, best quality, highres, ultra-detailed, fantastic.",
1,
false
]
},
{
"id": 31,
"type": "CogVideoTextEncode",
"pos": {
"0": 497,
"1": 365
},
"size": {
"0": 463.01251220703125,
"1": 144
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 110
}
],
"outputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"links": [
117
],
"slot_index": 0,
"shape": 3
},
{
"name": "clip",
"type": "CLIP",
"links": null
}
],
"properties": {
"Node name for S&R": "CogVideoTextEncode"
},
"widgets_values": [
"The video is not of a high quality, it has a low resolution. Watermark present in each frame. Strange motion trajectory. ",
1,
true
]
},
{
"id": 20,
"type": "CLIPLoader",
"pos": {
"0": -7,
"1": -37
},
"size": {
"0": 451.30548095703125,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
54
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"t5\\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors",
"sd3"
]
},
{
"id": 50,
"type": "CogVideoImageEncodeFunInP",
"pos": {
"0": 865,
"1": 567
},
"size": [
253.60000610351562,
146
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "VAE",
"link": 119
},
{
"name": "start_image",
"type": "IMAGE",
"link": 118
},
{
"name": "end_image",
"type": "IMAGE",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "image_cond_latents",
"type": "LATENT",
"links": [
120
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CogVideoImageEncodeFunInP"
},
"widgets_values": [
49,
true,
0
]
},
{
"id": 37,
"type": "ImageResizeKJ",
"pos": {
"0": 499,
"1": 587
},
"size": {
"0": 315,
"1": 266
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 71
},
{
"name": "get_image_size",
"type": "IMAGE",
"link": null,
"shape": 7
},
{
"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": [
118
],
"slot_index": 0,
"shape": 3
},
{
"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": [
720,
480,
"lanczos",
false,
2,
0,
0,
"disabled"
]
},
{
"id": 36,
"type": "LoadImage",
"pos": {
"0": 43,
"1": 587
},
"size": [
405.2986131072541,
477.48971409949377
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
71
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"6e1a7befce6daa63fc01cb66c1a22ed0.jpg",
"image"
]
},
{
"id": 51,
"type": "CogVideoDecode",
"pos": {
"0": 1219,
"1": -134
},
"size": {
"0": 315,
"1": 198
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "VAE",
"link": 122
},
{
"name": "samples",
"type": "LATENT",
"link": 123
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
121
]
}
],
"properties": {
"Node name for S&R": "CogVideoDecode"
},
"widgets_values": [
true,
240,
360,
0.2,
0.2,
true
]
},
{
"id": 44,
"type": "VHS_VideoCombine",
"pos": {
"0": 1602,
"1": -131
},
"size": [
767.7372279260157,
822.491455078125
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 121
},
{
"name": "audio",
"type": "AUDIO",
"link": null,
"shape": 7
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "vae",
"type": "VAE",
"link": null,
"shape": 7
}
],
"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": "CogVideoX_Fun",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "CogVideoX_Fun_00002.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 8
},
"muted": false
}
}
},
{
"id": 49,
"type": "DownloadAndLoadCogVideoModel",
"pos": {
"0": 491,
"1": -167
},
"size": {
"0": 362.1656799316406,
"1": 218
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "block_edit",
"type": "TRANSFORMERBLOCKS",
"link": null,
"shape": 7
},
{
"name": "lora",
"type": "COGLORA",
"link": null,
"shape": 7
},
{
"name": "compile_args",
"type": "COMPILEARGS",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "model",
"type": "COGVIDEOMODEL",
"links": [
114
]
},
{
"name": "vae",
"type": "VAE",
"links": [
119,
122
],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadCogVideoModel"
},
"widgets_values": [
"alibaba-pai/CogVideoX-Fun-V1.1-5b-InP",
"bf16",
"disabled",
false,
"sdpa",
"main_device"
]
}
],
"links": [
[
54,
20,
0,
30,
0,
"CLIP"
],
[
71,
36,
0,
37,
0,
"IMAGE"
],
[
110,
30,
1,
31,
0,
"CLIP"
],
[
114,
49,
0,
48,
0,
"COGVIDEOMODEL"
],
[
116,
30,
0,
48,
1,
"CONDITIONING"
],
[
117,
31,
0,
48,
2,
"CONDITIONING"
],
[
118,
37,
0,
50,
1,
"IMAGE"
],
[
119,
49,
1,
50,
0,
"VAE"
],
[
120,
50,
0,
48,
4,
"LATENT"
],
[
121,
51,
0,
44,
0,
"IMAGE"
],
[
122,
49,
1,
51,
0,
"VAE"
],
[
123,
48,
0,
51,
1,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.693433494944278,
"offset": [
416.0091223165226,
378.00843746369645
]
}
},
"version": 0.4
}