-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathstart_with_OMOST.json
786 lines (786 loc) · 23.3 KB
/
start_with_OMOST.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
{
"last_node_id": 70,
"last_link_id": 69,
"nodes": [
{
"id": 56,
"type": "VAEDecode",
"pos": [
2873.239392250689,
301.5725193208629
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 44,
"label": "samples"
},
{
"name": "vae",
"type": "VAE",
"link": 45,
"label": "vae"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
46
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 54,
"type": "KSampler",
"pos": [
2421,
285
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 42,
"label": "model"
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 67,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 43,
"label": "negative",
"slot_index": 2
},
{
"name": "latent_image",
"type": "LATENT",
"link": 50,
"label": "latent_image",
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"shape": 3,
"label": "LATENT",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
995990168097671,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 61,
"type": "LLM_local_loader",
"pos": [
527,
506
],
"size": {
"0": 315,
"1": 174
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "model",
"type": "CUSTOM",
"links": [
52
],
"shape": 3,
"label": "model",
"slot_index": 0
},
{
"name": "tokenizer",
"type": "CUSTOM",
"links": [
53
],
"shape": 3,
"label": "tokenizer",
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LLM_local_loader"
},
"widgets_values": [
"llama",
"D:\\AI\\mychat\\model\\omost\\",
"D:\\AI\\mychat\\model\\omost\\",
"auto",
"float32"
]
},
{
"id": 63,
"type": "load_persona",
"pos": [
530,
743
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "file_content",
"type": "STRING",
"link": null,
"widget": {
"name": "file_content"
},
"label": "file_content"
}
],
"outputs": [
{
"name": "system_prompt",
"type": "STRING",
"links": [
54
],
"shape": 3,
"label": "system_prompt",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "load_persona"
},
"widgets_values": [
"omost",
true,
""
]
},
{
"id": 55,
"type": "CLIPTextEncode",
"pos": [
1628,
628
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 47,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
43
],
"shape": 3,
"label": "CONDITIONING"
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"NSFW,(text), animal ears, (logo), (watermark), ((big hands, un-detailed skin, sketch, cartoon, drawing)), ((ugly mouth, ugly eyes, missing teeth, crooked teeth, cropped, out of frame)), worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck,(more than two arm per body:1.5), (more than two leg per body:1.5), (more than five fingers on one hand:1.5), multi arms, multi legs, bad arm anatomy, bad leg anatomy, bad hand anatomy, bad finger anatomy, bad detailed background, unclear architectural outline, non-linear background, elf-ears, hair crosses the screen border, obesity, fat, lowres, worst quality, low quality, blurry, mutated hands and fingers, disfigured, fused, cloned, duplicate, artist name, giantess, odd eyes, long fingers, long neck, handrail,paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, bad eyes, asymmetric eyes, tattoo,"
]
},
{
"id": 57,
"type": "PreviewImage",
"pos": [
3228,
304
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 46,
"label": "images"
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 51,
"type": "CheckpointLoaderSimple",
"pos": [
1027,
344
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
42
],
"shape": 3,
"label": "MODEL",
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
47,
65
],
"shape": 3,
"label": "CLIP",
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
45
],
"shape": 3,
"label": "VAE",
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"OldFish_236151438.safetensors"
]
},
{
"id": 60,
"type": "EmptyLatentImage",
"pos": [
1674,
895
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
50
],
"shape": 3,
"label": "LATENT"
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 68,
"type": "omost_decode",
"pos": [
1640,
447
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 65,
"label": "clip"
},
{
"name": "text",
"type": "STRING",
"link": 66,
"widget": {
"name": "text"
},
"label": "text"
}
],
"outputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"links": [
67
],
"shape": 3,
"label": "conditioning",
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"links": [
68
],
"shape": 3,
"label": "mask",
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "omost_decode"
},
"widgets_values": [
"",
"fusion",
1
]
},
{
"id": 69,
"type": "MaskToImage",
"pos": [
2366.575962939467,
719.3144047713071
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 68,
"label": "mask"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
69
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 70,
"type": "PreviewImage",
"pos": [
2720.8881629394664,
819.8493012251645
],
"size": [
210,
246
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 69,
"label": "images"
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 62,
"type": "LLM_local",
"pos": [
950,
506
],
"size": {
"0": 445.62530517578125,
"1": 392.92010498046875
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "CUSTOM",
"link": 52,
"label": "model"
},
{
"name": "tokenizer",
"type": "CUSTOM",
"link": 53,
"label": "tokenizer"
},
{
"name": "image",
"type": "IMAGE",
"link": null,
"label": "image"
},
{
"name": "system_prompt_input",
"type": "STRING",
"link": 54,
"widget": {
"name": "system_prompt_input"
},
"label": "system_prompt_input"
},
{
"name": "tools",
"type": "STRING",
"link": null,
"widget": {
"name": "tools"
},
"label": "tools"
},
{
"name": "file_content",
"type": "STRING",
"link": null,
"widget": {
"name": "file_content"
},
"label": "file_content"
}
],
"outputs": [
{
"name": "assistant_response",
"type": "STRING",
"links": [
63,
66
],
"shape": 3,
"label": "assistant_response",
"slot_index": 0
},
{
"name": "history",
"type": "STRING",
"links": null,
"shape": 3,
"label": "history"
},
{
"name": "tool",
"type": "STRING",
"links": null,
"shape": 3,
"label": "tool"
},
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3,
"label": "image"
}
],
"properties": {
"Node name for S&R": "LLM_local"
},
"widgets_values": [
"",
"请画一个戴着红色帽子的美女,眼睛是蓝色的,头发是白色的",
"llama",
0.7,
2048,
"disable",
"enable",
"enable",
"",
"",
""
]
},
{
"id": 67,
"type": "show_text_party",
"pos": [
1634,
1069
],
"size": {
"0": 421.1827392578125,
"1": 646.0502319335938
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 63,
"widget": {
"name": "text"
},
"label": "text"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 6,
"label": "STRING"
}
],
"properties": {
"Node name for S&R": "show_text_party"
},
"widgets_values": [
"",
"```python\n# Initialize the canvas\ncanvas = Canvas()\n\n# Set a global description for the canvas\ncanvas.set_global_description(\n description='A beautiful woman wearing a red hat, with blue eyes and white hair.',\n detailed_descriptions=[\n 'The image portrays a strikingly beautiful woman who stands out with her unique appearance.',\n 'She is wearing a vibrant red hat that adds a pop of color to the scene.',\n 'Her eyes are a striking blue, contrasting sharply with her fair skin and white hair, which cascades gracefully around her shoulders.',\n 'The red hat is stylish and elegant, complementing her overall look.',\n 'The background is simple, allowing the focus to remain on her captivating features and the boldness of her attire.',\n 'The lighting is soft, highlighting her facial features and the texture of her hair.',\n 'The overall atmosphere is one of elegance and sophistication, with a touch of boldness and uniqueness.',\n ],\n tags='beautiful woman, red hat, blue eyes, white hair, striking appearance, vibrant color, elegant, stylish, captivating features, soft lighting, texture, fair skin, unique, bold, sophisticated, graceful, simple background, focus, striking contrast, fair skin, cascading hair',\n HTML_web_color_name='lightcoral',\n)\n\n# Add the woman wearing the red hat.\ncanvas.add_local_description(\n location='in the center',\n offset='no offset',\n area='a medium-sized vertical area',\n distance_to_viewer=1.0,\n description='The woman wearing the red hat.',\n detailed_descriptions=[\n 'The woman is positioned centrally in the image, making her the focal point.',\n 'She is wearing a vibrant red hat that is stylish and adds a bold touch to her overall appearance.',\n 'Her blue eyes are striking and draw immediate attention.',\n 'Her white hair is silky and flows gracefully, adding to her elegant look.',\n 'Her fair skin is smooth and well-lit, enhancing her delicate features.',\n 'The red hat complements her blue eyes and white hair, creating a harmonious and visually appealing combination.',\n 'The lighting is soft, ensuring that her features are highlighted without being harsh.',\n 'The background is kept simple to ensure that the focus remains on her.',\n ],\n tags='woman, red hat, blue eyes, white hair, central position, focal point, stylish, bold, elegant, silky hair, graceful, fair skin, delicate features, harmonious, visually appealing, soft lighting, highlighted features, simple background, striking eyes, smooth skin',\n atmosphere='Elegant and sophisticated with a touch of boldness.',\n style='Soft lighting with a focus on highlighting facial features.',\n quality_meta='High-quality image with a clear focus on the subject.',\n HTML_web_color_name='crimson',\n)\n\n# Add the woman's blue eyes.\ncanvas.add_local_description(\n location='on the left',\n offset='slightly to the upper-left',\n area='a small square area',\n distance_to_viewer=1.5,\n description=\"The woman's blue eyes.\",\n detailed_descriptions=[\n \"The woman's blue eyes are one of the most striking features in the image.\",\n 'They are positioned slightly to the upper-left, adding depth and interest to the composition.',\n 'The blue of her eyes is vibrant and clear, contrasting beautifully with her fair skin and white hair.',\n 'The soft lighting highlights the depth and clarity of her eyes, making them stand out.',\n 'The eyes are framed by long lashes and arched eyebrows, adding to their allure.',\n 'The placement of her eyes in the upper-left portion of the image draws the viewer’s attention and balances the composition.',\n ],\n tags='blue eyes, striking feature, upper-left, depth, interest, vibrant, clear, contrast, fair skin, white hair, soft lighting, depth, clarity, stand out, long lashes, arched eyebrows, allure, placement, attention, balanced composition',\n atmosphere='Captivating and eye-catching with a focus on depth.',\n style='Soft lighting to highlight the depth and clarity of the eyes.',\n quality_meta='High-quality image with a focus on the striking blue eyes.',\n HTML_web_color_name='skyblue',\n)\n\n# Add the woman's white hair.\ncanvas.add_local_description(\n location='on the right',\n offset='slightly to the upper-right',\n area='a small square area',\n distance_to_viewer=1.5,\n description=\"The woman's white hair.\",\n detailed_descriptions=[\n \"The woman's white hair is another notable feature in the image.\",\n 'It cascades gracefully, framing her face and adding a touch of elegance.',\n 'The white hair is silky and well-lit, reflecting the soft lighting beautifully.',\n 'It flows naturally, creating a sense of movement and life.',\n 'The white color of her hair contrasts with her fair skin and blue eyes, adding to the overall visual appeal.',\n 'The positioning of her hair slightly to the upper-right adds balance to the composition, drawing the viewer’s eye around the image.',\n 'The texture and shine of her hair are captured in great detail, adding to the realism of the image.',\n ],\n tags='white hair, notable feature, cascading, graceful, elegant, silky, well-lit, soft lighting, natural flow, movement, life, contrast, fair skin, blue eyes, visual appeal, upper-right, balance, composition, texture, shine, detailed, realism',\n atmosphere='Elegant and graceful with a touch of natural beauty.',\n style='Soft lighting to capture the texture and shine of the hair.',\n quality_meta='High-quality image with detailed capture of hair texture.',\n HTML_web_color_name='white',\n)\n\n# Add the woman's red hat.\ncanvas.add_local_description(\n location='on the top',\n offset='slightly to the upper',\n area='a small horizontal area',\n distance_to_viewer=2.0,\n description=\"The woman's red hat.\",\n detailed_descriptions=[\n \"The woman's red hat is a striking element in the image.\",\n 'It is positioned slightly to the upper part of the frame, adding a pop of color and drawing attention.',\n 'The hat is stylish and elegant, with a vibrant red color that stands out against the simpler background.',\n 'The soft lighting highlights the texture and details of the hat, making it a focal point.',\n 'The red color of the hat complements her blue eyes and white hair, creating a harmonious color scheme.',\n 'The positioning of the hat slightly to the upper part of the image balances the overall composition, adding depth and interest.',\n 'The hat adds a bold and vibrant touch to her elegant appearance.',\n ],\n tags='red hat, striking element, upper part, pop of color, attention, stylish, elegant, vibrant, contrast, simple background, soft lighting, texture, details, focal point, harmonious, blue eyes, white hair, color scheme, balanced composition, depth, interest, bold, vibrant, elegant appearance',\n atmosphere='Bold and vibrant with a touch of elegance.',\n style='Soft lighting to highlight the texture and details of the hat.',\n quality_meta='High-quality image with a focus on the vibrant red hat.',\n HTML_web_color_name='firebrick',\n)\n\n# Add the woman's fair skin.\ncanvas.add_local_description(\n location='on the bottom',\n offset='slightly to the lower',\n area='a small horizontal area',\n distance_to_viewer=2.0,\n description=\"The woman's fair skin.\",\n detailed_descriptions=[\n \"The woman's fair skin is a key feature in the image.\",\n 'It is positioned slightly to the lower part of the frame, adding a delicate and smooth texture to the overall composition.',\n 'The fair skin is well-lit, highlighting its smooth and flawless texture.',\n 'The soft lighting enhances the natural glow of her skin, making it appear healthy and radiant.',\n 'The fair color of her skin contrasts with her blue eyes and white hair, adding to the visual appeal of the image.',\n 'The positioning of her skin slightly to the lower part of the frame balances the composition, drawing the viewer’s eye around the image.',\n 'The texture and smoothness of her skin are captured in great detail, adding to the realism of the image.',\n ],\n tags='fair skin, key feature, lower part, delicate, smooth texture, overall composition, well-lit, smooth, flawless, soft lighting, natural glow, healthy, radiant, contrast, blue eyes, white hair, visual appeal, balanced composition, eye-catching, texture, smoothness, detailed, realism',\n atmosphere='Delicate and smooth with a natural glow.',\n style='Soft lighting to enhance the natural glow of the skin.',\n quality_meta='High-quality image with detailed capture of skin texture.',\n HTML_web_color_name='palegoldenrod',\n)\n```"
]
}
],
"links": [
[
42,
51,
0,
54,
0,
"MODEL"
],
[
43,
55,
0,
54,
2,
"CONDITIONING"
],
[
44,
54,
0,
56,
0,
"LATENT"
],
[
45,
51,
2,
56,
1,
"VAE"
],
[
46,
56,
0,
57,
0,
"IMAGE"
],
[
47,
51,
1,
55,
0,
"CLIP"
],
[
50,
60,
0,
54,
3,
"LATENT"
],
[
52,
61,
0,
62,
0,
"CUSTOM"
],
[
53,
61,
1,
62,
1,
"CUSTOM"
],
[
54,
63,
0,
62,
3,
"STRING"
],
[
63,
62,
0,
67,
0,
"STRING"
],
[
65,
51,
1,
68,
0,
"CLIP"
],
[
66,
62,
0,
68,
1,
"STRING"
],
[
67,
68,
0,
54,
1,
"CONDITIONING"
],
[
68,
68,
1,
69,
0,
"MASK"
],
[
69,
69,
0,
70,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6209213230591553,
"offset": {
"0": -795.4669628998561,
"1": -65.90151298191185
}
}
},
"version": 0.4
}