@picsart/ai-sdk 7.48.0 → 7.50.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 +2 -0
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -72,6 +72,7 @@ export type ModelInputById = {
|
|
|
72
72
|
"gemini-4-argon": { prompt: string; imageUrls?: string[]; videoUrl?: string; thinking?: "off" | "low" | "high"; };
|
|
73
73
|
"gemini-4-carbon": { prompt: string; imageUrls?: string[]; videoUrl?: string; thinking?: "off" | "low" | "medium" | "high"; };
|
|
74
74
|
"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[]; };
|
|
75
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[]; };
|
|
76
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[]; };
|
|
77
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"; };
|
|
@@ -248,6 +249,7 @@ export type ModelInputById = {
|
|
|
248
249
|
"runway-gen4-ref": { prompt: string; aspectRatio?: "16:9" | "9:16"; imageUrls: [string, ...string[]]; };
|
|
249
250
|
"runway-gen4.5": { prompt: string; duration?: 5 | 8 | 10; aspectRatio?: "16:9" | "9:16"; imageUrls?: string[]; };
|
|
250
251
|
"sam-3-video": { prompt: string; videoUrl: string; detectionThreshold?: number; applyMask?: boolean; outputFormat?: "mp4" | "webm"; };
|
|
252
|
+
"seed-audio-1.5": { mode?: "text-to-audio" | "video-dubbing" | "video-translation" | "stem-separation"; prompt?: string; audioUrls?: string[]; imageUrls?: string[]; videoUrl?: string; audioUrl?: string; targetLanguage?: "en" | "zh" | "ja" | "ko" | "de" | "fr" | "pt-BR" | "th" | "id" | "vi" | "ms" | "fil" | "it" | "ru" | "nl" | "pl" | "tr" | "sv" | "es-ES" | "es-MX" | "ar" | "pt-PT" | "fi" | "da" | "no" | "cs" | "hu" | "el" | "ro" | "hi"; includeVideoAndSubtitles?: boolean; dialogueEnhancement?: "off" | "low" | "medium" | "high"; format?: "wav" | "mp3" | "pcm" | "ogg_opus"; sampleRate?: 8000 | 16000 | 24000 | 32000 | 44100 | 48000; speechRate?: number; loudnessRate?: number; pitchRate?: number; };
|
|
251
253
|
"seed-audio-1.0": { prompt: string; voiceId?: string; audioUrls?: string[]; imageUrls?: string[]; format?: "wav" | "mp3" | "pcm" | "ogg_opus"; sampleRate?: 8000 | 16000 | 24000 | 32000 | 44100 | 48000; speechRate?: number; loudnessRate?: number; pitchRate?: number; aigcWatermark?: boolean; };
|
|
252
254
|
"seed-tts-3.0": { prompt: string; voiceId?: string; instructions?: string; format?: "mp3" | "wav" | "pcm" | "ogg_opus"; sampleRate?: 8000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000; speed?: number; volume?: number; pitch?: number; };
|
|
253
255
|
"seed-audio-1.0-multilingual": { prompt: string; voiceId?: string; audioUrls?: string[]; imageUrls?: string[]; format?: "wav" | "mp3" | "pcm" | "ogg_opus"; sampleRate?: 8000 | 16000 | 24000 | 32000 | 44100 | 48000; speechRate?: number; loudnessRate?: number; pitchRate?: number; aigcWatermark?: boolean; };
|
package/index.js
CHANGED