Skip to content

Commit 98d4309

Browse files
authored
chore: reorganize workflows, add cliptext model to workflows (yondonfu#125)
* reorganize workflows for easier indexing, add cliptext model to workflows for reliability, add 512x512 image for depthmap accelerated workflow, add florence-sam2 workflow + workflows using ConditioningConcat --------- Co-authored-by: ryanontheinstide <ryanfosdick87@gmail.com>
1 parent a2913c6 commit 98d4309

22 files changed

+3028
-896
lines changed

docker/Dockerfile.base

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ RUN conda run -n comfystream --no-capture-output --cwd /workspace/comfystream py
4545
COPY . /workspace/comfystream
4646

4747
# Copy comfystream and example workflows to ComfyUI
48-
COPY ./workflows/comfyui/* /workspace/ComfyUI/user/default/workflows
48+
COPY ./workflows/comfyui/* /workspace/ComfyUI/user/default/workflows/
49+
COPY ./test/example-512x512.png /workspace/ComfyUI/input
4950

5051
# Install ComfyUI requirements
5152
RUN conda run -n comfystream --no-capture-output --cwd /workspace/ComfyUI pip install -r requirements.txt --root-user-action=ignore

test/example-512x512.png

200 KB
Loading

workflows/comfystream/examples/sd15_multi_cnet_depthanything_face.json workflows/comfystream/sd15-multi-cnet-depthanything-face-api.json

+48-14
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"7": {
5252
"inputs": {
53-
"seed": 59962529669489,
53+
"seed": 722042942226989,
5454
"steps": 2,
5555
"cfg": 1,
5656
"sampler_name": "lcm",
@@ -61,12 +61,12 @@
6161
0
6262
],
6363
"positive": [
64-
"19",
64+
"38",
6565
0
6666
],
6767
"negative": [
68-
"19",
69-
1
68+
"37",
69+
0
7070
],
7171
"latent_image": [
7272
"16",
@@ -198,8 +198,8 @@
198198
"inputs": {
199199
"stop_at_clip_layer": -2,
200200
"clip": [
201-
"27",
202-
1
201+
"36",
202+
0
203203
]
204204
},
205205
"class_type": "CLIPSetLastLayer",
@@ -213,12 +213,12 @@
213213
"start_percent": 0,
214214
"end_percent": 1,
215215
"positive": [
216-
"9",
216+
"5",
217217
0
218218
],
219219
"negative": [
220-
"9",
221-
1
220+
"6",
221+
0
222222
],
223223
"control_net": [
224224
"21",
@@ -275,21 +275,55 @@
275275
},
276276
"26": {
277277
"inputs": {
278-
"image": "pasted/image (2).png",
278+
"image": "example.png",
279279
"upload": "image"
280280
},
281281
"class_type": "LoadImage",
282282
"_meta": {
283283
"title": "Load Image"
284284
}
285285
},
286-
"27": {
286+
"36": {
287+
"inputs": {
288+
"clip_name": "CLIPText/model.fp16.safetensors",
289+
"type": "stable_diffusion",
290+
"device": "default"
291+
},
292+
"class_type": "CLIPLoader",
293+
"_meta": {
294+
"title": "Load CLIP"
295+
}
296+
},
297+
"37": {
287298
"inputs": {
288-
"ckpt_name": "dreamshaper_8.safetensors"
299+
"conditioning_to": [
300+
"9",
301+
1
302+
],
303+
"conditioning_from": [
304+
"19",
305+
1
306+
]
307+
},
308+
"class_type": "ConditioningConcat",
309+
"_meta": {
310+
"title": "Conditioning (Concat)"
311+
}
312+
},
313+
"38": {
314+
"inputs": {
315+
"conditioning_to": [
316+
"9",
317+
0
318+
],
319+
"conditioning_from": [
320+
"19",
321+
0
322+
]
289323
},
290-
"class_type": "CheckpointLoaderSimple",
324+
"class_type": "ConditioningConcat",
291325
"_meta": {
292-
"title": "Load Checkpoint"
326+
"title": "Conditioning (Concat)"
293327
}
294328
}
295329
}

workflows/comfystream/examples/sd15_multi_cnet_depthanything_o2o.json workflows/comfystream/sd15-multi-cnet-depthanything-o2o-api.json

+48-14
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"7": {
5252
"inputs": {
53-
"seed": 664544921666216,
53+
"seed": 210640214225839,
5454
"steps": 2,
5555
"cfg": 1,
5656
"sampler_name": "lcm",
@@ -61,12 +61,12 @@
6161
0
6262
],
6363
"positive": [
64-
"19",
64+
"29",
6565
0
6666
],
6767
"negative": [
68-
"19",
69-
1
68+
"30",
69+
0
7070
],
7171
"latent_image": [
7272
"16",
@@ -198,8 +198,8 @@
198198
"inputs": {
199199
"stop_at_clip_layer": -2,
200200
"clip": [
201-
"27",
202-
1
201+
"28",
202+
0
203203
]
204204
},
205205
"class_type": "CLIPSetLastLayer",
@@ -213,12 +213,12 @@
213213
"start_percent": 0,
214214
"end_percent": 1,
215215
"positive": [
216-
"9",
216+
"5",
217217
0
218218
],
219219
"negative": [
220-
"9",
221-
1
220+
"6",
221+
0
222222
],
223223
"control_net": [
224224
"21",
@@ -271,21 +271,55 @@
271271
},
272272
"26": {
273273
"inputs": {
274-
"image": "pasted/image (2).png",
274+
"image": "example.png",
275275
"upload": "image"
276276
},
277277
"class_type": "LoadImage",
278278
"_meta": {
279279
"title": "Load Image"
280280
}
281281
},
282-
"27": {
282+
"28": {
283+
"inputs": {
284+
"clip_name": "CLIPText/model.fp16.safetensors",
285+
"type": "stable_diffusion",
286+
"device": "default"
287+
},
288+
"class_type": "CLIPLoader",
289+
"_meta": {
290+
"title": "Load CLIP"
291+
}
292+
},
293+
"29": {
283294
"inputs": {
284-
"ckpt_name": "dreamshaper_8.safetensors"
295+
"conditioning_to": [
296+
"9",
297+
0
298+
],
299+
"conditioning_from": [
300+
"19",
301+
0
302+
]
303+
},
304+
"class_type": "ConditioningConcat",
305+
"_meta": {
306+
"title": "Conditioning (Concat)"
307+
}
308+
},
309+
"30": {
310+
"inputs": {
311+
"conditioning_to": [
312+
"9",
313+
1
314+
],
315+
"conditioning_from": [
316+
"19",
317+
1
318+
]
285319
},
286-
"class_type": "CheckpointLoaderSimple",
320+
"class_type": "ConditioningConcat",
287321
"_meta": {
288-
"title": "Load Checkpoint"
322+
"title": "Conditioning (Concat)"
289323
}
290324
}
291325
}

workflows/comfystream/examples/regional_lora.json workflows/comfystream/sd15-regional-lora-api.json

+15-13
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,9 @@
99
"title": "TensorRT Loader"
1010
}
1111
},
12-
"4": {
13-
"inputs": {
14-
"ckpt_name": "dreamshaper_8.safetensors"
15-
},
16-
"class_type": "CheckpointLoaderSimple",
17-
"_meta": {
18-
"title": "Load Checkpoint"
19-
}
20-
},
2112
"7": {
2213
"inputs": {
23-
"seed": 393392643060621,
14+
"seed": 878443241318109,
2415
"steps": 1,
2516
"cfg": 1,
2617
"sampler_name": "lcm",
@@ -191,7 +182,7 @@
191182
},
192183
"31": {
193184
"inputs": {
194-
"image": "binary_mask.png",
185+
"image": "example.png",
195186
"channel": "red",
196187
"upload": "image"
197188
},
@@ -217,8 +208,8 @@
217208
"inputs": {
218209
"stop_at_clip_layer": -2,
219210
"clip": [
220-
"4",
221-
1
211+
"49",
212+
0
222213
]
223214
},
224215
"class_type": "CLIPSetLastLayer",
@@ -384,5 +375,16 @@
384375
"_meta": {
385376
"title": "Depth Anything Tensorrt"
386377
}
378+
},
379+
"49": {
380+
"inputs": {
381+
"clip_name": "CLIPText/model.fp16.safetensors",
382+
"type": "stable_diffusion",
383+
"device": "default"
384+
},
385+
"class_type": "CLIPLoader",
386+
"_meta": {
387+
"title": "Load CLIP"
388+
}
387389
}
388390
}

0 commit comments

Comments
 (0)