@picsart/ai-sdk 7.4.0 → 7.6.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.
@@ -121,10 +121,10 @@ export type ModelInputById = {
121
121
  "hunyuan-v3": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4"; count?: 1 | 2 | 4; negativePrompt?: string; cfgScale?: number; };
122
122
  "ideogram-4-5": { prompt: string; imageUrls?: string[]; mask?: string; aspectRatio?: "auto" | "source" | "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "5:4" | "4:5" | "8:5" | "5:8" | "2:1" | "1:2" | "3:1" | "1:3"; resolution?: "1K" | "2K"; magicPrompt?: "auto" | "on" | "off"; quality?: "very_low" | "low" | "medium" | "high"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; seed?: number; enableCopyrightDetection?: boolean; };
123
123
  "ideogram-4-5-precise-edit": { prompt: string; startFrame: string; mask?: string; contextWindow?: string; imageUrls?: string[]; quality?: "very_low" | "low" | "medium" | "high"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; seed?: number; enableCopyrightDetection?: boolean; };
124
- "ideogram-character": { prompt: string; resolution?: "1024x1024" | "1344x768" | "768x1344" | "1152x864" | "864x1152" | "832x1248" | "1280x800"; renderingSpeed?: "TURBO" | "DEFAULT" | "QUALITY"; style?: "AUTO" | "REALISTIC" | "FICTION"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls: [string, ...string[]]; };
125
- "ideogram-p-image": { prompt: string; resolution?: "2048x2048" | "1440x2880" | "2880x1440" | "1664x2496" | "2496x1664" | "1792x2240" | "2240x1792" | "1440x2560" | "2560x1440" | "1600x2560" | "2560x1600" | "1728x2304" | "2304x1728" | "1296x3168" | "3168x1296" | "1152x2944" | "2944x1152" | "1248x3328" | "3328x1248" | "1280x3072" | "3072x1280" | "1024x3072" | "3072x1024" | "1024x1024" | "896x1120" | "1120x896" | "864x1152" | "1152x864" | "832x1248" | "1248x832" | "800x1280" | "1280x800" | "720x1280" | "1280x720" | "720x1440" | "1440x720"; renderingSpeed?: "very-low" | "low" | "medium" | "high"; };
126
- "ideogram-v3": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "3:4" | "4:3"; renderingSpeed?: "FLASH" | "TURBO" | "DEFAULT" | "QUALITY"; style?: "GENERAL" | "REALISTIC" | "DESIGN"; count?: 1 | 2 | 4 | 6 | 8 | 10; negativePrompt?: string; imageUrls?: string[]; imageWeight?: number; };
127
- "ideogram-v4": { prompt: string; resolution?: "2048x2048" | "1440x2880" | "2880x1440" | "1664x2496" | "2496x1664" | "1792x2240" | "2240x1792" | "1440x2560" | "2560x1440" | "1600x2560" | "2560x1600" | "1728x2304" | "2304x1728" | "1296x3168" | "3168x1296" | "1152x2944" | "2944x1152" | "1248x3328" | "3328x1248" | "1280x3072" | "3072x1280" | "1024x3072" | "3072x1024" | "1024x1024" | "896x1120" | "1120x896" | "864x1152" | "1152x864" | "832x1248" | "1248x832" | "800x1280" | "1280x800" | "720x1280" | "1280x720" | "720x1440" | "1440x720" | "512x1536" | "1536x512"; renderingSpeed?: "TURBO" | "DEFAULT" | "QUALITY"; enableCopyrightDetection?: boolean; imageUrls?: string[]; imageWeight?: number; };
124
+ "ideogram-character": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "3:4" | "4:3" | "2:3" | "3:2" | "4:5" | "5:4" | "10:16" | "16:10" | "1:2" | "2:1" | "1:3" | "3:1"; renderingSpeed?: "TURBO" | "DEFAULT" | "QUALITY"; style?: "AUTO" | "REALISTIC" | "FICTION"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls: [string, ...string[]]; };
125
+ "ideogram-p-image": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "5:4" | "4:5" | "8:5" | "5:8" | "2:1" | "1:2"; resolution?: "1K" | "2K"; renderingSpeed?: "very-low" | "low" | "medium" | "high"; };
126
+ "ideogram-v3": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "3:4" | "4:3" | "2:3" | "3:2" | "4:5" | "5:4" | "10:16" | "16:10" | "1:2" | "2:1" | "1:3" | "3:1"; renderingSpeed?: "FLASH" | "TURBO" | "DEFAULT" | "QUALITY"; style?: "GENERAL" | "REALISTIC" | "DESIGN"; count?: 1 | 2 | 4 | 6 | 8 | 10; negativePrompt?: string; imageUrls?: string[]; imageWeight?: number; };
127
+ "ideogram-v4": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "5:4" | "4:5" | "8:5" | "5:8" | "2:1" | "1:2" | "3:1" | "1:3"; resolution?: "1K" | "2K"; renderingSpeed?: "TURBO" | "DEFAULT" | "QUALITY"; enableCopyrightDetection?: boolean; imageUrls?: string[]; imageWeight?: number; };
128
128
  "ideogram-vector-1": { prompt: string; imageUrls?: string[]; aspectRatio?: "auto" | "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "5:4" | "4:5" | "16:10" | "10:16" | "2:1" | "1:2" | "3:1" | "1:3" | "4:1" | "1:4"; quality?: "low" | "medium" | "high"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; seed?: number; };
129
129
  "ideogram-vector-1-vectorize": { startFrame: string; mode?: "default" | "simple"; };
130
130
  "kimi-k3": { prompt: string; imageUrls?: string[]; thinking?: "low" | "high"; };
@@ -168,6 +168,8 @@ export type ModelInputById = {
168
168
  "macaron-cookie": { prompt: string; aspectRatio?: "16:9" | "9:16"; resolution?: "360p" | "720p" | "1080p" | "4k"; duration?: 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrl?: string; videoUrls?: string[]; task?: "edit" | "extend"; };
169
169
  "minimax-h3": { prompt: string; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; resolution?: "768P" | "2K"; duration?: number; aspectRatio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; };
170
170
  "minimax-h3-context-ir": { prompt: string; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; duration?: number; aspectRatio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; };
171
+ "minimax-h3-highspeed": { prompt: string; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; resolution?: "480P" | "768P"; duration?: number; aspectRatio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; };
172
+ "minimax-h3-lite": { prompt: string; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; resolution?: "480P" | "768P"; duration?: number; aspectRatio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; };
171
173
  "minimax-h3-max": { prompt: string; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; resolution?: "480p" | "768p" | "1080p"; duration?: number; aspectRatio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; promptExpansionMode?: "disabled" | "balanced" | "quality"; seed?: number; enableSafetyChecker?: boolean; };
172
174
  "minimax-h3-max-camera-controls": { prompt?: string; startFrame: string; resolution?: "480p" | "768p" | "1080p"; duration?: number; cameraTrajectory?: Array<{ time: number; azimuth: number; elevation: number; distance: number }>; promptExpansionMode?: "disabled" | "balanced" | "quality"; seed?: number; enableSafetyChecker?: boolean; };
173
175
  "minimax-h3-max-extend": { prompt: string; videoUrl: string; duration?: number; output?: "extended" | "continuation"; aspectRatio?: "auto" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; resolution?: "480p" | "768p" | "1080p" | "2k"; enhancePrompt?: boolean; enableSafetyChecker?: boolean; seed?: number; };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picsart/ai-sdk",
3
- "version": "7.4.0",
3
+ "version": "7.6.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",