@picsart/ai-sdk 5.34.3 → 5.35.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.
Files changed (3) hide show
  1. package/index.d.ts +2 -2
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -522,14 +522,14 @@ type ModelInputById = {
522
522
  "heygen-talking-photo": {
523
523
  imageUrls: [string, ...string[]];
524
524
  resolution?: "4k" | "1080p" | "720p";
525
- aspectRatio?: "16:9" | "9:16";
525
+ aspectRatio?: "16:9" | "9:16" | "4:5" | "5:4" | "1:1" | "auto";
526
526
  voiceId: string;
527
527
  prompt: string;
528
528
  };
529
529
  "heygen-video-avatar": {
530
530
  videoId: string;
531
531
  resolution?: "4k" | "1080p" | "720p";
532
- aspectRatio?: "16:9" | "9:16";
532
+ aspectRatio?: "16:9" | "9:16" | "4:5" | "5:4" | "1:1" | "auto";
533
533
  voiceId: string;
534
534
  prompt: string;
535
535
  };
package/index.js CHANGED
@@ -6767,7 +6767,7 @@ var { MODELS: MODELS25 } = defineModels("heygen", [
6767
6767
  paramConfig: {
6768
6768
  ...params.imageInput(1, "Portrait Image", true),
6769
6769
  ...params.resolution(["4k", "1080p", "720p"], "720p"),
6770
- ...params.aspectRatio(["16:9", "9:16"]),
6770
+ ...params.aspectRatio(["16:9", "9:16", "4:5", "5:4", "1:1", "auto"]),
6771
6771
  ...dynamicVoiceConfig,
6772
6772
  ...params.prompt({ minLength: 20, maxLength: 5e3, placeholder: "Write the script your avatar will speak (at least 20 characters)..." })
6773
6773
  }
@@ -6795,7 +6795,7 @@ var { MODELS: MODELS25 } = defineModels("heygen", [
6795
6795
  catalog: { workflow: "heygen/v1/catalog/avatars" }
6796
6796
  }),
6797
6797
  ...params.resolution(["4k", "1080p", "720p"], "720p"),
6798
- ...params.aspectRatio(["16:9", "9:16"]),
6798
+ ...params.aspectRatio(["16:9", "9:16", "4:5", "5:4", "1:1", "auto"]),
6799
6799
  ...dynamicVoiceConfig,
6800
6800
  ...params.prompt({ minLength: 20, maxLength: 5e3, placeholder: "Write the script your avatar will speak (at least 20 characters)..." })
6801
6801
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "5.34.3",
3
+ "version": "5.35.0",
4
4
  "type": "module",
5
5
  "description": "Type-safe SDK for 100+ AI models — image, video, audio, and text generation with Picsart",
6
6
  "license": "MIT",