@genfeedai/workflows 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -36,9 +36,11 @@ __export(index_exports, {
36
36
  buildFlux2DevPrompt: () => buildFlux2DevPrompt,
37
37
  buildFlux2DevPulidLoraPrompt: () => buildFlux2DevPulidLoraPrompt,
38
38
  buildFlux2DevPulidPrompt: () => buildFlux2DevPulidPrompt,
39
+ buildFlux2DevPulidUpscalePrompt: () => buildFlux2DevPulidUpscalePrompt,
39
40
  buildFlux2KleinPrompt: () => buildFlux2KleinPrompt,
40
41
  buildFluxDevPrompt: () => buildFluxDevPrompt,
41
42
  buildPulidFluxPrompt: () => buildPulidFluxPrompt,
43
+ buildZImageTurboLoraPrompt: () => buildZImageTurboLoraPrompt,
42
44
  buildZImageTurboPrompt: () => buildZImageTurboPrompt,
43
45
  getAllWorkflows: () => getAllWorkflows,
44
46
  getWorkflow: () => getWorkflow,
@@ -262,14 +264,12 @@ function buildPulidFluxPrompt(params) {
262
264
  "2": {
263
265
  class_type: "PulidModelLoader",
264
266
  inputs: {
265
- pulid_file: "ip-adapter_pulid_sdxl_fp16.safetensors"
267
+ pulid_file: "ip-adapter_pulid_flux_v0.9.1.safetensors"
266
268
  }
267
269
  },
268
270
  "3": {
269
- class_type: "LoadImage",
270
- inputs: {
271
- image: faceImage
272
- }
271
+ class_type: "PulidEvaClipLoader",
272
+ inputs: {}
273
273
  },
274
274
  "4": {
275
275
  class_type: "PulidInsightFaceLoader",
@@ -278,30 +278,40 @@ function buildPulidFluxPrompt(params) {
278
278
  }
279
279
  },
280
280
  "5": {
281
+ class_type: "LoadImage",
282
+ inputs: {
283
+ image: faceImage
284
+ }
285
+ },
286
+ "6": {
281
287
  class_type: "ApplyPulid",
282
288
  inputs: {
283
289
  model: ["1", 0],
284
290
  pulid: ["2", 0],
285
- image: ["3", 0],
286
- insightface: ["4", 0],
287
- weight: pulidStrength
291
+ eva_clip: ["3", 0],
292
+ face_analysis: ["4", 0],
293
+ image: ["5", 0],
294
+ method: "fidelity",
295
+ weight: pulidStrength,
296
+ start_at: 0,
297
+ end_at: 1
288
298
  }
289
299
  },
290
- "6": {
300
+ "7": {
291
301
  class_type: "CLIPTextEncode",
292
302
  inputs: {
293
303
  text: prompt,
294
304
  clip: ["1", 1]
295
305
  }
296
306
  },
297
- "7": {
307
+ "8": {
298
308
  class_type: "CLIPTextEncode",
299
309
  inputs: {
300
310
  text: "",
301
311
  clip: ["1", 1]
302
312
  }
303
313
  },
304
- "8": {
314
+ "9": {
305
315
  class_type: "EmptyLatentImage",
306
316
  inputs: {
307
317
  width,
@@ -309,13 +319,13 @@ function buildPulidFluxPrompt(params) {
309
319
  batch_size: 1
310
320
  }
311
321
  },
312
- "9": {
322
+ "10": {
313
323
  class_type: "KSampler",
314
324
  inputs: {
315
- model: ["5", 0],
316
- positive: ["6", 0],
317
- negative: ["7", 0],
318
- latent_image: ["8", 0],
325
+ model: ["6", 0],
326
+ positive: ["7", 0],
327
+ negative: ["8", 0],
328
+ latent_image: ["9", 0],
319
329
  seed,
320
330
  steps,
321
331
  cfg,
@@ -324,17 +334,17 @@ function buildPulidFluxPrompt(params) {
324
334
  denoise: 1
325
335
  }
326
336
  },
327
- "10": {
337
+ "11": {
328
338
  class_type: "VAEDecode",
329
339
  inputs: {
330
- samples: ["9", 0],
340
+ samples: ["10", 0],
331
341
  vae: ["1", 2]
332
342
  }
333
343
  },
334
- "11": {
344
+ "12": {
335
345
  class_type: "SaveImage",
336
346
  inputs: {
337
- images: ["10", 0],
347
+ images: ["11", 0],
338
348
  filename_prefix: "genfeed-pulid-flux"
339
349
  }
340
350
  }
@@ -428,24 +438,38 @@ function buildFlux2DevPrompt(params) {
428
438
  "2": {
429
439
  class_type: "CLIPLoader",
430
440
  inputs: {
431
- clip_name: "mistral_3_small_flux2_fp4_mixed.safetensors",
432
- type: "flux"
441
+ clip_name: "mistral_3_small_flux2_fp8.safetensors",
442
+ type: "flux2"
433
443
  }
434
444
  },
435
445
  "3": {
436
- class_type: "Flux2TextEncode",
446
+ class_type: "CLIPTextEncode",
437
447
  inputs: {
438
448
  text: prompt,
439
449
  clip: ["2", 0]
440
450
  }
441
451
  },
442
452
  "4": {
453
+ class_type: "FluxGuidance",
454
+ inputs: {
455
+ conditioning: ["3", 0],
456
+ guidance
457
+ }
458
+ },
459
+ "5": {
460
+ class_type: "CLIPTextEncode",
461
+ inputs: {
462
+ text: "",
463
+ clip: ["2", 0]
464
+ }
465
+ },
466
+ "6": {
443
467
  class_type: "VAELoader",
444
468
  inputs: {
445
469
  vae_name: "flux2-vae.safetensors"
446
470
  }
447
471
  },
448
- "5": {
472
+ "7": {
449
473
  class_type: "EmptyLatentImage",
450
474
  inputs: {
451
475
  width,
@@ -453,32 +477,32 @@ function buildFlux2DevPrompt(params) {
453
477
  batch_size: 1
454
478
  }
455
479
  },
456
- "6": {
480
+ "8": {
457
481
  class_type: "KSampler",
458
482
  inputs: {
459
483
  model: ["1", 0],
460
- positive: ["3", 0],
461
- negative: ["3", 1],
462
- latent_image: ["5", 0],
484
+ positive: ["4", 0],
485
+ negative: ["5", 0],
486
+ latent_image: ["7", 0],
463
487
  seed,
464
488
  steps,
465
- cfg: guidance,
489
+ cfg: 1,
466
490
  sampler_name: "euler",
467
491
  scheduler: "normal",
468
492
  denoise: 1
469
493
  }
470
494
  },
471
- "7": {
495
+ "9": {
472
496
  class_type: "VAEDecode",
473
497
  inputs: {
474
- samples: ["6", 0],
475
- vae: ["4", 0]
498
+ samples: ["8", 0],
499
+ vae: ["6", 0]
476
500
  }
477
501
  },
478
- "8": {
502
+ "10": {
479
503
  class_type: "SaveImage",
480
504
  inputs: {
481
- images: ["7", 0],
505
+ images: ["9", 0],
482
506
  filename_prefix: "genfeed-flux2-dev"
483
507
  }
484
508
  }
@@ -493,7 +517,10 @@ function buildFlux2DevPulidPrompt(params) {
493
517
  height = 1024,
494
518
  steps = 20,
495
519
  guidance = 3.5,
496
- pulidStrength = 0.8
520
+ pulidStrength = 0.8,
521
+ pulidMethod = "fidelity",
522
+ pulidStartAt = 0,
523
+ pulidEndAt = 1
497
524
  } = params;
498
525
  return {
499
526
  "1": {
@@ -506,22 +533,152 @@ function buildFlux2DevPulidPrompt(params) {
506
533
  "2": {
507
534
  class_type: "CLIPLoader",
508
535
  inputs: {
509
- clip_name: "mistral_3_small_flux2_fp4_mixed.safetensors",
510
- type: "flux"
536
+ clip_name: "mistral_3_small_flux2_fp8.safetensors",
537
+ type: "flux2"
511
538
  }
512
539
  },
513
540
  "3": {
514
541
  class_type: "PulidModelLoader",
515
542
  inputs: {
516
- pulid_file: "ip-adapter_pulid_sdxl_fp16.safetensors"
543
+ pulid_file: "ip-adapter_pulid_flux_v0.9.1.safetensors"
517
544
  }
518
545
  },
519
546
  "4": {
547
+ class_type: "PulidEvaClipLoader",
548
+ inputs: {}
549
+ },
550
+ "5": {
551
+ class_type: "PulidInsightFaceLoader",
552
+ inputs: {
553
+ provider: "CPU"
554
+ }
555
+ },
556
+ "6": {
520
557
  class_type: "LoadImage",
521
558
  inputs: {
522
559
  image: faceImage
523
560
  }
524
561
  },
562
+ "7": {
563
+ class_type: "ApplyPulid",
564
+ inputs: {
565
+ model: ["1", 0],
566
+ pulid: ["3", 0],
567
+ eva_clip: ["4", 0],
568
+ face_analysis: ["5", 0],
569
+ image: ["6", 0],
570
+ method: pulidMethod,
571
+ weight: pulidStrength,
572
+ start_at: pulidStartAt,
573
+ end_at: pulidEndAt
574
+ }
575
+ },
576
+ "8": {
577
+ class_type: "CLIPTextEncode",
578
+ inputs: {
579
+ text: prompt,
580
+ clip: ["2", 0]
581
+ }
582
+ },
583
+ "9": {
584
+ class_type: "FluxGuidance",
585
+ inputs: {
586
+ conditioning: ["8", 0],
587
+ guidance
588
+ }
589
+ },
590
+ "10": {
591
+ class_type: "CLIPTextEncode",
592
+ inputs: {
593
+ text: "",
594
+ clip: ["2", 0]
595
+ }
596
+ },
597
+ "11": {
598
+ class_type: "VAELoader",
599
+ inputs: {
600
+ vae_name: "flux2-vae.safetensors"
601
+ }
602
+ },
603
+ "12": {
604
+ class_type: "EmptyLatentImage",
605
+ inputs: {
606
+ width,
607
+ height,
608
+ batch_size: 1
609
+ }
610
+ },
611
+ "13": {
612
+ class_type: "KSampler",
613
+ inputs: {
614
+ model: ["7", 0],
615
+ positive: ["9", 0],
616
+ negative: ["10", 0],
617
+ latent_image: ["12", 0],
618
+ seed,
619
+ steps,
620
+ cfg: 1,
621
+ sampler_name: "euler",
622
+ scheduler: "normal",
623
+ denoise: 1
624
+ }
625
+ },
626
+ "14": {
627
+ class_type: "VAEDecode",
628
+ inputs: {
629
+ samples: ["13", 0],
630
+ vae: ["11", 0]
631
+ }
632
+ },
633
+ "15": {
634
+ class_type: "SaveImage",
635
+ inputs: {
636
+ images: ["14", 0],
637
+ filename_prefix: "genfeed-flux2-pulid"
638
+ }
639
+ }
640
+ };
641
+ }
642
+ function buildFlux2DevPulidUpscalePrompt(params) {
643
+ const {
644
+ prompt,
645
+ faceImage,
646
+ seed = Math.floor(Math.random() * 2 ** 32),
647
+ width = 832,
648
+ height = 1216,
649
+ steps = 20,
650
+ guidance = 3.5,
651
+ pulidStrength = 0.8,
652
+ pulidMethod = "fidelity",
653
+ pulidStartAt = 0,
654
+ pulidEndAt = 1,
655
+ upscaleModel = "4x-UltraSharp.pth"
656
+ } = params;
657
+ return {
658
+ "1": {
659
+ class_type: "UNETLoader",
660
+ inputs: {
661
+ unet_name: "flux2_dev_fp8mixed.safetensors",
662
+ weight_dtype: "fp8_e4m3fn"
663
+ }
664
+ },
665
+ "2": {
666
+ class_type: "CLIPLoader",
667
+ inputs: {
668
+ clip_name: "mistral_3_small_flux2_fp8.safetensors",
669
+ type: "flux2"
670
+ }
671
+ },
672
+ "3": {
673
+ class_type: "PulidModelLoader",
674
+ inputs: {
675
+ pulid_file: "ip-adapter_pulid_flux_v0.9.1.safetensors"
676
+ }
677
+ },
678
+ "4": {
679
+ class_type: "PulidEvaClipLoader",
680
+ inputs: {}
681
+ },
525
682
  "5": {
526
683
  class_type: "PulidInsightFaceLoader",
527
684
  inputs: {
@@ -529,29 +686,53 @@ function buildFlux2DevPulidPrompt(params) {
529
686
  }
530
687
  },
531
688
  "6": {
689
+ class_type: "LoadImage",
690
+ inputs: {
691
+ image: faceImage
692
+ }
693
+ },
694
+ "7": {
532
695
  class_type: "ApplyPulid",
533
696
  inputs: {
534
697
  model: ["1", 0],
535
698
  pulid: ["3", 0],
536
- image: ["4", 0],
537
- insightface: ["5", 0],
538
- weight: pulidStrength
699
+ eva_clip: ["4", 0],
700
+ face_analysis: ["5", 0],
701
+ image: ["6", 0],
702
+ method: pulidMethod,
703
+ weight: pulidStrength,
704
+ start_at: pulidStartAt,
705
+ end_at: pulidEndAt
539
706
  }
540
707
  },
541
- "7": {
542
- class_type: "Flux2TextEncode",
708
+ "8": {
709
+ class_type: "CLIPTextEncode",
543
710
  inputs: {
544
711
  text: prompt,
545
712
  clip: ["2", 0]
546
713
  }
547
714
  },
548
- "8": {
715
+ "9": {
716
+ class_type: "FluxGuidance",
717
+ inputs: {
718
+ conditioning: ["8", 0],
719
+ guidance
720
+ }
721
+ },
722
+ "10": {
723
+ class_type: "CLIPTextEncode",
724
+ inputs: {
725
+ text: "",
726
+ clip: ["2", 0]
727
+ }
728
+ },
729
+ "11": {
549
730
  class_type: "VAELoader",
550
731
  inputs: {
551
732
  vae_name: "flux2-vae.safetensors"
552
733
  }
553
734
  },
554
- "9": {
735
+ "12": {
555
736
  class_type: "EmptyLatentImage",
556
737
  inputs: {
557
738
  width,
@@ -559,33 +740,46 @@ function buildFlux2DevPulidPrompt(params) {
559
740
  batch_size: 1
560
741
  }
561
742
  },
562
- "10": {
743
+ "13": {
563
744
  class_type: "KSampler",
564
745
  inputs: {
565
- model: ["6", 0],
566
- positive: ["7", 0],
567
- negative: ["7", 1],
568
- latent_image: ["9", 0],
746
+ model: ["7", 0],
747
+ positive: ["9", 0],
748
+ negative: ["10", 0],
749
+ latent_image: ["12", 0],
569
750
  seed,
570
751
  steps,
571
- cfg: guidance,
752
+ cfg: 1,
572
753
  sampler_name: "euler",
573
754
  scheduler: "normal",
574
755
  denoise: 1
575
756
  }
576
757
  },
577
- "11": {
758
+ "14": {
578
759
  class_type: "VAEDecode",
579
760
  inputs: {
580
- samples: ["10", 0],
581
- vae: ["8", 0]
761
+ samples: ["13", 0],
762
+ vae: ["11", 0]
582
763
  }
583
764
  },
584
- "12": {
765
+ "15": {
766
+ class_type: "UpscaleModelLoader",
767
+ inputs: {
768
+ model_name: upscaleModel
769
+ }
770
+ },
771
+ "16": {
772
+ class_type: "ImageUpscaleWithModel",
773
+ inputs: {
774
+ upscale_model: ["15", 0],
775
+ image: ["14", 0]
776
+ }
777
+ },
778
+ "17": {
585
779
  class_type: "SaveImage",
586
780
  inputs: {
587
- images: ["11", 0],
588
- filename_prefix: "genfeed-flux2-pulid"
781
+ images: ["16", 0],
782
+ filename_prefix: "genfeed-flux2-pulid-4k"
589
783
  }
590
784
  }
591
785
  };
@@ -601,6 +795,9 @@ function buildFlux2DevPulidLoraPrompt(params) {
601
795
  steps = 20,
602
796
  guidance = 3.5,
603
797
  pulidStrength = 0.8,
798
+ pulidMethod = "fidelity",
799
+ pulidStartAt = 0,
800
+ pulidEndAt = 1,
604
801
  loraStrength = 0.8
605
802
  } = params;
606
803
  return {
@@ -614,8 +811,8 @@ function buildFlux2DevPulidLoraPrompt(params) {
614
811
  "2": {
615
812
  class_type: "CLIPLoader",
616
813
  inputs: {
617
- clip_name: "mistral_3_small_flux2_fp4_mixed.safetensors",
618
- type: "flux"
814
+ clip_name: "mistral_3_small_flux2_fp8.safetensors",
815
+ type: "flux2"
619
816
  }
620
817
  },
621
818
  "3": {
@@ -631,14 +828,12 @@ function buildFlux2DevPulidLoraPrompt(params) {
631
828
  "4": {
632
829
  class_type: "PulidModelLoader",
633
830
  inputs: {
634
- pulid_file: "ip-adapter_pulid_sdxl_fp16.safetensors"
831
+ pulid_file: "ip-adapter_pulid_flux_v0.9.1.safetensors"
635
832
  }
636
833
  },
637
834
  "5": {
638
- class_type: "LoadImage",
639
- inputs: {
640
- image: faceImage
641
- }
835
+ class_type: "PulidEvaClipLoader",
836
+ inputs: {}
642
837
  },
643
838
  "6": {
644
839
  class_type: "PulidInsightFaceLoader",
@@ -647,29 +842,53 @@ function buildFlux2DevPulidLoraPrompt(params) {
647
842
  }
648
843
  },
649
844
  "7": {
845
+ class_type: "LoadImage",
846
+ inputs: {
847
+ image: faceImage
848
+ }
849
+ },
850
+ "8": {
650
851
  class_type: "ApplyPulid",
651
852
  inputs: {
652
853
  model: ["3", 0],
653
854
  pulid: ["4", 0],
654
- image: ["5", 0],
655
- insightface: ["6", 0],
656
- weight: pulidStrength
855
+ eva_clip: ["5", 0],
856
+ face_analysis: ["6", 0],
857
+ image: ["7", 0],
858
+ method: pulidMethod,
859
+ weight: pulidStrength,
860
+ start_at: pulidStartAt,
861
+ end_at: pulidEndAt
657
862
  }
658
863
  },
659
- "8": {
660
- class_type: "Flux2TextEncode",
864
+ "9": {
865
+ class_type: "CLIPTextEncode",
661
866
  inputs: {
662
867
  text: prompt,
663
868
  clip: ["3", 1]
664
869
  }
665
870
  },
666
- "9": {
871
+ "10": {
872
+ class_type: "FluxGuidance",
873
+ inputs: {
874
+ conditioning: ["9", 0],
875
+ guidance
876
+ }
877
+ },
878
+ "11": {
879
+ class_type: "CLIPTextEncode",
880
+ inputs: {
881
+ text: "",
882
+ clip: ["3", 1]
883
+ }
884
+ },
885
+ "12": {
667
886
  class_type: "VAELoader",
668
887
  inputs: {
669
888
  vae_name: "flux2-vae.safetensors"
670
889
  }
671
890
  },
672
- "10": {
891
+ "13": {
673
892
  class_type: "EmptyLatentImage",
674
893
  inputs: {
675
894
  width,
@@ -677,32 +896,32 @@ function buildFlux2DevPulidLoraPrompt(params) {
677
896
  batch_size: 1
678
897
  }
679
898
  },
680
- "11": {
899
+ "14": {
681
900
  class_type: "KSampler",
682
901
  inputs: {
683
- model: ["7", 0],
684
- positive: ["8", 0],
685
- negative: ["8", 1],
686
- latent_image: ["10", 0],
902
+ model: ["8", 0],
903
+ positive: ["10", 0],
904
+ negative: ["11", 0],
905
+ latent_image: ["13", 0],
687
906
  seed,
688
907
  steps,
689
- cfg: guidance,
908
+ cfg: 1,
690
909
  sampler_name: "euler",
691
910
  scheduler: "normal",
692
911
  denoise: 1
693
912
  }
694
913
  },
695
- "12": {
914
+ "15": {
696
915
  class_type: "VAEDecode",
697
916
  inputs: {
698
- samples: ["11", 0],
699
- vae: ["9", 0]
917
+ samples: ["14", 0],
918
+ vae: ["12", 0]
700
919
  }
701
920
  },
702
- "13": {
921
+ "16": {
703
922
  class_type: "SaveImage",
704
923
  inputs: {
705
- images: ["12", 0],
924
+ images: ["15", 0],
706
925
  filename_prefix: "genfeed-flux2-pulid-lora"
707
926
  }
708
927
  }
@@ -727,24 +946,38 @@ function buildFlux2KleinPrompt(params) {
727
946
  "2": {
728
947
  class_type: "CLIPLoader",
729
948
  inputs: {
730
- clip_name: "mistral_3_small_flux2_fp4_mixed.safetensors",
731
- type: "flux"
949
+ clip_name: "mistral_3_small_flux2_fp8.safetensors",
950
+ type: "flux2"
732
951
  }
733
952
  },
734
953
  "3": {
735
- class_type: "Flux2TextEncode",
954
+ class_type: "CLIPTextEncode",
736
955
  inputs: {
737
956
  text: prompt,
738
957
  clip: ["2", 0]
739
958
  }
740
959
  },
741
960
  "4": {
961
+ class_type: "FluxGuidance",
962
+ inputs: {
963
+ conditioning: ["3", 0],
964
+ guidance: 3.5
965
+ }
966
+ },
967
+ "5": {
968
+ class_type: "CLIPTextEncode",
969
+ inputs: {
970
+ text: "",
971
+ clip: ["2", 0]
972
+ }
973
+ },
974
+ "6": {
742
975
  class_type: "VAELoader",
743
976
  inputs: {
744
977
  vae_name: "flux2-vae.safetensors"
745
978
  }
746
979
  },
747
- "5": {
980
+ "7": {
748
981
  class_type: "EmptyLatentImage",
749
982
  inputs: {
750
983
  width,
@@ -752,37 +985,145 @@ function buildFlux2KleinPrompt(params) {
752
985
  batch_size: 1
753
986
  }
754
987
  },
755
- "6": {
988
+ "8": {
756
989
  class_type: "KSampler",
757
990
  inputs: {
758
991
  model: ["1", 0],
759
- positive: ["3", 0],
760
- negative: ["3", 1],
761
- latent_image: ["5", 0],
992
+ positive: ["4", 0],
993
+ negative: ["5", 0],
994
+ latent_image: ["7", 0],
762
995
  seed,
763
996
  steps,
764
- cfg: 3.5,
997
+ cfg: 1,
765
998
  sampler_name: "euler",
766
999
  scheduler: "normal",
767
1000
  denoise: 1
768
1001
  }
769
1002
  },
770
- "7": {
1003
+ "9": {
771
1004
  class_type: "VAEDecode",
772
1005
  inputs: {
773
- samples: ["6", 0],
774
- vae: ["4", 0]
1006
+ samples: ["8", 0],
1007
+ vae: ["6", 0]
775
1008
  }
776
1009
  },
777
- "8": {
1010
+ "10": {
778
1011
  class_type: "SaveImage",
779
1012
  inputs: {
780
- images: ["7", 0],
1013
+ images: ["9", 0],
781
1014
  filename_prefix: "genfeed-flux2-klein"
782
1015
  }
783
1016
  }
784
1017
  };
785
1018
  }
1019
+ function buildZImageTurboLoraPrompt(params) {
1020
+ const {
1021
+ prompt,
1022
+ loraPath,
1023
+ seed = Math.floor(Math.random() * 2 ** 32),
1024
+ width = 832,
1025
+ height = 1216,
1026
+ steps = 8,
1027
+ loraStrength = 0.8,
1028
+ upscaleModel = "4x-UltraSharp.pth"
1029
+ } = params;
1030
+ return {
1031
+ "1": {
1032
+ class_type: "UNETLoader",
1033
+ inputs: {
1034
+ unet_name: "z_image_turbo_bf16.safetensors",
1035
+ weight_dtype: "default"
1036
+ }
1037
+ },
1038
+ "2": {
1039
+ class_type: "CLIPLoader",
1040
+ inputs: {
1041
+ clip_name: "qwen_3_4b.safetensors",
1042
+ type: "lumina2"
1043
+ }
1044
+ },
1045
+ "3": {
1046
+ class_type: "LoraLoader",
1047
+ inputs: {
1048
+ model: ["1", 0],
1049
+ clip: ["2", 0],
1050
+ lora_name: loraPath,
1051
+ strength_model: loraStrength,
1052
+ strength_clip: loraStrength
1053
+ }
1054
+ },
1055
+ "4": {
1056
+ class_type: "CLIPTextEncode",
1057
+ inputs: {
1058
+ text: prompt,
1059
+ clip: ["3", 1]
1060
+ }
1061
+ },
1062
+ "5": {
1063
+ class_type: "CLIPTextEncode",
1064
+ inputs: {
1065
+ text: "",
1066
+ clip: ["3", 1]
1067
+ }
1068
+ },
1069
+ "6": {
1070
+ class_type: "EmptyLatentImage",
1071
+ inputs: {
1072
+ width,
1073
+ height,
1074
+ batch_size: 1
1075
+ }
1076
+ },
1077
+ "7": {
1078
+ class_type: "KSampler",
1079
+ inputs: {
1080
+ model: ["3", 0],
1081
+ positive: ["4", 0],
1082
+ negative: ["5", 0],
1083
+ latent_image: ["6", 0],
1084
+ seed,
1085
+ steps,
1086
+ cfg: 1,
1087
+ sampler_name: "euler_ancestral",
1088
+ scheduler: "normal",
1089
+ denoise: 1
1090
+ }
1091
+ },
1092
+ "8": {
1093
+ class_type: "VAELoader",
1094
+ inputs: {
1095
+ vae_name: "ae.safetensors"
1096
+ }
1097
+ },
1098
+ "9": {
1099
+ class_type: "VAEDecode",
1100
+ inputs: {
1101
+ samples: ["7", 0],
1102
+ vae: ["8", 0]
1103
+ }
1104
+ },
1105
+ "10": {
1106
+ class_type: "UpscaleModelLoader",
1107
+ inputs: {
1108
+ model_name: upscaleModel
1109
+ }
1110
+ },
1111
+ "11": {
1112
+ class_type: "ImageUpscaleWithModel",
1113
+ inputs: {
1114
+ upscale_model: ["10", 0],
1115
+ image: ["9", 0]
1116
+ }
1117
+ },
1118
+ "12": {
1119
+ class_type: "SaveImage",
1120
+ inputs: {
1121
+ images: ["11", 0],
1122
+ filename_prefix: "genfeed-z-turbo-lora"
1123
+ }
1124
+ }
1125
+ };
1126
+ }
786
1127
 
787
1128
  // src/index.ts
788
1129
  var fs = __toESM(require("fs"));
@@ -904,9 +1245,11 @@ function searchWorkflowsByTag(tag) {
904
1245
  buildFlux2DevPrompt,
905
1246
  buildFlux2DevPulidLoraPrompt,
906
1247
  buildFlux2DevPulidPrompt,
1248
+ buildFlux2DevPulidUpscalePrompt,
907
1249
  buildFlux2KleinPrompt,
908
1250
  buildFluxDevPrompt,
909
1251
  buildPulidFluxPrompt,
1252
+ buildZImageTurboLoraPrompt,
910
1253
  buildZImageTurboPrompt,
911
1254
  getAllWorkflows,
912
1255
  getWorkflow,