@picsart/ai-sdk 7.50.0 → 7.52.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.
- package/_vendor/model-types/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -49,6 +49,7 @@ export type ModelInputById = {
|
|
|
49
49
|
"flux-2-pro": { 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[]; };
|
|
50
50
|
"flux-3-image": { prompt: string; aspectRatio?: "auto" | "21:9" | "2:1" | "16:9" | "3:2" | "7:5" | "4:3" | "5:4" | "1:1" | "4:5" | "3:4" | "5:7" | "2:3" | "9:16" | "9:21" | "1:2"; resolution?: "768sq" | "1k" | "1.5k" | "2k" | "4k"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; safetyTolerance?: number; };
|
|
51
51
|
"flux-3-image-klein": { prompt: string; aspectRatio?: "auto" | "21:9" | "2:1" | "16:9" | "3:2" | "7:5" | "4:3" | "5:4" | "1:1" | "4:5" | "3:4" | "5:7" | "2:3" | "9:16" | "9:21" | "1:2"; resolution?: "768sq" | "1k" | "1.5k" | "2k" | "4k"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; steps?: number; safetyTolerance?: number; };
|
|
52
|
+
"flux-3.1-image": { prompt: string; mode?: "quality" | "fast"; aspectRatio?: "auto" | "match_first_image" | "21:9" | "2:1" | "16:9" | "3:2" | "7:5" | "4:3" | "5:4" | "1:1" | "4:5" | "3:4" | "5:7" | "2:3" | "9:16" | "1:2" | "9:21"; resolution?: "1MP" | "2MP" | "4MP" | "8MP" | "12MP" | "16MP"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; mask?: string; boundingBoxes?: Array<{ id?: string; desc?: string; from?: string; bbox?: unknown; srcBbox?: unknown; tgtBbox?: unknown }>; grounding?: "auto" | "force" | "off"; outputFormat?: "jpeg" | "png"; safetyTolerance?: number; };
|
|
52
53
|
"flux-3-max": { prompt: string; startFrame?: string; endFrame?: string; aspectRatio?: "auto" | "21:9" | "2:1" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; resolution?: "720p" | "1080p"; duration?: number; generateAudio?: boolean; reasoningLevel?: "low" | "high"; seed?: number; };
|
|
53
54
|
"flux-3-max-keyframes": { prompt: string; imageUrls: [string, ...string[]]; aspectRatio?: "auto" | "21:9" | "2:1" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; resolution?: "720p" | "1080p"; duration?: number; generateAudio?: boolean; reasoningLevel?: "low" | "high"; seed?: number; };
|
|
54
55
|
"flux-3-video": { prompt: string; aspectRatio?: "auto" | "21:9" | "2:1" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; resolution?: "hd" | "fhd"; duration?: "auto" | "5" | "10" | "15" | "20"; imageUrls?: string[]; videoUrl?: string; generateAudio?: boolean; safetyTolerance?: number; draft?: boolean; };
|
|
@@ -72,7 +73,6 @@ export type ModelInputById = {
|
|
|
72
73
|
"gemini-4-argon": { prompt: string; imageUrls?: string[]; videoUrl?: string; thinking?: "off" | "low" | "high"; };
|
|
73
74
|
"gemini-4-carbon": { prompt: string; imageUrls?: string[]; videoUrl?: string; thinking?: "off" | "low" | "medium" | "high"; };
|
|
74
75
|
"gemini-4-neon": { prompt: string; imageUrls?: string[]; videoUrl?: string; thinking?: "off" | "low" | "medium" | "high"; };
|
|
75
|
-
"gemini-nano-banana-3": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "3:4" | "4:3" | "3:2" | "2:3" | "4:5" | "5:4" | "4:1" | "1:4" | "8:1" | "1:8" | "21:9" | "auto"; resolution?: "1K" | "2K" | "4K" | "8K"; count?: 1 | 2 | 4 | 6 | 8 | 10; seed?: number; thinkingLevel?: "minimal" | "medium" | "high"; imageUrls?: string[]; };
|
|
76
76
|
"gemini-nano-banana-2.1": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "3:4" | "4:3" | "2:3" | "21:9" | "auto"; resolution?: "1K" | "2K" | "4K"; count?: 1 | 2 | 4 | 6 | 8 | 10; seed?: number; thinkingLevel?: "minimal" | "medium" | "high"; imageUrls?: string[]; };
|
|
77
77
|
"gemini-omni-1.1-flash-preview": { 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[]; };
|
|
78
78
|
"gemini-omni-1.2-flash": { prompt: string; aspectRatio?: "16:9" | "9:16"; resolution?: "360p" | "720p" | "1080p" | "4k"; duration?: 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrl?: string; videoUrls?: string[]; task?: "edit" | "extend"; };
|
package/index.js
CHANGED