@picsart/ai-sdk 6.54.0 → 6.99.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/README.md +69 -84
- package/_vendor/model-types/index.d.ts +292 -0
- package/index.d.ts +45 -2427
- package/index.js +685 -12734
- package/package.json +1 -1
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/* AUTO-GENERATED FILE. DO NOT EDIT. */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Per-model compile-time input contracts generated from specs/vendors catalog.
|
|
5
|
+
* Regenerate with: npm run build:model-input-types
|
|
6
|
+
*/
|
|
7
|
+
export type ModelInputById = {
|
|
8
|
+
"async-flash-v1": { prompt: string; voiceId?: string; container?: "mp3" | "wav" | "raw"; sampleRate?: number; encoding?: "pcm_s16le" | "pcm_f32le"; bitRate?: number; };
|
|
9
|
+
"aurora-img-alpha": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; reasoningEffort?: "max" | "xhigh" | "high" | "medium" | "low"; temperature?: number; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
10
|
+
"bytedance-omnihuman-v1.5": { prompt?: string; imageUrls: [string, ...string[]]; audioUrl: string; resolution?: "720p" | "1080p"; turboMode?: boolean; seed?: number; };
|
|
11
|
+
"bytedance-omnihuman-v2.0": { prompt?: string; imageUrls: [string, ...string[]]; audioUrl: string; enableWatermark?: boolean; };
|
|
12
|
+
"bytedance-video-enhance": { videoUrl: string; quality?: "standard" | "professional"; resolution?: "source" | "720p" | "1080p" | "2k" | "4k" | "8k"; fps?: 30 | 60 | 120; scene?: "common" | "ugc" | "short_series" | "aigc" | "old_film"; bitrateLevel?: "low" | "medium" | "high"; };
|
|
13
|
+
"bytedance-video-upscaler": { videoUrl: string; };
|
|
14
|
+
"captionsai-video-captions": { videoUrl: string; templateId?: string; };
|
|
15
|
+
"claude-fable-5": { prompt: string; imageUrls?: string[]; };
|
|
16
|
+
"claude-fable-5-1": { prompt: string; imageUrls?: string[]; };
|
|
17
|
+
"claude-haiku-4-5": { prompt: string; imageUrls?: string[]; };
|
|
18
|
+
"claude-haiku-5-5": { prompt: string; imageUrls?: string[]; };
|
|
19
|
+
"claude-opus-4-8": { prompt: string; imageUrls?: string[]; };
|
|
20
|
+
"claude-opus-5": { prompt: string; imageUrls?: string[]; };
|
|
21
|
+
"claude-sonnet-4-5": { prompt: string; imageUrls?: string[]; };
|
|
22
|
+
"claude-sonnet-4-6": { prompt: string; imageUrls?: string[]; };
|
|
23
|
+
"claude-sonnet-5": { prompt: string; imageUrls?: string[]; };
|
|
24
|
+
"creatify-aurora": { prompt?: string; imageUrls: [string, ...string[]]; audioUrl: string; };
|
|
25
|
+
"creatify-boreal": { prompt: string; imageUrls?: string[]; audioUrl?: string; negativePrompt?: string; resolution?: "720p" | "1080p" | "2k"; aspectRatio?: "auto" | "16:9" | "9:16" | "1:1" | "4:3" | "3:4"; duration?: number; manifestDisclosure?: boolean; };
|
|
26
|
+
"depth-anything-video": { videoUrl: string; model?: "VDA-Small" | "VDA-Base" | "VDA-Large"; colormap?: "grayscale" | "turbo" | "inferno" | "magma" | "viridis"; resolution?: "auto" | "360p" | "480p" | "720p" | "1080p"; sideBySide?: boolean; };
|
|
27
|
+
"eleven-audio-isolation": { audioUrl: string; };
|
|
28
|
+
"eleven-dialogue-v4": { dialogue: Array<{ voiceId: string; text: string }>; stability?: number; similarity?: number; language?: string; seed?: number; };
|
|
29
|
+
"eleven-dubbing": { audioUrl: string; language: string; };
|
|
30
|
+
"eleven-multilingual-sts-v2": { audioUrl: string; voiceId?: string; removeBackgroundNoise?: boolean; stability?: number; similarityBoost?: number; styleExaggeration?: number; speed?: number; };
|
|
31
|
+
"eleven-multilingual-v2": { prompt: string; voiceId?: string; stability?: number; similarityBoost?: number; styleExaggeration?: number; speed?: number; useSpeakerBoost?: boolean; withTimestamps?: boolean; };
|
|
32
|
+
"eleven-speech-to-text": { audioUrl: string; language?: string; diarize?: boolean; numSpeakers?: number; timestampsGranularity?: "word" | "character"; tagAudioEvents?: boolean; seed?: number; };
|
|
33
|
+
"eleven-sts-v2": { audioUrl: string; voiceId?: string; removeBackgroundNoise?: boolean; stability?: number; similarityBoost?: number; styleExaggeration?: number; speed?: number; };
|
|
34
|
+
"eleven-text-to-dialogue": { dialogue: Array<{ voiceId: string; text: string }>; stability?: 0 | 0.5 | 1; language?: string; seed?: number; };
|
|
35
|
+
"eleven-v3": { language?: string; prompt: string; voiceId?: string; stability?: number; similarityBoost?: number; styleExaggeration?: number; speed?: number; useSpeakerBoost?: boolean; withTimestamps?: boolean; };
|
|
36
|
+
"eleven-v4": { language?: string; prompt: string; voiceId?: string; stability?: number; similarityBoost?: number; withTimestamps?: boolean; };
|
|
37
|
+
"eleven-v4-turbo": { language?: string; prompt: string; voiceId?: string; stability?: number; similarityBoost?: number; withTimestamps?: boolean; };
|
|
38
|
+
"eleven-video-to-music": { videoUrls: [string, ...string[]]; prompt?: string; };
|
|
39
|
+
"eleven-voice-create": { prompt: string; };
|
|
40
|
+
"eleven-voice-design-v2": { prompt: string; };
|
|
41
|
+
"eleven-voice-design-v3": { prompt: string; };
|
|
42
|
+
"eleven-voice-remix": { voiceId: string; prompt: string; };
|
|
43
|
+
"elevenlabs-music-v2": { prompt: string; duration?: 10 | 20 | 30 | 60 | 120 | 180 | 300 | 600; isInstrumental?: boolean; };
|
|
44
|
+
"elevenlabs-sfx": { prompt: string; duration?: number; };
|
|
45
|
+
"flux-2-flex": { 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[]; };
|
|
46
|
+
"flux-2-max": { 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[]; };
|
|
47
|
+
"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[]; };
|
|
48
|
+
"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; };
|
|
49
|
+
"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; };
|
|
50
|
+
"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; };
|
|
51
|
+
"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; };
|
|
52
|
+
"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; };
|
|
53
|
+
"flux-kontext-max": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "21:9" | "9:21"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
54
|
+
"flux-kontext-pro": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "21:9" | "9:21"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
55
|
+
"flux-video-edit": { videoUrl: string; prompt: string; safetyTolerance?: number; };
|
|
56
|
+
"flux-video-upscale": { videoUrl: string; upscaleFactor?: number; creativity?: 0 | 1; prompt?: string; safetyTolerance?: number; };
|
|
57
|
+
"gemini-2.5-flash": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
58
|
+
"gemini-2.5-flash-image": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "3:4" | "4:3" | "2:3" | "21:9" | "auto"; count?: 1 | 2 | 4 | 6 | 8 | 10; seed?: number; imageUrls?: string[]; };
|
|
59
|
+
"gemini-2.5-flash-tts": { language?: string; accent?: string; prompt?: string; voiceId?: string; parts?: Array<{ text: string; speaker?: string }>; multiSpeakerVoiceConfigs?: Array<{ speaker: string; voiceName: string }>; };
|
|
60
|
+
"gemini-2.5-pro-tts": { language?: string; accent?: string; prompt?: string; voiceId?: string; parts?: Array<{ text: string; speaker?: string }>; multiSpeakerVoiceConfigs?: Array<{ speaker: string; voiceName: string }>; };
|
|
61
|
+
"gemini-3-pro": { prompt: string; imageUrls?: string[]; videoUrl?: string; thinking?: "off" | "low" | "high"; };
|
|
62
|
+
"gemini-3-pro-image": { 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; thinkingBudget?: number; imageUrls?: string[]; };
|
|
63
|
+
"gemini-3.1-flash-image": { 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?: "0.5K" | "1K" | "2K" | "4K"; count?: 1 | 2 | 4 | 6 | 8 | 10; seed?: number; thinkingLevel?: "minimal" | "high"; imageUrls?: string[]; };
|
|
64
|
+
"gemini-3.1-flash-lite-image": { 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"; count?: 1 | 2 | 4 | 6 | 8 | 10; seed?: number; thinkingLevel?: "minimal" | "high"; imageUrls?: string[]; };
|
|
65
|
+
"gemini-3.5-flash-lite": { prompt: string; imageUrls?: string[]; };
|
|
66
|
+
"gemini-3.6-flash": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
67
|
+
"gemini-3.7-flash": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
68
|
+
"gemini-3.8-flash": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
69
|
+
"gemini-3.8-flash-lite-tts": { language?: string; accent?: string; prompt?: string; voiceId?: string; style?: string; parts?: Array<{ text: string; speaker?: string; style?: string }>; multiSpeakerVoiceConfigs?: Array<{ speaker: string; voiceName: string }>; };
|
|
70
|
+
"gemini-3.8-flash-tts": { language?: string; accent?: string; prompt?: string; voiceId?: string; style?: string; parts?: Array<{ text: string; speaker?: string; style?: string }>; multiSpeakerVoiceConfigs?: Array<{ speaker: string; voiceName: string }>; };
|
|
71
|
+
"gemini-4-argon": { prompt: string; imageUrls?: string[]; videoUrl?: string; thinking?: "off" | "low" | "high"; };
|
|
72
|
+
"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[]; };
|
|
73
|
+
"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[]; };
|
|
74
|
+
"gemini-omni-flash-preview": { prompt: string; aspectRatio?: "16:9" | "9:16"; duration?: 3 | 5 | 6 | 8 | 10; imageUrls?: string[]; videoUrl?: string; };
|
|
75
|
+
"gpt-4.1-mini": { prompt: string; imageUrls?: string[]; };
|
|
76
|
+
"gpt-4.1-nano": { prompt: string; imageUrls?: string[]; };
|
|
77
|
+
"gpt-4o": { prompt: string; imageUrls?: string[]; };
|
|
78
|
+
"gpt-4o-mini": { prompt: string; imageUrls?: string[]; };
|
|
79
|
+
"gpt-5": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
80
|
+
"gpt-5-mini": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
81
|
+
"gpt-5.1": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
82
|
+
"gpt-5.2": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
83
|
+
"gpt-5.5": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
84
|
+
"gpt-5.6-luna": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
85
|
+
"gpt-5.6-sol": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
86
|
+
"gpt-5.6-terra": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
87
|
+
"gpt-6-astra": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
88
|
+
"gpt-6-luna": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
89
|
+
"gpt-6-sol": { prompt: string; imageUrls?: string[]; thinking?: "off" | "low" | "medium" | "high"; };
|
|
90
|
+
"gpt-image-1": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4"; quality?: "high" | "medium" | "low"; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
91
|
+
"gpt-image-1.5": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4"; quality?: "high" | "medium" | "low"; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
92
|
+
"gpt-image-2": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; quality?: "high" | "medium" | "low"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
93
|
+
"gpt-image-2.5-flare": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; quality?: "max" | "xhigh" | "high" | "medium" | "low"; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
94
|
+
"gpt-image-2.5-sunburst": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; quality?: "max" | "xhigh" | "high" | "medium" | "low"; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
95
|
+
"grok-4.7": { prompt: string; imageUrls?: string[]; thinking?: "low" | "medium" | "high"; };
|
|
96
|
+
"grok-edit-video": { prompt: string; videoUrl: string; };
|
|
97
|
+
"grok-extend-video": { prompt: string; duration?: 3 | 5 | 6 | 8 | 10; videoUrl: string; };
|
|
98
|
+
"grok-imagine-image": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "2:1" | "1:2" | "19.5:9" | "9:19.5" | "20:9" | "9:20"; resolution?: "1k" | "2k"; count?: 1 | 2 | 4; imageUrls?: string[]; };
|
|
99
|
+
"grok-imagine-image-2.0": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "2:1" | "1:2" | "19.5:9" | "9:19.5" | "20:9" | "9:20"; resolution?: "1k" | "2k"; quality?: "low" | "medium"; count?: 1 | 2 | 4; imageUrls?: string[]; };
|
|
100
|
+
"grok-imagine-image-quality": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | "2:1" | "1:2" | "19.5:9" | "9:19.5" | "20:9" | "9:20"; resolution?: "1k" | "2k"; count?: 1 | 2 | 4; imageUrls?: string[]; };
|
|
101
|
+
"grok-imagine-video": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3"; resolution?: "480p" | "720p"; duration?: 3 | 5 | 6 | 8 | 10 | 12 | 15; imageUrls?: string[]; };
|
|
102
|
+
"grok-imagine-video-1.5": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3"; resolution?: "480p" | "720p" | "1080p"; duration?: 3 | 5 | 6 | 8 | 10 | 12 | 15; imageUrls?: string[]; };
|
|
103
|
+
"grok-imagine-video-1.5-lite": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3"; resolution?: "480p" | "720p" | "1080p"; duration?: 3 | 5 | 6 | 8 | 10 | 12 | 15; imageUrls?: string[]; };
|
|
104
|
+
"grok-tts": { language?: string; accent?: string; prompt: string; voiceId?: string; };
|
|
105
|
+
"hailuo-02": { prompt: string; enhancePrompt?: boolean; resolution?: "512P" | "768P" | "1080P"; duration?: 6 | 10; startFrame?: string; endFrame?: string; imageUrls?: string[]; };
|
|
106
|
+
"hailuo-2.3": { prompt: string; enhancePrompt?: boolean; duration?: 6 | 10; imageUrls?: string[]; };
|
|
107
|
+
"hailuo-2.3-fast": { prompt: string; enhancePrompt?: boolean; duration?: 6 | 10; imageUrls: [string, ...string[]]; };
|
|
108
|
+
"hailuo-2.3-fast-pro": { prompt: string; enhancePrompt?: boolean; imageUrls: [string, ...string[]]; };
|
|
109
|
+
"hailuo-2.3-pro": { prompt: string; enhancePrompt?: boolean; imageUrls?: string[]; };
|
|
110
|
+
"happyhorse-1.0-r2v": { prompt: string; seed?: number; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4"; resolution?: "720P" | "1080P"; duration?: number; imageUrls: [string, ...string[]]; };
|
|
111
|
+
"happyhorse-1.0-t2v": { prompt: string; seed?: number; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4"; resolution?: "720P" | "1080P"; duration?: number; startFrame?: string; };
|
|
112
|
+
"happyhorse-1.0-video-edit": { prompt: string; seed?: number; resolution?: "720P" | "1080P"; audioSetting?: "auto" | "origin"; videoUrl: string; imageUrls?: string[]; };
|
|
113
|
+
"happyhorse-1.1-r2v": { prompt: string; seed?: number; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4"; resolution?: "720P" | "1080P"; duration?: number; imageUrls: [string, ...string[]]; };
|
|
114
|
+
"happyhorse-1.1-t2v": { prompt: string; seed?: number; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "4:5" | "5:4"; resolution?: "720P" | "1080P"; duration?: number; startFrame?: string; };
|
|
115
|
+
"heygen-talking-photo": { imageUrls: [string, ...string[]]; resolution?: "4k" | "1080p" | "720p"; aspectRatio?: "16:9" | "9:16" | "4:5" | "5:4" | "1:1" | "auto"; voiceId: string; prompt: string; };
|
|
116
|
+
"heygen-video-1": { prompt: string; startFrame?: 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"; promptEnhancement?: "turbo" | "quality" | "disabled"; seed?: number; };
|
|
117
|
+
"heygen-video-avatar": { videoId: string; engine?: "avatar_iv" | "avatar_v"; resolution?: "4k" | "1080p" | "720p"; aspectRatio?: "16:9" | "9:16" | "4:5" | "5:4" | "1:1" | "auto"; voiceId: string; prompt: string; };
|
|
118
|
+
"hunyuan-v3": { prompt: string; aspectRatio?: "1:1" | "16:9" | "9:16" | "4:3" | "3:4"; count?: 1 | 2 | 4; negativePrompt?: string; cfgScale?: number; };
|
|
119
|
+
"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; };
|
|
120
|
+
"ideogram-4-5-precise-edit": { prompt: string; startFrame: string; mask?: string; imageUrls?: string[]; quality?: "very_low" | "low" | "medium" | "high"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; seed?: number; enableCopyrightDetection?: boolean; };
|
|
121
|
+
"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[]]; };
|
|
122
|
+
"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"; };
|
|
123
|
+
"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; };
|
|
124
|
+
"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; };
|
|
125
|
+
"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; };
|
|
126
|
+
"ideogram-vector-1-vectorize": { startFrame: string; mode?: "default" | "simple"; };
|
|
127
|
+
"kimi-k3": { prompt: string; imageUrls?: string[]; thinking?: "low" | "high"; };
|
|
128
|
+
"kling-3.0-image": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:2" | "2:3" | "3:4"; resolution?: "1k" | "2k" | "4k"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; imageUrls?: string[]; };
|
|
129
|
+
"kling-avatar": { prompt?: string; renderingSpeed?: "std" | "pro"; imageUrls: [string, ...string[]]; audioUrl: string; audioId?: string; };
|
|
130
|
+
"kling-elements": { elementName: string; elementDescription: string; referenceType: "image_refer" | "video_refer"; imageUrls?: string[]; videoUrl?: string; elementVoiceId?: string; };
|
|
131
|
+
"kling-motion-control": { prompt?: string; renderingSpeed?: "std" | "pro"; characterOrientation?: "image" | "video"; keepOriginalSound?: "yes" | "no"; imageUrls: [string, ...string[]]; videoUrl: string; };
|
|
132
|
+
"kling-motion-control-v3": { prompt?: string; renderingSpeed?: "std" | "pro"; characterOrientation?: "image" | "video"; keepOriginalSound?: "yes" | "no"; imageUrls: [string, ...string[]]; videoUrl: string; };
|
|
133
|
+
"kling-multi-image-v2-1": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:2" | "2:3" | "3:4"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; imageUrls: [string, ...string[]]; sceneImage?: string; styleImage?: string; };
|
|
134
|
+
"kling-o1-image": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:2" | "2:3" | "3:4"; resolution?: "1k" | "2k"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; imageUrls?: string[]; };
|
|
135
|
+
"kling-t2a": { prompt: string; duration?: number; };
|
|
136
|
+
"kling-v2-1-image": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "4:3" | "3:2" | "2:3" | "3:4"; count?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; negativePrompt?: string; imageUrls?: string[]; };
|
|
137
|
+
"kling-v2-6": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: 5 | 10; startFrame?: string; endFrame?: string; negativePrompt?: string; generateAudio?: boolean; };
|
|
138
|
+
"kling-v2a": { videoUrl: string; };
|
|
139
|
+
"kling-v3": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: number; startFrame?: string; endFrame?: string; negativePrompt?: string; generateAudio?: boolean; multiShot?: boolean; shotType?: "customize" | "intelligence"; multiPrompt?: Array<{ index: number; prompt: string; duration: string }>; voiceList?: Array<{ voice_id: string }>; elementList?: Array<{ element_id: string }>; renderingSpeed?: "std" | "pro" | "4k"; };
|
|
140
|
+
"kling-v3-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: number; resolution?: "720p" | "1080p" | "4k"; generateAudio?: boolean; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrl?: string; referType?: "feature" | "base"; keepOriginalSound?: "yes" | "no"; multiShot?: boolean; shotType?: "customize"; multiPrompt?: Array<{ index: number; prompt: string; duration: string }>; elementList?: Array<{ element_id: string }>; };
|
|
141
|
+
"kling-v3-turbo": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: number; negativePrompt?: string; resolution?: "720p" | "1080p"; startFrame?: string; };
|
|
142
|
+
"kling-v4": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9"; duration?: number; resolution?: "720p" | "1080p"; startFrame?: string; imageUrls?: string[]; endFrame?: string; };
|
|
143
|
+
"kling-v4-omni": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "21:9" | "adaptive"; duration?: number; resolution?: "720p" | "1080p"; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrl?: string; referType?: "feature" | "base"; elementList?: Array<{ element_id: string }>; };
|
|
144
|
+
"kling-video-effects": { templateId?: string; imageUrls: [string, ...string[]]; };
|
|
145
|
+
"kling-video-o1": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1"; duration?: 5 | 10; renderingSpeed?: "std" | "pro"; generateAudio?: boolean; };
|
|
146
|
+
"ltx-2.3-a2v": { prompt?: string; audioUrl: string; imageUrls?: string[]; aspectRatio?: "auto" | "16:9" | "9:16"; cfgScale?: number; };
|
|
147
|
+
"ltx-v2.3-extend": { prompt?: string; duration?: number; mode?: "end" | "start"; videoUrl: string; };
|
|
148
|
+
"ltx-v2.3-fast": { prompt: string; duration?: 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20; resolution?: "1080p" | "1440p" | "2160p"; aspectRatio?: "16:9" | "9:16"; fps?: 24 | 25 | 48 | 50; generateAudio?: boolean; imageUrls?: string[]; endFrame?: string; };
|
|
149
|
+
"ltx-v2.3-outpaint": { prompt: string; videoUrl: string; negativePrompt?: string; aspectRatio?: "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16" | "9:21"; resolution?: "480p" | "720p" | "1080p"; duration?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20; fps?: number; sourceScale?: number; videoStrength?: number; cfgScale?: number; numInferenceSteps?: number; videoQuality?: "low" | "medium" | "high" | "maximum"; videoWriteMode?: "fast" | "balanced" | "small"; enhancePrompt?: boolean; generateAudio?: boolean; enableSafetyChecker?: boolean; seed?: number; };
|
|
150
|
+
"ltx-v2.3-pro": { prompt: string; duration?: 6 | 8 | 10; resolution?: "1080p" | "1440p" | "2160p"; aspectRatio?: "16:9" | "9:16"; fps?: 24 | 25 | 48 | 50; generateAudio?: boolean; imageUrls?: string[]; endFrame?: string; };
|
|
151
|
+
"ltx-v2.3-reframe": { videoUrl: string; resolution?: "720p" | "1080p"; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:5" | "5:4"; };
|
|
152
|
+
"ltx-v2.3-retake": { prompt: string; duration?: number; retakeMode?: "replace_audio_and_video" | "replace_audio" | "replace_video"; startTime?: number; videoUrl: string; };
|
|
153
|
+
"ltx-v2.5-fast": { prompt: string; duration?: 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20; resolution?: "720p" | "1080p" | "1440p" | "2160p"; aspectRatio?: "16:9" | "9:16"; fps?: 24 | 25 | 48 | 50; cameraMotion?: "none" | "static" | "dolly_in" | "dolly_out" | "dolly_left" | "dolly_right" | "jib_up" | "jib_down" | "focus_shift"; generateAudio?: boolean; startFrame?: string; endFrame?: string; };
|
|
154
|
+
"ltx-v2.5-pro": { prompt: string; duration?: 6 | 8 | 10; resolution?: "720p" | "1080p"; aspectRatio?: "16:9" | "9:16"; fps?: 24 | 25 | 50; cameraMotion?: "none" | "static" | "dolly_in" | "dolly_out" | "dolly_left" | "dolly_right" | "jib_up" | "jib_down" | "focus_shift"; generateAudio?: boolean; startFrame?: string; endFrame?: string; };
|
|
155
|
+
"luma-ray-3.2": { prompt: string; aspectRatio?: "9:16" | "3:4" | "1:1" | "4:3" | "16:9" | "21:9"; resolution?: "540p" | "720p" | "1080p"; duration?: 5 | 10; startFrame?: string; endFrame?: string; hdr?: boolean; exrExport?: boolean; loop?: boolean; };
|
|
156
|
+
"luma-ray-3.2-edit": { prompt: string; videoUrl: string; resolution?: "540p" | "720p" | "1080p"; duration?: 5 | 10; editStrength?: "adhere_1" | "adhere_2" | "adhere_3" | "flex_1" | "flex_2" | "flex_3" | "reimagine_1" | "reimagine_2" | "reimagine_3"; hdr?: boolean; exrExport?: boolean; };
|
|
157
|
+
"luma-ray-3.2-reframe-video": { prompt: string; aspectRatio?: "9:16" | "3:4" | "1:1" | "4:3" | "16:9" | "21:9"; videoUrl: string; resolution?: "540p" | "720p" | "1080p"; };
|
|
158
|
+
"luma-uni-1": { prompt: string; aspectRatio?: "3:1" | "2:1" | "16:9" | "3:2" | "1:1" | "2:3" | "9:16" | "1:2" | "1:3"; style?: "auto" | "manga"; imageUrls?: string[]; };
|
|
159
|
+
"luma-uni-1-max": { prompt: string; aspectRatio?: "3:1" | "2:1" | "16:9" | "3:2" | "1:1" | "2:3" | "9:16" | "1:2" | "1:3"; style?: "auto" | "manga"; imageUrls?: string[]; };
|
|
160
|
+
"lyria-3-clip": { prompt: string; imageUrls?: string[]; };
|
|
161
|
+
"lyria-3-pro": { prompt: string; imageUrls?: string[]; };
|
|
162
|
+
"lyria-3.5": { prompt: string; imageUrls?: string[]; };
|
|
163
|
+
"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"; };
|
|
164
|
+
"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"; };
|
|
165
|
+
"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"; };
|
|
166
|
+
"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?: "balanced" | "quality"; seed?: number; enableSafetyChecker?: boolean; };
|
|
167
|
+
"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?: "balanced" | "quality"; seed?: number; enableSafetyChecker?: boolean; };
|
|
168
|
+
"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; };
|
|
169
|
+
"minimax-h3-max-lip-sync": { startFrame: string; audioUrl: string; resolution?: "480p" | "768p" | "1080p" | "2k"; enableTranscription?: boolean; seed?: number; enableSafetyChecker?: boolean; };
|
|
170
|
+
"minimax-h3-max-relight": { videoUrl: string; imageUrls: [string, ...string[]]; resolution?: "480p" | "768p" | "1080p" | "2k"; aspectRatio?: "adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; seed?: number; enableSafetyChecker?: boolean; };
|
|
171
|
+
"minimax-h3-max-turbo": { prompt: string; startFrame?: string; endFrame?: string; resolution?: "480p" | "768p" | "1080p"; duration?: number; aspectRatio?: "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16"; promptExpansionMode?: "balanced" | "quality"; seed?: number; enableSafetyChecker?: boolean; };
|
|
172
|
+
"minimax-m3": { prompt: string; imageUrls?: string[]; };
|
|
173
|
+
"minimax-m3.1-flash": { prompt: string; imageUrls?: string[]; thinking?: "low" | "medium" | "high"; };
|
|
174
|
+
"minimax-music-v2": { prompt: string; lyricsPrompt?: string; lyricsOptimizer?: boolean; isInstrumental?: boolean; sampleRate?: 16000 | 24000 | 32000 | 44100; bitrate?: 32000 | 64000 | 128000 | 256000; format?: "mp3" | "wav" | "pcm"; };
|
|
175
|
+
"minimax-music-v3": { prompt: string; lyricsPrompt?: string; lyricsOptimizer?: boolean; isInstrumental?: boolean; sampleRate?: 16000 | 24000 | 32000 | 44100; bitrate?: 32000 | 64000 | 128000 | 256000; format?: "mp3" | "wav" | "pcm"; };
|
|
176
|
+
"mirelo-sfx-2.0-text-to-audio": { prompt: string; negativePrompt?: string; duration?: number; count?: 1 | 2 | 3 | 4; format?: "wav" | "mp3" | "aac" | "flac"; bitrateKbps?: number; seed?: number; };
|
|
177
|
+
"mirelo-sfx-2.0-video-to-audio": { videoUrl: string; prompt?: string; negativePrompt?: string; preserveSpeech?: boolean; duration?: number; count?: 1 | 2 | 3 | 4; format?: "wav" | "mp3" | "aac" | "flac"; bitrateKbps?: number; seed?: number; };
|
|
178
|
+
"mirelo-sfx-2.0-video-to-video": { videoUrl: string; prompt?: string; negativePrompt?: string; preserveSpeech?: boolean; duration?: number; count?: 1 | 2 | 3 | 4; seed?: number; };
|
|
179
|
+
"muse-image-1.0": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4"; reasoningStrength?: "low" | "high"; moderation?: "auto" | "low" | "none"; enableImageSearch?: boolean; enableWebSearch?: boolean; enableShell?: boolean; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
180
|
+
"ovi": { prompt: string; size?: "9:16" | "16:9" | "1:1" | "9:16+" | "16:9+" | "2:5" | "5:2"; imageUrls?: string[]; };
|
|
181
|
+
"picsart-change-bg": { imageUrls: [string, ...string[]]; prompt: string; };
|
|
182
|
+
"picsart-enhance": { imageUrls: [string, ...string[]]; };
|
|
183
|
+
"picsart-flow": { templateId: string; imageUrls: [string, ...string[]]; };
|
|
184
|
+
"picsart-flow-video": { templateId: string; imageUrls: [string, ...string[]]; };
|
|
185
|
+
"picsart-flux-2-klein": { prompt: string; aspectRatio?: "1:1" | "5:3" | "3:5" | "4:3" | "3:4"; imageUrls?: string[]; };
|
|
186
|
+
"picsart-hidream-t2i": { prompt: string; aspectRatio?: "1:1" | "5:3" | "3:5" | "4:3" | "3:4"; };
|
|
187
|
+
"picsart-qwen-image-edit": { imageUrls: [string, ...string[]]; prompt: string; negativePrompt?: string; };
|
|
188
|
+
"picsart-qwen-makeup": { imageUrls: [string, ...string[]]; prompt: string; negativePrompt?: string; };
|
|
189
|
+
"picsart-sana-sprint-v1": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; };
|
|
190
|
+
"picsart-sod-v8-2": { imageUrls: [string, ...string[]]; };
|
|
191
|
+
"picsart-videography": { imageUrls: [string, ...string[]]; };
|
|
192
|
+
"pixverse-c1": { prompt: string; quality?: "360p" | "540p" | "720p" | "1080p"; duration?: number; generateAudio?: boolean; aspectRatio?: "16:9" | "4:3" | "1:1" | "3:4" | "9:16" | "2:3" | "3:2" | "21:9"; };
|
|
193
|
+
"pixverse-c1-fusion": { prompt: string; quality?: "360p" | "540p" | "720p" | "1080p"; duration?: number; generateAudio?: boolean; aspectRatio?: "16:9" | "4:3" | "1:1" | "3:4" | "9:16" | "2:3" | "3:2" | "21:9"; imageUrls: [string, ...string[]]; };
|
|
194
|
+
"pixverse-c1-image": { prompt: string; quality?: "360p" | "540p" | "720p" | "1080p"; duration?: number; generateAudio?: boolean; imageUrls: [string, ...string[]]; };
|
|
195
|
+
"pixverse-v6": { prompt: string; quality?: "360p" | "540p" | "720p" | "1080p"; duration?: number; generateAudio?: boolean; aspectRatio?: "16:9" | "4:3" | "1:1" | "3:4" | "9:16" | "2:3" | "3:2" | "21:9"; };
|
|
196
|
+
"pixverse-v6-fusion": { prompt: string; quality?: "360p" | "540p" | "720p" | "1080p"; duration?: number; generateAudio?: boolean; aspectRatio?: "16:9" | "4:3" | "1:1" | "3:4" | "9:16" | "2:3" | "3:2" | "21:9"; imageUrls: [string, ...string[]]; };
|
|
197
|
+
"pixverse-v6-image": { prompt: string; quality?: "360p" | "540p" | "720p" | "1080p"; duration?: number; generateAudio?: boolean; imageUrls: [string, ...string[]]; };
|
|
198
|
+
"qwen-image-2": { prompt: string; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
199
|
+
"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; };
|
|
200
|
+
"qwen-image-3.0": { 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; };
|
|
201
|
+
"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; };
|
|
202
|
+
"recraft-creative-upscale": { imageUrls: [string, ...string[]]; };
|
|
203
|
+
"recraft-crisp-upscale": { imageUrls: [string, ...string[]]; };
|
|
204
|
+
"recraft-explore": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; };
|
|
205
|
+
"recraft-explore-similar": { aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; sourceImageId: string; similarity?: number; };
|
|
206
|
+
"recraft-vectorize": { prompt?: string; imageUrls: [string, ...string[]]; };
|
|
207
|
+
"recraftv3": { prompt: string; style?: "realistic_image" | "digital_illustration" | "vector_illustration" | "any"; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; negativePrompt?: string; imageUrls?: string[]; imageWeight?: number; };
|
|
208
|
+
"recraftv3_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; negativePrompt?: string; };
|
|
209
|
+
"recraftv3-replace-bg": { prompt?: string; imageUrls: [string, ...string[]]; };
|
|
210
|
+
"recraftv4": { prompt: string; style?: "raster" | "vector_illustration"; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
211
|
+
"recraftv4_1": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
212
|
+
"recraftv4_1_flash": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; };
|
|
213
|
+
"recraftv4_1_pro": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
214
|
+
"recraftv4_1_pro_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
215
|
+
"recraftv4_1_utility": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
216
|
+
"recraftv4_1_utility_pro": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
217
|
+
"recraftv4_1_utility_pro_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
218
|
+
"recraftv4_1_utility_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
219
|
+
"recraftv4_1_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
220
|
+
"recraftv4_pro": { prompt: string; style?: "raster" | "vector_illustration"; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
221
|
+
"recraftv4_pro_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
222
|
+
"recraftv4_styles": { prompt: string; imageUrls: [string, ...string[]]; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; };
|
|
223
|
+
"recraftv4_styles_pro": { prompt: string; imageUrls: [string, ...string[]]; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; };
|
|
224
|
+
"recraftv4_styles_pro_vector": { prompt: string; imageUrls: [string, ...string[]]; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; };
|
|
225
|
+
"recraftv4_styles_vector": { prompt: string; imageUrls: [string, ...string[]]; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; };
|
|
226
|
+
"recraftv4_vector": { prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "16:9" | "9:16" | "2:1" | "1:2"; count?: 1 | 2 | 4 | 6; imageUrls?: string[]; imageWeight?: number; };
|
|
227
|
+
"reve": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3"; count?: 1 | 2 | 4; imageUrls?: string[]; };
|
|
228
|
+
"runway-aleph2": { prompt: string; videoUrl: string; startFrame?: string; endFrame?: string; };
|
|
229
|
+
"runway-avatar-video": { style?: "game-character" | "music-superstar" | "game-character-man" | "cat-character" | "influencer" | "tennis-coach" | "human-resource" | "fashion-designer" | "cooking-teacher"; voiceId?: string; prompt?: string; audioUrl?: string; };
|
|
230
|
+
"runway-gen3a-turbo": { prompt: string; duration?: 5 | 10; aspectRatio?: "16:9" | "9:16"; startFrame: string; endFrame?: string; };
|
|
231
|
+
"runway-gen4-aleph": { prompt: string; videoUrl: string; };
|
|
232
|
+
"runway-gen4-ref": { prompt: string; aspectRatio?: "16:9" | "9:16"; imageUrls: [string, ...string[]]; };
|
|
233
|
+
"runway-gen4.5": { prompt: string; duration?: 5 | 8 | 10; aspectRatio?: "16:9" | "9:16"; imageUrls?: string[]; };
|
|
234
|
+
"sam-3-video": { prompt: string; videoUrl: string; detectionThreshold?: number; applyMask?: boolean; outputFormat?: "mp4" | "webm"; };
|
|
235
|
+
"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; };
|
|
236
|
+
"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; };
|
|
237
|
+
"seedance-1.5-pro": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; generateAudio?: boolean; startFrame?: string; endFrame?: string; };
|
|
238
|
+
"seedance-2.0": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
|
|
239
|
+
"seedance-2.0-fast": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
|
|
240
|
+
"seedance-2.0-fast-video-edit": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; videoUrl: string; imageUrls?: string[]; };
|
|
241
|
+
"seedance-2.0-fast-video-extend": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; videoUrls: [string, ...string[]]; };
|
|
242
|
+
"seedance-2.0-mini": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
|
|
243
|
+
"seedance-2.0-mini-video-edit": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; videoUrl: string; imageUrls?: string[]; };
|
|
244
|
+
"seedance-2.0-mini-video-extend": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; videoUrls: [string, ...string[]]; };
|
|
245
|
+
"seedance-2.0-video-edit": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; videoUrl: string; imageUrls?: string[]; };
|
|
246
|
+
"seedance-2.0-video-extend": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; videoUrls: [string, ...string[]]; };
|
|
247
|
+
"seedance-2.0-without-moderation": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
|
|
248
|
+
"seedance-2.0-without-moderation-video-edit": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; returnLastFrame?: boolean; videoUrl: string; imageUrls?: string[]; };
|
|
249
|
+
"seedance-2.0-without-moderation-video-extend": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p" | "4k"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15; generateAudio?: boolean; videoUrls: [string, ...string[]]; };
|
|
250
|
+
"seedance-2.5": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; draftTask?: { id: string }; omniReferenceTaskType?: "auto" | "reference" | "edit" | "extend"; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
|
|
251
|
+
"seedance-2.5-video-edit": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrl: string; imageUrls?: string[]; };
|
|
252
|
+
"seedance-2.5-video-extend": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30; generateAudio?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrls: [string, ...string[]]; };
|
|
253
|
+
"seedance-2.5-without-moderation": { prompt?: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; draftTask?: { id: string }; omniReferenceTaskType?: "auto" | "reference" | "edit" | "extend"; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; startFrame?: string; endFrame?: string; };
|
|
254
|
+
"seedance-2.5-without-moderation-video-edit": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; generateAudio?: boolean; returnLastFrame?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrl: string; imageUrls?: string[]; };
|
|
255
|
+
"seedance-2.5-without-moderation-video-extend": { prompt: string; aspectRatio?: "adaptive"; resolution?: "480p" | "720p" | "1080p"; duration?: -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30; generateAudio?: boolean; outputFormat?: "mp4" | "mov"; colorDepth?: "10bit" | "8bit"; draft?: boolean; videoUrls: [string, ...string[]]; };
|
|
256
|
+
"seedance-i2v": { prompt: string; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"; resolution?: "480p" | "720p" | "1080p"; duration?: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; startFrame: string; };
|
|
257
|
+
"seedream-4.0": { resolution?: "1K" | "2K" | "4K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; negativePrompt?: string; };
|
|
258
|
+
"seedream-4.5": { resolution?: "2K" | "4K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; negativePrompt?: string; };
|
|
259
|
+
"seedream-4.7": { resolution?: "1K" | "2K" | "4K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; negativePrompt?: string; };
|
|
260
|
+
"seedream-5.0-flash": { resolution?: "1K" | "2K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; imageUrls?: string[]; negativePrompt?: string; };
|
|
261
|
+
"seedream-5.0-lite": { resolution?: "2K" | "3K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; negativePrompt?: string; };
|
|
262
|
+
"seedream-5.0-pro": { resolution?: "1K" | "2K"; prompt: string; aspectRatio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"; imageUrls?: string[]; negativePrompt?: string; };
|
|
263
|
+
"star-swirl-alpha": { prompt: string; aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4" | "auto"; resolution?: "1K" | "2K" | "4K"; size?: string; reasoningEffort?: "max" | "xhigh" | "high" | "medium" | "low"; temperature?: number; background?: "opaque" | "transparent"; outputFormat?: "png" | "jpeg" | "webp"; count?: 1 | 2 | 4 | 6 | 8 | 10; imageUrls?: string[]; };
|
|
264
|
+
"topaz-upscale-image": { imageUrls: [string, ...string[]]; model?: "Standard V2" | "Standard MAX" | "Low Resolution V2" | "High Fidelity V2" | "CGI" | "Text Refine" | "Redefine" | "Recovery" | "Recovery V2" | "Wonder" | "Wonder 3"; };
|
|
265
|
+
"topaz-upscale-video": { videoUrl: string; model?: "Proteus" | "Artemis HQ" | "Artemis MQ" | "Artemis LQ" | "Nyx" | "Nyx Fast" | "Nyx XL" | "Nyx HF" | "Gaia HQ" | "Gaia CG" | "Gaia 2" | "Starlight Precise 2.5" | "Starlight HQ" | "Starlight Mini" | "Starlight Sharp" | "Starlight Fast 2"; };
|
|
266
|
+
"typesafe-evaluate": { state: string; questions: Record<string, { type: "noul" | "choice" | "score"; instructions: unknown } & Record<string, unknown>>; };
|
|
267
|
+
"veed-fabric-v1": { prompt?: string; resolution?: "480p" | "720p"; imageUrls: [string, ...string[]]; audioUrl: string; };
|
|
268
|
+
"veed-fabric-v1-fast": { prompt?: string; resolution?: "480p" | "720p"; imageUrls: [string, ...string[]]; audioUrl: string; };
|
|
269
|
+
"veo-3.1": { prompt: string; aspectRatio?: "16:9" | "9:16"; duration?: 4 | 6 | 8; resolution?: "720p" | "1080p" | "4k"; imageUrls?: string[]; generateAudio?: boolean; negativePrompt?: string; startFrame?: string; endFrame?: string; };
|
|
270
|
+
"veo-3.1-fast": { prompt: string; aspectRatio?: "16:9" | "9:16"; duration?: 4 | 6 | 8; resolution?: "720p" | "1080p" | "4k"; imageUrls?: string[]; generateAudio?: boolean; negativePrompt?: string; startFrame?: string; endFrame?: string; };
|
|
271
|
+
"veo-3.1-lite": { prompt: string; aspectRatio?: "16:9" | "9:16"; duration?: 4 | 6 | 8; resolution?: "720p" | "1080p"; startFrame?: string; };
|
|
272
|
+
"wan-2.6-image": { prompt: string; count?: 1 | 2 | 4 | 6 | 8 | 10; negativePrompt?: string; };
|
|
273
|
+
"wan-2.7-i2v": { prompt?: string; duration?: 5 | 10 | 15; resolution?: "720P" | "1080P"; negativePrompt?: string; enhancePrompt?: boolean; startFrame: string; endFrame?: string; audioUrl?: string; seed?: number; };
|
|
274
|
+
"wan-2.7-r2v": { prompt: string; duration?: 5 | 10; resolution?: "720P" | "1080P"; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4"; negativePrompt?: string; imageUrls: [string, ...string[]]; videoUrl: string; seed?: number; };
|
|
275
|
+
"wan-2.7-t2v": { prompt: string; duration?: 5 | 10 | 15; resolution?: "720P" | "1080P"; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4"; negativePrompt?: string; enhancePrompt?: boolean; audioUrl?: string; startFrame?: string; seed?: number; };
|
|
276
|
+
"wan-2.7-video-edit": { prompt?: string; resolution?: "720P" | "1080P"; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4"; negativePrompt?: string; videoUrl: string; imageUrls?: string[]; audioSetting?: "auto" | "origin"; duration?: number; seed?: number; };
|
|
277
|
+
"wan-3.0-video": { prompt?: string; duration?: -1 | 5 | 10 | 15 | 30; resolution?: "480P" | "720P" | "1080P"; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "adaptive"; generateAudio?: boolean; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; enableThinking?: boolean; watermark?: boolean; seed?: number; };
|
|
278
|
+
"wan-3.0-video-prime": { prompt?: string; duration?: -1 | 5 | 10 | 15 | 30; resolution?: "480P" | "720P" | "1080P"; aspectRatio?: "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "adaptive"; generateAudio?: boolean; startFrame?: string; endFrame?: string; imageUrls?: string[]; videoUrls?: string[]; audioUrls?: string[]; enableThinking?: boolean; watermark?: boolean; seed?: number; };
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
export type TypedModelId = keyof ModelInputById;
|
|
282
|
+
export type ModelInput<M extends TypedModelId> = ModelInputById[M];
|
|
283
|
+
|
|
284
|
+
/** IDs of text-generation (LLM) models — narrows generateText(). */
|
|
285
|
+
export type TextModelId = "claude-fable-5" | "claude-fable-5-1" | "claude-haiku-4-5" | "claude-haiku-5-5" | "claude-opus-4-8" | "claude-opus-5" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-5" | "eleven-speech-to-text" | "gemini-2.5-flash" | "gemini-3-pro" | "gemini-3.5-flash-lite" | "gemini-3.6-flash" | "gemini-3.7-flash" | "gemini-3.8-flash" | "gemini-4-argon" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-5" | "gpt-5-mini" | "gpt-5.1" | "gpt-5.2" | "gpt-5.5" | "gpt-5.6-luna" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-6-astra" | "gpt-6-luna" | "gpt-6-sol" | "grok-4.7" | "kimi-k3" | "minimax-h3-context-ir" | "minimax-m3" | "minimax-m3.1-flash";
|
|
286
|
+
export type TextModelInputById = Pick<ModelInputById, TextModelId>;
|
|
287
|
+
|
|
288
|
+
/** IDs of structured-output (json-mode) models — narrows run()'s result type. */
|
|
289
|
+
export type JsonModelId = "typesafe-evaluate";
|
|
290
|
+
|
|
291
|
+
/** Ensure caller does not pass keys unsupported by the target model input shape. */
|
|
292
|
+
export type NoExtraKeys<Shape, T extends Shape> = T & Record<Exclude<keyof T, keyof Shape>, never>;
|