@picsart/ai-sdk 5.10.0 → 5.11.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 (2) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3790,7 +3790,7 @@ var buildSeedance25Payload = (ctx) => {
3790
3790
  ],
3791
3791
  ratio: usesFrame ? "adaptive" : ctx.aspectRatio ?? "16:9",
3792
3792
  duration: ctx.duration ?? 5,
3793
- resolution: ctx.resolution ?? "720p",
3793
+ resolution: ctx.resolution ?? "1080p",
3794
3794
  generate_audio: ctx.generateAudio ?? true,
3795
3795
  output_format: ctx.outputFormat ?? "mp4",
3796
3796
  ...ctx.returnLastFrame ? { return_last_frame: true } : {}
@@ -3809,7 +3809,7 @@ var buildSeedance25VideoEditPayload = (ctx) => ({
3809
3809
  ],
3810
3810
  ratio: "adaptive",
3811
3811
  duration: -1,
3812
- resolution: ctx.resolution ?? "720p",
3812
+ resolution: ctx.resolution ?? "1080p",
3813
3813
  generate_audio: ctx.generateAudio ?? true,
3814
3814
  output_format: ctx.outputFormat ?? "mp4",
3815
3815
  ...ctx.returnLastFrame ? { return_last_frame: true } : {}
@@ -3826,7 +3826,7 @@ var buildSeedance25VideoExtendPayload = (ctx) => ({
3826
3826
  ],
3827
3827
  ratio: "adaptive",
3828
3828
  duration: ctx.duration ?? 15,
3829
- resolution: ctx.resolution ?? "720p",
3829
+ resolution: ctx.resolution ?? "1080p",
3830
3830
  generate_audio: ctx.generateAudio ?? true,
3831
3831
  output_format: ctx.outputFormat ?? "mp4"
3832
3832
  });
@@ -3851,7 +3851,7 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
3851
3851
  paramConfig: {
3852
3852
  ...params.prompt(),
3853
3853
  ...params.aspectRatio(SEEDANCE_AR),
3854
- ...params.resolution(["480p", "720p", "1080p"], "720p"),
3854
+ ...params.resolution(["480p", "720p", "1080p"], "1080p"),
3855
3855
  ...params.duration(SEEDANCE_25_DURATIONS, 5),
3856
3856
  ...params.generateAudio(),
3857
3857
  ...params.returnLastFrame(),
@@ -3882,7 +3882,7 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
3882
3882
  // Editing mode: aspect ratio is fixed to 'adaptive' and duration is
3883
3883
  // source-driven ('-1'), so neither is user-selectable (vendor rule).
3884
3884
  ...params.aspectRatio(["adaptive"]),
3885
- ...params.resolution(["480p", "720p", "1080p"], "720p"),
3885
+ ...params.resolution(["480p", "720p", "1080p"], "1080p"),
3886
3886
  ...params.generateAudio(),
3887
3887
  ...params.returnLastFrame(),
3888
3888
  ...p.enum("outputFormat", ["mp4", "mov"], "mp4", { label: "Format" }),
@@ -3908,7 +3908,7 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
3908
3908
  // Extension mode: aspect ratio is locked to 'adaptive' (vendor rule);
3909
3909
  // duration stays user-selectable.
3910
3910
  ...params.aspectRatio(["adaptive"]),
3911
- ...params.resolution(["480p", "720p", "1080p"], "720p"),
3911
+ ...params.resolution(["480p", "720p", "1080p"], "1080p"),
3912
3912
  ...params.duration(SEEDANCE_25_DURATIONS, 15),
3913
3913
  ...params.generateAudio(),
3914
3914
  ...p.enum("outputFormat", ["mp4", "mov"], "mp4", { label: "Format" }),
@@ -7772,7 +7772,7 @@ var { MODELS: MODELS32 } = defineModels("google", [
7772
7772
  description: "Extended music generation up to 184s with vocals, powered by Google Lyria 3 Pro.",
7773
7773
  features: [feat("Image Input", "input"), feat("Vocal & Instrumental", "characteristic"), feat("Up to 184s", "duration")],
7774
7774
  paramConfig: {
7775
- ...params.prompt(),
7775
+ ...params.prompt({ placeholder: "Generate voiceover, music and sound effects" }),
7776
7776
  ...params.imageInput(10, "Mood Images")
7777
7777
  }
7778
7778
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "5.10.0",
3
+ "version": "5.11.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",