@picsart/ai-sdk 7.30.0 → 7.32.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.
@@ -145,10 +145,10 @@ export type ModelInputById = {
145
145
  "kling-v3": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: number; startFrame?: string; endFrame?: string; negativePrompt?: string; generateAudio?: boolean; multiShot?: boolean; shotType?: "customize" | "intelligence"; multiPrompt?: Array<{ index: number; prompt: string; duration: string }>; voiceList?: Array<{ voice_id: string }>; elementList?: Array<{ element_id: string }>; renderingSpeed?: "std" | "pro" | "4k"; };
146
146
  "kling-v3-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: number; resolution?: "720p" | "1080p" | "4k"; generateAudio?: boolean; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrl?: string; referType?: "feature" | "base"; keepOriginalSound?: "yes" | "no"; multiShot?: boolean; shotType?: "customize"; multiPrompt?: Array<{ index: number; prompt: string; duration: string }>; elementList?: Array<{ element_id: string }>; };
147
147
  "kling-v3-turbo": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: number; negativePrompt?: string; resolution?: "720p" | "1080p"; startFrame?: string; };
148
- "kling-v4": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9"; duration?: number; resolution?: "720p" | "1080p"; startFrame?: string; imageUrls?: string[]; endFrame?: string; };
149
- "kling-v4-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "adaptive"; duration?: number; resolution?: "720p" | "1080p"; startFrame?: string; middleFrames?: string[]; endFrame?: string; imageUrls?: string[]; videoUrl?: string; referType?: "feature" | "base"; elementList?: Array<{ element_id: string }>; };
150
- "kling-v4-flash": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9"; duration?: number; startFrame?: string; };
151
- "kling-v4-flash-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "adaptive"; duration?: number; startFrame?: string; imageUrls?: string[]; videoUrl?: string; referType?: "feature" | "base"; elementList?: Array<{ element_id: string }>; };
148
+ "kling-v4": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:4"; duration?: number; resolution?: "720p" | "1080p"; startFrame?: string; imageUrls?: string[]; endFrame?: string; };
149
+ "kling-v4-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:4" | "adaptive"; duration?: number; resolution?: "720p" | "1080p"; startFrame?: string; middleFrames?: string[]; endFrame?: string; imageUrls?: string[]; videoUrl?: string; referType?: "feature" | "base"; elementList?: Array<{ element_id: string }>; };
150
+ "kling-v4-flash": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:4"; duration?: number; startFrame?: string; };
151
+ "kling-v4-flash-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:4" | "adaptive"; duration?: number; startFrame?: string; imageUrls?: string[]; videoUrl?: string; referType?: "feature" | "base"; elementList?: Array<{ element_id: string }>; };
152
152
  "kling-video-effects": { templateId?: string; imageUrls: [string, ...string[]]; };
153
153
  "kling-video-o1": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: 5 | 10; renderingSpeed?: "std" | "pro"; generateAudio?: boolean; };
154
154
  "ltx-2.3-a2v": { prompt?: string; audioUrl: string; imageUrls?: string[]; aspectRatio?: "auto" | "16:9" | "9:16"; cfgScale?: number; };
@@ -254,6 +254,7 @@ export type ModelInputById = {
254
254
  "seedance-2.0-video-edit": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; videoUrl: string; imageUrls?: string[]; };
255
255
  "seedance-2.0-video-extend": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; videoUrls: [string, ...string[]]; };
256
256
  "seedance-2.5": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; draftTask?: { id: string }; omniReferenceTaskType?: "auto" | "reference" | "edit" | "extend"; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
257
+ "seedance-2.5-flash": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; omniReferenceTaskType?: "auto" | "reference" | "edit" | "extend"; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
257
258
  "seedance-2.5-video-edit": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrl: string; imageUrls?: string[]; };
258
259
  "seedance-2.5-video-extend": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30; generateAudio?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrls: [string, ...string[]]; };
259
260
  "seedance-i2v": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p"; duration?: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; startFrame: string; };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "7.30.0",
3
+ "version": "7.32.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",