Files
2026-01-18 07:48:55 +08:00

1047 lines
17 KiB
JSON

{
"id": "7eb500dd-3bc0-4479-b950-bb15340b0efa",
"revision": 0,
"last_node_id": 22,
"last_link_id": 23,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
-2245,
255
],
"size": [
445,
425
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
1,
5,
8,
12,
15,
17
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"eva4_askzy.jpg",
"image"
]
},
{
"id": 10,
"type": "Sam2Segmentation",
"pos": [
-1060,
1920
],
"size": [
272.087890625,
182
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "sam2_model",
"type": "SAM2MODEL",
"link": 13
},
{
"name": "image",
"type": "IMAGE",
"link": 12
},
{
"name": "coordinates_positive",
"shape": 7,
"type": "STRING",
"link": null
},
{
"name": "coordinates_negative",
"shape": 7,
"type": "STRING",
"link": null
},
{
"name": "bboxes",
"shape": 7,
"type": "BBOX",
"link": 11
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
14
]
}
],
"properties": {
"Node name for S&R": "Sam2Segmentation"
},
"widgets_values": [
false,
false
]
},
{
"id": 4,
"type": "PreviewAny",
"pos": [
-1045,
260
],
"size": [
635,
300
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 18
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 14,
"type": "Qwen25Caption",
"pos": [
-1535,
260
],
"size": [
370,
285
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 17
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
18
]
}
],
"properties": {
"Node name for S&R": "Qwen25Caption"
},
"widgets_values": [
"qwen_2.5_vl_7b\\model.safetensors",
"English",
"4bit",
false,
476,
""
]
},
{
"id": 8,
"type": "StringToBbox",
"pos": [
-1525,
1975
],
"size": [
295,
195
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "string",
"type": "STRING",
"widget": {
"name": "string"
},
"link": 7
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 9
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 10
}
],
"outputs": [
{
"name": "center_coordinates",
"type": "STRING",
"links": null
},
{
"name": "bboxes",
"type": "BBOX",
"links": [
11,
19
]
}
],
"properties": {
"Node name for S&R": "StringToBbox"
},
"widgets_values": [
"",
1024,
1024,
""
]
},
{
"id": 5,
"type": "PreviewAny",
"pos": [
-1040,
665
],
"size": [
630,
295
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 4
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 12,
"type": "ImageAndMaskPreview",
"pos": [
-645,
1905
],
"size": [
270,
338
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 15
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 14
}
],
"outputs": [
{
"name": "composite",
"type": "IMAGE",
"links": []
}
],
"properties": {
"Node name for S&R": "ImageAndMaskPreview"
},
"widgets_values": [
0.7,
"255, 255, 255",
false
]
},
{
"id": 9,
"type": "GetImageSize",
"pos": [
-1835,
2095
],
"size": [
140,
124
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 8
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
9
]
},
{
"name": "height",
"type": "INT",
"links": [
10
]
},
{
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 11,
"type": "DownloadAndLoadSAM2Model",
"pos": [
-1850,
1815
],
"size": [
270,
130
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "sam2_model",
"type": "SAM2MODEL",
"links": [
13
]
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadSAM2Model"
},
"widgets_values": [
"sam2.1_hiera_base_plus.safetensors",
"single_image",
"cuda",
"fp16"
]
},
{
"id": 15,
"type": "PreviewAny",
"pos": [
-1110,
2175
],
"size": [
260,
185
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 19
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 7,
"type": "PreviewAny",
"pos": [
-1010,
1550
],
"size": [
310,
205
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 6
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 16,
"type": "VHS_LoadVideo",
"pos": [
235,
275
],
"size": [
305,
831
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "iris out.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "None",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "iris out.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 18,
"type": "PreviewAny",
"pos": [
1200,
275
],
"size": [
630,
295
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 20
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 2,
"type": "Qwen3Caption",
"pos": [
-1535,
665
],
"size": [
365,
260
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
4
]
}
],
"properties": {
"Node name for S&R": "Qwen3Caption"
},
"widgets_values": [
"qwen_3_vl_4b\\model.safetensors",
"auto",
false,
false,
"中文",
480,
16,
""
]
},
{
"id": 19,
"type": "PreviewAny",
"pos": [
1240,
1305
],
"size": [
630,
295
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 22
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 17,
"type": "Qwen3Caption",
"pos": [
710,
275
],
"size": [
365,
260
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 21
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
20
]
}
],
"properties": {
"Node name for S&R": "Qwen3Caption"
},
"widgets_values": [
"qwen_3_vl_8b_4bit\\model.safetensors",
"auto",
false,
true,
"English",
480,
16,
"Describe this video"
]
},
{
"id": 6,
"type": "Qwen3Caption",
"pos": [
-1520,
1545
],
"size": [
365,
330
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 5
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
6,
7
]
}
],
"properties": {
"Node name for S&R": "Qwen3Caption"
},
"widgets_values": [
"qwen_3_vl_8b_4bit\\model.safetensors",
"4bit",
false,
false,
"bbox",
448,
16,
"找到图中的绫波丽"
]
},
{
"id": 20,
"type": "Qwen3Caption",
"pos": [
750,
1305
],
"size": [
365,
260
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
22
]
}
],
"properties": {
"Node name for S&R": "Qwen3Caption"
},
"widgets_values": [
"qwen_3_vl_8b_4bit\\model.safetensors",
"auto",
false,
true,
"中文",
480,
16,
"老虎和狮子打架谁更厉害?"
]
},
{
"id": 21,
"type": "Qwen3CaptionBatch",
"pos": [
755,
1970
],
"size": [
400,
256
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "summary",
"type": "STRING",
"links": [
23
]
}
],
"properties": {
"Node name for S&R": "Qwen3CaptionBatch"
},
"widgets_values": [
"qwen_3_vl_4b\\model.safetensors",
"中文",
"auto",
false,
416,
"D:\\sd-ComfyUI\\ComfyUI\\output\\2026-01-01",
"",
"为训练Lora给图片打标,使用简洁且清晰的描述,固定使用人物触发词“小美”"
]
},
{
"id": 22,
"type": "PreviewAny",
"pos": [
1300,
1970
],
"size": [
405,
285
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 23
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
}
],
"links": [
[
1,
1,
0,
2,
0,
"IMAGE"
],
[
4,
2,
0,
5,
0,
"*"
],
[
5,
1,
0,
6,
0,
"IMAGE"
],
[
6,
6,
0,
7,
0,
"*"
],
[
7,
6,
0,
8,
0,
"STRING"
],
[
8,
1,
0,
9,
0,
"IMAGE"
],
[
9,
9,
0,
8,
1,
"INT"
],
[
10,
9,
1,
8,
2,
"INT"
],
[
11,
8,
1,
10,
4,
"BBOX"
],
[
12,
1,
0,
10,
1,
"IMAGE"
],
[
13,
11,
0,
10,
0,
"SAM2MODEL"
],
[
14,
10,
0,
12,
1,
"MASK"
],
[
15,
1,
0,
12,
0,
"IMAGE"
],
[
17,
1,
0,
14,
0,
"IMAGE"
],
[
18,
14,
0,
4,
0,
"*"
],
[
19,
8,
1,
15,
0,
"*"
],
[
20,
17,
0,
18,
0,
"STRING"
],
[
21,
16,
0,
17,
0,
"IMAGE"
],
[
22,
20,
0,
19,
0,
"STRING"
],
[
23,
21,
0,
22,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7800118949337737,
"offset": [
-272.5427945555381,
-1469.7603136487967
]
},
"workflowRendererVersion": "LG",
"frontendVersion": "1.38.0",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}