Skip to content

Commit 46e4712

Browse files
authored
Add files via upload
1 parent e648ba8 commit 46e4712

File tree

1 file changed

+388
-0
lines changed

1 file changed

+388
-0
lines changed

example_workflows/V2.8.0_sam2.json

Lines changed: 388 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,388 @@
1+
{
2+
"id": "a021d32e-6f42-4d0c-989f-8669c651a8c3",
3+
"revision": 0,
4+
"last_node_id": 9,
5+
"last_link_id": 14,
6+
"nodes": [
7+
{
8+
"id": 5,
9+
"type": "AILab_LoadImageSimple",
10+
"pos": [
11+
-2920,
12+
-1240
13+
],
14+
"size": [
15+
370,
16+
780
17+
],
18+
"flags": {},
19+
"order": 0,
20+
"mode": 0,
21+
"inputs": [],
22+
"outputs": [
23+
{
24+
"name": "IMAGE",
25+
"type": "IMAGE",
26+
"links": [
27+
11
28+
]
29+
},
30+
{
31+
"name": "WIDTH",
32+
"type": "INT",
33+
"links": null
34+
},
35+
{
36+
"name": "HEIGHT",
37+
"type": "INT",
38+
"links": null
39+
}
40+
],
41+
"properties": {
42+
"enableTabs": false,
43+
"tabWidth": 65,
44+
"tabXOffset": 10,
45+
"hasSecondTab": false,
46+
"secondTabText": "Send Back",
47+
"secondTabOffset": 80,
48+
"secondTabWidth": 65,
49+
"Node name for S&R": "AILab_LoadImageSimple",
50+
"ue_properties": {
51+
"widget_ue_connectable": {
52+
"image_path_or_URL": true,
53+
"image": true,
54+
"upload": true
55+
},
56+
"version": "7.0.1"
57+
}
58+
},
59+
"widgets_values": [
60+
"",
61+
"ComfyUI_temp_qtskx_00017_.png",
62+
"image"
63+
],
64+
"color": "#2e3e57",
65+
"bgcolor": "#4b5b73"
66+
},
67+
{
68+
"id": 6,
69+
"type": "AILab_Preview",
70+
"pos": [
71+
-1760,
72+
-1240
73+
],
74+
"size": [
75+
750,
76+
780
77+
],
78+
"flags": {},
79+
"order": 4,
80+
"mode": 0,
81+
"inputs": [
82+
{
83+
"name": "image",
84+
"shape": 7,
85+
"type": "IMAGE",
86+
"link": 12
87+
},
88+
{
89+
"name": "mask",
90+
"shape": 7,
91+
"type": "MASK",
92+
"link": 10
93+
}
94+
],
95+
"outputs": [
96+
{
97+
"name": "IMAGE",
98+
"type": "IMAGE",
99+
"links": null
100+
},
101+
{
102+
"name": "MASK",
103+
"type": "MASK",
104+
"links": null
105+
}
106+
],
107+
"properties": {
108+
"enableTabs": false,
109+
"tabWidth": 65,
110+
"tabXOffset": 10,
111+
"hasSecondTab": false,
112+
"secondTabText": "Send Back",
113+
"secondTabOffset": 80,
114+
"secondTabWidth": 65,
115+
"Node name for S&R": "AILab_Preview",
116+
"ue_properties": {
117+
"widget_ue_connectable": {},
118+
"version": "7.0.1"
119+
}
120+
},
121+
"widgets_values": [],
122+
"color": "#2e3e57",
123+
"bgcolor": "#4b5b73"
124+
},
125+
{
126+
"id": 7,
127+
"type": "AILab_MaskEnhancer",
128+
"pos": [
129+
-2113.333251953125,
130+
-1160
131+
],
132+
"size": [
133+
320,
134+
178
135+
],
136+
"flags": {},
137+
"order": 3,
138+
"mode": 0,
139+
"inputs": [
140+
{
141+
"name": "mask",
142+
"type": "MASK",
143+
"link": 13
144+
}
145+
],
146+
"outputs": [
147+
{
148+
"name": "MASK",
149+
"type": "MASK",
150+
"links": [
151+
10
152+
]
153+
}
154+
],
155+
"properties": {
156+
"enableTabs": false,
157+
"tabWidth": 65,
158+
"tabXOffset": 10,
159+
"hasSecondTab": false,
160+
"secondTabText": "Send Back",
161+
"secondTabOffset": 80,
162+
"secondTabWidth": 65,
163+
"Node name for S&R": "AILab_MaskEnhancer",
164+
"ue_properties": {
165+
"widget_ue_connectable": {
166+
"sensitivity": true,
167+
"mask_blur": true,
168+
"mask_offset": true,
169+
"smooth": true,
170+
"fill_holes": true,
171+
"invert_output": true
172+
},
173+
"version": "7.0.1"
174+
}
175+
},
176+
"widgets_values": [
177+
1,
178+
0,
179+
0,
180+
0,
181+
true,
182+
false
183+
],
184+
"color": "#2e3e57",
185+
"bgcolor": "#4b5b73"
186+
},
187+
{
188+
"id": 8,
189+
"type": "SAM2Segment",
190+
"pos": [
191+
-2516.666748046875,
192+
-1240
193+
],
194+
"size": [
195+
370,
196+
356
197+
],
198+
"flags": {},
199+
"order": 2,
200+
"mode": 0,
201+
"inputs": [
202+
{
203+
"name": "image",
204+
"type": "IMAGE",
205+
"link": 11
206+
},
207+
{
208+
"name": "background_color",
209+
"shape": 7,
210+
"type": "COLOR",
211+
"widget": {
212+
"name": "background_color"
213+
},
214+
"link": 14
215+
}
216+
],
217+
"outputs": [
218+
{
219+
"name": "IMAGE",
220+
"type": "IMAGE",
221+
"links": [
222+
12
223+
]
224+
},
225+
{
226+
"name": "MASK",
227+
"type": "MASK",
228+
"links": [
229+
13
230+
]
231+
},
232+
{
233+
"name": "MASK_IMAGE",
234+
"type": "IMAGE",
235+
"links": null
236+
}
237+
],
238+
"properties": {
239+
"enableTabs": false,
240+
"tabWidth": 65,
241+
"tabXOffset": 10,
242+
"hasSecondTab": false,
243+
"secondTabText": "Send Back",
244+
"secondTabOffset": 80,
245+
"secondTabWidth": 65,
246+
"Node name for S&R": "SAM2Segment",
247+
"ue_properties": {
248+
"widget_ue_connectable": {
249+
"prompt": true,
250+
"sam2_model": true,
251+
"dino_model": true,
252+
"device": true,
253+
"threshold": true,
254+
"mask_blur": true,
255+
"mask_offset": true,
256+
"invert_output": true,
257+
"background": true,
258+
"background_color": true
259+
},
260+
"version": "7.0.1"
261+
}
262+
},
263+
"widgets_values": [
264+
"person, backpack",
265+
"sam2.1_hiera_tiny",
266+
"GroundingDINO_SwinT_OGC (694MB)",
267+
"Auto",
268+
0.35,
269+
0,
270+
0,
271+
false,
272+
"Color",
273+
"#222222"
274+
],
275+
"color": "#222e40",
276+
"bgcolor": "#364254"
277+
},
278+
{
279+
"id": 9,
280+
"type": "AILab_ColorInput",
281+
"pos": [
282+
-2516.666748046875,
283+
-800
284+
],
285+
"size": [
286+
320,
287+
82
288+
],
289+
"flags": {},
290+
"order": 1,
291+
"mode": 0,
292+
"inputs": [],
293+
"outputs": [
294+
{
295+
"name": "COLOR",
296+
"type": "COLOR",
297+
"links": [
298+
14
299+
]
300+
}
301+
],
302+
"properties": {
303+
"enableTabs": false,
304+
"tabWidth": 65,
305+
"tabXOffset": 10,
306+
"hasSecondTab": false,
307+
"secondTabText": "Send Back",
308+
"secondTabOffset": 80,
309+
"secondTabWidth": 65,
310+
"Node name for S&R": "AILab_ColorInput",
311+
"ue_properties": {
312+
"widget_ue_connectable": {
313+
"preset": true,
314+
"color": true
315+
},
316+
"version": "7.0.1"
317+
}
318+
},
319+
"widgets_values": [
320+
"teal",
321+
""
322+
],
323+
"color": "#2e3e57",
324+
"bgcolor": "#4b5b73"
325+
}
326+
],
327+
"links": [
328+
[
329+
10,
330+
7,
331+
0,
332+
6,
333+
1,
334+
"MASK"
335+
],
336+
[
337+
11,
338+
5,
339+
0,
340+
8,
341+
0,
342+
"IMAGE"
343+
],
344+
[
345+
12,
346+
8,
347+
0,
348+
6,
349+
0,
350+
"IMAGE"
351+
],
352+
[
353+
13,
354+
8,
355+
1,
356+
7,
357+
0,
358+
"MASK"
359+
],
360+
[
361+
14,
362+
9,
363+
0,
364+
8,
365+
1,
366+
"COLOR"
367+
]
368+
],
369+
"groups": [],
370+
"config": {},
371+
"extra": {
372+
"ue_links": [],
373+
"links_added_by_ue": [],
374+
"ds": {
375+
"scale": 0.7247295000000039,
376+
"offset": [
377+
3020,
378+
1340
379+
]
380+
},
381+
"frontendVersion": "1.24.4",
382+
"VHS_latentpreview": false,
383+
"VHS_latentpreviewrate": 0,
384+
"VHS_MetadataImage": true,
385+
"VHS_KeepIntermediate": true
386+
},
387+
"version": 0.4
388+
}

0 commit comments

Comments
 (0)