@picsart/ai-sdk 6.50.1 → 6.51.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/index.d.ts +4 -4
- package/index.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -786,7 +786,7 @@ type ModelInputById = {
|
|
|
786
786
|
"happyhorse-1.0-r2v": {
|
|
787
787
|
prompt: string;
|
|
788
788
|
seed?: number;
|
|
789
|
-
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4";
|
|
789
|
+
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4";
|
|
790
790
|
resolution?: "720P" | "1080P";
|
|
791
791
|
duration?: number;
|
|
792
792
|
imageUrls: [string, ...string[]];
|
|
@@ -794,7 +794,7 @@ type ModelInputById = {
|
|
|
794
794
|
"happyhorse-1.0-t2v": {
|
|
795
795
|
prompt: string;
|
|
796
796
|
seed?: number;
|
|
797
|
-
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4";
|
|
797
|
+
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4";
|
|
798
798
|
resolution?: "720P" | "1080P";
|
|
799
799
|
duration?: number;
|
|
800
800
|
startFrame?: string;
|
|
@@ -810,7 +810,7 @@ type ModelInputById = {
|
|
|
810
810
|
"happyhorse-1.1-r2v": {
|
|
811
811
|
prompt: string;
|
|
812
812
|
seed?: number;
|
|
813
|
-
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4";
|
|
813
|
+
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4";
|
|
814
814
|
resolution?: "720P" | "1080P";
|
|
815
815
|
duration?: number;
|
|
816
816
|
imageUrls: [string, ...string[]];
|
|
@@ -818,7 +818,7 @@ type ModelInputById = {
|
|
|
818
818
|
"happyhorse-1.1-t2v": {
|
|
819
819
|
prompt: string;
|
|
820
820
|
seed?: number;
|
|
821
|
-
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4";
|
|
821
|
+
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4";
|
|
822
822
|
resolution?: "720P" | "1080P";
|
|
823
823
|
duration?: number;
|
|
824
824
|
startFrame?: string;
|
package/index.js
CHANGED
|
@@ -1669,7 +1669,7 @@ var { MODELS } = defineModels("kling", [
|
|
|
1669
1669
|
// ── Video: Kling 4.0 Omni (dedicated /omni-video/kling-4.0 tasks API) ──
|
|
1670
1670
|
{
|
|
1671
1671
|
id: "kling-v4-omni",
|
|
1672
|
-
name: "Kling 4.0
|
|
1672
|
+
name: "Kling 4.0 Flash",
|
|
1673
1673
|
modelId: "kling-v4-omni",
|
|
1674
1674
|
addedAt: "2026-10-16",
|
|
1675
1675
|
workflow: "kling-omni-video",
|
|
@@ -9945,7 +9945,7 @@ var buildHH11R2VPayload = (ctx) => {
|
|
|
9945
9945
|
...ctx.seed != null ? { seed: ctx.seed } : {}
|
|
9946
9946
|
};
|
|
9947
9947
|
};
|
|
9948
|
-
var HH_AR = ["16:9", "9:16", "1:1", "4:3", "3:4"];
|
|
9948
|
+
var HH_AR = ["16:9", "9:16", "1:1", "4:3", "3:4", "4:5", "5:4"];
|
|
9949
9949
|
var HH_RES = ["720P", "1080P"];
|
|
9950
9950
|
var { MODELS: MODELS31 } = defineModels("happyhorse", [
|
|
9951
9951
|
{
|