@picsart/ai-sdk 6.2.3 → 6.3.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 +11 -0
  2. package/index.js +38 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -170,6 +170,16 @@ type ModelInputById = {
170
170
  imageUrls: [string, ...string[]];
171
171
  audioUrl: string;
172
172
  };
173
+ "creatify-boreal": {
174
+ prompt: string;
175
+ imageUrls?: string[];
176
+ audioUrl?: string;
177
+ negativePrompt?: string;
178
+ resolution?: "720p" | "1080p" | "2k";
179
+ aspectRatio?: "auto" | "16:9" | "9:16" | "1:1" | "4:3" | "3:4";
180
+ duration?: number;
181
+ manifestDisclosure?: boolean;
182
+ };
173
183
  "eleven-audio-isolation": {
174
184
  audioUrl: string;
175
185
  };
@@ -2890,6 +2900,7 @@ declare const Models: {
2890
2900
  readonly ClaudeSonnet46: "claude-sonnet-4-6";
2891
2901
  readonly ClaudeSonnet5: "claude-sonnet-5";
2892
2902
  readonly CreatifyAurora: "creatify-aurora";
2903
+ readonly CreatifyBoreal: "creatify-boreal";
2893
2904
  readonly ElevenAudioIsolation: "eleven-audio-isolation";
2894
2905
  readonly ElevenDubbing: "eleven-dubbing";
2895
2906
  readonly ElevenMultilingualStsV2: "eleven-multilingual-sts-v2";
package/index.js CHANGED
@@ -2421,6 +2421,27 @@ var { MODELS: MODELS3 } = defineModels("creatify", [
2421
2421
  ...params.imageInput(1, "Product Image", true),
2422
2422
  ...params.audioInput("Audio Track", true)
2423
2423
  }
2424
+ },
2425
+ {
2426
+ id: "creatify-boreal",
2427
+ name: "Creatify Boreal",
2428
+ addedAt: "2026-09-22",
2429
+ workflow: "creatify/boreal",
2430
+ estimatedTime: 169,
2431
+ mode: "video",
2432
+ inputType: "t2v",
2433
+ description: "Text-to-video with synchronized native audio for product, UGC, and presenter clips.",
2434
+ features: [feat("Image Input", "input"), feat("Audio Input", "audio")],
2435
+ paramConfig: {
2436
+ ...params.prompt({ maxLength: 5e3 }),
2437
+ ...params.imageInput(1, "Reference Image", false, "asset"),
2438
+ ...params.audioInput("Audio Track", false),
2439
+ ...params.negativePrompt(),
2440
+ ...params.resolution(["720p", "1080p", "2k"], "720p"),
2441
+ ...params.aspectRatio(["auto", "16:9", "9:16", "1:1", "4:3", "3:4"], "auto"),
2442
+ ...params.durationRange(1, 20, 10),
2443
+ ...p.boolean("manifestDisclosure", false, "AI-Generated Disclosure")
2444
+ }
2424
2445
  }
2425
2446
  ]);
2426
2447
 
@@ -9335,6 +9356,21 @@ registerEditPayloads(MODELS37, {
9335
9356
  "muse-image-1.0": buildMuseImageEditPayload
9336
9357
  });
9337
9358
 
9359
+ // src/vendors/catalog/creatify.payloads.ts
9360
+ var buildCreatifyBorealPayload = (input) => ({
9361
+ prompt: input.prompt,
9362
+ ...input.imageUrls?.[0] ? { image_url: input.imageUrls[0] } : {},
9363
+ ...input.audioUrl ? { audio_url: input.audioUrl } : {},
9364
+ negative_prompt: input.negativePrompt ?? "",
9365
+ resolution: input.resolution ?? "720p",
9366
+ aspect_ratio: input.aspectRatio ?? "auto",
9367
+ duration: input.duration ?? 10,
9368
+ manifest_disclosure: input.manifestDisclosure ?? false
9369
+ });
9370
+ registerPayloads(MODELS3, {
9371
+ "creatify-boreal": buildCreatifyBorealPayload
9372
+ });
9373
+
9338
9374
  // src/vendors/catalog/index.ts
9339
9375
  var ALL_MODELS = [
9340
9376
  ...MODELS,
@@ -11897,6 +11933,7 @@ var ClaudeSonnet45 = "claude-sonnet-4-5";
11897
11933
  var ClaudeSonnet46 = "claude-sonnet-4-6";
11898
11934
  var ClaudeSonnet5 = "claude-sonnet-5";
11899
11935
  var CreatifyAurora = "creatify-aurora";
11936
+ var CreatifyBoreal = "creatify-boreal";
11900
11937
  var ElevenAudioIsolation = "eleven-audio-isolation";
11901
11938
  var ElevenDubbing = "eleven-dubbing";
11902
11939
  var ElevenMultilingualStsV2 = "eleven-multilingual-sts-v2";
@@ -12133,6 +12170,7 @@ var Models = {
12133
12170
  ClaudeSonnet46,
12134
12171
  ClaudeSonnet5,
12135
12172
  CreatifyAurora,
12173
+ CreatifyBoreal,
12136
12174
  ElevenAudioIsolation,
12137
12175
  ElevenDubbing,
12138
12176
  ElevenMultilingualStsV2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "6.2.3",
3
+ "version": "6.3.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",