@picsart/ai-sdk 7.47.0 → 7.49.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 +3 -0
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -214,6 +214,8 @@ export type ModelInputById = {
|
|
|
214
214
|
"qwen-image-2": { prompt: string; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
215
215
|
"qwen-image-2-pro": { prompt: string; negativePrompt?: string; resolution?: "2048x2048" | "2688x1536" | "1536x2688" | "2368x1728" | "1728x2368"; count?: 1 | 2 | 4 | 6; enhancePrompt?: boolean; imageUrls?: string[]; seed?: number; };
|
|
216
216
|
"qwen-image-3.0-pro": { prompt: string; negativePrompt?: string; resolution?: "2048x2048" | "2688x1536" | "1536x2688" | "2368x1728" | "1728x2368"; count?: 1 | 2 | 4 | 6; enhancePrompt?: boolean; imageUrls?: string[]; seed?: number; promptExtendMode?: "direct" | "agent"; enableThinking?: boolean; };
|
|
217
|
+
"qwen-audio-3.1-tts-next": { prompt: string; audioUrls?: string[]; format?: "wav" | "mp3"; sampleRate?: 8000 | 16000 | 24000 | 44100 | 48000; channels?: 1 | 2; volume?: number; rate?: number; seed?: number; };
|
|
218
|
+
"qwen-audio-3.1-tts-flash": { prompt: string; voiceId?: string; format?: "mp3" | "wav"; sampleRate?: 8000 | 12000 | 16000 | 22050 | 24000 | 44100 | 48000; volume?: number; rate?: number; pitch?: number; seed?: number; };
|
|
217
219
|
"recraft-creative-upscale": { imageUrls: [string, ...string[]]; };
|
|
218
220
|
"recraft-crisp-upscale": { imageUrls: [string, ...string[]]; };
|
|
219
221
|
"recraft-explore": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; };
|
|
@@ -246,6 +248,7 @@ export type ModelInputById = {
|
|
|
246
248
|
"runway-gen4-ref": { prompt: string; aspectRatio?: "16:9" | "9:16"; imageUrls: [string, ...string[]]; };
|
|
247
249
|
"runway-gen4.5": { prompt: string; duration?: 5 | 8 | 10; aspectRatio?: "16:9" | "9:16"; imageUrls?: string[]; };
|
|
248
250
|
"sam-3-video": { prompt: string; videoUrl: string; detectionThreshold?: number; applyMask?: boolean; outputFormat?: "mp4" | "webm"; };
|
|
251
|
+
"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; };
|
|
249
252
|
"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; };
|
|
250
253
|
"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; };
|
|
251
254
|
"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