@picsart/ai-sdk 5.25.0 → 5.26.1
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/_vendor/workflows-types/index.d.ts +1842 -1652
- package/index.d.ts +13 -10
- package/index.js +224 -134
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -534,7 +534,6 @@ type ModelInputById = {
|
|
|
534
534
|
};
|
|
535
535
|
"kling-motion-control": {
|
|
536
536
|
prompt?: string;
|
|
537
|
-
resolution?: "720p" | "1080p";
|
|
538
537
|
renderingSpeed?: "std" | "pro";
|
|
539
538
|
characterOrientation?: "image" | "video";
|
|
540
539
|
keepOriginalSound?: "yes" | "no";
|
|
@@ -543,7 +542,6 @@ type ModelInputById = {
|
|
|
543
542
|
};
|
|
544
543
|
"kling-motion-control-v3": {
|
|
545
544
|
prompt?: string;
|
|
546
|
-
resolution?: "720p" | "1080p";
|
|
547
545
|
renderingSpeed?: "std" | "pro";
|
|
548
546
|
characterOrientation?: "image" | "video";
|
|
549
547
|
keepOriginalSound?: "yes" | "no";
|
|
@@ -575,8 +573,6 @@ type ModelInputById = {
|
|
|
575
573
|
count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
576
574
|
negativePrompt?: string;
|
|
577
575
|
imageUrls?: string[];
|
|
578
|
-
imageWeight?: number;
|
|
579
|
-
humanFidelity?: number;
|
|
580
576
|
};
|
|
581
577
|
"kling-v2-6": {
|
|
582
578
|
prompt: string;
|
|
@@ -586,8 +582,6 @@ type ModelInputById = {
|
|
|
586
582
|
endFrame?: string;
|
|
587
583
|
negativePrompt?: string;
|
|
588
584
|
generateAudio?: boolean;
|
|
589
|
-
cfgScale?: number;
|
|
590
|
-
renderingSpeed?: "std" | "pro";
|
|
591
585
|
};
|
|
592
586
|
"kling-v2a": {
|
|
593
587
|
videoUrl: string;
|
|
@@ -613,7 +607,6 @@ type ModelInputById = {
|
|
|
613
607
|
elementList?: Array<{
|
|
614
608
|
element_id: string;
|
|
615
609
|
}>;
|
|
616
|
-
staticMask?: string;
|
|
617
610
|
renderingSpeed?: "std" | "pro" | "4k";
|
|
618
611
|
};
|
|
619
612
|
"kling-v3-omni": {
|
|
@@ -621,7 +614,6 @@ type ModelInputById = {
|
|
|
621
614
|
aspectRatio?: "16:9" | "9:16" | "1:1";
|
|
622
615
|
duration?: 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
|
|
623
616
|
resolution?: "720p" | "1080p" | "4k";
|
|
624
|
-
renderingSpeed?: "std" | "pro";
|
|
625
617
|
generateAudio?: boolean;
|
|
626
618
|
startFrame?: string;
|
|
627
619
|
endFrame?: string;
|
|
@@ -647,7 +639,6 @@ type ModelInputById = {
|
|
|
647
639
|
negativePrompt?: string;
|
|
648
640
|
resolution?: "720p" | "1080p";
|
|
649
641
|
startFrame?: string;
|
|
650
|
-
staticMask?: string;
|
|
651
642
|
};
|
|
652
643
|
"kling-video-effects": {
|
|
653
644
|
templateId?: string;
|
|
@@ -657,7 +648,6 @@ type ModelInputById = {
|
|
|
657
648
|
prompt: string;
|
|
658
649
|
aspectRatio?: "16:9" | "9:16" | "1:1";
|
|
659
650
|
duration?: 5 | 10;
|
|
660
|
-
resolution?: "720p" | "1080p";
|
|
661
651
|
renderingSpeed?: "std" | "pro";
|
|
662
652
|
generateAudio?: boolean;
|
|
663
653
|
};
|
|
@@ -810,6 +800,18 @@ type ModelInputById = {
|
|
|
810
800
|
seed?: number;
|
|
811
801
|
enableSafetyChecker?: boolean;
|
|
812
802
|
};
|
|
803
|
+
"minimax-h3-max-r2v": {
|
|
804
|
+
prompt: string;
|
|
805
|
+
imageUrls?: string[];
|
|
806
|
+
videoUrls?: string[];
|
|
807
|
+
audioUrls?: string[];
|
|
808
|
+
resolution?: "480p" | "768p";
|
|
809
|
+
duration?: number;
|
|
810
|
+
aspectRatio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16";
|
|
811
|
+
promptExpansionMode?: "balanced" | "quality";
|
|
812
|
+
seed?: number;
|
|
813
|
+
enableSafetyChecker?: boolean;
|
|
814
|
+
};
|
|
813
815
|
"minimax-music-v2": {
|
|
814
816
|
prompt: string;
|
|
815
817
|
lyricsPrompt?: string;
|
|
@@ -2645,6 +2647,7 @@ declare const Models: {
|
|
|
2645
2647
|
readonly Minimax02Hd: "minimax-02-hd";
|
|
2646
2648
|
readonly MinimaxH3: "minimax-h3";
|
|
2647
2649
|
readonly MinimaxH3Max: "minimax-h3-max";
|
|
2650
|
+
readonly MinimaxH3MaxR2v: "minimax-h3-max-r2v";
|
|
2648
2651
|
readonly MinimaxMusicV2: "minimax-music-v2";
|
|
2649
2652
|
readonly MinimaxMusicV3: "minimax-music-v3";
|
|
2650
2653
|
readonly MuseImage10: "muse-image-1.0";
|