@picsart/ai-sdk 5.34.0 → 5.34.2
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 +5 -2
- 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
|
},
|
|
@@ -5872,7 +5875,7 @@ var { MODELS: MODELS21 } = defineModels("flux", [
|
|
|
5872
5875
|
// SDK's own field names (videoUrl, prompt, safetyTolerance) — no payload
|
|
5873
5876
|
// builder needed.
|
|
5874
5877
|
id: "flux-video-edit",
|
|
5875
|
-
name: "
|
|
5878
|
+
name: "FLUX Video Edit [fast]",
|
|
5876
5879
|
workflow: "flux/v1/video-edit",
|
|
5877
5880
|
mode: "video",
|
|
5878
5881
|
inputType: "v2v",
|