@nodetool-ai/kie-nodes 0.8.10 → 0.8.16
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/README.md +1 -1
- package/dist/.nodetool-build-stamp +1 -1
- package/dist/generated/kie-node-type-pricing.json +326 -29
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/kie-base.d.ts +34 -23
- package/dist/kie-base.d.ts.map +1 -1
- package/dist/kie-base.js +173 -513
- package/dist/kie-base.js.map +1 -1
- package/dist/kie-factory.d.ts +0 -1
- package/dist/kie-factory.d.ts.map +1 -1
- package/dist/kie-factory.js +25 -15
- package/dist/kie-factory.js.map +1 -1
- package/dist/kie-manifest.json +2338 -883
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Includes Seedream, Grok Imagine, Kling, Hailuo, and Suno music nodes.
|
|
|
24
24
|
|
|
25
25
|
## Configuration
|
|
26
26
|
|
|
27
|
-
Set `KIE_API_KEY` in NodeTool's secret store (Settings → API Keys) or as an environment variable.
|
|
27
|
+
Set `KIE_API_KEY` in NodeTool's secret store (Settings → API Keys) or as an environment variable. The nodes reach Kie.ai through NodeTool's KIE provider, which reads the key, so each call also gets a generation record.
|
|
28
28
|
|
|
29
29
|
## Links
|
|
30
30
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-11-
|
|
1
|
+
2026-11-26T14:09:04.655Z
|
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"writtenAt": "2026-
|
|
3
|
+
"writtenAt": "2026-11-04T16:00:54.754Z",
|
|
4
4
|
"byNodeType": {
|
|
5
|
+
"kie.image.BytedanceSeedreamV4TextToImage": {
|
|
6
|
+
"model_id": "bytedance/seedream-v4-text-to-image",
|
|
7
|
+
"unit_price": 5,
|
|
8
|
+
"billing_unit": "image",
|
|
9
|
+
"currency": "credits",
|
|
10
|
+
"usd_price": 0.025,
|
|
11
|
+
"tier_count": 1,
|
|
12
|
+
"pricing_url": "https://kie.ai/seedream-api"
|
|
13
|
+
},
|
|
14
|
+
"kie.image.BytedanceSeedreamV4Edit": {
|
|
15
|
+
"model_id": "bytedance/seedream-v4-edit",
|
|
16
|
+
"unit_price": 5,
|
|
17
|
+
"billing_unit": "image",
|
|
18
|
+
"currency": "credits",
|
|
19
|
+
"usd_price": 0.025,
|
|
20
|
+
"tier_count": 1,
|
|
21
|
+
"pricing_url": "https://kie.ai/seedream-api"
|
|
22
|
+
},
|
|
5
23
|
"kie.image.Seedream45TextToImage": {
|
|
6
24
|
"model_id": "seedream/4.5-text-to-image",
|
|
7
25
|
"unit_price": 6.5,
|
|
@@ -47,6 +65,24 @@
|
|
|
47
65
|
"tier_count": 2,
|
|
48
66
|
"pricing_url": "https://kie.ai/seedream-5-0-pro"
|
|
49
67
|
},
|
|
68
|
+
"kie.image.Seedream5ProImageToImage": {
|
|
69
|
+
"model_id": "seedream/5-pro-image-to-image",
|
|
70
|
+
"unit_price": 0.5,
|
|
71
|
+
"billing_unit": "image",
|
|
72
|
+
"currency": "credits",
|
|
73
|
+
"usd_price": 0.0025,
|
|
74
|
+
"tier_count": 1,
|
|
75
|
+
"pricing_url": "https://kie.ai/seedream-5-0-pro"
|
|
76
|
+
},
|
|
77
|
+
"kie.image.Seedream5ProLayerDecomposition": {
|
|
78
|
+
"model_id": "seedream/5-pro-layer-decomposition",
|
|
79
|
+
"unit_price": 7,
|
|
80
|
+
"billing_unit": "image",
|
|
81
|
+
"currency": "credits",
|
|
82
|
+
"usd_price": 0.035,
|
|
83
|
+
"tier_count": 3,
|
|
84
|
+
"pricing_url": "https://kie.ai/seedream-5-0-pro"
|
|
85
|
+
},
|
|
50
86
|
"kie.image.ZImage": {
|
|
51
87
|
"model_id": "z-image",
|
|
52
88
|
"unit_price": 0.8,
|
|
@@ -164,13 +200,31 @@
|
|
|
164
200
|
"tier_count": 1,
|
|
165
201
|
"pricing_url": "https://kie.ai/grok-imagine-image-2"
|
|
166
202
|
},
|
|
203
|
+
"kie.image.GrokImagineImage2SegmentMap": {
|
|
204
|
+
"model_id": "grok-imagine-image-2-0/segment-map",
|
|
205
|
+
"unit_price": 0,
|
|
206
|
+
"billing_unit": "image",
|
|
207
|
+
"currency": "credits",
|
|
208
|
+
"usd_price": 0,
|
|
209
|
+
"tier_count": 1,
|
|
210
|
+
"pricing_url": "https://kie.ai/grok-imagine-image-2"
|
|
211
|
+
},
|
|
212
|
+
"kie.image.GrokImagineImage20SegmentEdit": {
|
|
213
|
+
"model_id": "grok-imagine-image-2-0/segment-edit",
|
|
214
|
+
"unit_price": 4,
|
|
215
|
+
"billing_unit": "image",
|
|
216
|
+
"currency": "credits",
|
|
217
|
+
"usd_price": 0.02,
|
|
218
|
+
"tier_count": 1,
|
|
219
|
+
"pricing_url": "https://kie.ai/grok-imagine-image-2"
|
|
220
|
+
},
|
|
167
221
|
"kie.image.GrokImagineTextToImage": {
|
|
168
222
|
"model_id": "grok-imagine/text-to-image",
|
|
169
|
-
"unit_price":
|
|
170
|
-
"billing_unit": "
|
|
223
|
+
"unit_price": 4,
|
|
224
|
+
"billing_unit": "varies",
|
|
171
225
|
"currency": "credits",
|
|
172
|
-
"usd_price": 0.
|
|
173
|
-
"tier_count":
|
|
226
|
+
"usd_price": 0.02,
|
|
227
|
+
"tier_count": 2,
|
|
174
228
|
"pricing_url": "https://kie.ai/grok-imagine"
|
|
175
229
|
},
|
|
176
230
|
"kie.image.GrokImagineImage20ImageToImage": {
|
|
@@ -331,10 +385,37 @@
|
|
|
331
385
|
"unit_price": 5,
|
|
332
386
|
"billing_unit": "megapixel",
|
|
333
387
|
"currency": "credits",
|
|
334
|
-
"usd_price": 0.
|
|
388
|
+
"usd_price": 0.025,
|
|
335
389
|
"tier_count": 1,
|
|
336
390
|
"pricing_url": "https://kie.ai/qwen/image-edit"
|
|
337
391
|
},
|
|
392
|
+
"kie.image.Qwen2ImageEdit": {
|
|
393
|
+
"model_id": "qwen2/image-edit",
|
|
394
|
+
"unit_price": 5.6,
|
|
395
|
+
"billing_unit": "image",
|
|
396
|
+
"currency": "credits",
|
|
397
|
+
"usd_price": 0.028,
|
|
398
|
+
"tier_count": 1,
|
|
399
|
+
"pricing_url": "https://kie.ai/qwen-image-2"
|
|
400
|
+
},
|
|
401
|
+
"kie.image.Qwen2TextToImage": {
|
|
402
|
+
"model_id": "qwen2/image-edit",
|
|
403
|
+
"unit_price": 5.6,
|
|
404
|
+
"billing_unit": "image",
|
|
405
|
+
"currency": "credits",
|
|
406
|
+
"usd_price": 0.028,
|
|
407
|
+
"tier_count": 1,
|
|
408
|
+
"pricing_url": "https://kie.ai/qwen-image-2"
|
|
409
|
+
},
|
|
410
|
+
"kie.image.Qwen21ImageToImage": {
|
|
411
|
+
"model_id": "qwen2-1/image-to-image",
|
|
412
|
+
"unit_price": 4,
|
|
413
|
+
"billing_unit": "image",
|
|
414
|
+
"currency": "credits",
|
|
415
|
+
"usd_price": 0.02,
|
|
416
|
+
"tier_count": 2,
|
|
417
|
+
"pricing_url": "https://kie.ai/qwen-image-2.1"
|
|
418
|
+
},
|
|
338
419
|
"kie.image.Qwen3ProTextToImage": {
|
|
339
420
|
"model_id": "qwen3/pro-text-to-image",
|
|
340
421
|
"unit_price": 6.4,
|
|
@@ -398,6 +479,60 @@
|
|
|
398
479
|
"tier_count": 1,
|
|
399
480
|
"pricing_url": "https://kie.ai/4o-image-api"
|
|
400
481
|
},
|
|
482
|
+
"kie.image.Seedream5FlashTextToImage": {
|
|
483
|
+
"model_id": "seedream/5-flash-text-to-image",
|
|
484
|
+
"unit_price": 3.24,
|
|
485
|
+
"billing_unit": "image",
|
|
486
|
+
"currency": "credits",
|
|
487
|
+
"usd_price": 0.0162,
|
|
488
|
+
"tier_count": 3,
|
|
489
|
+
"pricing_url": "https://kie.ai/seedream-5-0-flash"
|
|
490
|
+
},
|
|
491
|
+
"kie.image.Seedream5FlashImageToImage": {
|
|
492
|
+
"model_id": "seedream/5-flash-image-to-image",
|
|
493
|
+
"unit_price": 3.24,
|
|
494
|
+
"billing_unit": "image",
|
|
495
|
+
"currency": "credits",
|
|
496
|
+
"usd_price": 0.0162,
|
|
497
|
+
"tier_count": 3,
|
|
498
|
+
"pricing_url": "https://kie.ai/seedream-5-0-flash"
|
|
499
|
+
},
|
|
500
|
+
"kie.image.Seedream5FlashLayerDecomposition": {
|
|
501
|
+
"model_id": "seedream/5-flash-layer-decomposition",
|
|
502
|
+
"unit_price": 3.24,
|
|
503
|
+
"billing_unit": "image",
|
|
504
|
+
"currency": "credits",
|
|
505
|
+
"usd_price": 0.0162,
|
|
506
|
+
"tier_count": 3,
|
|
507
|
+
"pricing_url": "https://kie.ai/seedream-5-0-flash"
|
|
508
|
+
},
|
|
509
|
+
"kie.image.GoogleNanoBanana21": {
|
|
510
|
+
"model_id": "nano-banana-2-1",
|
|
511
|
+
"unit_price": 4,
|
|
512
|
+
"billing_unit": "image",
|
|
513
|
+
"currency": "credits",
|
|
514
|
+
"usd_price": 0.02,
|
|
515
|
+
"tier_count": 3,
|
|
516
|
+
"pricing_url": "https://kie.ai/nano-banana-2-1"
|
|
517
|
+
},
|
|
518
|
+
"kie.image.Flux3KleinTextToImage": {
|
|
519
|
+
"model_id": "flux-3/klein-text-to-image",
|
|
520
|
+
"unit_price": 1.6,
|
|
521
|
+
"billing_unit": "image",
|
|
522
|
+
"currency": "credits",
|
|
523
|
+
"usd_price": 0.008,
|
|
524
|
+
"tier_count": 3,
|
|
525
|
+
"pricing_url": "https://kie.ai/flux-3"
|
|
526
|
+
},
|
|
527
|
+
"kie.image.Flux3KleinEditImage": {
|
|
528
|
+
"model_id": "flux-3/klein-edit-image",
|
|
529
|
+
"unit_price": 1.6,
|
|
530
|
+
"billing_unit": "image",
|
|
531
|
+
"currency": "credits",
|
|
532
|
+
"usd_price": 0.008,
|
|
533
|
+
"tier_count": 3,
|
|
534
|
+
"pricing_url": "https://kie.ai/flux-3"
|
|
535
|
+
},
|
|
401
536
|
"kie.audio.ElevenlabsTextToDialogueV3": {
|
|
402
537
|
"model_id": "elevenlabs/text-to-dialogue-v3",
|
|
403
538
|
"unit_price": 14,
|
|
@@ -545,10 +680,10 @@
|
|
|
545
680
|
"kie.video.GrokImagineTextToVideo": {
|
|
546
681
|
"model_id": "grok-imagine/text-to-video",
|
|
547
682
|
"unit_price": 2.4,
|
|
548
|
-
"billing_unit": "
|
|
683
|
+
"billing_unit": "second",
|
|
549
684
|
"currency": "credits",
|
|
550
685
|
"usd_price": 0.012,
|
|
551
|
-
"tier_count":
|
|
686
|
+
"tier_count": 3,
|
|
552
687
|
"pricing_url": "https://kie.ai/grok-imagine"
|
|
553
688
|
},
|
|
554
689
|
"kie.video.GrokImagineImageToVideo": {
|
|
@@ -572,7 +707,7 @@
|
|
|
572
707
|
"kie.video.GrokImagineExtend": {
|
|
573
708
|
"model_id": "grok-imagine/extend",
|
|
574
709
|
"unit_price": 14.4,
|
|
575
|
-
"billing_unit": "
|
|
710
|
+
"billing_unit": "video",
|
|
576
711
|
"currency": "credits",
|
|
577
712
|
"usd_price": 0.072,
|
|
578
713
|
"tier_count": 4,
|
|
@@ -624,7 +759,7 @@
|
|
|
624
759
|
"pricing_url": "https://kie.ai/kling-2-5"
|
|
625
760
|
},
|
|
626
761
|
"kie.video.KlingAiAvatarStandard": {
|
|
627
|
-
"model_id": "kling/
|
|
762
|
+
"model_id": "kling/ai-avatar-standard",
|
|
628
763
|
"unit_price": 8,
|
|
629
764
|
"billing_unit": "second",
|
|
630
765
|
"currency": "credits",
|
|
@@ -633,7 +768,7 @@
|
|
|
633
768
|
"pricing_url": "https://kie.ai/kling-ai-avatar"
|
|
634
769
|
},
|
|
635
770
|
"kie.video.KlingAiAvatarPro": {
|
|
636
|
-
"model_id": "kling/ai-avatar-
|
|
771
|
+
"model_id": "kling/ai-avatar-pro",
|
|
637
772
|
"unit_price": 16,
|
|
638
773
|
"billing_unit": "second",
|
|
639
774
|
"currency": "credits",
|
|
@@ -686,6 +821,42 @@
|
|
|
686
821
|
"tier_count": 2,
|
|
687
822
|
"pricing_url": "https://kie.ai/kling-2.6-motion-control"
|
|
688
823
|
},
|
|
824
|
+
"kie.video.Kling30OmniReferenceToVideo": {
|
|
825
|
+
"model_id": "kling-3.0-omni/reference-to-video",
|
|
826
|
+
"unit_price": 14,
|
|
827
|
+
"billing_unit": "second",
|
|
828
|
+
"currency": "credits",
|
|
829
|
+
"usd_price": 0.07,
|
|
830
|
+
"tier_count": 9,
|
|
831
|
+
"pricing_url": "https://kie.ai/kling-o3"
|
|
832
|
+
},
|
|
833
|
+
"kie.video.Kling30OmniTransformation": {
|
|
834
|
+
"model_id": "kling-3.0-omni/transformation",
|
|
835
|
+
"unit_price": 20,
|
|
836
|
+
"billing_unit": "second",
|
|
837
|
+
"currency": "credits",
|
|
838
|
+
"usd_price": 0.1,
|
|
839
|
+
"tier_count": 3,
|
|
840
|
+
"pricing_url": "https://kie.ai/kling-o3"
|
|
841
|
+
},
|
|
842
|
+
"kie.video.Kling30OmniImageToVideo": {
|
|
843
|
+
"model_id": "kling-3.0-omni/image-to-video",
|
|
844
|
+
"unit_price": 14,
|
|
845
|
+
"billing_unit": "second",
|
|
846
|
+
"currency": "credits",
|
|
847
|
+
"usd_price": 0.07,
|
|
848
|
+
"tier_count": 6,
|
|
849
|
+
"pricing_url": "https://kie.ai/kling-o3"
|
|
850
|
+
},
|
|
851
|
+
"kie.video.Kling30OmniTextToVideo": {
|
|
852
|
+
"model_id": "kling-3.0-omni/text-to-video",
|
|
853
|
+
"unit_price": 14,
|
|
854
|
+
"billing_unit": "second",
|
|
855
|
+
"currency": "credits",
|
|
856
|
+
"usd_price": 0.07,
|
|
857
|
+
"tier_count": 6,
|
|
858
|
+
"pricing_url": "https://kie.ai/kling-o3"
|
|
859
|
+
},
|
|
689
860
|
"kie.video.BytedanceSeedance2": {
|
|
690
861
|
"model_id": "bytedance/seedance-2",
|
|
691
862
|
"unit_price": 11.5,
|
|
@@ -722,14 +893,50 @@
|
|
|
722
893
|
"tier_count": 6,
|
|
723
894
|
"pricing_url": "https://kie.ai/seedance-2-5"
|
|
724
895
|
},
|
|
725
|
-
"kie.video.
|
|
726
|
-
"model_id": "bytedance/
|
|
727
|
-
"unit_price":
|
|
896
|
+
"kie.video.BytedanceV1ProFastImageToVideo": {
|
|
897
|
+
"model_id": "bytedance/v1-pro-fast-image-to-video",
|
|
898
|
+
"unit_price": 16,
|
|
899
|
+
"billing_unit": "video",
|
|
900
|
+
"currency": "credits",
|
|
901
|
+
"usd_price": 0.08,
|
|
902
|
+
"tier_count": 4,
|
|
903
|
+
"pricing_url": "https://kie.ai/bytedance/seedance-v1"
|
|
904
|
+
},
|
|
905
|
+
"kie.video.BytedanceV1ProImageToVideo": {
|
|
906
|
+
"model_id": "bytedance/v1-pro-image-to-video",
|
|
907
|
+
"unit_price": 2.8,
|
|
728
908
|
"billing_unit": "second",
|
|
729
909
|
"currency": "credits",
|
|
730
|
-
"usd_price": 0.
|
|
731
|
-
"tier_count":
|
|
732
|
-
"pricing_url": "https://kie.ai/seedance-
|
|
910
|
+
"usd_price": 0.014,
|
|
911
|
+
"tier_count": 3,
|
|
912
|
+
"pricing_url": "https://kie.ai/bytedance/seedance-v1"
|
|
913
|
+
},
|
|
914
|
+
"kie.video.BytedanceV1ProTextToVideo": {
|
|
915
|
+
"model_id": "bytedance/v1-pro-text-to-video",
|
|
916
|
+
"unit_price": 2.8,
|
|
917
|
+
"billing_unit": "second",
|
|
918
|
+
"currency": "credits",
|
|
919
|
+
"usd_price": 0.014,
|
|
920
|
+
"tier_count": 3,
|
|
921
|
+
"pricing_url": "https://kie.ai/bytedance/seedance-v1"
|
|
922
|
+
},
|
|
923
|
+
"kie.video.BytedanceV1LiteImageToVideo": {
|
|
924
|
+
"model_id": "bytedance/v1-lite-image-to-video",
|
|
925
|
+
"unit_price": 2,
|
|
926
|
+
"billing_unit": "second",
|
|
927
|
+
"currency": "credits",
|
|
928
|
+
"usd_price": 0.01,
|
|
929
|
+
"tier_count": 3,
|
|
930
|
+
"pricing_url": "https://kie.ai/bytedance/seedance-v1"
|
|
931
|
+
},
|
|
932
|
+
"kie.video.BytedanceV1LiteTextToVideo": {
|
|
933
|
+
"model_id": "bytedance/v1-lite-text-to-video",
|
|
934
|
+
"unit_price": 2,
|
|
935
|
+
"billing_unit": "second",
|
|
936
|
+
"currency": "credits",
|
|
937
|
+
"usd_price": 0.01,
|
|
938
|
+
"tier_count": 3,
|
|
939
|
+
"pricing_url": "https://kie.ai/bytedance/seedance-v1"
|
|
733
940
|
},
|
|
734
941
|
"kie.video.Hailuo23ImageToVideoPro": {
|
|
735
942
|
"model_id": "hailuo/2-3-image-to-video-pro",
|
|
@@ -782,25 +989,25 @@
|
|
|
782
989
|
"billing_unit": "video",
|
|
783
990
|
"currency": "credits",
|
|
784
991
|
"usd_price": 0.06,
|
|
785
|
-
"tier_count":
|
|
992
|
+
"tier_count": 4,
|
|
786
993
|
"pricing_url": "https://kie.ai/hailuo-api"
|
|
787
994
|
},
|
|
788
995
|
"kie.video.Wan22A14bImageToVideoTurbo": {
|
|
789
996
|
"model_id": "wan/2-2-a14b-image-to-video-turbo",
|
|
790
|
-
"unit_price":
|
|
791
|
-
"billing_unit": "
|
|
997
|
+
"unit_price": 8,
|
|
998
|
+
"billing_unit": "second",
|
|
792
999
|
"currency": "credits",
|
|
793
|
-
"usd_price": 0.
|
|
1000
|
+
"usd_price": 0.04,
|
|
794
1001
|
"tier_count": 2,
|
|
795
1002
|
"pricing_url": "https://kie.ai/wan/v2-2"
|
|
796
1003
|
},
|
|
797
1004
|
"kie.video.Wan22A14bTextToVideoTurbo": {
|
|
798
1005
|
"model_id": "wan/2-2-a14b-text-to-video-turbo",
|
|
799
|
-
"unit_price":
|
|
800
|
-
"billing_unit": "
|
|
1006
|
+
"unit_price": 8,
|
|
1007
|
+
"billing_unit": "second",
|
|
801
1008
|
"currency": "credits",
|
|
802
|
-
"usd_price": 0.
|
|
803
|
-
"tier_count":
|
|
1009
|
+
"usd_price": 0.04,
|
|
1010
|
+
"tier_count": 2,
|
|
804
1011
|
"pricing_url": "https://kie.ai/wan/v2-2"
|
|
805
1012
|
},
|
|
806
1013
|
"kie.video.Wan26ImageToVideo": {
|
|
@@ -830,6 +1037,24 @@
|
|
|
830
1037
|
"tier_count": 4,
|
|
831
1038
|
"pricing_url": "https://kie.ai/wan-2-6"
|
|
832
1039
|
},
|
|
1040
|
+
"kie.video.Wan26FlashImageToVideo": {
|
|
1041
|
+
"model_id": "wan/2-6-flash-image-to-video",
|
|
1042
|
+
"unit_price": 20,
|
|
1043
|
+
"billing_unit": "video",
|
|
1044
|
+
"currency": "credits",
|
|
1045
|
+
"usd_price": 0.1,
|
|
1046
|
+
"tier_count": 12,
|
|
1047
|
+
"pricing_url": "https://kie.ai/wan-2-6-flash"
|
|
1048
|
+
},
|
|
1049
|
+
"kie.video.Wan26FlashVideoToVideo": {
|
|
1050
|
+
"model_id": "wan/2-6-flash-video-to-video",
|
|
1051
|
+
"unit_price": 20,
|
|
1052
|
+
"billing_unit": "video",
|
|
1053
|
+
"currency": "credits",
|
|
1054
|
+
"usd_price": 0.1,
|
|
1055
|
+
"tier_count": 8,
|
|
1056
|
+
"pricing_url": "https://kie.ai/wan-2-6-flash"
|
|
1057
|
+
},
|
|
833
1058
|
"kie.video.Wan25ImageToVideo": {
|
|
834
1059
|
"model_id": "wan/2-5-image-to-video",
|
|
835
1060
|
"unit_price": 60,
|
|
@@ -911,6 +1136,15 @@
|
|
|
911
1136
|
"tier_count": 8,
|
|
912
1137
|
"pricing_url": "https://kie.ai/pixverse-v6"
|
|
913
1138
|
},
|
|
1139
|
+
"kie.video.PixverseV6FirstLastFrameTransition": {
|
|
1140
|
+
"model_id": "pixverse-v6/transition",
|
|
1141
|
+
"unit_price": 4,
|
|
1142
|
+
"billing_unit": "second",
|
|
1143
|
+
"currency": "credits",
|
|
1144
|
+
"usd_price": 0.02,
|
|
1145
|
+
"tier_count": 8,
|
|
1146
|
+
"pricing_url": "https://kie.ai/pixverse-v6"
|
|
1147
|
+
},
|
|
914
1148
|
"kie.video.PixverseV6VideoExtension": {
|
|
915
1149
|
"model_id": "pixverse-v6/extend",
|
|
916
1150
|
"unit_price": 4,
|
|
@@ -922,10 +1156,10 @@
|
|
|
922
1156
|
},
|
|
923
1157
|
"kie.video.PixverseV6FusionReferenceToVideo": {
|
|
924
1158
|
"model_id": "pixverse-v6/reference-to-video",
|
|
925
|
-
"unit_price": 4
|
|
1159
|
+
"unit_price": 4,
|
|
926
1160
|
"billing_unit": "second",
|
|
927
1161
|
"currency": "credits",
|
|
928
|
-
"usd_price": 0.
|
|
1162
|
+
"usd_price": 0.02,
|
|
929
1163
|
"tier_count": 8,
|
|
930
1164
|
"pricing_url": "https://kie.ai/pixverse-v6"
|
|
931
1165
|
},
|
|
@@ -956,6 +1190,15 @@
|
|
|
956
1190
|
"tier_count": 2,
|
|
957
1191
|
"pricing_url": "https://kie.ai/minimax-h3"
|
|
958
1192
|
},
|
|
1193
|
+
"kie.video.ExtendAiVideo": {
|
|
1194
|
+
"model_id": "runway/extend-ai-video",
|
|
1195
|
+
"unit_price": 12,
|
|
1196
|
+
"billing_unit": "video",
|
|
1197
|
+
"currency": "credits",
|
|
1198
|
+
"usd_price": 0.06,
|
|
1199
|
+
"tier_count": 2,
|
|
1200
|
+
"pricing_url": "https://kie.ai/runway-api"
|
|
1201
|
+
},
|
|
959
1202
|
"kie.video.HappyhorseTextToVideo": {
|
|
960
1203
|
"model_id": "happyhorse/text-to-video",
|
|
961
1204
|
"unit_price": 28,
|
|
@@ -1031,7 +1274,7 @@
|
|
|
1031
1274
|
"kie.video.GeminiOmniVideo": {
|
|
1032
1275
|
"model_id": "gemini-omni-video",
|
|
1033
1276
|
"unit_price": 63,
|
|
1034
|
-
"billing_unit": "
|
|
1277
|
+
"billing_unit": "video",
|
|
1035
1278
|
"currency": "credits",
|
|
1036
1279
|
"usd_price": 0.315,
|
|
1037
1280
|
"tier_count": 15,
|
|
@@ -1073,14 +1316,68 @@
|
|
|
1073
1316
|
"tier_count": 1,
|
|
1074
1317
|
"pricing_url": "https://kie.ai/veo-3-1"
|
|
1075
1318
|
},
|
|
1319
|
+
"kie.video.GetVeo314kVideo": {
|
|
1320
|
+
"model_id": "veo/get-4k-video",
|
|
1321
|
+
"unit_price": 120,
|
|
1322
|
+
"billing_unit": "video",
|
|
1323
|
+
"currency": "credits",
|
|
1324
|
+
"usd_price": 0.6,
|
|
1325
|
+
"tier_count": 1,
|
|
1326
|
+
"pricing_url": "https://kie.ai/veo-3-1"
|
|
1327
|
+
},
|
|
1076
1328
|
"kie.video.ExtendVeo31Video": {
|
|
1077
1329
|
"model_id": "veo/extend",
|
|
1078
1330
|
"unit_price": 30,
|
|
1079
|
-
"billing_unit": "
|
|
1331
|
+
"billing_unit": "video",
|
|
1080
1332
|
"currency": "credits",
|
|
1081
1333
|
"usd_price": 0.15,
|
|
1082
1334
|
"tier_count": 3,
|
|
1083
1335
|
"pricing_url": "https://kie.ai/veo-3-1"
|
|
1336
|
+
},
|
|
1337
|
+
"kie.video.KlingV25TurboImageToVideoPro": {
|
|
1338
|
+
"model_id": "kling/v2-5-turbo-image-to-video-pro",
|
|
1339
|
+
"unit_price": 42,
|
|
1340
|
+
"billing_unit": "video",
|
|
1341
|
+
"currency": "credits",
|
|
1342
|
+
"usd_price": 0.21,
|
|
1343
|
+
"tier_count": 2,
|
|
1344
|
+
"pricing_url": "https://kie.ai/kling-2-5"
|
|
1345
|
+
},
|
|
1346
|
+
"kie.video.Kling40ReferenceToVideo": {
|
|
1347
|
+
"model_id": "kling-4.0/reference-to-video",
|
|
1348
|
+
"unit_price": 17,
|
|
1349
|
+
"billing_unit": "second",
|
|
1350
|
+
"currency": "credits",
|
|
1351
|
+
"usd_price": 0.085,
|
|
1352
|
+
"tier_count": 4,
|
|
1353
|
+
"pricing_url": "https://kie.ai/kling-4-0"
|
|
1354
|
+
},
|
|
1355
|
+
"kie.video.Kling40KeyframeToVideo": {
|
|
1356
|
+
"model_id": "kling-4.0/keyframe-to-video",
|
|
1357
|
+
"unit_price": 28.5,
|
|
1358
|
+
"billing_unit": "second",
|
|
1359
|
+
"currency": "credits",
|
|
1360
|
+
"usd_price": 0.1425,
|
|
1361
|
+
"tier_count": 2,
|
|
1362
|
+
"pricing_url": "https://kie.ai/kling-4-0"
|
|
1363
|
+
},
|
|
1364
|
+
"kie.video.PixverseV6MaxImageToVideo": {
|
|
1365
|
+
"model_id": "pixverse-v6-max/image-to-video",
|
|
1366
|
+
"unit_price": 4.8,
|
|
1367
|
+
"billing_unit": "second",
|
|
1368
|
+
"currency": "credits",
|
|
1369
|
+
"usd_price": 0.024,
|
|
1370
|
+
"tier_count": 8,
|
|
1371
|
+
"pricing_url": "https://kie.ai/pixverse-v6-max"
|
|
1372
|
+
},
|
|
1373
|
+
"kie.video.Omnihuman20": {
|
|
1374
|
+
"model_id": "omnihuman-2-0",
|
|
1375
|
+
"unit_price": 14,
|
|
1376
|
+
"billing_unit": "second",
|
|
1377
|
+
"currency": "credits",
|
|
1378
|
+
"usd_price": 0.07,
|
|
1379
|
+
"tier_count": 1,
|
|
1380
|
+
"pricing_url": "https://kie.ai/omnihuman-2-0"
|
|
1084
1381
|
}
|
|
1085
1382
|
}
|
|
1086
1383
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { NodeClass } from "@nodetool-ai/node-sdk";
|
|
2
2
|
export { loadKieNodesFromManifest, createKieNodeClass } from "./kie-factory.js";
|
|
3
3
|
export type { KieManifestEntry } from "./kie-factory.js";
|
|
4
|
-
export {
|
|
5
|
-
export type { KieExecuteResult } from "./kie-base.js";
|
|
4
|
+
export { isRefSet, kieCapability, kieExecute, kieImageRef, reportKieProviderCost, uploadAudioInput, uploadImageInput, uploadVideoInput } from "./kie-base.js";
|
|
5
|
+
export type { KieExecuteRequest, KieExecuteResult } from "./kie-base.js";
|
|
6
6
|
export { buildVideoClipsFromRefs, readClipStart, readClipEnd, clampClipEnd, MAX_VIDEO_CLIP_SPAN } from "./video-clip.js";
|
|
7
7
|
export type { VideoClipPayload } from "./video-clip.js";
|
|
8
8
|
export declare const KIE_NODES: readonly NodeClass[];
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAKvD,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChF,YAAY,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAKvD,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChF,YAAY,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,WAAW,EACX,YAAY,EACZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AASxD,eAAO,MAAM,SAAS,EAAE,SAAS,SAAS,EAEzC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE;IACzC,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;CAC1C,GAAG,IAAI,CAIP"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { loadPackageAssetJson } from "@nodetool-ai/config";
|
|
2
2
|
import { loadKieNodesFromManifest } from "./kie-factory.js";
|
|
3
3
|
export { loadKieNodesFromManifest, createKieNodeClass } from "./kie-factory.js";
|
|
4
|
-
export {
|
|
4
|
+
export { isRefSet, kieCapability, kieExecute, kieImageRef, reportKieProviderCost, uploadAudioInput, uploadImageInput, uploadVideoInput } from "./kie-base.js";
|
|
5
5
|
export { buildVideoClipsFromRefs, readClipStart, readClipEnd, clampClipEnd, MAX_VIDEO_CLIP_SPAN } from "./video-clip.js";
|
|
6
6
|
function loadManifest() {
|
|
7
7
|
return loadPackageAssetJson({ pkg: "@nodetool-ai/kie-nodes", path: "kie-manifest.json" }, import.meta.url);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,WAAW,EACX,YAAY,EACZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAGzB,SAAS,YAAY;IACnB,OAAO,oBAAoB,CACzB,EAAE,GAAG,EAAE,wBAAwB,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAC5D,OAAO,IAAI,CAAC,GAAG,CAChB,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAyB,wBAAwB,CACrE,YAAY,EAAE,CACf,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,QAEhC;IACC,KAAK,MAAM,SAAS,IAAI,SAAS,EAAE,CAAC;QAClC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC;AAED,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAC1D,yBAAyB,EAAE,CAAC"}
|
package/dist/kie-base.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Shared Kie.ai
|
|
3
|
-
*
|
|
2
|
+
* Shared Kie.ai node helpers: input uploads, the endpoint call, result
|
|
3
|
+
* mapping and cost reporting. The transport (submit, poll, upload, download)
|
|
4
|
+
* lives in the runtime `KieProvider`, reached through the processing context.
|
|
4
5
|
*/
|
|
5
|
-
import type { ProcessingContext } from "@nodetool-ai/runtime";
|
|
6
|
+
import type { GenerationRequest, ProcessingContext } from "@nodetool-ai/runtime";
|
|
6
7
|
import type { EncodedImageRef } from "@nodetool-ai/runtime/provider-transport";
|
|
7
|
-
export declare function
|
|
8
|
-
export declare function
|
|
9
|
-
export declare function
|
|
10
|
-
export declare function uploadAudioInput(apiKey: string, audio: unknown, context?: ProcessingContext): Promise<string>;
|
|
11
|
-
export declare function uploadVideoInput(apiKey: string, video: unknown, context?: ProcessingContext): Promise<string>;
|
|
8
|
+
export declare function uploadImageInput(image: unknown, context?: ProcessingContext): Promise<string>;
|
|
9
|
+
export declare function uploadAudioInput(audio: unknown, context?: ProcessingContext): Promise<string>;
|
|
10
|
+
export declare function uploadVideoInput(video: unknown, context?: ProcessingContext): Promise<string>;
|
|
12
11
|
declare function isRefSet(ref: unknown): boolean;
|
|
13
12
|
export { isRefSet };
|
|
14
13
|
export type KieExecuteResult = {
|
|
@@ -17,25 +16,37 @@ export type KieExecuteResult = {
|
|
|
17
16
|
taskId: string;
|
|
18
17
|
creditsConsumed?: number;
|
|
19
18
|
};
|
|
20
|
-
|
|
19
|
+
/** One KIE call as a node makes it. */
|
|
20
|
+
export interface KieExecuteRequest {
|
|
21
|
+
/** The KIE model name. It also names the call on the generation record. */
|
|
22
|
+
model: string;
|
|
23
|
+
input: Record<string, unknown>;
|
|
24
|
+
capability: GenerationRequest["capability"];
|
|
25
|
+
/** The node id the generation record and cost row are keyed by. */
|
|
26
|
+
nodeId?: string;
|
|
27
|
+
/** Run through the Suno API at this path, e.g. `/api/v1/generate`. */
|
|
28
|
+
sunoEndpoint?: string;
|
|
29
|
+
/** Post once to this endpoint and read `data[responseIdKey]` from the answer. */
|
|
30
|
+
directEndpoint?: string;
|
|
31
|
+
responseIdKey?: string;
|
|
32
|
+
/** Read `resultJson.resultObject[resultObjectKey]` as text instead of downloading. */
|
|
33
|
+
resultObjectKey?: string;
|
|
34
|
+
}
|
|
35
|
+
/** The generation capability that names a KIE node's output on the ledger. */
|
|
36
|
+
export declare function kieCapability(outputType: string, useSuno?: boolean): GenerationRequest["capability"];
|
|
37
|
+
/**
|
|
38
|
+
* Run one KIE call through `context.callProviderEndpoint`, which records the
|
|
39
|
+
* generation, and map KIE's answer to the node's output: base64 media, the
|
|
40
|
+
* text a result object names, or the id a direct endpoint returns.
|
|
41
|
+
*/
|
|
42
|
+
export declare function kieExecute(context: ProcessingContext | undefined, req: KieExecuteRequest): Promise<KieExecuteResult>;
|
|
21
43
|
export declare function reportKieProviderCost(context: unknown, creditsConsumed: number | undefined, taskId?: string | null): void;
|
|
22
44
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
45
|
+
* Register the kie reconciler so the tracker can refine kie estimates. The
|
|
46
|
+
* provider reads the task's billed credits with its own key; the credit price
|
|
47
|
+
* stays here.
|
|
25
48
|
*/
|
|
26
|
-
export declare function fetchKieBillingCost(apiKey: string, taskId: string): Promise<{
|
|
27
|
-
cost: number;
|
|
28
|
-
currency: string;
|
|
29
|
-
quantity: number;
|
|
30
|
-
unit_price: number;
|
|
31
|
-
} | null>;
|
|
32
|
-
/** Register the kie reconciler so the tracker can refine kie estimates. */
|
|
33
49
|
export declare function registerKieCostReconciler(): void;
|
|
34
|
-
export declare function kieExecuteOmniDirect(apiKey: string, endpoint: string, body: Record<string, unknown>, responseIdKey: string, signal?: AbortSignal): Promise<KieExecuteResult>;
|
|
35
|
-
export declare function kieExecuteTask(apiKey: string, model: string, input: Record<string, unknown>, pollInterval?: number, maxAttempts?: number, submitEndpoint?: string, pollEndpoint?: string, resultObjectKey?: string, signal?: AbortSignal): Promise<KieExecuteResult>;
|
|
36
|
-
export declare function kieSubmitSuno(apiKey: string, input: Record<string, unknown>, endpoint?: string, signal?: AbortSignal): Promise<string>;
|
|
37
|
-
export declare function kiePollSuno(apiKey: string, taskId: string, pollInterval?: number, maxAttempts?: number, signal?: AbortSignal): Promise<Record<string, unknown>>;
|
|
38
|
-
export declare function kieExecuteSunoTask(apiKey: string, input: Record<string, unknown>, pollInterval?: number, maxAttempts?: number, endpoint?: string, signal?: AbortSignal): Promise<KieExecuteResult>;
|
|
39
50
|
/** Build an ImageRef from the base64 image KIE returns. */
|
|
40
51
|
export declare function kieImageRef(base64: string): Promise<EncodedImageRef>;
|
|
41
52
|
//# sourceMappingURL=kie-base.d.ts.map
|
package/dist/kie-base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kie-base.d.ts","sourceRoot":"","sources":["../src/kie-base.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"kie-base.d.ts","sourceRoot":"","sources":["../src/kie-base.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,KAAK,EAEV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAiF/E,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED,iBAAS,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAOvC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,uCAAuC;AACvC,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,UAAU,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAC5C,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,8EAA8E;AAC9E,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,EAClB,OAAO,UAAQ,GACd,iBAAiB,CAAC,YAAY,CAAC,CAajC;AA0DD;;;;GAIG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,iBAAiB,GAAG,SAAS,EACtC,GAAG,EAAE,iBAAiB,GACrB,OAAO,CAAC,gBAAgB,CAAC,CAgD3B;AAKD,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GACrB,IAAI,CA6BN;AAaD;;;;GAIG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAahD;AAED,2DAA2D;AAC3D,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAEpE"}
|