@picsart/ai-sdk 5.4.0 → 5.4.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.
Files changed (3) hide show
  1. package/index.d.ts +3 -3
  2. package/index.js +6 -6
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1258,7 +1258,7 @@ type ModelInputById = {
1258
1258
  "seedance-2.5": {
1259
1259
  prompt: string;
1260
1260
  aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive";
1261
- resolution?: "480p" | "720p";
1261
+ resolution?: "480p" | "720p" | "1080p";
1262
1262
  duration?: 4 | 5 | 6 | 8 | 10 | 12 | 15 | 20 | 25 | 30;
1263
1263
  generateAudio?: boolean;
1264
1264
  returnLastFrame?: boolean;
@@ -1272,7 +1272,7 @@ type ModelInputById = {
1272
1272
  "seedance-2.5-video-edit": {
1273
1273
  prompt: string;
1274
1274
  aspectRatio?: "adaptive";
1275
- resolution?: "480p" | "720p";
1275
+ resolution?: "480p" | "720p" | "1080p";
1276
1276
  generateAudio?: boolean;
1277
1277
  returnLastFrame?: boolean;
1278
1278
  outputFormat?: "mp4" | "mov";
@@ -1282,7 +1282,7 @@ type ModelInputById = {
1282
1282
  "seedance-2.5-video-extend": {
1283
1283
  prompt: string;
1284
1284
  aspectRatio?: "adaptive";
1285
- resolution?: "480p" | "720p";
1285
+ resolution?: "480p" | "720p" | "1080p";
1286
1286
  duration?: 4 | 5 | 6 | 8 | 10 | 12 | 15 | 20 | 25 | 30;
1287
1287
  generateAudio?: boolean;
1288
1288
  outputFormat?: "mp4" | "mov";
package/index.js CHANGED
@@ -4091,11 +4091,11 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
4091
4091
  inputType: "t2v",
4092
4092
  badge: ["new", "premium", "hot"],
4093
4093
  description: "Latest cinematic video with audio, multi-reference input, and mp4/mov output. Up to 30s.",
4094
- features: [feat("Reference Image", "frame"), feat("Start/End Frame", "frame"), feat("Audio", "audio"), feat("720p", "resolution"), feat("4-30 sec", "duration")],
4094
+ features: [feat("Reference Image", "frame"), feat("Start/End Frame", "frame"), feat("Audio", "audio"), feat("1080p", "resolution"), feat("4-30 sec", "duration")],
4095
4095
  paramConfig: {
4096
4096
  ...params.prompt(),
4097
4097
  ...params.aspectRatio(SEEDANCE_AR),
4098
- ...params.resolution(["480p", "720p"], "720p"),
4098
+ ...params.resolution(["480p", "720p", "1080p"], "720p"),
4099
4099
  ...params.duration(SEEDANCE_25_DURATIONS, 5),
4100
4100
  ...params.generateAudio(),
4101
4101
  ...params.returnLastFrame(),
@@ -4120,13 +4120,13 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
4120
4120
  inputType: "v2v",
4121
4121
  badge: ["new", "premium", "hot"],
4122
4122
  description: "Edit video \u2014 replace subjects, add or remove objects, restyle scenes with reference images.",
4123
- features: [feat("Video Input", "input"), feat("Multi-Image Input", "input"), feat("Audio", "audio"), feat("720p", "resolution"), feat("Source length", "duration")],
4123
+ features: [feat("Video Input", "input"), feat("Multi-Image Input", "input"), feat("Audio", "audio"), feat("1080p", "resolution"), feat("Source length", "duration")],
4124
4124
  paramConfig: {
4125
4125
  ...params.prompt(),
4126
4126
  // Editing mode: aspect ratio is fixed to 'adaptive' and duration is
4127
4127
  // source-driven ('-1'), so neither is user-selectable (vendor rule).
4128
4128
  ...params.aspectRatio(["adaptive"]),
4129
- ...params.resolution(["480p", "720p"], "720p"),
4129
+ ...params.resolution(["480p", "720p", "1080p"], "720p"),
4130
4130
  ...params.generateAudio(),
4131
4131
  ...params.returnLastFrame(),
4132
4132
  ...p.enum("outputFormat", ["mp4", "mov"], "mp4", { label: "Format" }),
@@ -4146,13 +4146,13 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
4146
4146
  inputType: "v2v",
4147
4147
  badge: ["new", "premium", "hot"],
4148
4148
  description: "Stitch up to 10 clips into one continuous, extended video.",
4149
- features: [feat("Multi-Video Input", "input"), feat("Audio", "audio"), feat("720p", "resolution"), feat("4-30 sec", "duration")],
4149
+ features: [feat("Multi-Video Input", "input"), feat("Audio", "audio"), feat("1080p", "resolution"), feat("4-30 sec", "duration")],
4150
4150
  paramConfig: {
4151
4151
  ...params.prompt(),
4152
4152
  // Extension mode: aspect ratio is locked to 'adaptive' (vendor rule);
4153
4153
  // duration stays user-selectable.
4154
4154
  ...params.aspectRatio(["adaptive"]),
4155
- ...params.resolution(["480p", "720p"], "720p"),
4155
+ ...params.resolution(["480p", "720p", "1080p"], "720p"),
4156
4156
  ...params.duration(SEEDANCE_25_DURATIONS, 15),
4157
4157
  ...params.generateAudio(),
4158
4158
  ...p.enum("outputFormat", ["mp4", "mov"], "mp4", { label: "Format" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
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",