@picsart/ai-sdk 3.29.1 → 3.30.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 -0
- package/index.js +0 -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,6 @@ var { MODELS: MODELS25 } = defineModels("heygen", [
|
|
|
6525
6525
|
id: "heygen-video-avatar",
|
|
6526
6526
|
modelId: "heygen-avatar-iv",
|
|
6527
6527
|
addedAt: "2026-03-17",
|
|
6528
|
-
// disabled 2026-05-08: backend/catalog mismatch.
|
|
6529
|
-
// heygen/v1/video/generate uses Avatar IV mode but heygen/v1/avatars/list
|
|
6530
|
-
// returns 1287 Avatar III avatars (all preview URLs are /avatar/v3/), so
|
|
6531
|
-
// every avatar from the list is rejected with "This video avatar does not
|
|
6532
|
-
// support Avatar IV video generation". Talking Photo (i2v) path is
|
|
6533
|
-
// unaffected. Re-enable once backend exposes an Avatar IV catalog OR
|
|
6534
|
-
// downgrades the worker to Avatar III mode.
|
|
6535
|
-
disabled: true,
|
|
6536
6528
|
name: "HeyGen Video Avatar",
|
|
6537
6529
|
workflow: "heygen/v1/video/generate",
|
|
6538
6530
|
buildPayload: buildHeyGenVideoAvatarPayload,
|