Upload 2 files
Browse files- .gitattributes +1 -0
- comfyui/SRPO-workflow.json +901 -0
- comfyui/SRPO-workflow.png +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
comfyui/SRPO-workflow.png filter=lfs diff=lfs merge=lfs -text
|
comfyui/SRPO-workflow.json
ADDED
@@ -0,0 +1,901 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|
5 |
+
"last_link_id": 118,
|
6 |
+
"nodes": [
|
7 |
+
{
|
8 |
+
"id": 26,
|
9 |
+
"type": "FluxGuidance",
|
10 |
+
"pos": [
|
11 |
+
480,
|
12 |
+
144
|
13 |
+
],
|
14 |
+
"size": [
|
15 |
+
317.4000244140625,
|
16 |
+
58
|
17 |
+
],
|
18 |
+
"flags": {},
|
19 |
+
"order": 10,
|
20 |
+
"mode": 0,
|
21 |
+
"inputs": [
|
22 |
+
{
|
23 |
+
"name": "conditioning",
|
24 |
+
"type": "CONDITIONING",
|
25 |
+
"link": 41
|
26 |
+
}
|
27 |
+
],
|
28 |
+
"outputs": [
|
29 |
+
{
|
30 |
+
"name": "CONDITIONING",
|
31 |
+
"type": "CONDITIONING",
|
32 |
+
"slot_index": 0,
|
33 |
+
"links": [
|
34 |
+
42
|
35 |
+
]
|
36 |
+
}
|
37 |
+
],
|
38 |
+
"properties": {
|
39 |
+
"cnr_id": "comfy-core",
|
40 |
+
"ver": "0.3.47",
|
41 |
+
"Node name for S&R": "FluxGuidance"
|
42 |
+
},
|
43 |
+
"widgets_values": [
|
44 |
+
3.5
|
45 |
+
],
|
46 |
+
"color": "#233",
|
47 |
+
"bgcolor": "#355"
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"id": 22,
|
51 |
+
"type": "BasicGuider",
|
52 |
+
"pos": [
|
53 |
+
576,
|
54 |
+
48
|
55 |
+
],
|
56 |
+
"size": [
|
57 |
+
222.3482666015625,
|
58 |
+
46
|
59 |
+
],
|
60 |
+
"flags": {},
|
61 |
+
"order": 12,
|
62 |
+
"mode": 0,
|
63 |
+
"inputs": [
|
64 |
+
{
|
65 |
+
"name": "model",
|
66 |
+
"type": "MODEL",
|
67 |
+
"link": 54
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"name": "conditioning",
|
71 |
+
"type": "CONDITIONING",
|
72 |
+
"link": 42
|
73 |
+
}
|
74 |
+
],
|
75 |
+
"outputs": [
|
76 |
+
{
|
77 |
+
"name": "GUIDER",
|
78 |
+
"type": "GUIDER",
|
79 |
+
"slot_index": 0,
|
80 |
+
"links": [
|
81 |
+
30
|
82 |
+
]
|
83 |
+
}
|
84 |
+
],
|
85 |
+
"properties": {
|
86 |
+
"cnr_id": "comfy-core",
|
87 |
+
"ver": "0.3.47",
|
88 |
+
"Node name for S&R": "BasicGuider"
|
89 |
+
},
|
90 |
+
"widgets_values": []
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"id": 35,
|
94 |
+
"type": "PrimitiveNode",
|
95 |
+
"pos": [
|
96 |
+
672,
|
97 |
+
480
|
98 |
+
],
|
99 |
+
"size": [
|
100 |
+
210,
|
101 |
+
82
|
102 |
+
],
|
103 |
+
"flags": {},
|
104 |
+
"order": 0,
|
105 |
+
"mode": 0,
|
106 |
+
"inputs": [],
|
107 |
+
"outputs": [
|
108 |
+
{
|
109 |
+
"name": "INT",
|
110 |
+
"type": "INT",
|
111 |
+
"widget": {
|
112 |
+
"name": "height"
|
113 |
+
},
|
114 |
+
"slot_index": 0,
|
115 |
+
"links": [
|
116 |
+
113,
|
117 |
+
114
|
118 |
+
]
|
119 |
+
}
|
120 |
+
],
|
121 |
+
"title": "height",
|
122 |
+
"properties": {
|
123 |
+
"Run widget replace on values": false
|
124 |
+
},
|
125 |
+
"widgets_values": [
|
126 |
+
720,
|
127 |
+
"fixed"
|
128 |
+
],
|
129 |
+
"color": "#323",
|
130 |
+
"bgcolor": "#535"
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"id": 25,
|
134 |
+
"type": "RandomNoise",
|
135 |
+
"pos": [
|
136 |
+
480,
|
137 |
+
768
|
138 |
+
],
|
139 |
+
"size": [
|
140 |
+
315,
|
141 |
+
82
|
142 |
+
],
|
143 |
+
"flags": {},
|
144 |
+
"order": 1,
|
145 |
+
"mode": 0,
|
146 |
+
"inputs": [],
|
147 |
+
"outputs": [
|
148 |
+
{
|
149 |
+
"name": "NOISE",
|
150 |
+
"type": "NOISE",
|
151 |
+
"links": [
|
152 |
+
37
|
153 |
+
]
|
154 |
+
}
|
155 |
+
],
|
156 |
+
"properties": {
|
157 |
+
"cnr_id": "comfy-core",
|
158 |
+
"ver": "0.3.47",
|
159 |
+
"Node name for S&R": "RandomNoise"
|
160 |
+
},
|
161 |
+
"widgets_values": [
|
162 |
+
1234,
|
163 |
+
"fixed"
|
164 |
+
],
|
165 |
+
"color": "#2a363b",
|
166 |
+
"bgcolor": "#3f5159"
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"id": 16,
|
170 |
+
"type": "KSamplerSelect",
|
171 |
+
"pos": [
|
172 |
+
485.88037109375,
|
173 |
+
892.5553588867188
|
174 |
+
],
|
175 |
+
"size": [
|
176 |
+
315,
|
177 |
+
58
|
178 |
+
],
|
179 |
+
"flags": {},
|
180 |
+
"order": 2,
|
181 |
+
"mode": 0,
|
182 |
+
"inputs": [],
|
183 |
+
"outputs": [
|
184 |
+
{
|
185 |
+
"name": "SAMPLER",
|
186 |
+
"type": "SAMPLER",
|
187 |
+
"links": [
|
188 |
+
19
|
189 |
+
]
|
190 |
+
}
|
191 |
+
],
|
192 |
+
"properties": {
|
193 |
+
"cnr_id": "comfy-core",
|
194 |
+
"ver": "0.3.47",
|
195 |
+
"Node name for S&R": "KSamplerSelect"
|
196 |
+
},
|
197 |
+
"widgets_values": [
|
198 |
+
"euler"
|
199 |
+
]
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"id": 30,
|
203 |
+
"type": "ModelSamplingFlux",
|
204 |
+
"pos": [
|
205 |
+
819.402099609375,
|
206 |
+
769.8795166015625
|
207 |
+
],
|
208 |
+
"size": [
|
209 |
+
315,
|
210 |
+
130
|
211 |
+
],
|
212 |
+
"flags": {},
|
213 |
+
"order": 11,
|
214 |
+
"mode": 0,
|
215 |
+
"inputs": [
|
216 |
+
{
|
217 |
+
"name": "model",
|
218 |
+
"type": "MODEL",
|
219 |
+
"link": 56
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"name": "width",
|
223 |
+
"type": "INT",
|
224 |
+
"widget": {
|
225 |
+
"name": "width"
|
226 |
+
},
|
227 |
+
"link": 115
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"name": "height",
|
231 |
+
"type": "INT",
|
232 |
+
"widget": {
|
233 |
+
"name": "height"
|
234 |
+
},
|
235 |
+
"link": 114
|
236 |
+
}
|
237 |
+
],
|
238 |
+
"outputs": [
|
239 |
+
{
|
240 |
+
"name": "MODEL",
|
241 |
+
"type": "MODEL",
|
242 |
+
"slot_index": 0,
|
243 |
+
"links": [
|
244 |
+
54,
|
245 |
+
55
|
246 |
+
]
|
247 |
+
}
|
248 |
+
],
|
249 |
+
"properties": {
|
250 |
+
"cnr_id": "comfy-core",
|
251 |
+
"ver": "0.3.47",
|
252 |
+
"Node name for S&R": "ModelSamplingFlux"
|
253 |
+
},
|
254 |
+
"widgets_values": [
|
255 |
+
1.15,
|
256 |
+
0.5,
|
257 |
+
1280,
|
258 |
+
720
|
259 |
+
]
|
260 |
+
},
|
261 |
+
{
|
262 |
+
"id": 17,
|
263 |
+
"type": "BasicScheduler",
|
264 |
+
"pos": [
|
265 |
+
827.9284057617188,
|
266 |
+
619.0258178710938
|
267 |
+
],
|
268 |
+
"size": [
|
269 |
+
315,
|
270 |
+
106
|
271 |
+
],
|
272 |
+
"flags": {},
|
273 |
+
"order": 13,
|
274 |
+
"mode": 0,
|
275 |
+
"inputs": [
|
276 |
+
{
|
277 |
+
"name": "model",
|
278 |
+
"type": "MODEL",
|
279 |
+
"link": 55
|
280 |
+
}
|
281 |
+
],
|
282 |
+
"outputs": [
|
283 |
+
{
|
284 |
+
"name": "SIGMAS",
|
285 |
+
"type": "SIGMAS",
|
286 |
+
"links": [
|
287 |
+
20
|
288 |
+
]
|
289 |
+
}
|
290 |
+
],
|
291 |
+
"properties": {
|
292 |
+
"cnr_id": "comfy-core",
|
293 |
+
"ver": "0.3.47",
|
294 |
+
"Node name for S&R": "BasicScheduler"
|
295 |
+
},
|
296 |
+
"widgets_values": [
|
297 |
+
"normal",
|
298 |
+
50,
|
299 |
+
1
|
300 |
+
]
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"id": 6,
|
304 |
+
"type": "CLIPTextEncode",
|
305 |
+
"pos": [
|
306 |
+
384,
|
307 |
+
240
|
308 |
+
],
|
309 |
+
"size": [
|
310 |
+
422.84503173828125,
|
311 |
+
164.31304931640625
|
312 |
+
],
|
313 |
+
"flags": {},
|
314 |
+
"order": 7,
|
315 |
+
"mode": 0,
|
316 |
+
"inputs": [
|
317 |
+
{
|
318 |
+
"name": "clip",
|
319 |
+
"type": "CLIP",
|
320 |
+
"link": 10
|
321 |
+
}
|
322 |
+
],
|
323 |
+
"outputs": [
|
324 |
+
{
|
325 |
+
"name": "CONDITIONING",
|
326 |
+
"type": "CONDITIONING",
|
327 |
+
"slot_index": 0,
|
328 |
+
"links": [
|
329 |
+
41
|
330 |
+
]
|
331 |
+
}
|
332 |
+
],
|
333 |
+
"title": "CLIP Text Encode (Positive Prompt)",
|
334 |
+
"properties": {
|
335 |
+
"cnr_id": "comfy-core",
|
336 |
+
"ver": "0.3.47",
|
337 |
+
"Node name for S&R": "CLIPTextEncode"
|
338 |
+
},
|
339 |
+
"widgets_values": [
|
340 |
+
"portrait of a girl",
|
341 |
+
[
|
342 |
+
false,
|
343 |
+
true
|
344 |
+
]
|
345 |
+
],
|
346 |
+
"color": "#232",
|
347 |
+
"bgcolor": "#353"
|
348 |
+
},
|
349 |
+
{
|
350 |
+
"id": 27,
|
351 |
+
"type": "EmptySD3LatentImage",
|
352 |
+
"pos": [
|
353 |
+
480,
|
354 |
+
624
|
355 |
+
],
|
356 |
+
"size": [
|
357 |
+
315,
|
358 |
+
106
|
359 |
+
],
|
360 |
+
"flags": {},
|
361 |
+
"order": 8,
|
362 |
+
"mode": 0,
|
363 |
+
"inputs": [
|
364 |
+
{
|
365 |
+
"name": "width",
|
366 |
+
"type": "INT",
|
367 |
+
"widget": {
|
368 |
+
"name": "width"
|
369 |
+
},
|
370 |
+
"link": 112
|
371 |
+
},
|
372 |
+
{
|
373 |
+
"name": "height",
|
374 |
+
"type": "INT",
|
375 |
+
"widget": {
|
376 |
+
"name": "height"
|
377 |
+
},
|
378 |
+
"link": 113
|
379 |
+
}
|
380 |
+
],
|
381 |
+
"outputs": [
|
382 |
+
{
|
383 |
+
"name": "LATENT",
|
384 |
+
"type": "LATENT",
|
385 |
+
"slot_index": 0,
|
386 |
+
"links": [
|
387 |
+
116
|
388 |
+
]
|
389 |
+
}
|
390 |
+
],
|
391 |
+
"properties": {
|
392 |
+
"cnr_id": "comfy-core",
|
393 |
+
"ver": "0.3.47",
|
394 |
+
"Node name for S&R": "EmptySD3LatentImage"
|
395 |
+
},
|
396 |
+
"widgets_values": [
|
397 |
+
1280,
|
398 |
+
720,
|
399 |
+
1
|
400 |
+
]
|
401 |
+
},
|
402 |
+
{
|
403 |
+
"id": 10,
|
404 |
+
"type": "VAELoader",
|
405 |
+
"pos": [
|
406 |
+
117.68590545654297,
|
407 |
+
618.4750366210938
|
408 |
+
],
|
409 |
+
"size": [
|
410 |
+
311.81634521484375,
|
411 |
+
60.429901123046875
|
412 |
+
],
|
413 |
+
"flags": {},
|
414 |
+
"order": 3,
|
415 |
+
"mode": 0,
|
416 |
+
"inputs": [],
|
417 |
+
"outputs": [
|
418 |
+
{
|
419 |
+
"name": "VAE",
|
420 |
+
"type": "VAE",
|
421 |
+
"slot_index": 0,
|
422 |
+
"links": [
|
423 |
+
12
|
424 |
+
]
|
425 |
+
}
|
426 |
+
],
|
427 |
+
"properties": {
|
428 |
+
"cnr_id": "comfy-core",
|
429 |
+
"ver": "0.3.47",
|
430 |
+
"Node name for S&R": "VAELoader"
|
431 |
+
},
|
432 |
+
"widgets_values": [
|
433 |
+
"ae.safetensors"
|
434 |
+
]
|
435 |
+
},
|
436 |
+
{
|
437 |
+
"id": 11,
|
438 |
+
"type": "DualCLIPLoader",
|
439 |
+
"pos": [
|
440 |
+
94.37985229492188,
|
441 |
+
431.09332275390625
|
442 |
+
],
|
443 |
+
"size": [
|
444 |
+
315,
|
445 |
+
130
|
446 |
+
],
|
447 |
+
"flags": {},
|
448 |
+
"order": 4,
|
449 |
+
"mode": 0,
|
450 |
+
"inputs": [],
|
451 |
+
"outputs": [
|
452 |
+
{
|
453 |
+
"name": "CLIP",
|
454 |
+
"type": "CLIP",
|
455 |
+
"slot_index": 0,
|
456 |
+
"links": [
|
457 |
+
10
|
458 |
+
]
|
459 |
+
}
|
460 |
+
],
|
461 |
+
"properties": {
|
462 |
+
"cnr_id": "comfy-core",
|
463 |
+
"ver": "0.3.47",
|
464 |
+
"Node name for S&R": "DualCLIPLoader"
|
465 |
+
},
|
466 |
+
"widgets_values": [
|
467 |
+
"t5xxl_fp16.safetensors",
|
468 |
+
"clip_l.safetensors",
|
469 |
+
"flux",
|
470 |
+
"default"
|
471 |
+
]
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"id": 8,
|
475 |
+
"type": "VAEDecode",
|
476 |
+
"pos": [
|
477 |
+
904.7182006835938,
|
478 |
+
503.7352600097656
|
479 |
+
],
|
480 |
+
"size": [
|
481 |
+
210,
|
482 |
+
46
|
483 |
+
],
|
484 |
+
"flags": {},
|
485 |
+
"order": 15,
|
486 |
+
"mode": 0,
|
487 |
+
"inputs": [
|
488 |
+
{
|
489 |
+
"name": "samples",
|
490 |
+
"type": "LATENT",
|
491 |
+
"link": 24
|
492 |
+
},
|
493 |
+
{
|
494 |
+
"name": "vae",
|
495 |
+
"type": "VAE",
|
496 |
+
"link": 12
|
497 |
+
}
|
498 |
+
],
|
499 |
+
"outputs": [
|
500 |
+
{
|
501 |
+
"name": "IMAGE",
|
502 |
+
"type": "IMAGE",
|
503 |
+
"slot_index": 0,
|
504 |
+
"links": [
|
505 |
+
9
|
506 |
+
]
|
507 |
+
}
|
508 |
+
],
|
509 |
+
"properties": {
|
510 |
+
"cnr_id": "comfy-core",
|
511 |
+
"ver": "0.3.47",
|
512 |
+
"Node name for S&R": "VAEDecode"
|
513 |
+
},
|
514 |
+
"widgets_values": []
|
515 |
+
},
|
516 |
+
{
|
517 |
+
"id": 34,
|
518 |
+
"type": "PrimitiveNode",
|
519 |
+
"pos": [
|
520 |
+
448.2789001464844,
|
521 |
+
481.0135192871094
|
522 |
+
],
|
523 |
+
"size": [
|
524 |
+
210,
|
525 |
+
82
|
526 |
+
],
|
527 |
+
"flags": {},
|
528 |
+
"order": 5,
|
529 |
+
"mode": 0,
|
530 |
+
"inputs": [],
|
531 |
+
"outputs": [
|
532 |
+
{
|
533 |
+
"name": "INT",
|
534 |
+
"type": "INT",
|
535 |
+
"widget": {
|
536 |
+
"name": "width"
|
537 |
+
},
|
538 |
+
"slot_index": 0,
|
539 |
+
"links": [
|
540 |
+
112,
|
541 |
+
115
|
542 |
+
]
|
543 |
+
}
|
544 |
+
],
|
545 |
+
"title": "width",
|
546 |
+
"properties": {
|
547 |
+
"Run widget replace on values": false
|
548 |
+
},
|
549 |
+
"widgets_values": [
|
550 |
+
1280,
|
551 |
+
"fixed"
|
552 |
+
],
|
553 |
+
"color": "#323",
|
554 |
+
"bgcolor": "#535"
|
555 |
+
},
|
556 |
+
{
|
557 |
+
"id": 13,
|
558 |
+
"type": "SamplerCustomAdvanced",
|
559 |
+
"pos": [
|
560 |
+
843.1868896484375,
|
561 |
+
299.7455139160156
|
562 |
+
],
|
563 |
+
"size": [
|
564 |
+
272.3617858886719,
|
565 |
+
124.53733825683594
|
566 |
+
],
|
567 |
+
"flags": {},
|
568 |
+
"order": 14,
|
569 |
+
"mode": 0,
|
570 |
+
"inputs": [
|
571 |
+
{
|
572 |
+
"name": "noise",
|
573 |
+
"type": "NOISE",
|
574 |
+
"link": 37
|
575 |
+
},
|
576 |
+
{
|
577 |
+
"name": "guider",
|
578 |
+
"type": "GUIDER",
|
579 |
+
"link": 30
|
580 |
+
},
|
581 |
+
{
|
582 |
+
"name": "sampler",
|
583 |
+
"type": "SAMPLER",
|
584 |
+
"link": 19
|
585 |
+
},
|
586 |
+
{
|
587 |
+
"name": "sigmas",
|
588 |
+
"type": "SIGMAS",
|
589 |
+
"link": 20
|
590 |
+
},
|
591 |
+
{
|
592 |
+
"name": "latent_image",
|
593 |
+
"type": "LATENT",
|
594 |
+
"link": 116
|
595 |
+
}
|
596 |
+
],
|
597 |
+
"outputs": [
|
598 |
+
{
|
599 |
+
"name": "output",
|
600 |
+
"type": "LATENT",
|
601 |
+
"slot_index": 0,
|
602 |
+
"links": [
|
603 |
+
24
|
604 |
+
]
|
605 |
+
},
|
606 |
+
{
|
607 |
+
"name": "denoised_output",
|
608 |
+
"type": "LATENT",
|
609 |
+
"links": null
|
610 |
+
}
|
611 |
+
],
|
612 |
+
"properties": {
|
613 |
+
"cnr_id": "comfy-core",
|
614 |
+
"ver": "0.3.47",
|
615 |
+
"Node name for S&R": "SamplerCustomAdvanced"
|
616 |
+
},
|
617 |
+
"widgets_values": []
|
618 |
+
},
|
619 |
+
{
|
620 |
+
"id": 38,
|
621 |
+
"type": "PrimitiveNode",
|
622 |
+
"pos": [
|
623 |
+
127.22330474853516,
|
624 |
+
137.1959228515625
|
625 |
+
],
|
626 |
+
"size": [
|
627 |
+
210,
|
628 |
+
106
|
629 |
+
],
|
630 |
+
"flags": {},
|
631 |
+
"order": 6,
|
632 |
+
"mode": 0,
|
633 |
+
"inputs": [],
|
634 |
+
"outputs": [
|
635 |
+
{
|
636 |
+
"name": "COMBO",
|
637 |
+
"type": "COMBO",
|
638 |
+
"widget": {
|
639 |
+
"name": "unet_name"
|
640 |
+
},
|
641 |
+
"links": [
|
642 |
+
117
|
643 |
+
]
|
644 |
+
}
|
645 |
+
],
|
646 |
+
"title": "unet_name",
|
647 |
+
"properties": {
|
648 |
+
"Run widget replace on values": false
|
649 |
+
},
|
650 |
+
"widgets_values": [
|
651 |
+
"SRPO/diffusion_pytorch_model.safetensors",
|
652 |
+
"fixed",
|
653 |
+
""
|
654 |
+
]
|
655 |
+
},
|
656 |
+
{
|
657 |
+
"id": 12,
|
658 |
+
"type": "UNETLoader",
|
659 |
+
"pos": [
|
660 |
+
62.84854507446289,
|
661 |
+
294.443603515625
|
662 |
+
],
|
663 |
+
"size": [
|
664 |
+
315,
|
665 |
+
82
|
666 |
+
],
|
667 |
+
"flags": {},
|
668 |
+
"order": 9,
|
669 |
+
"mode": 0,
|
670 |
+
"inputs": [
|
671 |
+
{
|
672 |
+
"name": "unet_name",
|
673 |
+
"type": "COMBO",
|
674 |
+
"widget": {
|
675 |
+
"name": "unet_name"
|
676 |
+
},
|
677 |
+
"link": 117
|
678 |
+
}
|
679 |
+
],
|
680 |
+
"outputs": [
|
681 |
+
{
|
682 |
+
"name": "MODEL",
|
683 |
+
"type": "MODEL",
|
684 |
+
"slot_index": 0,
|
685 |
+
"links": [
|
686 |
+
56
|
687 |
+
]
|
688 |
+
}
|
689 |
+
],
|
690 |
+
"properties": {
|
691 |
+
"cnr_id": "comfy-core",
|
692 |
+
"ver": "0.3.47",
|
693 |
+
"Node name for S&R": "UNETLoader"
|
694 |
+
},
|
695 |
+
"widgets_values": [
|
696 |
+
"SRPO/diffusion_pytorch_model.safetensors",
|
697 |
+
"default"
|
698 |
+
],
|
699 |
+
"color": "#223",
|
700 |
+
"bgcolor": "#335"
|
701 |
+
},
|
702 |
+
{
|
703 |
+
"id": 9,
|
704 |
+
"type": "SaveImage",
|
705 |
+
"pos": [
|
706 |
+
1170.7294921875,
|
707 |
+
165.6167755126953
|
708 |
+
],
|
709 |
+
"size": [
|
710 |
+
992.8073120117188,
|
711 |
+
656.9705810546875
|
712 |
+
],
|
713 |
+
"flags": {},
|
714 |
+
"order": 16,
|
715 |
+
"mode": 0,
|
716 |
+
"inputs": [
|
717 |
+
{
|
718 |
+
"name": "images",
|
719 |
+
"type": "IMAGE",
|
720 |
+
"link": 9
|
721 |
+
}
|
722 |
+
],
|
723 |
+
"outputs": [],
|
724 |
+
"properties": {
|
725 |
+
"cnr_id": "comfy-core",
|
726 |
+
"ver": "0.3.47"
|
727 |
+
},
|
728 |
+
"widgets_values": [
|
729 |
+
"ComfyUI"
|
730 |
+
]
|
731 |
+
}
|
732 |
+
],
|
733 |
+
"links": [
|
734 |
+
[
|
735 |
+
9,
|
736 |
+
8,
|
737 |
+
0,
|
738 |
+
9,
|
739 |
+
0,
|
740 |
+
"IMAGE"
|
741 |
+
],
|
742 |
+
[
|
743 |
+
10,
|
744 |
+
11,
|
745 |
+
0,
|
746 |
+
6,
|
747 |
+
0,
|
748 |
+
"CLIP"
|
749 |
+
],
|
750 |
+
[
|
751 |
+
12,
|
752 |
+
10,
|
753 |
+
0,
|
754 |
+
8,
|
755 |
+
1,
|
756 |
+
"VAE"
|
757 |
+
],
|
758 |
+
[
|
759 |
+
19,
|
760 |
+
16,
|
761 |
+
0,
|
762 |
+
13,
|
763 |
+
2,
|
764 |
+
"SAMPLER"
|
765 |
+
],
|
766 |
+
[
|
767 |
+
20,
|
768 |
+
17,
|
769 |
+
0,
|
770 |
+
13,
|
771 |
+
3,
|
772 |
+
"SIGMAS"
|
773 |
+
],
|
774 |
+
[
|
775 |
+
24,
|
776 |
+
13,
|
777 |
+
0,
|
778 |
+
8,
|
779 |
+
0,
|
780 |
+
"LATENT"
|
781 |
+
],
|
782 |
+
[
|
783 |
+
30,
|
784 |
+
22,
|
785 |
+
0,
|
786 |
+
13,
|
787 |
+
1,
|
788 |
+
"GUIDER"
|
789 |
+
],
|
790 |
+
[
|
791 |
+
37,
|
792 |
+
25,
|
793 |
+
0,
|
794 |
+
13,
|
795 |
+
0,
|
796 |
+
"NOISE"
|
797 |
+
],
|
798 |
+
[
|
799 |
+
41,
|
800 |
+
6,
|
801 |
+
0,
|
802 |
+
26,
|
803 |
+
0,
|
804 |
+
"CONDITIONING"
|
805 |
+
],
|
806 |
+
[
|
807 |
+
42,
|
808 |
+
26,
|
809 |
+
0,
|
810 |
+
22,
|
811 |
+
1,
|
812 |
+
"CONDITIONING"
|
813 |
+
],
|
814 |
+
[
|
815 |
+
54,
|
816 |
+
30,
|
817 |
+
0,
|
818 |
+
22,
|
819 |
+
0,
|
820 |
+
"MODEL"
|
821 |
+
],
|
822 |
+
[
|
823 |
+
55,
|
824 |
+
30,
|
825 |
+
0,
|
826 |
+
17,
|
827 |
+
0,
|
828 |
+
"MODEL"
|
829 |
+
],
|
830 |
+
[
|
831 |
+
56,
|
832 |
+
12,
|
833 |
+
0,
|
834 |
+
30,
|
835 |
+
0,
|
836 |
+
"MODEL"
|
837 |
+
],
|
838 |
+
[
|
839 |
+
112,
|
840 |
+
34,
|
841 |
+
0,
|
842 |
+
27,
|
843 |
+
0,
|
844 |
+
"INT"
|
845 |
+
],
|
846 |
+
[
|
847 |
+
113,
|
848 |
+
35,
|
849 |
+
0,
|
850 |
+
27,
|
851 |
+
1,
|
852 |
+
"INT"
|
853 |
+
],
|
854 |
+
[
|
855 |
+
114,
|
856 |
+
35,
|
857 |
+
0,
|
858 |
+
30,
|
859 |
+
2,
|
860 |
+
"INT"
|
861 |
+
],
|
862 |
+
[
|
863 |
+
115,
|
864 |
+
34,
|
865 |
+
0,
|
866 |
+
30,
|
867 |
+
1,
|
868 |
+
"INT"
|
869 |
+
],
|
870 |
+
[
|
871 |
+
116,
|
872 |
+
27,
|
873 |
+
0,
|
874 |
+
13,
|
875 |
+
4,
|
876 |
+
"LATENT"
|
877 |
+
],
|
878 |
+
[
|
879 |
+
117,
|
880 |
+
38,
|
881 |
+
0,
|
882 |
+
12,
|
883 |
+
0,
|
884 |
+
"COMBO"
|
885 |
+
]
|
886 |
+
],
|
887 |
+
"groups": [],
|
888 |
+
"config": {},
|
889 |
+
"extra": {
|
890 |
+
"ds": {
|
891 |
+
"scale": 1,
|
892 |
+
"offset": [
|
893 |
+
-88.38370132446289,
|
894 |
+
-156.26953125
|
895 |
+
]
|
896 |
+
},
|
897 |
+
"frontendVersion": "1.23.4",
|
898 |
+
"groupNodes": {}
|
899 |
+
},
|
900 |
+
"version": 0.4
|
901 |
+
}
|
comfyui/SRPO-workflow.png
ADDED
![]() |
Git LFS Details
|