@picsart/ai-sdk 7.22.0 → 7.24.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.
@@ -11,7 +11,6 @@ export type ModelInputById = {
11
11
  "bytedance-omnihuman-v2.0": { prompt?: string; imageUrls: [string, ...string[]]; audioUrl: string; enableWatermark?: boolean; };
12
12
  "bytedance-video-enhance": { videoUrl: string; quality?: "standard" | "professional"; resolution?: "source" | "720p" | "1080p" | "2k" | "4k" | "8k"; fps?: 30 | 60 | 120; scene?: "common" | "ugc" | "short_series" | "aigc" | "old_film"; bitrateLevel?: "low" | "medium" | "high"; };
13
13
  "bytedance-video-upscaler": { videoUrl: string; };
14
- "captionsai-video-captions": { videoUrl: string; templateId?: string; };
15
14
  "claude-fable-5": { prompt: string; imageUrls?: string[]; };
16
15
  "claude-fable-5-1": { prompt: string; imageUrls?: string[]; };
17
16
  "claude-fable-5-2": { prompt: string; imageUrls?: string[]; };
@@ -41,7 +40,6 @@ export type ModelInputById = {
41
40
  "eleven-voice-create": { prompt: string; };
42
41
  "eleven-voice-design-v2": { prompt: string; };
43
42
  "eleven-voice-design-v3": { prompt: string; };
44
- "eleven-voice-remix": { voiceId: string; prompt: string; };
45
43
  "elevenlabs-music-v2": { prompt: string; duration?: 10 | 20 | 30 | 60 | 120 | 180 | 300 | 600; isInstrumental?: boolean; };
46
44
  "elevenlabs-sfx": { prompt: string; duration?: number; };
47
45
  "flux-2-flex": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "21:9" | "9:21"; resolution?: "1K" | "2K" | "4K"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
@@ -107,7 +105,6 @@ export type ModelInputById = {
107
105
  "grok-imagine-video-1.5": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3"; resolution?: "480p" | "720p" | "1080p"; duration?: 3 | 5 | 6 | 8 | 10 | 12 | 15; imageUrls?: string[]; };
108
106
  "grok-imagine-video-1.5-lite": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3"; resolution?: "480p" | "720p" | "1080p"; duration?: 3 | 5 | 6 | 8 | 10 | 12 | 15; imageUrls?: string[]; };
109
107
  "grok-tts": { language?: string; accent?: string; prompt: string; voiceId?: string; };
110
- "hailuo-02": { prompt: string; enhancePrompt?: boolean; resolution?: "512P" | "768P" | "1080P"; duration?: 6 | 10; startFrame?: string; endFrame?: string; imageUrls?: string[]; };
111
108
  "hailuo-2.3": { prompt: string; enhancePrompt?: boolean; duration?: 6 | 10; imageUrls?: string[]; };
112
109
  "hailuo-2.3-fast": { prompt: string; enhancePrompt?: boolean; duration?: 6 | 10; imageUrls: [string, ...string[]]; };
113
110
  "hailuo-2.3-fast-pro": { prompt: string; enhancePrompt?: boolean; imageUrls: [string, ...string[]]; };
@@ -134,7 +131,6 @@ export type ModelInputById = {
134
131
  "kimi-k3.1-pro-highspeed": { prompt: string; imageUrls?: string[]; thinking?: "low" | "high"; };
135
132
  "kling-3.0-image": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:2" | "2:3" | "3:4"; resolution?: "1k" | "2k" | "4k"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; imageUrls?: string[]; };
136
133
  "kling-avatar": { prompt?: string; renderingSpeed?: "std" | "pro"; imageUrls: [string, ...string[]]; audioUrl: string; audioId?: string; };
137
- "kling-elements": { elementName: string; elementDescription: string; referenceType: "image_refer" | "video_refer"; imageUrls?: string[]; videoUrl?: string; elementVoiceId?: string; };
138
134
  "kling-motion-control": { prompt?: string; renderingSpeed?: "std" | "pro"; characterOrientation?: "image" | "video"; keepOriginalSound?: "yes" | "no"; imageUrls: [string, ...string[]]; videoUrl: string; };
139
135
  "kling-motion-control-v3": { prompt?: string; renderingSpeed?: "std" | "pro"; characterOrientation?: "image" | "video"; keepOriginalSound?: "yes" | "no"; imageUrls: [string, ...string[]]; videoUrl: string; };
140
136
  "kling-multi-image-v2-1": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:2" | "2:3" | "3:4"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; imageUrls: [string, ...string[]]; sceneImage?: string; styleImage?: string; };
@@ -196,7 +192,6 @@ export type ModelInputById = {
196
192
  "picsart-flow": { templateId: string; imageUrls: [string, ...string[]]; };
197
193
  "picsart-flow-video": { templateId: string; imageUrls: [string, ...string[]]; };
198
194
  "picsart-flux-2-klein": { prompt: string; aspectRatio?: "1:1" | "5:3" | "3:5" | "4:3" | "3:4"; imageUrls?: string[]; };
199
- "picsart-hidream-t2i": { prompt: string; aspectRatio?: "1:1" | "5:3" | "3:5" | "4:3" | "3:4"; };
200
195
  "picsart-qwen-image-edit": { imageUrls: [string, ...string[]]; prompt: string; negativePrompt?: string; };
201
196
  "picsart-qwen-makeup": { imageUrls: [string, ...string[]]; prompt: string; negativePrompt?: string; };
202
197
  "picsart-sana-sprint-v1": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; };
@@ -210,7 +205,6 @@ export type ModelInputById = {
210
205
  "pixverse-v6-image": { prompt: string; quality?: "360p" | "540p" | "720p" | "1080p"; duration?: number; generateAudio?: boolean; imageUrls: [string, ...string[]]; };
211
206
  "qwen-image-2": { prompt: string; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
212
207
  "qwen-image-2-pro": { prompt: string; negativePrompt?: string; resolution?: "2048x2048" | "2688x1536" | "1536x2688" | "2368x1728" | "1728x2368"; count?: 1 | 2 | 4 | 6; enhancePrompt?: boolean; imageUrls?: string[]; seed?: number; };
213
- "qwen-image-3.0": { prompt: string; negativePrompt?: string; resolution?: "2048x2048" | "2688x1536" | "1536x2688" | "2368x1728" | "1728x2368"; count?: 1 | 2 | 4 | 6; enhancePrompt?: boolean; imageUrls?: string[]; seed?: number; promptExtendMode?: "direct" | "agent"; enableThinking?: boolean; };
214
208
  "qwen-image-3.0-pro": { prompt: string; negativePrompt?: string; resolution?: "2048x2048" | "2688x1536" | "1536x2688" | "2368x1728" | "1728x2368"; count?: 1 | 2 | 4 | 6; enhancePrompt?: boolean; imageUrls?: string[]; seed?: number; promptExtendMode?: "direct" | "agent"; enableThinking?: boolean; };
215
209
  "recraft-creative-upscale": { imageUrls: [string, ...string[]]; };
216
210
  "recraft-crisp-upscale": { imageUrls: [string, ...string[]]; };
@@ -237,7 +231,6 @@ export type ModelInputById = {
237
231
  "recraftv4_styles_pro_vector": { prompt: string; imageUrls: [string, ...string[]]; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; };
238
232
  "recraftv4_styles_vector": { prompt: string; imageUrls: [string, ...string[]]; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; };
239
233
  "recraftv4_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
240
- "reve": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3"; count?: 1 | 2 | 4; imageUrls?: string[]; };
241
234
  "runway-aleph2": { prompt: string; videoUrl: string; startFrame?: string; endFrame?: string; };
242
235
  "runway-avatar-video": { style?: "game-character" | "music-superstar" | "game-character-man" | "cat-character" | "influencer" | "tennis-coach" | "human-resource" | "fashion-designer" | "cooking-teacher"; voiceId?: string; prompt?: string; audioUrl?: string; };
243
236
  "runway-gen3a-turbo": { prompt: string; duration?: 5 | 10; aspectRatio?: "16:9" | "9:16"; startFrame: string; endFrame?: string; };
@@ -257,15 +250,9 @@ export type ModelInputById = {
257
250
  "seedance-2.0-mini-video-extend": { 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; generateAudio?: boolean; videoUrls: [string, ...string[]]; };
258
251
  "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[]; };
259
252
  "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[]]; };
260
- "seedance-2.0-without-moderation": { 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; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
261
- "seedance-2.0-without-moderation-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[]; };
262
- "seedance-2.0-without-moderation-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[]]; };
263
253
  "seedance-2.5": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p"; 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; };
264
254
  "seedance-2.5-video-edit": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrl: string; imageUrls?: string[]; };
265
255
  "seedance-2.5-video-extend": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; 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[]]; };
266
- "seedance-2.5-without-moderation": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p"; 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; };
267
- "seedance-2.5-without-moderation-video-edit": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrl: string; imageUrls?: string[]; };
268
- "seedance-2.5-without-moderation-video-extend": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; 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[]]; };
269
256
  "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; };
270
257
  "seedream-4.0": { resolution?: "1K" | "2K" | "4K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; negativePrompt?: string; };
271
258
  "seedream-4.5": { resolution?: "2K" | "4K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; negativePrompt?: string; };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "7.22.0",
3
+ "version": "7.24.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",