@picsart/ai-sdk 7.10.0 → 7.12.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.
@@ -6,7 +6,7 @@
6
6
  */
7
7
  export type ModelInputById = {
8
8
  "async-flash-v1": { prompt: string; voiceId?: string; container?: "mp3" | "wav" | "raw"; sampleRate?: number; encoding?: "pcm_s16le" | "pcm_f32le"; bitRate?: number; };
9
- "gpt-image-2.6-flare": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; reasoningEffort?: "max" | "xhigh" | "high" | "medium" | "low"; temperature?: number; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
9
+ "gpt-image-2.6-sunburst": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; reasoningEffort?: "max" | "xhigh" | "high" | "medium" | "low"; temperature?: number; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
10
10
  "bytedance-omnihuman-v1.5": { prompt?: string; imageUrls: [string, ...string[]]; audioUrl: string; resolution?: "720p" | "1080p"; turboMode?: boolean; seed?: number; };
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"; };
@@ -147,6 +147,8 @@ export type ModelInputById = {
147
147
  "kling-v3-turbo": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: number; negativePrompt?: string; resolution?: "720p" | "1080p"; startFrame?: string; };
148
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
149
  "kling-v4-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "adaptive"; duration?: number; resolution?: "720p" | "1080p"; startFrame?: 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 }>; };
150
152
  "kling-video-effects": { templateId?: string; imageUrls: [string, ...string[]]; };
151
153
  "kling-video-o1": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: 5 | 10; renderingSpeed?: "std" | "pro"; generateAudio?: boolean; };
152
154
  "ltx-2.3-a2v": { prompt?: string; audioUrl: string; imageUrls?: string[]; aspectRatio?: "auto" | "16:9" | "9:16"; cfgScale?: number; };
@@ -269,7 +271,7 @@ export type ModelInputById = {
269
271
  "seedream-5.0-flash": { resolution?: "1K" | "2K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; imageUrls?: string[]; negativePrompt?: string; };
270
272
  "seedream-5.0-lite": { resolution?: "2K" | "3K"; 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
273
  "seedream-5.0-pro": { resolution?: "1K" | "2K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; imageUrls?: string[]; negativePrompt?: string; };
272
- "gpt-image-2.6-flare-mini": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; reasoningEffort?: "max" | "xhigh" | "high" | "medium" | "low"; temperature?: number; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
274
+ "gpt-image-2.6-flare": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; reasoningEffort?: "max" | "xhigh" | "high" | "medium" | "low"; temperature?: number; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
273
275
  "topaz-upscale-image": { imageUrls: [string, ...string[]]; model?: "Standard V2" | "Standard MAX" | "Low Resolution V2" | "High Fidelity V2" | "CGI" | "Text Refine" | "Redefine" | "Recovery" | "Recovery V2" | "Wonder" | "Wonder 3"; };
274
276
  "topaz-upscale-video": { videoUrl: string; model?: "Proteus" | "Artemis HQ" | "Artemis MQ" | "Artemis LQ" | "Nyx" | "Nyx Fast" | "Nyx XL" | "Nyx HF" | "Gaia HQ" | "Gaia CG" | "Gaia 2" | "Starlight Precise 2.5" | "Starlight HQ" | "Starlight Mini" | "Starlight Sharp" | "Starlight Fast 2"; };
275
277
  "typesafe-evaluate": { state: string; questions: Record<string, { type: "noul" | "choice" | "score"; instructions: unknown } & Record<string, unknown>>; };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "7.10.0",
3
+ "version": "7.12.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",