@picsart/ai-sdk 5.34.0 → 5.34.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 +1 -0
- package/index.js +4 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -2900,7 +2900,7 @@ var buildMinimaxH3 = (ctx) => {
|
|
|
2900
2900
|
return {
|
|
2901
2901
|
model: "MiniMax-H3",
|
|
2902
2902
|
content,
|
|
2903
|
-
resolution: "2K",
|
|
2903
|
+
resolution: ctx.resolution ?? "2K",
|
|
2904
2904
|
duration: ctx.duration ?? 5,
|
|
2905
2905
|
...ctx.aspectRatio ? { ratio: ctx.aspectRatio } : {}
|
|
2906
2906
|
};
|
|
@@ -3048,6 +3048,9 @@ var { MODELS: MODELS9 } = defineModels("minimax", [
|
|
|
3048
3048
|
...params.imageInput(9, "Reference Images", false),
|
|
3049
3049
|
...params.videoInputs(3, "Reference Videos", false),
|
|
3050
3050
|
...params.audioInputs(3, "Reference Audios", false),
|
|
3051
|
+
// Backend enum is case-insensitive (['768P','2K','768p','2k']); the
|
|
3052
|
+
// uppercase forms are canonical.
|
|
3053
|
+
...params.resolution(["768P", "2K"], "2K"),
|
|
3051
3054
|
...params.durationRange(5, 15, 5),
|
|
3052
3055
|
...p.aspectRatio(["adaptive", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"], "adaptive")
|
|
3053
3056
|
},
|