-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdagthomas_ollama_workflow.json
1192 lines (1192 loc) · 24.1 KB
/
dagthomas_ollama_workflow.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"last_node_id": 108,
"last_link_id": 156,
"nodes": [
{
"id": 69,
"type": "LoadRandomImage",
"pos": [
-2634,
152
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "n_images",
"type": "INT",
"link": 147,
"widget": {
"name": "n_images"
},
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
100,
131
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadRandomImage"
},
"widgets_values": [
"x:\\ai",
3,
5108,
"randomize",
false,
false
]
},
{
"id": 92,
"type": "LoadImage",
"pos": [
-3410,
-170
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 2,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
133
],
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"7ACE9B56C3486DECA42D9B6ADB8F69E1D5CEE20696479E5DBCEBAE78EF1B3772.jpeg",
"image"
]
},
{
"id": 93,
"type": "LoadImage",
"pos": [
-3410,
190
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 2,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
134
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"im-not-going-back-to-sdxl-1-0-v0-njaom4ut5mgd1.webp",
"image"
]
},
{
"id": 91,
"type": "ImageBatch",
"pos": [
-3050,
70
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 7,
"mode": 2,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 133,
"slot_index": 0
},
{
"name": "image2",
"type": "IMAGE",
"link": 134,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageBatch"
}
},
{
"id": 98,
"type": "VAEDecode",
"pos": [
-30,
-210
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 141
},
{
"name": "vae",
"type": "VAE",
"link": 142
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
145
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 55,
"type": "ShowText|pysssss",
"pos": [
-1010,
-60
],
"size": {
"0": 376.41632080078125,
"1": 218.43174743652344
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 154,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
146
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
[
"A dimly lit cave backdrop features a rugged, rocky terrain with wisps of fog lingering in the distance, while a figure clad in a worn brown leather jacket and helmet emerges from the shadows, their back turned towards us as they stride purposefully to the right. The space suit, though worn and weathered, exudes an air of utilitarian practicality, its multiple pockets and straps a testament to the wearer's adventurous spirit. Beneath the suit, a large backpack bulges with an unseen weight, hinting at the burdens this traveler has shouldered in their quest for discovery.\n\nAgainst this foreboding backdrop, a forest scene unfolds like a serene oasis, its tall trees stretching towards the sky with a gentle elegance that belies the drama of the cave. The forest floor is carpeted with a soft layer of fallen leaves and twigs, punctuated by small plants that add a touch of vibrancy to this otherwise subdued palette.\n\nIn the center of this tranquil scene, a small square-shaped object made from moss or lichen emits a warm, golden light that seems almost otherworldly. This subtle glow infuses the atmosphere with an air of peacefulness, a sense of stillness that belies the tension and drama of the cave behind us.\n\nAs our gaze shifts between these two disparate worlds, we begin to notice the faintest glimmer of connection - a thread of shared experience or perhaps even fate - that binds these characters together. The figure in the cave, their face obscured by the helmet, seems to be moving purposefully towards this idyllic haven, drawn by some unseen force.\n\nThe light pouring into this sanctuary from the forest's entrance is warm and golden, tempered by a soft filter of leafy greenery that imbues it with a sense of earthiness. It casts long shadows across the cave's rugged terrain, accentuating its rugged beauty as our gaze lingers on the intersection of these two worlds.\n\nIn the midst of this cinematic convergence, the light sources dance and weave, imbuing each scene with an ethereal quality that seems almost otherworldly. The overall mood is one of heightened drama, tempered by a sense of serenity - a delicate balance that's both captivating and poignant. Shot on 35mm film using a Panasonic S1R with Lumix S 50mm f/1.4 lens, the image is characterized by visible grain and a subtle light leak, further enhancing its cinematic feel."
],
"A young woman lies in a dimly lit bedroom with pink pillows and a chandelier above. She's relaxed, eyes closed, head on pillow, hands on bed. A mystical sorceress stands before her, back arched, hands on ethereal aura, face flushed, half-closed eyes. The atmosphere is romantic, intimate, serene, powerful."
]
},
{
"id": 44,
"type": "PromptGenerator",
"pos": [
-1612,
144
],
"size": {
"0": 260.7744140625,
"1": 642
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "prompt",
"type": "STRING",
"links": [
116
],
"shape": 3,
"slot_index": 0
},
{
"name": "seed",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "t5xxl",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "clip_l",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "clip_g",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "PromptGenerator"
},
"widgets_values": [
1036254102683273,
"randomize",
"Cinematic tones. Visible film grain, subtle light leak. Color grade: enhanced warmth, slightly desaturated.",
"",
"photography",
"disabled",
"disabled",
"disabled",
"disabled",
"disabled",
"disabled",
"random",
"random",
"random",
"disabled",
"disabled",
"disabled",
"random",
"disabled",
"disabled",
"disabled",
"disabled"
]
},
{
"id": 82,
"type": "StringMergerNode",
"pos": [
-1332,
152
],
"size": {
"0": 288.669189453125,
"1": 78.24994659423828
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "string1",
"type": "STRING",
"link": 115,
"widget": {
"name": "string1"
}
},
{
"name": "string2",
"type": "STRING",
"link": 116,
"widget": {
"name": "string2"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StringMergerNode"
},
"widgets_values": [
"",
""
]
},
{
"id": 95,
"type": "CheckpointLoaderSimple",
"pos": [
-1020,
-200
],
"size": {
"0": 382.11749267578125,
"1": 98
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
148
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
139,
143
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
142
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"flux\\flux1-dev-fp8.safetensors"
]
},
{
"id": 97,
"type": "CLIPTextEncode",
"pos": [
-615,
-197
],
"size": {
"0": 224.96670532226562,
"1": 71.01355743408203
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 139
},
{
"name": "text",
"type": "STRING",
"link": 146,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
136
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 100,
"type": "CLIPTextEncode",
"pos": [
-612,
-83
],
"size": {
"0": 229.72625732421875,
"1": 76
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 143
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
137
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 99,
"type": "PGSD3LatentGenerator",
"pos": [
-615,
37
],
"size": {
"0": 232.10621643066406,
"1": 106
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
138
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PGSD3LatentGenerator"
},
"widgets_values": [
1344,
0,
1
]
},
{
"id": 96,
"type": "KSampler",
"pos": [
-360,
-210
],
"size": {
"0": 300.068603515625,
"1": 359.654052734375
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 148
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 136
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 137
},
{
"name": "latent_image",
"type": "LATENT",
"link": 138,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
141
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
491208150168421,
"fixed",
20,
1,
"ipndm",
"beta",
1
]
},
{
"id": 104,
"type": "DownloadAndLoadFlorence2Lora",
"pos": [
-2700,
-190
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "lora",
"type": "PEFTLORA",
"links": [
149
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadFlorence2Lora"
},
"widgets_values": [
"NikshepShetty/Florence-2-pixelprose"
]
},
{
"id": 105,
"type": "DownloadAndLoadFlorence2Model",
"pos": [
-2380,
-240
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "lora",
"type": "PEFTLORA",
"link": 149
}
],
"outputs": [
{
"name": "florence2_model",
"type": "FL2MODEL",
"links": [
150
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadFlorence2Model"
},
"widgets_values": [
"MiaoshouAI/Florence-2-base-PromptGen",
"fp16",
"sdpa"
]
},
{
"id": 90,
"type": "ImageScaleDownToSize",
"pos": [
-2307,
18
],
"size": {
"0": 250.89402770996094,
"1": 82.05248260498047
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 131
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
151
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleDownToSize"
},
"widgets_values": [
512,
true
]
},
{
"id": 102,
"type": "SaveImage",
"pos": [
-1005,
208
],
"size": {
"0": 959.3043823242188,
"1": 678.628662109375
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 145
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"comfyui_dagthomas_localllm_"
]
},
{
"id": 103,
"type": "RandomIntegerNode",
"pos": [
-2980,
245
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
147
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "RandomIntegerNode"
},
"widgets_values": [
2,
3,
4231535156,
"randomize"
]
},
{
"id": 70,
"type": "PreviewImage",
"pos": [
-2298,
147
],
"size": {
"0": 667.8660888671875,
"1": 354.0786437988281
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 100
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 106,
"type": "Florence2Run",
"pos": [
-2040,
-250
],
"size": {
"0": 400,
"1": 352
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 151
},
{
"name": "florence2_model",
"type": "FL2MODEL",
"link": 150
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "mask",
"type": "MASK",
"links": null,
"shape": 3
},
{
"name": "caption",
"type": "STRING",
"links": [
152
],
"shape": 3,
"slot_index": 2
},
{
"name": "data",
"type": "JSON",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Florence2Run"
},
"widgets_values": [
"",
"more_detailed_caption",
false,
false,
1024,
5,
true,
"",
1695625445,
"randomize"
]
},
{
"id": 77,
"type": "ShowText|pysssss",
"pos": [
-1618,
-212
],
"size": {
"0": 573.5288696289062,
"1": 325.9341125488281
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 152,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
115,
156
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
[
[
"The image shows a person wearing a full-body space suit and a helmet, standing in a cave. The person is facing towards the right side of the image, with their back towards the camera. They are wearing a brown leather jacket with multiple pockets and straps, and a large backpack on their back. The background is dark and rocky, with a hint of fog or mist visible in the distance. The overall mood of the scene is mysterious and adventurous.",
"The image is a photograph of a forest scene with tall trees in the background. The trees are tall and slender, with their trunks reaching up towards the sky. The ground is covered in fallen leaves and twigs, and there are a few small plants scattered around. In the center of the image, there is a small square-shaped object that appears to be made of moss or lichen. The object is lit from within, creating a warm glow that illuminates the scene. The overall mood of the photograph is peaceful and serene."
]
],
"a young woman who is lying on her side in a dimly lit bedroom, surrounded by pink pillows and a chandelier hanging from the ceiling, her eyes are closed, and she appears to be in a state of relaxation, with her head resting on a pillow and her hands resting on the bed, the overall atmosphere of the image is romantic and intimate, inviting the viewer into her intimate world,a mysterious and mystical sorceress standing in a swirling pose, with her back arched and her hands resting on ethereal aura, her face is flushed with a subtle blush, and her eyes are half-closed, giving off a sense of serenity and power, her posture is one of confidence and strength, as if she is ready to take on any challenge that comes her way, her gaze is directed at the viewer, inviting them into her world"
]
},
{
"id": 107,
"type": "OllamaNode",
"pos": [
-1327,
279
],
"size": {
"0": 280.3885803222656,
"1": 294
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "input_text",
"type": "STRING",
"link": 156,
"widget": {
"name": "input_text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
154
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "OllamaNode"
},
"widgets_values": [
"",
true,
true,
"soft",
"",
"",
"llama3.1:8b",
"http://localhost:11434/api/generate",
"",
"Only give me the answer.\nCompress this to half the size, while keeping the essence"
]
}
],
"links": [
[
100,
69,
0,
70,
0,
"IMAGE"
],
[
115,
77,