1704 lines
31 KiB
JSON
1704 lines
31 KiB
JSON
{
|
|
"id": "SCAIL2_multi_ref",
|
|
"revision": 0,
|
|
"last_node_id": 76,
|
|
"last_link_id": 59,
|
|
"nodes": [
|
|
{
|
|
"id": 2,
|
|
"type": "VHS_LoadVideo",
|
|
"pos": [
|
|
-80,
|
|
140
|
|
],
|
|
"size": [
|
|
290,
|
|
803
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"label": "批次管理",
|
|
"name": "meta_batch",
|
|
"shape": 7,
|
|
"type": "VHS_BatchManager",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "视频",
|
|
"name": "video",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "video"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "强制帧率",
|
|
"name": "force_rate",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "force_rate"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "自定义宽度",
|
|
"name": "custom_width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "custom_width"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "自定义高度",
|
|
"name": "custom_height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "custom_height"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "帧数读取上限",
|
|
"name": "frame_load_cap",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "frame_load_cap"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "跳过前X帧",
|
|
"name": "skip_first_frames",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "skip_first_frames"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "间隔",
|
|
"name": "select_every_nth",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "select_every_nth"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "格式",
|
|
"name": "format",
|
|
"shape": 7,
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "format"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"label": "图像",
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"label": "帧计数",
|
|
"name": "frame_count",
|
|
"type": "INT",
|
|
"links": []
|
|
},
|
|
{
|
|
"label": "音频",
|
|
"name": "audio",
|
|
"type": "AUDIO",
|
|
"links": [
|
|
34
|
|
]
|
|
},
|
|
{
|
|
"label": "视频信息",
|
|
"name": "video_info",
|
|
"type": "VHS_VIDEOINFO",
|
|
"links": []
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VHS_LoadVideo"
|
|
},
|
|
"widgets_values": {
|
|
"video": "simple_00008-audio.mp4",
|
|
"force_rate": 24,
|
|
"custom_width": 0,
|
|
"custom_height": 0,
|
|
"frame_load_cap": 0,
|
|
"skip_first_frames": 0,
|
|
"select_every_nth": 1,
|
|
"format": "AnimateDiff",
|
|
"videopreview": {
|
|
"hidden": false,
|
|
"paused": false,
|
|
"params": {
|
|
"filename": "simple_00008-audio.mp4",
|
|
"type": "input",
|
|
"format": "video/mp4",
|
|
"force_rate": 24,
|
|
"custom_width": 0,
|
|
"custom_height": 0,
|
|
"frame_load_cap": 0,
|
|
"skip_first_frames": 0,
|
|
"select_every_nth": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "SCAIL2FitVideo",
|
|
"pos": [
|
|
400,
|
|
10
|
|
],
|
|
"size": [
|
|
300,
|
|
120
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "video",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "video",
|
|
"type": "IMAGE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
11,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"slot_index": 1,
|
|
"links": []
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"slot_index": 2,
|
|
"links": []
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"type": "STRING",
|
|
"slot_index": 3,
|
|
"links": []
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SCAIL2FitVideo"
|
|
},
|
|
"widgets_values": [
|
|
"512p",
|
|
352,
|
|
640
|
|
]
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "DiffusionModelLoaderKJ",
|
|
"pos": [
|
|
740,
|
|
40
|
|
],
|
|
"size": [
|
|
440,
|
|
180
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"label": "额外的状态字典",
|
|
"name": "extra_state_dict",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "模型名称",
|
|
"name": "model_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "model_name"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "权重数据类型",
|
|
"name": "weight_dtype",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "weight_dtype"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "计算数据类型",
|
|
"name": "compute_dtype",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "compute_dtype"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "CUBlas线性补丁",
|
|
"name": "patch_cublaslinear",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "patch_cublaslinear"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "SAGE注意力",
|
|
"name": "sage_attention",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "sage_attention"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "启用FP16累积",
|
|
"name": "enable_fp16_accumulation",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "enable_fp16_accumulation"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DiffusionModelLoaderKJ"
|
|
},
|
|
"widgets_values": [
|
|
"wan2.1_14B_SCAIL_2_fp8_scaled.safetensors",
|
|
"default",
|
|
"default",
|
|
false,
|
|
"auto",
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "WanChunkFeedForward",
|
|
"pos": [
|
|
1200,
|
|
100
|
|
],
|
|
"size": [
|
|
240,
|
|
90
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"links": [
|
|
45
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "WanChunkFeedForward"
|
|
},
|
|
"widgets_values": [
|
|
2,
|
|
4096
|
|
]
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "LoraLoaderModelOnly",
|
|
"pos": [
|
|
750,
|
|
280
|
|
],
|
|
"size": [
|
|
310,
|
|
90
|
|
],
|
|
"flags": {},
|
|
"order": 17,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 46
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
4,
|
|
5
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "LoraLoaderModelOnly"
|
|
},
|
|
"widgets_values": [
|
|
"Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank128_bf16.safetensors",
|
|
0.8
|
|
]
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "ModelSamplingSD3",
|
|
"pos": [
|
|
1200,
|
|
-10
|
|
],
|
|
"size": [
|
|
260,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 18,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 4
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
19
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "ModelSamplingSD3"
|
|
},
|
|
"widgets_values": [
|
|
5
|
|
]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "BasicScheduler",
|
|
"pos": [
|
|
1150,
|
|
250
|
|
],
|
|
"size": [
|
|
260,
|
|
110
|
|
],
|
|
"flags": {},
|
|
"order": 19,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 5
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "SIGMAS",
|
|
"type": "SIGMAS",
|
|
"links": [
|
|
24
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "BasicScheduler"
|
|
},
|
|
"widgets_values": [
|
|
"simple",
|
|
8,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "KSamplerSelect",
|
|
"pos": [
|
|
1160,
|
|
-140
|
|
],
|
|
"size": [
|
|
250,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "SAMPLER",
|
|
"type": "SAMPLER",
|
|
"links": [
|
|
23
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "KSamplerSelect"
|
|
},
|
|
"widgets_values": [
|
|
"euler"
|
|
]
|
|
},
|
|
{
|
|
"id": 16,
|
|
"type": "CLIPLoader",
|
|
"pos": [
|
|
400,
|
|
-330
|
|
],
|
|
"size": [
|
|
280,
|
|
110
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
6,
|
|
7
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "CLIPLoader"
|
|
},
|
|
"widgets_values": [
|
|
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
|
|
"wan",
|
|
"default"
|
|
]
|
|
},
|
|
{
|
|
"id": 17,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
710,
|
|
-350
|
|
],
|
|
"size": [
|
|
420,
|
|
160
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 6
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
20
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"角色在跳舞"
|
|
]
|
|
},
|
|
{
|
|
"id": 18,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
710,
|
|
-150
|
|
],
|
|
"size": [
|
|
420,
|
|
140
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"bad video, blurry, low quality, distorted, artifacts"
|
|
]
|
|
},
|
|
{
|
|
"id": 19,
|
|
"type": "VAELoader",
|
|
"pos": [
|
|
1150,
|
|
-350
|
|
],
|
|
"size": [
|
|
250,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "VAELoader"
|
|
},
|
|
"widgets_values": [
|
|
"Wan2_1_VAE_bf16.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 20,
|
|
"type": "CLIPVisionLoader",
|
|
"pos": [
|
|
1140,
|
|
-240
|
|
],
|
|
"size": [
|
|
290,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "CLIP_VISION",
|
|
"type": "CLIP_VISION",
|
|
"links": [
|
|
8
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "CLIPVisionLoader"
|
|
},
|
|
"widgets_values": [
|
|
"clip_vision_vit_h.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 30,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [
|
|
400,
|
|
480
|
|
],
|
|
"size": [
|
|
330,
|
|
100
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
12,
|
|
40
|
|
]
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": []
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "CheckpointLoaderSimple"
|
|
},
|
|
"widgets_values": [
|
|
"sam3.1_multiplex_fp16.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 31,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
900,
|
|
470
|
|
],
|
|
"size": [
|
|
260,
|
|
140
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 10
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
13,
|
|
41
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"person"
|
|
]
|
|
},
|
|
{
|
|
"id": 32,
|
|
"type": "SAM3_VideoTrack",
|
|
"pos": [
|
|
420,
|
|
660
|
|
],
|
|
"size": [
|
|
310,
|
|
170
|
|
],
|
|
"flags": {},
|
|
"order": 15,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 11
|
|
},
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 12
|
|
},
|
|
{
|
|
"name": "initial_mask",
|
|
"shape": 7,
|
|
"type": "MASK",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "conditioning",
|
|
"shape": 7,
|
|
"type": "CONDITIONING",
|
|
"link": 13
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "track_data",
|
|
"type": "SAM3_TRACK_DATA",
|
|
"links": [
|
|
17
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "SAM3_VideoTrack"
|
|
},
|
|
"widgets_values": [
|
|
0.5,
|
|
3,
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"id": 40,
|
|
"type": "SCAIL2SimpleVideo",
|
|
"pos": [
|
|
1540,
|
|
40
|
|
],
|
|
"size": [
|
|
440,
|
|
480
|
|
],
|
|
"flags": {},
|
|
"order": 20,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 19
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 20
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 21
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 22
|
|
},
|
|
{
|
|
"name": "sampler",
|
|
"type": "SAMPLER",
|
|
"link": 23
|
|
},
|
|
{
|
|
"name": "sigmas",
|
|
"type": "SIGMAS",
|
|
"link": 24
|
|
},
|
|
{
|
|
"label": "参考图",
|
|
"name": "reference_image",
|
|
"type": "IMAGE,SCAIL2_REFERENCE_PACK",
|
|
"link": 42
|
|
},
|
|
{
|
|
"name": "pose_video",
|
|
"type": "IMAGE",
|
|
"link": 26
|
|
},
|
|
{
|
|
"name": "clip_vision",
|
|
"type": "CLIP_VISION",
|
|
"link": 8
|
|
},
|
|
{
|
|
"name": "driving_track_data",
|
|
"shape": 7,
|
|
"type": "SAM3_TRACK_DATA",
|
|
"link": 17
|
|
},
|
|
{
|
|
"name": "reference_track_data",
|
|
"shape": 7,
|
|
"type": "SAM3_TRACK_DATA",
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "高级参数",
|
|
"name": "advanced",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "advanced"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "长视频方式",
|
|
"name": "long_video_mode",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "long_video_mode"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "最大帧数",
|
|
"name": "max_frames",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "max_frames"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "每段帧数",
|
|
"name": "chunk_frames",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "chunk_frames"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "重叠帧数",
|
|
"name": "overlap_frames",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "overlap_frames"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "色彩校正",
|
|
"name": "color_correction",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "color_correction"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "上下文窗口帧数",
|
|
"name": "context_frames",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "context_frames"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "上下文重叠帧数",
|
|
"name": "context_overlap_frames",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "context_overlap_frames"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "frames",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
33
|
|
]
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"type": "STRING",
|
|
"links": []
|
|
}
|
|
],
|
|
"title": "SCAIL-2 Simple Video (multi-ref SAM)",
|
|
"properties": {
|
|
"Node name for S&R": "SCAIL2SimpleVideo"
|
|
},
|
|
"widgets_values": [
|
|
873584916282795,
|
|
"randomize",
|
|
1,
|
|
"animation",
|
|
true,
|
|
"chunk",
|
|
0,
|
|
81,
|
|
5,
|
|
false,
|
|
81,
|
|
20
|
|
]
|
|
},
|
|
{
|
|
"id": 43,
|
|
"type": "VHS_VideoCombine",
|
|
"pos": [
|
|
2030,
|
|
60
|
|
],
|
|
"size": [
|
|
290,
|
|
820.5
|
|
],
|
|
"flags": {},
|
|
"order": 21,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"label": "图像",
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 33
|
|
},
|
|
{
|
|
"label": "音频",
|
|
"name": "audio",
|
|
"shape": 7,
|
|
"type": "AUDIO",
|
|
"link": 34
|
|
},
|
|
{
|
|
"label": "批次管理",
|
|
"name": "meta_batch",
|
|
"shape": 7,
|
|
"type": "VHS_BatchManager",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "帧率",
|
|
"name": "frame_rate",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "frame_rate"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "循环次数",
|
|
"name": "loop_count",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "loop_count"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "文件名前缀",
|
|
"name": "filename_prefix",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "filename_prefix"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "格式",
|
|
"name": "format",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "format"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "Ping-Pong",
|
|
"name": "pingpong",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "pingpong"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "保存到输出文件夹",
|
|
"name": "save_output",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "save_output"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "保存元数据",
|
|
"name": "save_metadata",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "save_metadata"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "修剪音频",
|
|
"name": "trim_to_audio",
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "trim_to_audio"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"label": "文件名",
|
|
"name": "Filenames",
|
|
"type": "VHS_FILENAMES",
|
|
"links": []
|
|
}
|
|
],
|
|
"title": "VHS Output (keeps source audio)",
|
|
"properties": {
|
|
"Node name for S&R": "VHS_VideoCombine"
|
|
},
|
|
"widgets_values": {
|
|
"frame_rate": 24,
|
|
"loop_count": 0,
|
|
"filename_prefix": "SCAIL2/multi_ref",
|
|
"format": "video/h264-mp4",
|
|
"pix_fmt": "yuv420p",
|
|
"crf": 19,
|
|
"save_metadata": true,
|
|
"trim_to_audio": false,
|
|
"pingpong": false,
|
|
"save_output": true,
|
|
"videopreview": {
|
|
"hidden": false,
|
|
"paused": false,
|
|
"params": {
|
|
"filename": "multi_ref_00055-audio.mp4",
|
|
"subfolder": "SCAIL2",
|
|
"type": "output",
|
|
"format": "video/h264-mp4",
|
|
"frame_rate": 24,
|
|
"workflow": "multi_ref_00055.png",
|
|
"fullpath": "/root/ComfyUI/output/SCAIL2/multi_ref_00055-audio.mp4"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 50,
|
|
"type": "SCAIL2ReferencePack",
|
|
"pos": [
|
|
-100,
|
|
-60
|
|
],
|
|
"size": [
|
|
300,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"label": "主体1",
|
|
"name": "subject_1_image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 58
|
|
},
|
|
{
|
|
"label": "参考图1",
|
|
"name": "reference_1",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "背景图",
|
|
"name": "scene_image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "主体数量",
|
|
"name": "subject_count",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "subject_count"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "参考图数量",
|
|
"name": "reference_count",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "reference_count"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "reference_pack",
|
|
"type": "SCAIL2_REFERENCE_PACK",
|
|
"links": [
|
|
39
|
|
]
|
|
}
|
|
],
|
|
"title": "Reference Pack",
|
|
"properties": {
|
|
"Node name for S&R": "SCAIL2ReferencePack"
|
|
},
|
|
"widgets_values": [
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 51,
|
|
"type": "SCAIL2ReferenceSAMBuilder",
|
|
"pos": [
|
|
810,
|
|
660
|
|
],
|
|
"size": [
|
|
360,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 16,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"label": "参考包",
|
|
"name": "reference_pack",
|
|
"type": "SCAIL2_REFERENCE_PACK",
|
|
"link": 39
|
|
},
|
|
{
|
|
"label": "SAM模型",
|
|
"name": "sam_model",
|
|
"type": "MODEL",
|
|
"link": 40
|
|
},
|
|
{
|
|
"label": "SAM条件",
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING",
|
|
"link": 41
|
|
},
|
|
{
|
|
"label": "检测阈值",
|
|
"name": "detection_threshold",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "detection_threshold"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "最大对象数",
|
|
"name": "max_objects",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "max_objects"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"label": "检测间隔",
|
|
"name": "detect_interval",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "detect_interval"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "reference_pack",
|
|
"type": "SCAIL2_REFERENCE_PACK",
|
|
"links": [
|
|
42
|
|
]
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"type": "STRING",
|
|
"links": []
|
|
}
|
|
],
|
|
"title": "Reference SAM Builder",
|
|
"properties": {
|
|
"Node name for S&R": "SCAIL2ReferenceSAMBuilder"
|
|
},
|
|
"widgets_values": [
|
|
0.5,
|
|
2,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 65,
|
|
"type": "LoraLoaderModelOnly",
|
|
"pos": [
|
|
420,
|
|
280
|
|
],
|
|
"size": [
|
|
310,
|
|
90
|
|
],
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 45
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
46
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "LoraLoaderModelOnly"
|
|
},
|
|
"widgets_values": [
|
|
"SCAIL-2/wan2.1_SCAIL_2_DPO_lora_bf16.safetensors",
|
|
0.8
|
|
]
|
|
},
|
|
{
|
|
"id": 68,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-650,
|
|
-140
|
|
],
|
|
"size": [
|
|
280,
|
|
330
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
58
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.24.0",
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"c47cd8edeaf34114960f6125e2361ca6~tplv-dy-resize-origshort-autoq-75_330.jpeg",
|
|
"image"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
2,
|
|
0,
|
|
3,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
2,
|
|
10,
|
|
0,
|
|
11,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
4,
|
|
12,
|
|
0,
|
|
13,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
5,
|
|
12,
|
|
0,
|
|
14,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
6,
|
|
16,
|
|
0,
|
|
17,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
7,
|
|
16,
|
|
0,
|
|
18,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
8,
|
|
20,
|
|
0,
|
|
40,
|
|
8,
|
|
"CLIP_VISION"
|
|
],
|
|
[
|
|
10,
|
|
30,
|
|
1,
|
|
31,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
11,
|
|
3,
|
|
0,
|
|
32,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
12,
|
|
30,
|
|
0,
|
|
32,
|
|
1,
|
|
"MODEL"
|
|
],
|
|
[
|
|
13,
|
|
31,
|
|
0,
|
|
32,
|
|
3,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
17,
|
|
32,
|
|
0,
|
|
40,
|
|
9,
|
|
"SAM3_TRACK_DATA"
|
|
],
|
|
[
|
|
19,
|
|
13,
|
|
0,
|
|
40,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
20,
|
|
17,
|
|
0,
|
|
40,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
21,
|
|
18,
|
|
0,
|
|
40,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
22,
|
|
19,
|
|
0,
|
|
40,
|
|
3,
|
|
"VAE"
|
|
],
|
|
[
|
|
23,
|
|
15,
|
|
0,
|
|
40,
|
|
4,
|
|
"SAMPLER"
|
|
],
|
|
[
|
|
24,
|
|
14,
|
|
0,
|
|
40,
|
|
5,
|
|
"SIGMAS"
|
|
],
|
|
[
|
|
26,
|
|
3,
|
|
0,
|
|
40,
|
|
7,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
33,
|
|
40,
|
|
0,
|
|
43,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
34,
|
|
2,
|
|
2,
|
|
43,
|
|
1,
|
|
"AUDIO"
|
|
],
|
|
[
|
|
39,
|
|
50,
|
|
0,
|
|
51,
|
|
0,
|
|
"SCAIL2_REFERENCE_PACK"
|
|
],
|
|
[
|
|
40,
|
|
30,
|
|
0,
|
|
51,
|
|
1,
|
|
"MODEL"
|
|
],
|
|
[
|
|
41,
|
|
31,
|
|
0,
|
|
51,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
42,
|
|
51,
|
|
0,
|
|
40,
|
|
6,
|
|
"SCAIL2_REFERENCE_PACK"
|
|
],
|
|
[
|
|
45,
|
|
11,
|
|
0,
|
|
65,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
46,
|
|
65,
|
|
0,
|
|
12,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
58,
|
|
68,
|
|
0,
|
|
50,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": 1,
|
|
"title": "1. References and driving video",
|
|
"bounding": [
|
|
-430,
|
|
-170,
|
|
800,
|
|
940
|
|
],
|
|
"color": "#3f789e",
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "2. Models and sampling",
|
|
"bounding": [
|
|
380,
|
|
-420,
|
|
1090,
|
|
800
|
|
],
|
|
"color": "#8e6c2f",
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": "3. SAM3 for driving and reference pack",
|
|
"bounding": [
|
|
380,
|
|
400,
|
|
810,
|
|
480
|
|
],
|
|
"color": "#6f8e2f",
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"title": "4. Multi-reference SCAIL-2 generation and output",
|
|
"bounding": [
|
|
1490,
|
|
-80,
|
|
920,
|
|
800
|
|
],
|
|
"color": "#8e3f3f",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.6830134553650711,
|
|
"offset": [
|
|
1165.2783416666605,
|
|
289.07444739915206
|
|
]
|
|
},
|
|
"frontendVersion": "1.45.15",
|
|
"workflow_notes": "SCAIL-2 multi-reference workflow. Subject inputs define the primary subjects; mixed reference inputs are independent prefix references; the optional background input is used in animation mode.",
|
|
"workflow_name": "SCAIL2_multi_ref",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |