@picsart/ai-sdk 3.29.1 → 3.30.0
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 -0
- package/index.js +8 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -405,11 +405,14 @@ type ModelInputById = {
|
|
|
405
405
|
imageUrls: [string, ...string[]];
|
|
406
406
|
resolution?: "4k" | "1080p" | "720p";
|
|
407
407
|
aspectRatio?: "16:9" | "9:16";
|
|
408
|
+
voiceId: string;
|
|
408
409
|
prompt: string;
|
|
409
410
|
};
|
|
410
411
|
"heygen-video-avatar": {
|
|
412
|
+
videoId: string;
|
|
411
413
|
resolution?: "4k" | "1080p" | "720p";
|
|
412
414
|
aspectRatio?: "16:9" | "9:16";
|
|
415
|
+
voiceId: string;
|
|
413
416
|
prompt: string;
|
|
414
417
|
};
|
|
415
418
|
"hunyuan-v3": {
|
|
@@ -1299,6 +1302,7 @@ type ModelInputById = {
|
|
|
1299
1302
|
};
|
|
1300
1303
|
"sora-2-extend": {
|
|
1301
1304
|
prompt: string;
|
|
1305
|
+
videoId?: string;
|
|
1302
1306
|
duration?: 4 | 8 | 12 | 16 | 20;
|
|
1303
1307
|
};
|
|
1304
1308
|
"sora-2-pro": {
|
package/index.js
CHANGED
|
@@ -6525,14 +6525,14 @@ var { MODELS: MODELS25 } = defineModels("heygen", [
|
|
|
6525
6525
|
id: "heygen-video-avatar",
|
|
6526
6526
|
modelId: "heygen-avatar-iv",
|
|
6527
6527
|
addedAt: "2026-03-17",
|
|
6528
|
-
//
|
|
6529
|
-
//
|
|
6530
|
-
//
|
|
6531
|
-
//
|
|
6532
|
-
//
|
|
6533
|
-
//
|
|
6534
|
-
//
|
|
6535
|
-
|
|
6528
|
+
// Disabled 2026-05-08 because the avatar list carried no way to tell an
|
|
6529
|
+
// Avatar IV-compatible avatar from an incompatible one, so picks were
|
|
6530
|
+
// rejected at submit. The worker now serves `heygen/v1/avatars/list` from
|
|
6531
|
+
// HeyGen v3 looks filtered by `supported_api_engines`, so every id it offers
|
|
6532
|
+
// is one the engine accepts. Kept at `preview` until that runs on
|
|
6533
|
+
// production — the tag is opt-in, so only stage surfaces asking for it will
|
|
6534
|
+
// list the model.
|
|
6535
|
+
release: "preview",
|
|
6536
6536
|
name: "HeyGen Video Avatar",
|
|
6537
6537
|
workflow: "heygen/v1/video/generate",
|
|
6538
6538
|
buildPayload: buildHeyGenVideoAvatarPayload,
|