mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2026-06-02 13:20:08 +08:00
update workflows
This commit is contained in:
parent
668ba792db
commit
5fde34468e
@ -475,3 +475,50 @@ def unmerge_lora(pipeline, lora_path, multiplier=1, device="cpu", dtype=torch.fl
|
|||||||
curr_layer.weight.data -= multiplier * alpha * torch.mm(weight_up, weight_down)
|
curr_layer.weight.data -= multiplier * alpha * torch.mm(weight_up, weight_down)
|
||||||
|
|
||||||
return pipeline
|
return pipeline
|
||||||
|
|
||||||
|
def load_lora_into_transformer(state_dict, transformer, adapter_name=None):
|
||||||
|
from peft import LoraConfig, inject_adapter_in_model, set_peft_model_state_dict
|
||||||
|
from diffusers.utils.peft_utils import get_peft_kwargs, get_adapter_name
|
||||||
|
from diffusers.utils.import_utils import is_peft_version
|
||||||
|
from diffusers.utils.state_dict_utils import convert_unet_state_dict_to_peft
|
||||||
|
keys = list(state_dict.keys())
|
||||||
|
transformer_keys = [k for k in keys if k.startswith("transformer")]
|
||||||
|
state_dict = {
|
||||||
|
k.replace(f"transformer.", ""): v for k, v in state_dict.items() if k in transformer_keys
|
||||||
|
}
|
||||||
|
if len(state_dict.keys()) > 0:
|
||||||
|
# check with first key if is not in peft format
|
||||||
|
first_key = next(iter(state_dict.keys()))
|
||||||
|
if "lora_A" not in first_key:
|
||||||
|
state_dict = convert_unet_state_dict_to_peft(state_dict)
|
||||||
|
if adapter_name in getattr(transformer, "peft_config", {}):
|
||||||
|
raise ValueError(
|
||||||
|
f"Adapter name {adapter_name} already in use in the transformer - please select a new adapter name."
|
||||||
|
)
|
||||||
|
rank = {}
|
||||||
|
for key, val in state_dict.items():
|
||||||
|
if "lora_B" in key:
|
||||||
|
rank[key] = val.shape[1]
|
||||||
|
lora_config_kwargs = get_peft_kwargs(rank, network_alpha_dict=None, peft_state_dict=state_dict)
|
||||||
|
if "use_dora" in lora_config_kwargs:
|
||||||
|
if lora_config_kwargs["use_dora"] and is_peft_version("<", "0.9.0"):
|
||||||
|
raise ValueError(
|
||||||
|
"You need `peft` 0.9.0 at least to use DoRA-enabled LoRAs. Please upgrade your installation of `peft`."
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
lora_config_kwargs.pop("use_dora")
|
||||||
|
lora_config = LoraConfig(**lora_config_kwargs)
|
||||||
|
# adapter_name
|
||||||
|
if adapter_name is None:
|
||||||
|
adapter_name = get_adapter_name(transformer)
|
||||||
|
|
||||||
|
inject_adapter_in_model(lora_config, transformer, adapter_name=adapter_name)
|
||||||
|
incompatible_keys = set_peft_model_state_dict(transformer, state_dict, adapter_name)
|
||||||
|
if incompatible_keys is not None:
|
||||||
|
# check only for unexpected keys
|
||||||
|
unexpected_keys = getattr(incompatible_keys, "unexpected_keys", None)
|
||||||
|
if unexpected_keys:
|
||||||
|
print(
|
||||||
|
f"Loading adapter weights from state_dict led to unexpected keys not found in the model: "
|
||||||
|
f" {unexpected_keys}. "
|
||||||
|
)
|
||||||
@ -1,28 +1,75 @@
|
|||||||
{
|
{
|
||||||
"last_node_id": 33,
|
"last_node_id": 34,
|
||||||
"last_link_id": 60,
|
"last_link_id": 61,
|
||||||
"nodes": [
|
"nodes": [
|
||||||
|
{
|
||||||
|
"id": 33,
|
||||||
|
"type": "GetImageSizeAndCount",
|
||||||
|
"pos": {
|
||||||
|
"0": 1176,
|
||||||
|
"1": 122
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 210,
|
||||||
|
"1": 86
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 7,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "image",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"link": 59
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "image",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"links": [
|
||||||
|
60
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "720 width",
|
||||||
|
"type": "INT",
|
||||||
|
"links": null,
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "480 height",
|
||||||
|
"type": "INT",
|
||||||
|
"links": null,
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "104 count",
|
||||||
|
"type": "INT",
|
||||||
|
"links": null,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "GetImageSizeAndCount"
|
||||||
|
},
|
||||||
|
"widgets_values": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": 30,
|
"id": 30,
|
||||||
"type": "CogVideoTextEncode",
|
"type": "CogVideoTextEncode",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 500,
|
"0": 500,
|
||||||
"1": 308,
|
"1": 308
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
|
||||||
"size": {
|
|
||||||
"0": 474.8450012207031,
|
|
||||||
"1": 164.7423553466797
|
|
||||||
},
|
},
|
||||||
|
"size": [
|
||||||
|
474.8035864085422,
|
||||||
|
211.10369504535595
|
||||||
|
],
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 2,
|
"order": 3,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
@ -46,23 +93,58 @@
|
|||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
"A panda, dressed in a small, red jacket and a tiny hat, sits on a wooden stool in a serene bamboo forest. The panda's fluffy paws strum a miniature\nacoustic guitar, producing soft, melodic tunes. Nearby, a few other pandas gather, watching curiously and some clapping in rhythm. Sunlight filters\nthrough the tall bamboo, casting a gentle glow on the scene. The panda's face is expressive, showing concentration and joy as it plays. The\nbackground includes a small, flowing stream and vibrant green foliage, enhancing the peaceful and magical atmosphere of this unique musical\nperformance."
|
"A panda, dressed in a small, red jacket and a tiny hat, sits on a wooden stool in a serene bamboo forest. The panda's fluffy paws strum a miniature\nacoustic guitar, producing soft, melodic tunes. Nearby, a few other pandas gather, watching curiously and some clapping in rhythm. Sunlight filters\nthrough the tall bamboo, casting a gentle glow on the scene. The panda's face is expressive, showing concentration and joy as it plays. The\nbackground includes a small, flowing stream and vibrant green foliage, enhancing the peaceful and magical atmosphere of this unique musical\nperformance.",
|
||||||
|
1,
|
||||||
|
true
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 31,
|
||||||
|
"type": "CogVideoTextEncode",
|
||||||
|
"pos": {
|
||||||
|
"0": 508,
|
||||||
|
"1": 576
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 463.01251220703125,
|
||||||
|
"1": 124
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 4,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "clip",
|
||||||
|
"type": "CLIP",
|
||||||
|
"link": 56
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "conditioning",
|
||||||
|
"type": "CONDITIONING",
|
||||||
|
"links": [
|
||||||
|
57
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
"",
|
||||||
|
1,
|
||||||
|
true
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 20,
|
"id": 20,
|
||||||
"type": "CLIPLoader",
|
"type": "CLIPLoader",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": -59,
|
"0": -37,
|
||||||
"1": 397,
|
"1": 443
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 451.30548095703125,
|
"0": 451.30548095703125,
|
||||||
@ -93,50 +175,105 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 31,
|
"id": 11,
|
||||||
"type": "CogVideoTextEncode",
|
"type": "CogVideoDecode",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 503,
|
"0": 1045,
|
||||||
"1": 521,
|
"1": 776
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 463.01251220703125,
|
"0": 295.70111083984375,
|
||||||
"1": 98.10446166992188
|
"1": 198
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 3,
|
"order": 6,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
"name": "clip",
|
"name": "pipeline",
|
||||||
"type": "CLIP",
|
"type": "COGVIDEOPIPE",
|
||||||
"link": 56
|
"link": 37
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "samples",
|
||||||
|
"type": "LATENT",
|
||||||
|
"link": 38
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
"name": "conditioning",
|
"name": "images",
|
||||||
"type": "CONDITIONING",
|
"type": "IMAGE",
|
||||||
"links": [
|
"links": [
|
||||||
57
|
59
|
||||||
],
|
],
|
||||||
"slot_index": 0,
|
"slot_index": 0,
|
||||||
"shape": 3
|
"shape": 3
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoDecode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
""
|
true,
|
||||||
|
96,
|
||||||
|
96,
|
||||||
|
0.083,
|
||||||
|
0.083,
|
||||||
|
true
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"type": "DownloadAndLoadCogVideoModel",
|
||||||
|
"pos": {
|
||||||
|
"0": 652,
|
||||||
|
"1": 43
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 315,
|
||||||
|
"1": 194
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 1,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pab_config",
|
||||||
|
"type": "PAB_CONFIG",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "block_edit",
|
||||||
|
"type": "TRANSFORMERBLOCKS",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lora",
|
||||||
|
"type": "COGLORA",
|
||||||
|
"link": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "cogvideo_pipe",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"links": [
|
||||||
|
36
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "DownloadAndLoadCogVideoModel"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
"THUDM/CogVideoX-2b",
|
||||||
|
"fp16",
|
||||||
|
"enabled",
|
||||||
|
"disabled",
|
||||||
|
false
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -144,22 +281,14 @@
|
|||||||
"type": "VHS_VideoCombine",
|
"type": "VHS_VideoCombine",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 1439,
|
"0": 1439,
|
||||||
"1": 122,
|
"1": 122
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": [
|
"size": [
|
||||||
563.3333740234375,
|
563.3333740234375,
|
||||||
688.2124814882384
|
686.2222493489583
|
||||||
],
|
],
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 7,
|
"order": 8,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
@ -209,7 +338,7 @@
|
|||||||
"hidden": false,
|
"hidden": false,
|
||||||
"paused": false,
|
"paused": false,
|
||||||
"params": {
|
"params": {
|
||||||
"filename": "CogVideo2B_long_00001.mp4",
|
"filename": "CogVideo2B_long_00005.mp4",
|
||||||
"subfolder": "",
|
"subfolder": "",
|
||||||
"type": "temp",
|
"type": "temp",
|
||||||
"format": "video/h264-mp4",
|
"format": "video/h264-mp4",
|
||||||
@ -219,48 +348,39 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 34,
|
||||||
"type": "DownloadAndLoadCogVideoModel",
|
"type": "CogVideoContextOptions",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 653,
|
"0": 1053,
|
||||||
"1": 90,
|
"1": -84
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 315,
|
"0": 315,
|
||||||
"1": 154
|
"1": 154
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 1,
|
"order": 2,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [],
|
"inputs": [],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
"name": "cogvideo_pipe",
|
"name": "context_options",
|
||||||
"type": "COGVIDEOPIPE",
|
"type": "COGCONTEXT",
|
||||||
"links": [
|
"links": [
|
||||||
36
|
61
|
||||||
],
|
],
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
"shape": 3
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Node name for S&R": "DownloadAndLoadCogVideoModel"
|
"Node name for S&R": "CogVideoContextOptions"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
"THUDM/CogVideoX-2b",
|
"uniform_standard",
|
||||||
"fp16",
|
52,
|
||||||
"disabled",
|
4,
|
||||||
"disabled",
|
8,
|
||||||
false
|
true
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -268,22 +388,14 @@
|
|||||||
"type": "CogVideoSampler",
|
"type": "CogVideoSampler",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 1041,
|
"0": 1041,
|
||||||
"1": 342,
|
"1": 342
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 315,
|
"0": 315,
|
||||||
"1": 382
|
"1": 382
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 4,
|
"order": 5,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
@ -306,6 +418,16 @@
|
|||||||
"name": "samples",
|
"name": "samples",
|
||||||
"type": "LATENT",
|
"type": "LATENT",
|
||||||
"link": null
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "image_cond_latents",
|
||||||
|
"type": "LATENT",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "context_options",
|
||||||
|
"type": "COGCONTEXT",
|
||||||
|
"link": 61
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
@ -332,135 +454,14 @@
|
|||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
480,
|
480,
|
||||||
720,
|
720,
|
||||||
96,
|
104,
|
||||||
25,
|
32,
|
||||||
6,
|
6,
|
||||||
6,
|
42,
|
||||||
806286757407563,
|
"fixed",
|
||||||
"DDIM_tiled",
|
"CogVideoXDDIM",
|
||||||
48,
|
|
||||||
8,
|
|
||||||
1
|
1
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 11,
|
|
||||||
"type": "CogVideoDecode",
|
|
||||||
"pos": {
|
|
||||||
"0": 1049,
|
|
||||||
"1": 772,
|
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
|
||||||
"size": [
|
|
||||||
295.70112532900725,
|
|
||||||
198
|
|
||||||
],
|
|
||||||
"flags": {},
|
|
||||||
"order": 5,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "pipeline",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"link": 37
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "samples",
|
|
||||||
"type": "LATENT",
|
|
||||||
"link": 38
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "images",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"links": [
|
|
||||||
59
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "CogVideoDecode"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
true,
|
|
||||||
96,
|
|
||||||
96,
|
|
||||||
0.083,
|
|
||||||
0.083,
|
|
||||||
true
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 33,
|
|
||||||
"type": "GetImageSizeAndCount",
|
|
||||||
"pos": {
|
|
||||||
"0": 1176,
|
|
||||||
"1": 122,
|
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
|
||||||
"size": {
|
|
||||||
"0": 210,
|
|
||||||
"1": 86
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 6,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "image",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"link": 59
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "image",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"links": [
|
|
||||||
60
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "728 width",
|
|
||||||
"type": "INT",
|
|
||||||
"links": null,
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "485 height",
|
|
||||||
"type": "INT",
|
|
||||||
"links": null,
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "96 count",
|
|
||||||
"type": "INT",
|
|
||||||
"links": null,
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "GetImageSizeAndCount"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [
|
"links": [
|
||||||
@ -535,16 +536,24 @@
|
|||||||
32,
|
32,
|
||||||
0,
|
0,
|
||||||
"IMAGE"
|
"IMAGE"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
61,
|
||||||
|
34,
|
||||||
|
0,
|
||||||
|
22,
|
||||||
|
5,
|
||||||
|
"COGCONTEXT"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"groups": [],
|
"groups": [],
|
||||||
"config": {},
|
"config": {},
|
||||||
"extra": {
|
"extra": {
|
||||||
"ds": {
|
"ds": {
|
||||||
"scale": 0.7513148009015777,
|
"scale": 0.8390545288825444,
|
||||||
"offset": [
|
"offset": [
|
||||||
253.3863163213836,
|
-14.198557467892236,
|
||||||
255.76127216744268
|
144.90015432747748
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -7,15 +7,7 @@
|
|||||||
"type": "CLIPLoader",
|
"type": "CLIPLoader",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": -29,
|
"0": -29,
|
||||||
"1": 407,
|
"1": 407
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 451.30548095703125,
|
"0": 451.30548095703125,
|
||||||
@ -50,19 +42,11 @@
|
|||||||
"type": "CogVideoTextEncode",
|
"type": "CogVideoTextEncode",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 503,
|
"0": 503,
|
||||||
"1": 521,
|
"1": 521
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 463.01251220703125,
|
"0": 463.01251220703125,
|
||||||
"1": 98.10446166992188
|
"1": 124
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 4,
|
"order": 4,
|
||||||
@ -89,7 +73,9 @@
|
|||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
""
|
"",
|
||||||
|
1,
|
||||||
|
true
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -97,15 +83,7 @@
|
|||||||
"type": "ImageResizeKJ",
|
"type": "ImageResizeKJ",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 206,
|
"0": 206,
|
||||||
"1": -69,
|
"1": -69
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 315,
|
"0": 315,
|
||||||
@ -184,15 +162,7 @@
|
|||||||
"type": "CogVideoTextEncode",
|
"type": "CogVideoTextEncode",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 500,
|
"0": 500,
|
||||||
"1": 308,
|
"1": 308
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 474.8450012207031,
|
"0": 474.8450012207031,
|
||||||
@ -223,7 +193,9 @@
|
|||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
"A high-definition nature video showcasing a brown bear as it gracefully runs down a crystal-clear stream, surrounded by the serene ambiance of a dense, verdant forest. The sunlight filters through the canopy of tall trees, casting dappled light on the forest floor, while the gentle sound of flowing water and rustling leaves creates a peaceful atmosphere. The brown bear's fur glistens in the sunlight, highlighting its striking red and white markings as it navigates the stream with agility and playfulness."
|
"A high-definition nature video showcasing a brown bear as it gracefully runs down a crystal-clear stream, surrounded by the serene ambiance of a dense, verdant forest. The sunlight filters through the canopy of tall trees, casting dappled light on the forest floor, while the gentle sound of flowing water and rustling leaves creates a peaceful atmosphere. The brown bear's fur glistens in the sunlight, highlighting its striking red and white markings as it navigates the stream with agility and playfulness.",
|
||||||
|
1,
|
||||||
|
true
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -231,15 +203,7 @@
|
|||||||
"type": "GetImageSizeAndCount",
|
"type": "GetImageSizeAndCount",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 603,
|
"0": 603,
|
||||||
"1": -65,
|
"1": -65
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 202.2143096923828,
|
"0": 202.2143096923828,
|
||||||
@ -289,8 +253,7 @@
|
|||||||
"name": "33 count",
|
"name": "33 count",
|
||||||
"type": "INT",
|
"type": "INT",
|
||||||
"links": [
|
"links": [
|
||||||
178,
|
178
|
||||||
181
|
|
||||||
],
|
],
|
||||||
"slot_index": 3,
|
"slot_index": 3,
|
||||||
"shape": 3
|
"shape": 3
|
||||||
@ -298,26 +261,19 @@
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Node name for S&R": "GetImageSizeAndCount"
|
"Node name for S&R": "GetImageSizeAndCount"
|
||||||
}
|
},
|
||||||
|
"widgets_values": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 45,
|
"id": 45,
|
||||||
"type": "VHS_LoadVideo",
|
"type": "VHS_LoadVideo",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": -93,
|
"0": -93,
|
||||||
"1": -153,
|
"1": -153
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": [
|
"size": [
|
||||||
235.1999969482422,
|
247.455078125,
|
||||||
359.5999984741211
|
365.7275390625
|
||||||
],
|
],
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 5,
|
"order": 5,
|
||||||
@ -404,15 +360,7 @@
|
|||||||
"type": "GetImageSizeAndCount",
|
"type": "GetImageSizeAndCount",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 214,
|
"0": 214,
|
||||||
"1": -234,
|
"1": -234
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 202.2143096923828,
|
"0": 202.2143096923828,
|
||||||
@ -463,22 +411,15 @@
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Node name for S&R": "GetImageSizeAndCount"
|
"Node name for S&R": "GetImageSizeAndCount"
|
||||||
}
|
},
|
||||||
|
"widgets_values": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 69,
|
"id": 69,
|
||||||
"type": "INTConstant",
|
"type": "INTConstant",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": -90,
|
"0": -90,
|
||||||
"1": -305,
|
"1": -305
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 210,
|
"0": 210,
|
||||||
@ -508,107 +449,37 @@
|
|||||||
"color": "#1b4669",
|
"color": "#1b4669",
|
||||||
"bgcolor": "#29699c"
|
"bgcolor": "#29699c"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": 47,
|
|
||||||
"type": "VHS_VideoCombine",
|
|
||||||
"pos": {
|
|
||||||
"0": 1560,
|
|
||||||
"1": -379,
|
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
|
||||||
"size": [
|
|
||||||
1110,
|
|
||||||
310
|
|
||||||
],
|
|
||||||
"flags": {},
|
|
||||||
"order": 14,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "images",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"link": 132
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "audio",
|
|
||||||
"type": "VHS_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": 0,
|
|
||||||
"filename_prefix": "CogVideoX_vid2vid",
|
|
||||||
"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_00001.mp4",
|
|
||||||
"subfolder": "",
|
|
||||||
"type": "temp",
|
|
||||||
"format": "video/h264-mp4",
|
|
||||||
"frame_rate": 8
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"type": "DownloadAndLoadCogVideoModel",
|
"type": "DownloadAndLoadCogVideoModel",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 606,
|
"0": 606,
|
||||||
"1": 85,
|
"1": 85
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 315,
|
"0": 315,
|
||||||
"1": 154
|
"1": 194
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 2,
|
"order": 2,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [],
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pab_config",
|
||||||
|
"type": "PAB_CONFIG",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "block_edit",
|
||||||
|
"type": "TRANSFORMERBLOCKS",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lora",
|
||||||
|
"type": "COGLORA",
|
||||||
|
"link": null
|
||||||
|
}
|
||||||
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
"name": "cogvideo_pipe",
|
"name": "cogvideo_pipe",
|
||||||
@ -632,20 +503,215 @@
|
|||||||
false
|
false
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": 11,
|
||||||
|
"type": "CogVideoDecode",
|
||||||
|
"pos": {
|
||||||
|
"0": 1097,
|
||||||
|
"1": 681
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 301.1664123535156,
|
||||||
|
"1": 198
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 11,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pipeline",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"link": 166
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "samples",
|
||||||
|
"type": "LATENT",
|
||||||
|
"link": 167
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "images",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"links": [
|
||||||
|
118
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "CogVideoDecode"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
false,
|
||||||
|
96,
|
||||||
|
96,
|
||||||
|
0.083,
|
||||||
|
0.083,
|
||||||
|
true
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 37,
|
||||||
|
"type": "CogVideoImageEncode",
|
||||||
|
"pos": {
|
||||||
|
"0": 975,
|
||||||
|
"1": -73
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 210,
|
||||||
|
"1": 122
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 9,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pipeline",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"link": 83,
|
||||||
|
"slot_index": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "image",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"link": 129,
|
||||||
|
"slot_index": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mask",
|
||||||
|
"type": "MASK",
|
||||||
|
"link": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "samples",
|
||||||
|
"type": "LATENT",
|
||||||
|
"links": [
|
||||||
|
172
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "CogVideoImageEncode"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
8,
|
||||||
|
true
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 55,
|
||||||
|
"type": "GetImageSizeAndCount",
|
||||||
|
"pos": {
|
||||||
|
"0": 1195,
|
||||||
|
"1": 154
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 210,
|
||||||
|
"1": 86
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 12,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "image",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"link": 118,
|
||||||
|
"slot_index": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "image",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"links": [
|
||||||
|
170
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "720 width",
|
||||||
|
"type": "INT",
|
||||||
|
"links": null,
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "480 height",
|
||||||
|
"type": "INT",
|
||||||
|
"links": null,
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "33 count",
|
||||||
|
"type": "INT",
|
||||||
|
"links": [],
|
||||||
|
"slot_index": 3,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "GetImageSizeAndCount"
|
||||||
|
},
|
||||||
|
"widgets_values": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 58,
|
||||||
|
"type": "ImageConcanate",
|
||||||
|
"pos": {
|
||||||
|
"0": 1434,
|
||||||
|
"1": 289
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 315,
|
||||||
|
"1": 102
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 13,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "image1",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"link": 191
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "image2",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"link": 170
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "IMAGE",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"links": [
|
||||||
|
132
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "ImageConcanate"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
"right",
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": 64,
|
"id": 64,
|
||||||
"type": "CogVideoSampler",
|
"type": "CogVideoSampler",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 1090,
|
"0": 1090,
|
||||||
"1": 290,
|
"1": 290
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 312.9841613769531,
|
"0": 312.9841613769531,
|
||||||
@ -698,15 +764,6 @@
|
|||||||
"widget": {
|
"widget": {
|
||||||
"name": "num_frames"
|
"name": "num_frames"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "t_tile_length",
|
|
||||||
"type": "INT",
|
|
||||||
"link": 181,
|
|
||||||
"slot_index": 7,
|
|
||||||
"widget": {
|
|
||||||
"name": "t_tile_length"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
@ -738,245 +795,79 @@
|
|||||||
6,
|
6,
|
||||||
9,
|
9,
|
||||||
"fixed",
|
"fixed",
|
||||||
"DPM",
|
"CogVideoXDDIM",
|
||||||
"DDIM",
|
0.8
|
||||||
8,
|
|
||||||
0.85
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 11,
|
"id": 47,
|
||||||
"type": "CogVideoDecode",
|
"type": "VHS_VideoCombine",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 1097,
|
"0": 1788,
|
||||||
"1": 681,
|
"1": -364
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": [
|
"size": [
|
||||||
301.1664045038119,
|
1110,
|
||||||
198
|
687.3333333333333
|
||||||
],
|
],
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 11,
|
"order": 14,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
|
||||||
"name": "pipeline",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"link": 166
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "samples",
|
|
||||||
"type": "LATENT",
|
|
||||||
"link": 167
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
{
|
||||||
"name": "images",
|
"name": "images",
|
||||||
"type": "IMAGE",
|
"type": "IMAGE",
|
||||||
"links": [
|
"link": 132
|
||||||
118
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "CogVideoDecode"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
false,
|
|
||||||
96,
|
|
||||||
96,
|
|
||||||
0.083,
|
|
||||||
0.083,
|
|
||||||
true
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 37,
|
|
||||||
"type": "CogVideoImageEncode",
|
|
||||||
"pos": {
|
|
||||||
"0": 975,
|
|
||||||
"1": -73,
|
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
|
||||||
"size": {
|
|
||||||
"0": 210,
|
|
||||||
"1": 122
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 9,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "pipeline",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"link": 83,
|
|
||||||
"slot_index": 0
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "image",
|
"name": "audio",
|
||||||
"type": "IMAGE",
|
"type": "VHS_AUDIO",
|
||||||
"link": 129,
|
"link": null
|
||||||
"slot_index": 1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "mask",
|
"name": "meta_batch",
|
||||||
"type": "MASK",
|
"type": "VHS_BatchManager",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vae",
|
||||||
|
"type": "VAE",
|
||||||
"link": null
|
"link": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
"name": "samples",
|
"name": "Filenames",
|
||||||
"type": "LATENT",
|
"type": "VHS_FILENAMES",
|
||||||
"links": [
|
"links": null,
|
||||||
172
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
"shape": 3
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Node name for S&R": "CogVideoImageEncode"
|
"Node name for S&R": "VHS_VideoCombine"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": {
|
||||||
8,
|
"frame_rate": 8,
|
||||||
true
|
"loop_count": 0,
|
||||||
]
|
"filename_prefix": "CogVideoX_vid2vid",
|
||||||
},
|
"format": "video/h264-mp4",
|
||||||
{
|
"pix_fmt": "yuv420p",
|
||||||
"id": 55,
|
"crf": 19,
|
||||||
"type": "GetImageSizeAndCount",
|
"save_metadata": true,
|
||||||
"pos": {
|
"pingpong": false,
|
||||||
"0": 1195,
|
"save_output": false,
|
||||||
"1": 154,
|
"videopreview": {
|
||||||
"2": 0,
|
"hidden": false,
|
||||||
"3": 0,
|
"paused": false,
|
||||||
"4": 0,
|
"params": {
|
||||||
"5": 0,
|
"filename": "CogVideoX_vid2vid_00001.mp4",
|
||||||
"6": 0,
|
"subfolder": "",
|
||||||
"7": 0,
|
"type": "temp",
|
||||||
"8": 0,
|
"format": "video/h264-mp4",
|
||||||
"9": 0
|
"frame_rate": 8
|
||||||
},
|
}
|
||||||
"size": {
|
|
||||||
"0": 210,
|
|
||||||
"1": 86
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 12,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "image",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"link": 118,
|
|
||||||
"slot_index": 0
|
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "image",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"links": [
|
|
||||||
170
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "720 width",
|
|
||||||
"type": "INT",
|
|
||||||
"links": null,
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "480 height",
|
|
||||||
"type": "INT",
|
|
||||||
"links": null,
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "32 count",
|
|
||||||
"type": "INT",
|
|
||||||
"links": [],
|
|
||||||
"slot_index": 3,
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "GetImageSizeAndCount"
|
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 58,
|
|
||||||
"type": "ImageConcanate",
|
|
||||||
"pos": {
|
|
||||||
"0": 1434,
|
|
||||||
"1": 289,
|
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
|
||||||
"size": {
|
|
||||||
"0": 315,
|
|
||||||
"1": 102
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 13,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "image1",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"link": 191
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "image2",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"link": 170
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "IMAGE",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"links": [
|
|
||||||
132
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "ImageConcanate"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
"right",
|
|
||||||
false
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [
|
"links": [
|
||||||
@ -1140,14 +1031,6 @@
|
|||||||
0,
|
0,
|
||||||
"IMAGE"
|
"IMAGE"
|
||||||
],
|
],
|
||||||
[
|
|
||||||
181,
|
|
||||||
57,
|
|
||||||
3,
|
|
||||||
64,
|
|
||||||
7,
|
|
||||||
"INT"
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
191,
|
191,
|
||||||
57,
|
57,
|
||||||
@ -1161,10 +1044,10 @@
|
|||||||
"config": {},
|
"config": {},
|
||||||
"extra": {
|
"extra": {
|
||||||
"ds": {
|
"ds": {
|
||||||
"scale": 0.7513148009015777,
|
"scale": 0.6934334949442514,
|
||||||
"offset": [
|
"offset": [
|
||||||
280.8935954961883,
|
216.19566166079386,
|
||||||
403.945992992638
|
455.16205928476876
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -7,19 +7,11 @@
|
|||||||
"type": "CogVideoTextEncode",
|
"type": "CogVideoTextEncode",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 503,
|
"0": 503,
|
||||||
"1": 521,
|
"1": 521
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 463.01251220703125,
|
"0": 463.01251220703125,
|
||||||
"1": 98.10446166992188
|
"1": 124
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 3,
|
"order": 3,
|
||||||
@ -46,7 +38,9 @@
|
|||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
""
|
"",
|
||||||
|
1,
|
||||||
|
true
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -54,15 +48,7 @@
|
|||||||
"type": "CogVideoTextEncode",
|
"type": "CogVideoTextEncode",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 500,
|
"0": 500,
|
||||||
"1": 308,
|
"1": 308
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 471.90142822265625,
|
"0": 471.90142822265625,
|
||||||
@ -93,86 +79,9 @@
|
|||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
"A golden retriever, sporting sleek black sunglasses, with its lengthy fur flowing in the breeze, sprints playfully across a rooftop terrace, recently refreshed by a light rain. The scene unfolds from a distance, the dog's energetic bounds growing larger as it approaches the camera, its tail wagging with unrestrained joy, while droplets of water glisten on the concrete behind it. The overcast sky provides a dramatic backdrop, emphasizing the vibrant golden coat of the canine as it dashes towards the viewer.\n\n"
|
"A golden retriever, sporting sleek black sunglasses, with its lengthy fur flowing in the breeze, sprints playfully across a rooftop terrace, recently refreshed by a light rain. The scene unfolds from a distance, the dog's energetic bounds growing larger as it approaches the camera, its tail wagging with unrestrained joy, while droplets of water glisten on the concrete behind it. The overcast sky provides a dramatic backdrop, emphasizing the vibrant golden coat of the canine as it dashes towards the viewer.\n\n",
|
||||||
]
|
1,
|
||||||
},
|
true
|
||||||
{
|
|
||||||
"id": 34,
|
|
||||||
"type": "CogVideoSampler",
|
|
||||||
"pos": {
|
|
||||||
"0": 1041,
|
|
||||||
"1": 342,
|
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
|
||||||
"size": {
|
|
||||||
"0": 315.8404846191406,
|
|
||||||
"1": 358
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 4,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "pipeline",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"link": 60
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "positive",
|
|
||||||
"type": "CONDITIONING",
|
|
||||||
"link": 61
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "negative",
|
|
||||||
"type": "CONDITIONING",
|
|
||||||
"link": 62
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "samples",
|
|
||||||
"type": "LATENT",
|
|
||||||
"link": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "cogvideo_pipe",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"links": [
|
|
||||||
63
|
|
||||||
],
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "samples",
|
|
||||||
"type": "LATENT",
|
|
||||||
"links": [
|
|
||||||
64
|
|
||||||
],
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "CogVideoSampler"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
480,
|
|
||||||
720,
|
|
||||||
49,
|
|
||||||
50,
|
|
||||||
6,
|
|
||||||
806286757407563,
|
|
||||||
"fixed",
|
|
||||||
"DPM",
|
|
||||||
49,
|
|
||||||
8,
|
|
||||||
1
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -180,15 +89,7 @@
|
|||||||
"type": "VHS_VideoCombine",
|
"type": "VHS_VideoCombine",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 1441,
|
"0": 1441,
|
||||||
"1": 129,
|
"1": 129
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": [
|
"size": [
|
||||||
778.7022705078125,
|
778.7022705078125,
|
||||||
@ -259,15 +160,7 @@
|
|||||||
"type": "CLIPLoader",
|
"type": "CLIPLoader",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": -26,
|
"0": -26,
|
||||||
"1": 400,
|
"1": 400
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 451.30548095703125,
|
"0": 451.30548095703125,
|
||||||
@ -302,24 +195,32 @@
|
|||||||
"type": "DownloadAndLoadCogVideoModel",
|
"type": "DownloadAndLoadCogVideoModel",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 642,
|
"0": 642,
|
||||||
"1": 90,
|
"1": 90
|
||||||
"2": 0,
|
|
||||||
"3": 0,
|
|
||||||
"4": 0,
|
|
||||||
"5": 0,
|
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 315,
|
"0": 315,
|
||||||
"1": 154
|
"1": 194
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 1,
|
"order": 1,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [],
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pab_config",
|
||||||
|
"type": "PAB_CONFIG",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "block_edit",
|
||||||
|
"type": "TRANSFORMERBLOCKS",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lora",
|
||||||
|
"type": "COGLORA",
|
||||||
|
"link": null
|
||||||
|
}
|
||||||
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
"name": "cogvideo_pipe",
|
"name": "cogvideo_pipe",
|
||||||
@ -347,20 +248,12 @@
|
|||||||
"type": "CogVideoDecode",
|
"type": "CogVideoDecode",
|
||||||
"pos": {
|
"pos": {
|
||||||
"0": 1051,
|
"0": 1051,
|
||||||
"1": 748,
|
"1": 748
|
||||||
"2": 0,
|
},
|
||||||
"3": 0,
|
"size": {
|
||||||
"4": 0,
|
"0": 300.396484375,
|
||||||
"5": 0,
|
"1": 198
|
||||||
"6": 0,
|
|
||||||
"7": 0,
|
|
||||||
"8": 0,
|
|
||||||
"9": 0
|
|
||||||
},
|
},
|
||||||
"size": [
|
|
||||||
300.3964783563508,
|
|
||||||
198
|
|
||||||
],
|
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 5,
|
"order": 5,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
@ -398,6 +291,85 @@
|
|||||||
0.2,
|
0.2,
|
||||||
true
|
true
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 34,
|
||||||
|
"type": "CogVideoSampler",
|
||||||
|
"pos": {
|
||||||
|
"0": 1041,
|
||||||
|
"1": 342
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 315.8404846191406,
|
||||||
|
"1": 358
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 4,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pipeline",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"link": 60
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "positive",
|
||||||
|
"type": "CONDITIONING",
|
||||||
|
"link": 61
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "negative",
|
||||||
|
"type": "CONDITIONING",
|
||||||
|
"link": 62
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "samples",
|
||||||
|
"type": "LATENT",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "image_cond_latents",
|
||||||
|
"type": "LATENT",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "context_options",
|
||||||
|
"type": "COGCONTEXT",
|
||||||
|
"link": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "cogvideo_pipe",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"links": [
|
||||||
|
63
|
||||||
|
],
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "samples",
|
||||||
|
"type": "LATENT",
|
||||||
|
"links": [
|
||||||
|
64
|
||||||
|
],
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "CogVideoSampler"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
480,
|
||||||
|
720,
|
||||||
|
49,
|
||||||
|
50,
|
||||||
|
6,
|
||||||
|
806286757407563,
|
||||||
|
"fixed",
|
||||||
|
"DPM",
|
||||||
|
1
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [
|
"links": [
|
||||||
@ -470,10 +442,10 @@
|
|||||||
"config": {},
|
"config": {},
|
||||||
"extra": {
|
"extra": {
|
||||||
"ds": {
|
"ds": {
|
||||||
"scale": 0.8264462809917354,
|
"scale": 0.6934334949442514,
|
||||||
"offset": [
|
"offset": [
|
||||||
161.910286780368,
|
-24.154349208343916,
|
||||||
124.7586178095323
|
155.20539218330134
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"0": 463.01251220703125,
|
"0": 463.01251220703125,
|
||||||
"1": 98.10446166992188
|
"1": 124
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 4,
|
"order": 4,
|
||||||
@ -73,7 +73,9 @@
|
|||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
"The video is not of a high quality, it has a low resolution. Watermark present in each frame. Strange motion trajectory. "
|
"The video is not of a high quality, it has a low resolution. Watermark present in each frame. Strange motion trajectory. ",
|
||||||
|
1,
|
||||||
|
true
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -112,122 +114,9 @@
|
|||||||
"Node name for S&R": "CogVideoTextEncode"
|
"Node name for S&R": "CogVideoTextEncode"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
"a majestic stag is grazing in an enhanced forest, basking in the setting sun filtered by the trees"
|
"a majestic stag is grazing in an enhanced forest, basking in the setting sun filtered by the trees",
|
||||||
]
|
1,
|
||||||
},
|
true
|
||||||
{
|
|
||||||
"id": 1,
|
|
||||||
"type": "DownloadAndLoadCogVideoModel",
|
|
||||||
"pos": {
|
|
||||||
"0": 642,
|
|
||||||
"1": 90
|
|
||||||
},
|
|
||||||
"size": {
|
|
||||||
"0": 337.8885192871094,
|
|
||||||
"1": 154
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 1,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "cogvideo_pipe",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"links": [
|
|
||||||
121,
|
|
||||||
124
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "DownloadAndLoadCogVideoModel"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
"THUDM/CogVideoX-5b-I2V",
|
|
||||||
"bf16",
|
|
||||||
"disabled",
|
|
||||||
"disabled",
|
|
||||||
false
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 57,
|
|
||||||
"type": "CogVideoSampler",
|
|
||||||
"pos": {
|
|
||||||
"0": 1138,
|
|
||||||
"1": 150
|
|
||||||
},
|
|
||||||
"size": {
|
|
||||||
"0": 405.5999755859375,
|
|
||||||
"1": 378
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 7,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "pipeline",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"link": 121
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "positive",
|
|
||||||
"type": "CONDITIONING",
|
|
||||||
"link": 122
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "negative",
|
|
||||||
"type": "CONDITIONING",
|
|
||||||
"link": 123
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "samples",
|
|
||||||
"type": "LATENT",
|
|
||||||
"link": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "image_cond_latents",
|
|
||||||
"type": "LATENT",
|
|
||||||
"link": 129
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "cogvideo_pipe",
|
|
||||||
"type": "COGVIDEOPIPE",
|
|
||||||
"links": [
|
|
||||||
128
|
|
||||||
],
|
|
||||||
"slot_index": 0,
|
|
||||||
"shape": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "samples",
|
|
||||||
"type": "LATENT",
|
|
||||||
"links": [
|
|
||||||
127
|
|
||||||
],
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "CogVideoSampler"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
480,
|
|
||||||
720,
|
|
||||||
49,
|
|
||||||
50,
|
|
||||||
6,
|
|
||||||
65334758276105,
|
|
||||||
"fixed",
|
|
||||||
"DPM",
|
|
||||||
16,
|
|
||||||
8,
|
|
||||||
1
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -486,12 +375,12 @@
|
|||||||
"0": 365,
|
"0": 365,
|
||||||
"1": 685
|
"1": 685
|
||||||
},
|
},
|
||||||
"size": [
|
"size": {
|
||||||
402.0635467506413,
|
"0": 402.06353759765625,
|
||||||
396.62260382077534
|
"1": 396.6225891113281
|
||||||
],
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 2,
|
"order": 1,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [],
|
"inputs": [],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
@ -518,6 +407,140 @@
|
|||||||
"sd3stag.png",
|
"sd3stag.png",
|
||||||
"image"
|
"image"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 57,
|
||||||
|
"type": "CogVideoSampler",
|
||||||
|
"pos": {
|
||||||
|
"0": 1138,
|
||||||
|
"1": 150
|
||||||
|
},
|
||||||
|
"size": [
|
||||||
|
399.878095897654,
|
||||||
|
350
|
||||||
|
],
|
||||||
|
"flags": {},
|
||||||
|
"order": 7,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pipeline",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"link": 121
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "positive",
|
||||||
|
"type": "CONDITIONING",
|
||||||
|
"link": 122
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "negative",
|
||||||
|
"type": "CONDITIONING",
|
||||||
|
"link": 123
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "samples",
|
||||||
|
"type": "LATENT",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "image_cond_latents",
|
||||||
|
"type": "LATENT",
|
||||||
|
"link": 129
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "context_options",
|
||||||
|
"type": "COGCONTEXT",
|
||||||
|
"link": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "cogvideo_pipe",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"links": [
|
||||||
|
128
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "samples",
|
||||||
|
"type": "LATENT",
|
||||||
|
"links": [
|
||||||
|
127
|
||||||
|
],
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "CogVideoSampler"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
480,
|
||||||
|
720,
|
||||||
|
49,
|
||||||
|
20,
|
||||||
|
6,
|
||||||
|
65334758276105,
|
||||||
|
"fixed",
|
||||||
|
"CogVideoXDPMScheduler",
|
||||||
|
1
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"type": "DownloadAndLoadCogVideoModel",
|
||||||
|
"pos": {
|
||||||
|
"0": 633,
|
||||||
|
"1": 44
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"0": 337.8885192871094,
|
||||||
|
"1": 194
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 2,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "pab_config",
|
||||||
|
"type": "PAB_CONFIG",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "block_edit",
|
||||||
|
"type": "TRANSFORMERBLOCKS",
|
||||||
|
"link": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lora",
|
||||||
|
"type": "COGLORA",
|
||||||
|
"link": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "cogvideo_pipe",
|
||||||
|
"type": "COGVIDEOPIPE",
|
||||||
|
"links": [
|
||||||
|
121,
|
||||||
|
124
|
||||||
|
],
|
||||||
|
"slot_index": 0,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "DownloadAndLoadCogVideoModel"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
"THUDM/CogVideoX-5b-I2V",
|
||||||
|
"bf16",
|
||||||
|
"disabled",
|
||||||
|
"disabled",
|
||||||
|
false
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [
|
"links": [
|
||||||
@ -622,10 +645,10 @@
|
|||||||
"config": {},
|
"config": {},
|
||||||
"extra": {
|
"extra": {
|
||||||
"ds": {
|
"ds": {
|
||||||
"scale": 0.7513148009015778,
|
"scale": 0.6934334949442514,
|
||||||
"offset": [
|
"offset": [
|
||||||
153.9884532493587,
|
-24.154349208343916,
|
||||||
111.86149660036742
|
155.20539218330134
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
3
nodes.py
3
nodes.py
@ -36,7 +36,6 @@ scheduler_mapping = {
|
|||||||
"Euler A": EulerAncestralDiscreteScheduler,
|
"Euler A": EulerAncestralDiscreteScheduler,
|
||||||
"PNDM": PNDMScheduler,
|
"PNDM": PNDMScheduler,
|
||||||
"DDIM": DDIMScheduler,
|
"DDIM": DDIMScheduler,
|
||||||
"DDIM_tiled": CogVideoXDDIMScheduler,
|
|
||||||
"CogVideoXDDIM": CogVideoXDDIMScheduler,
|
"CogVideoXDDIM": CogVideoXDDIMScheduler,
|
||||||
"CogVideoXDPMScheduler": CogVideoXDPMScheduler,
|
"CogVideoXDPMScheduler": CogVideoXDPMScheduler,
|
||||||
"SASolverScheduler": SASolverScheduler,
|
"SASolverScheduler": SASolverScheduler,
|
||||||
@ -1292,7 +1291,7 @@ class CogVideoContextOptions:
|
|||||||
def INPUT_TYPES(s):
|
def INPUT_TYPES(s):
|
||||||
return {"required": {
|
return {"required": {
|
||||||
"context_schedule": (["uniform_standard", "uniform_looped", "static_standard", "temporal_tiling"],),
|
"context_schedule": (["uniform_standard", "uniform_looped", "static_standard", "temporal_tiling"],),
|
||||||
"context_frames": ("INT", {"default": 12, "min": 2, "max": 100, "step": 1, "tooltip": "Number of pixel frames in the context, NOTE: the latent space has 4 frames in 1"} ),
|
"context_frames": ("INT", {"default": 48, "min": 2, "max": 100, "step": 1, "tooltip": "Number of pixel frames in the context, NOTE: the latent space has 4 frames in 1"} ),
|
||||||
"context_stride": ("INT", {"default": 4, "min": 4, "max": 100, "step": 1, "tooltip": "Context stride as pixel frames, NOTE: the latent space has 4 frames in 1"} ),
|
"context_stride": ("INT", {"default": 4, "min": 4, "max": 100, "step": 1, "tooltip": "Context stride as pixel frames, NOTE: the latent space has 4 frames in 1"} ),
|
||||||
"context_overlap": ("INT", {"default": 4, "min": 4, "max": 100, "step": 1, "tooltip": "Context overlap as pixel frames, NOTE: the latent space has 4 frames in 1"} ),
|
"context_overlap": ("INT", {"default": 4, "min": 4, "max": 100, "step": 1, "tooltip": "Context overlap as pixel frames, NOTE: the latent space has 4 frames in 1"} ),
|
||||||
"freenoise": ("BOOLEAN", {"default": True, "tooltip": "Shuffle the noise"}),
|
"freenoise": ("BOOLEAN", {"default": True, "tooltip": "Shuffle the noise"}),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user