@picsart/ai-sdk 5.16.0 → 5.16.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 -1
- package/index.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -340,7 +340,7 @@ type ModelInputById = {
|
|
|
340
340
|
aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3";
|
|
341
341
|
resolution?: "480p" | "720p" | "1080p";
|
|
342
342
|
duration?: 3 | 5 | 6 | 8 | 10 | 12 | 15;
|
|
343
|
-
imageUrls
|
|
343
|
+
imageUrls?: string[];
|
|
344
344
|
};
|
|
345
345
|
"grok-tts": {
|
|
346
346
|
language?: string;
|
package/index.js
CHANGED
|
@@ -4707,7 +4707,7 @@ var { MODELS: MODELS17 } = defineModels("grok", [
|
|
|
4707
4707
|
buildEditPayload: buildGrok15I2VPayload,
|
|
4708
4708
|
estimatedTime: 30,
|
|
4709
4709
|
mode: "video",
|
|
4710
|
-
inputType: "
|
|
4710
|
+
inputType: "t2v",
|
|
4711
4711
|
badge: ["new"],
|
|
4712
4712
|
description: "Next-gen Grok video \u2014 faster, higher fidelity, up to 15s with audio.",
|
|
4713
4713
|
features: [feat("Image Input", "input"), feat("Audio", "audio"), feat("1080p", "resolution"), feat("15 sec", "duration")],
|
|
@@ -4716,7 +4716,7 @@ var { MODELS: MODELS17 } = defineModels("grok", [
|
|
|
4716
4716
|
...params.aspectRatio(GROK_VIDEO_AR),
|
|
4717
4717
|
...params.resolution(GROK_VIDEO_RESOLUTIONS_15, "720p"),
|
|
4718
4718
|
...params.duration(GROK_DURATIONS, 8),
|
|
4719
|
-
...params.imageInput(1, "Input Image",
|
|
4719
|
+
...params.imageInput(1, "Input Image", false)
|
|
4720
4720
|
}
|
|
4721
4721
|
},
|
|
4722
4722
|
{
|