@picsart/ai-sdk 5.34.2 → 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 +4 -3
  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
@@ -5875,12 +5875,13 @@ var { MODELS: MODELS21 } = defineModels("flux", [
5875
5875
  // SDK's own field names (videoUrl, prompt, safetyTolerance) — no payload
5876
5876
  // builder needed.
5877
5877
  id: "flux-video-edit",
5878
- name: "FLUX Video Edit [fast]",
5878
+ name: "FLUX Video Edit",
5879
5879
  workflow: "flux/v1/video-edit",
5880
5880
  mode: "video",
5881
5881
  inputType: "v2v",
5882
5882
  addedAt: "2026-09-09",
5883
5883
  estimatedTime: 180,
5884
+ badge: ["new", "fast"],
5884
5885
  description: "Edit videos with a text instruction \u2014 change objects, styles or scenes while preserving motion, timing and audio. Source clips up to 15 seconds; output at 24 fps, up to 720p.",
5885
5886
  features: [
5886
5887
  feat("Video Required", "input"),
@@ -6766,7 +6767,7 @@ var { MODELS: MODELS25 } = defineModels("heygen", [
6766
6767
  paramConfig: {
6767
6768
  ...params.imageInput(1, "Portrait Image", true),
6768
6769
  ...params.resolution(["4k", "1080p", "720p"], "720p"),
6769
- ...params.aspectRatio(["16:9", "9:16"]),
6770
+ ...params.aspectRatio(["16:9", "9:16", "4:5", "5:4", "1:1", "auto"]),
6770
6771
  ...dynamicVoiceConfig,
6771
6772
  ...params.prompt({ minLength: 20, maxLength: 5e3, placeholder: "Write the script your avatar will speak (at least 20 characters)..." })
6772
6773
  }
@@ -6794,7 +6795,7 @@ var { MODELS: MODELS25 } = defineModels("heygen", [
6794
6795
  catalog: { workflow: "heygen/v1/catalog/avatars" }
6795
6796
  }),
6796
6797
  ...params.resolution(["4k", "1080p", "720p"], "720p"),
6797
- ...params.aspectRatio(["16:9", "9:16"]),
6798
+ ...params.aspectRatio(["16:9", "9:16", "4:5", "5:4", "1:1", "auto"]),
6798
6799
  ...dynamicVoiceConfig,
6799
6800
  ...params.prompt({ minLength: 20, maxLength: 5e3, placeholder: "Write the script your avatar will speak (at least 20 characters)..." })
6800
6801
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "5.34.2",
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",