@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;
|
|
125
|
-
"ideogram-p-image": { prompt: string;
|
|
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;
|
|
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; };
|