@apicity/kie 0.5.4 → 0.6.1
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 +156 -2
- package/dist/src/chat.d.ts +2 -2
- package/dist/src/chat.d.ts.map +1 -1
- package/dist/src/claude.d.ts +2 -2
- package/dist/src/claude.d.ts.map +1 -1
- package/dist/src/gemini-31-pro.d.ts +73 -0
- package/dist/src/gemini-31-pro.d.ts.map +1 -0
- package/dist/src/gemini-31-pro.js +126 -0
- package/dist/src/gemini-31-pro.js.map +1 -0
- package/dist/src/gemini.d.ts +66 -0
- package/dist/src/gemini.d.ts.map +1 -0
- package/dist/src/gemini.js +114 -0
- package/dist/src/gemini.js.map +1 -0
- package/dist/src/index.d.ts +10 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +6 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/kie.d.ts.map +1 -1
- package/dist/src/kie.js +67 -3
- package/dist/src/kie.js.map +1 -1
- package/dist/src/model-schemas.d.ts.map +1 -1
- package/dist/src/model-schemas.js +386 -36
- package/dist/src/model-schemas.js.map +1 -1
- package/dist/src/responses.d.ts +128 -0
- package/dist/src/responses.d.ts.map +1 -0
- package/dist/src/responses.js +104 -0
- package/dist/src/responses.js.map +1 -0
- package/dist/src/suno.d.ts +16 -16
- package/dist/src/suno.d.ts.map +1 -1
- package/dist/src/types.d.ts +50 -11
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/veo.d.ts +3 -3
- package/dist/src/veo.d.ts.map +1 -1
- package/dist/src/zod.d.ts +1322 -140
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +531 -32
- package/dist/src/zod.js.map +1 -1
- package/package.json +2 -2
package/dist/src/zod.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare const KieMediaModelSchema: z.ZodEnum<{
|
|
|
23
23
|
"qwen2/image-edit": "qwen2/image-edit";
|
|
24
24
|
"bytedance/seedance-2-fast": "bytedance/seedance-2-fast";
|
|
25
25
|
"bytedance/seedance-2": "bytedance/seedance-2";
|
|
26
|
+
"bytedance/seedance-2-mini": "bytedance/seedance-2-mini";
|
|
26
27
|
"wan/2-7-image-to-video": "wan/2-7-image-to-video";
|
|
27
28
|
"wan/2-7-text-to-video": "wan/2-7-text-to-video";
|
|
28
29
|
"wan/2-7-r2v": "wan/2-7-r2v";
|
|
@@ -33,8 +34,12 @@ export declare const KieMediaModelSchema: z.ZodEnum<{
|
|
|
33
34
|
"happyhorse/image-to-video": "happyhorse/image-to-video";
|
|
34
35
|
"happyhorse/reference-to-video": "happyhorse/reference-to-video";
|
|
35
36
|
"happyhorse/video-edit": "happyhorse/video-edit";
|
|
37
|
+
"happyhorse-1-1/text-to-video": "happyhorse-1-1/text-to-video";
|
|
38
|
+
"happyhorse-1-1/image-to-video": "happyhorse-1-1/image-to-video";
|
|
39
|
+
"happyhorse-1-1/reference-to-video": "happyhorse-1-1/reference-to-video";
|
|
36
40
|
"omnihuman-1-5": "omnihuman-1-5";
|
|
37
41
|
"volcengine/video-to-video-lip-sync": "volcengine/video-to-video-lip-sync";
|
|
42
|
+
"gemini-omni-video": "gemini-omni-video";
|
|
38
43
|
"elevenlabs/audio-isolation": "elevenlabs/audio-isolation";
|
|
39
44
|
"elevenlabs/text-to-dialogue-v3": "elevenlabs/text-to-dialogue-v3";
|
|
40
45
|
"elevenlabs/text-to-speech-multilingual-v2": "elevenlabs/text-to-speech-multilingual-v2";
|
|
@@ -48,6 +53,341 @@ export declare const MediaTypeSchema: z.ZodEnum<{
|
|
|
48
53
|
audio: "audio";
|
|
49
54
|
transcription: "transcription";
|
|
50
55
|
}>;
|
|
56
|
+
export declare const GeminiOmniAudioVoiceIds: readonly ["achernar", "achird", "algenib", "algieba", "alnilam", "aoede", "autonoe", "callirrhoe", "charon", "despina", "enceladus", "erinome", "fenrir", "gacrux", "iapetus", "kore", "laomedeia", "leda", "orus", "puck", "pulcherrima", "rasalgethi", "sadachbia", "sadaltager", "schedar", "sulafat", "umbriel", "vindemiatrix", "zephyr", "zubenelgenubi"];
|
|
57
|
+
export declare const GeminiOmniAudioVoiceIdSchema: z.ZodEnum<{
|
|
58
|
+
achernar: "achernar";
|
|
59
|
+
achird: "achird";
|
|
60
|
+
algenib: "algenib";
|
|
61
|
+
algieba: "algieba";
|
|
62
|
+
alnilam: "alnilam";
|
|
63
|
+
aoede: "aoede";
|
|
64
|
+
autonoe: "autonoe";
|
|
65
|
+
callirrhoe: "callirrhoe";
|
|
66
|
+
charon: "charon";
|
|
67
|
+
despina: "despina";
|
|
68
|
+
enceladus: "enceladus";
|
|
69
|
+
erinome: "erinome";
|
|
70
|
+
fenrir: "fenrir";
|
|
71
|
+
gacrux: "gacrux";
|
|
72
|
+
iapetus: "iapetus";
|
|
73
|
+
kore: "kore";
|
|
74
|
+
laomedeia: "laomedeia";
|
|
75
|
+
leda: "leda";
|
|
76
|
+
orus: "orus";
|
|
77
|
+
puck: "puck";
|
|
78
|
+
pulcherrima: "pulcherrima";
|
|
79
|
+
rasalgethi: "rasalgethi";
|
|
80
|
+
sadachbia: "sadachbia";
|
|
81
|
+
sadaltager: "sadaltager";
|
|
82
|
+
schedar: "schedar";
|
|
83
|
+
sulafat: "sulafat";
|
|
84
|
+
umbriel: "umbriel";
|
|
85
|
+
vindemiatrix: "vindemiatrix";
|
|
86
|
+
zephyr: "zephyr";
|
|
87
|
+
zubenelgenubi: "zubenelgenubi";
|
|
88
|
+
}>;
|
|
89
|
+
export declare const KieGeminiRoleSchema: z.ZodEnum<{
|
|
90
|
+
user: "user";
|
|
91
|
+
model: "model";
|
|
92
|
+
}>;
|
|
93
|
+
export declare const KieGeminiThinkingLevelSchema: z.ZodEnum<{
|
|
94
|
+
low: "low";
|
|
95
|
+
high: "high";
|
|
96
|
+
}>;
|
|
97
|
+
export declare const KieGeminiInlineDataSchema: z.ZodObject<{
|
|
98
|
+
mime_type: z.ZodString;
|
|
99
|
+
data: z.ZodString;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
export declare const KieGeminiFileDataSchema: z.ZodObject<{
|
|
102
|
+
mime_type: z.ZodString;
|
|
103
|
+
file_uri: z.ZodString;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
export declare const KieGeminiPartSchema: z.ZodObject<{
|
|
106
|
+
text: z.ZodOptional<z.ZodString>;
|
|
107
|
+
inline_data: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
mime_type: z.ZodString;
|
|
109
|
+
data: z.ZodString;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
file_data: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
mime_type: z.ZodString;
|
|
113
|
+
file_uri: z.ZodString;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
}, z.core.$strict>;
|
|
116
|
+
export declare const KieGeminiContentSchema: z.ZodObject<{
|
|
117
|
+
role: z.ZodEnum<{
|
|
118
|
+
user: "user";
|
|
119
|
+
model: "model";
|
|
120
|
+
}>;
|
|
121
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
122
|
+
text: z.ZodOptional<z.ZodString>;
|
|
123
|
+
inline_data: z.ZodOptional<z.ZodObject<{
|
|
124
|
+
mime_type: z.ZodString;
|
|
125
|
+
data: z.ZodString;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
file_data: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
mime_type: z.ZodString;
|
|
129
|
+
file_uri: z.ZodString;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
}, z.core.$strict>>;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
export declare const KieGeminiFunctionParametersSchema: z.ZodObject<{
|
|
134
|
+
type: z.ZodOptional<z.ZodString>;
|
|
135
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
136
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
|
+
}, z.core.$loose>;
|
|
138
|
+
export declare const KieGeminiFunctionDeclarationSchema: z.ZodObject<{
|
|
139
|
+
name: z.ZodString;
|
|
140
|
+
description: z.ZodOptional<z.ZodString>;
|
|
141
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
142
|
+
type: z.ZodOptional<z.ZodString>;
|
|
143
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
144
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
|
+
}, z.core.$loose>>;
|
|
146
|
+
}, z.core.$loose>;
|
|
147
|
+
export declare const KieGeminiGoogleSearchSchema: z.ZodObject<{}, z.core.$strict>;
|
|
148
|
+
export declare const KieGeminiGoogleSearchToolSchema: z.ZodObject<{
|
|
149
|
+
googleSearch: z.ZodObject<{}, z.core.$strict>;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
export declare const KieGeminiFunctionDeclarationsToolSchema: z.ZodObject<{
|
|
152
|
+
functionDeclarations: z.ZodArray<z.ZodObject<{
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
description: z.ZodOptional<z.ZodString>;
|
|
155
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
type: z.ZodOptional<z.ZodString>;
|
|
157
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
158
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
|
+
}, z.core.$loose>>;
|
|
160
|
+
}, z.core.$loose>>;
|
|
161
|
+
}, z.core.$strict>;
|
|
162
|
+
export declare const KieGeminiToolSchema: z.ZodObject<{
|
|
163
|
+
googleSearch: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
164
|
+
functionDeclarations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
165
|
+
name: z.ZodString;
|
|
166
|
+
description: z.ZodOptional<z.ZodString>;
|
|
167
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
type: z.ZodOptional<z.ZodString>;
|
|
169
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
170
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
171
|
+
}, z.core.$loose>>;
|
|
172
|
+
}, z.core.$loose>>>;
|
|
173
|
+
}, z.core.$strict>;
|
|
174
|
+
export declare const KieGeminiThinkingConfigSchema: z.ZodObject<{
|
|
175
|
+
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
176
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
low: "low";
|
|
178
|
+
high: "high";
|
|
179
|
+
}>>;
|
|
180
|
+
}, z.core.$strict>;
|
|
181
|
+
export declare const KieGeminiGenerationConfigSchema: z.ZodObject<{
|
|
182
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
topK: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
candidateCount: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
187
|
+
stopSequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
188
|
+
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
191
|
+
low: "low";
|
|
192
|
+
high: "high";
|
|
193
|
+
}>>;
|
|
194
|
+
}, z.core.$strict>>;
|
|
195
|
+
}, z.core.$loose>;
|
|
196
|
+
export declare const KieGemini35FlashStreamGenerateContentRequestSchema: z.ZodObject<{
|
|
197
|
+
stream: z.ZodDefault<z.ZodBoolean>;
|
|
198
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
199
|
+
role: z.ZodEnum<{
|
|
200
|
+
user: "user";
|
|
201
|
+
model: "model";
|
|
202
|
+
}>;
|
|
203
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
204
|
+
text: z.ZodOptional<z.ZodString>;
|
|
205
|
+
inline_data: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
mime_type: z.ZodString;
|
|
207
|
+
data: z.ZodString;
|
|
208
|
+
}, z.core.$strip>>;
|
|
209
|
+
file_data: z.ZodOptional<z.ZodObject<{
|
|
210
|
+
mime_type: z.ZodString;
|
|
211
|
+
file_uri: z.ZodString;
|
|
212
|
+
}, z.core.$strip>>;
|
|
213
|
+
}, z.core.$strict>>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
216
|
+
googleSearch: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
217
|
+
functionDeclarations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
218
|
+
name: z.ZodString;
|
|
219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
220
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
type: z.ZodOptional<z.ZodString>;
|
|
222
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
223
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
224
|
+
}, z.core.$loose>>;
|
|
225
|
+
}, z.core.$loose>>>;
|
|
226
|
+
}, z.core.$strict>>>;
|
|
227
|
+
generationConfig: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
230
|
+
topK: z.ZodOptional<z.ZodNumber>;
|
|
231
|
+
candidateCount: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
stopSequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
234
|
+
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
235
|
+
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
237
|
+
low: "low";
|
|
238
|
+
high: "high";
|
|
239
|
+
}>>;
|
|
240
|
+
}, z.core.$strict>>;
|
|
241
|
+
}, z.core.$loose>>;
|
|
242
|
+
}, z.core.$loose>;
|
|
243
|
+
export declare const KieGemini31ProMessageRoleSchema: z.ZodEnum<{
|
|
244
|
+
user: "user";
|
|
245
|
+
developer: "developer";
|
|
246
|
+
system: "system";
|
|
247
|
+
assistant: "assistant";
|
|
248
|
+
tool: "tool";
|
|
249
|
+
}>;
|
|
250
|
+
export declare const KieGemini31ProContentItemTypeSchema: z.ZodEnum<{
|
|
251
|
+
text: "text";
|
|
252
|
+
image_url: "image_url";
|
|
253
|
+
}>;
|
|
254
|
+
export declare const KieGemini31ProReasoningEffortSchema: z.ZodEnum<{
|
|
255
|
+
low: "low";
|
|
256
|
+
high: "high";
|
|
257
|
+
}>;
|
|
258
|
+
export declare const KieGemini31ProToolTypeSchema: z.ZodEnum<{
|
|
259
|
+
function: "function";
|
|
260
|
+
}>;
|
|
261
|
+
export declare const KieGemini31ProToolFunctionNameSchema: z.ZodEnum<{
|
|
262
|
+
googleSearch: "googleSearch";
|
|
263
|
+
}>;
|
|
264
|
+
export declare const KieGemini31ProTextContentItemSchema: z.ZodObject<{
|
|
265
|
+
type: z.ZodLiteral<"text">;
|
|
266
|
+
text: z.ZodString;
|
|
267
|
+
}, z.core.$strict>;
|
|
268
|
+
export declare const KieGemini31ProMediaContentItemSchema: z.ZodObject<{
|
|
269
|
+
type: z.ZodLiteral<"image_url">;
|
|
270
|
+
image_url: z.ZodObject<{
|
|
271
|
+
url: z.ZodString;
|
|
272
|
+
}, z.core.$strict>;
|
|
273
|
+
}, z.core.$strict>;
|
|
274
|
+
export declare const KieGemini31ProContentItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
275
|
+
type: z.ZodLiteral<"text">;
|
|
276
|
+
text: z.ZodString;
|
|
277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
+
type: z.ZodLiteral<"image_url">;
|
|
279
|
+
image_url: z.ZodObject<{
|
|
280
|
+
url: z.ZodString;
|
|
281
|
+
}, z.core.$strict>;
|
|
282
|
+
}, z.core.$strict>], "type">;
|
|
283
|
+
export declare const KieGemini31ProMessageSchema: z.ZodObject<{
|
|
284
|
+
role: z.ZodEnum<{
|
|
285
|
+
user: "user";
|
|
286
|
+
developer: "developer";
|
|
287
|
+
system: "system";
|
|
288
|
+
assistant: "assistant";
|
|
289
|
+
tool: "tool";
|
|
290
|
+
}>;
|
|
291
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
292
|
+
type: z.ZodLiteral<"text">;
|
|
293
|
+
text: z.ZodString;
|
|
294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
295
|
+
type: z.ZodLiteral<"image_url">;
|
|
296
|
+
image_url: z.ZodObject<{
|
|
297
|
+
url: z.ZodString;
|
|
298
|
+
}, z.core.$strict>;
|
|
299
|
+
}, z.core.$strict>], "type">>;
|
|
300
|
+
}, z.core.$loose>;
|
|
301
|
+
export declare const KieGemini31ProToolFunctionParametersSchema: z.ZodObject<{
|
|
302
|
+
type: z.ZodLiteral<"object">;
|
|
303
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
304
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
305
|
+
}, z.core.$loose>;
|
|
306
|
+
export declare const KieGemini31ProToolFunctionSchema: z.ZodObject<{
|
|
307
|
+
name: z.ZodEnum<{
|
|
308
|
+
googleSearch: "googleSearch";
|
|
309
|
+
}>;
|
|
310
|
+
description: z.ZodOptional<z.ZodString>;
|
|
311
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
312
|
+
type: z.ZodLiteral<"object">;
|
|
313
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
314
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
315
|
+
}, z.core.$loose>>;
|
|
316
|
+
}, z.core.$loose>;
|
|
317
|
+
export declare const KieGemini31ProToolSchema: z.ZodObject<{
|
|
318
|
+
type: z.ZodEnum<{
|
|
319
|
+
function: "function";
|
|
320
|
+
}>;
|
|
321
|
+
function: z.ZodObject<{
|
|
322
|
+
name: z.ZodEnum<{
|
|
323
|
+
googleSearch: "googleSearch";
|
|
324
|
+
}>;
|
|
325
|
+
description: z.ZodOptional<z.ZodString>;
|
|
326
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
type: z.ZodLiteral<"object">;
|
|
328
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
329
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
330
|
+
}, z.core.$loose>>;
|
|
331
|
+
}, z.core.$loose>;
|
|
332
|
+
}, z.core.$strict>;
|
|
333
|
+
export declare const KieGemini31ProChatCompletionsRequestSchema: z.ZodObject<{
|
|
334
|
+
model: z.ZodOptional<z.ZodLiteral<"gemini-3.1-pro">>;
|
|
335
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
336
|
+
role: z.ZodEnum<{
|
|
337
|
+
user: "user";
|
|
338
|
+
developer: "developer";
|
|
339
|
+
system: "system";
|
|
340
|
+
assistant: "assistant";
|
|
341
|
+
tool: "tool";
|
|
342
|
+
}>;
|
|
343
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
344
|
+
type: z.ZodLiteral<"text">;
|
|
345
|
+
text: z.ZodString;
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
347
|
+
type: z.ZodLiteral<"image_url">;
|
|
348
|
+
image_url: z.ZodObject<{
|
|
349
|
+
url: z.ZodString;
|
|
350
|
+
}, z.core.$strict>;
|
|
351
|
+
}, z.core.$strict>], "type">>;
|
|
352
|
+
}, z.core.$loose>>;
|
|
353
|
+
stream: z.ZodDefault<z.ZodBoolean>;
|
|
354
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
355
|
+
type: z.ZodEnum<{
|
|
356
|
+
function: "function";
|
|
357
|
+
}>;
|
|
358
|
+
function: z.ZodObject<{
|
|
359
|
+
name: z.ZodEnum<{
|
|
360
|
+
googleSearch: "googleSearch";
|
|
361
|
+
}>;
|
|
362
|
+
description: z.ZodOptional<z.ZodString>;
|
|
363
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
364
|
+
type: z.ZodLiteral<"object">;
|
|
365
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
366
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
|
+
}, z.core.$loose>>;
|
|
368
|
+
}, z.core.$loose>;
|
|
369
|
+
}, z.core.$strict>>>;
|
|
370
|
+
include_thoughts: z.ZodDefault<z.ZodBoolean>;
|
|
371
|
+
reasoning_effort: z.ZodDefault<z.ZodEnum<{
|
|
372
|
+
low: "low";
|
|
373
|
+
high: "high";
|
|
374
|
+
}>>;
|
|
375
|
+
}, z.core.$loose>;
|
|
376
|
+
export type KieGemini31ProMessageRole = z.infer<typeof KieGemini31ProMessageRoleSchema>;
|
|
377
|
+
export type KieGemini31ProContentItemType = z.infer<typeof KieGemini31ProContentItemTypeSchema>;
|
|
378
|
+
export type KieGemini31ProReasoningEffort = z.infer<typeof KieGemini31ProReasoningEffortSchema>;
|
|
379
|
+
export type KieGemini31ProToolType = z.infer<typeof KieGemini31ProToolTypeSchema>;
|
|
380
|
+
export type KieGemini31ProToolFunctionName = z.infer<typeof KieGemini31ProToolFunctionNameSchema>;
|
|
381
|
+
export type KieGemini31ProTextContentItem = z.infer<typeof KieGemini31ProTextContentItemSchema>;
|
|
382
|
+
export type KieGemini31ProMediaContentItem = z.infer<typeof KieGemini31ProMediaContentItemSchema>;
|
|
383
|
+
export type KieGemini31ProContentItem = z.infer<typeof KieGemini31ProContentItemSchema>;
|
|
384
|
+
export type KieGemini31ProMessage = z.infer<typeof KieGemini31ProMessageSchema>;
|
|
385
|
+
export type KieGemini31ProToolFunctionParameters = z.infer<typeof KieGemini31ProToolFunctionParametersSchema>;
|
|
386
|
+
export type KieGemini31ProToolFunction = z.infer<typeof KieGemini31ProToolFunctionSchema>;
|
|
387
|
+
export type KieGemini31ProTool = z.infer<typeof KieGemini31ProToolSchema>;
|
|
388
|
+
export type KieGemini31ProChatCompletionsRequest = z.input<typeof KieGemini31ProChatCompletionsRequestSchema>;
|
|
389
|
+
export type KieGemini31ProChatCompletionsRequestInput = KieGemini31ProChatCompletionsRequest;
|
|
390
|
+
export type KieGemini31ProChatCompletionsParsedRequest = z.output<typeof KieGemini31ProChatCompletionsRequestSchema>;
|
|
51
391
|
export declare const KlingDurationSchema: z.ZodEnum<{
|
|
52
392
|
3: "3";
|
|
53
393
|
4: "4";
|
|
@@ -83,11 +423,37 @@ export declare const KlingV3TurboAspectRatioSchema: z.ZodEnum<{
|
|
|
83
423
|
"1:1": "1:1";
|
|
84
424
|
}>;
|
|
85
425
|
export declare const KlingV3TurboDurationSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
426
|
+
export declare const GrokTextToVideoModeSchema: z.ZodEnum<{
|
|
427
|
+
fun: "fun";
|
|
428
|
+
normal: "normal";
|
|
429
|
+
spicy: "spicy";
|
|
430
|
+
}>;
|
|
431
|
+
export declare const GrokImageToVideoModeSchema: z.ZodEnum<{
|
|
432
|
+
fun: "fun";
|
|
433
|
+
normal: "normal";
|
|
434
|
+
spicy: "spicy";
|
|
435
|
+
}>;
|
|
86
436
|
export declare const GrokImagineModeSchema: z.ZodEnum<{
|
|
87
437
|
fun: "fun";
|
|
88
438
|
normal: "normal";
|
|
89
439
|
spicy: "spicy";
|
|
90
440
|
}>;
|
|
441
|
+
export declare const GrokTextToVideoAspectRatioSchema: z.ZodEnum<{
|
|
442
|
+
"16:9": "16:9";
|
|
443
|
+
"9:16": "9:16";
|
|
444
|
+
"1:1": "1:1";
|
|
445
|
+
"2:3": "2:3";
|
|
446
|
+
"3:2": "3:2";
|
|
447
|
+
}>;
|
|
448
|
+
export declare const GrokImageToVideoAspectRatioSchema: z.ZodEnum<{
|
|
449
|
+
"16:9": "16:9";
|
|
450
|
+
"9:16": "9:16";
|
|
451
|
+
"1:1": "1:1";
|
|
452
|
+
"2:3": "2:3";
|
|
453
|
+
"3:2": "3:2";
|
|
454
|
+
}>;
|
|
455
|
+
export declare const GrokTextToVideoDurationSchema: z.ZodNumber;
|
|
456
|
+
export declare const GrokImageToVideoDurationSchema: z.ZodNumber;
|
|
91
457
|
export declare const GrokImagineDurationSchema: z.ZodEnum<{
|
|
92
458
|
6: "6";
|
|
93
459
|
10: "10";
|
|
@@ -101,11 +467,11 @@ export declare const GrokVideo15AspectRatioSchema: z.ZodEnum<{
|
|
|
101
467
|
"16:9": "16:9";
|
|
102
468
|
"9:16": "9:16";
|
|
103
469
|
"1:1": "1:1";
|
|
470
|
+
"2:3": "2:3";
|
|
471
|
+
"3:2": "3:2";
|
|
104
472
|
auto: "auto";
|
|
105
473
|
"4:3": "4:3";
|
|
106
474
|
"3:4": "3:4";
|
|
107
|
-
"3:2": "3:2";
|
|
108
|
-
"2:3": "2:3";
|
|
109
475
|
}>;
|
|
110
476
|
export declare const NanoBananaResolutionSchema: z.ZodEnum<{
|
|
111
477
|
"4K": "4K";
|
|
@@ -117,8 +483,8 @@ export declare const NanoBananaOutputFormatSchema: z.ZodEnum<{
|
|
|
117
483
|
jpg: "jpg";
|
|
118
484
|
}>;
|
|
119
485
|
export declare const GptImageQualitySchema: z.ZodEnum<{
|
|
120
|
-
medium: "medium";
|
|
121
486
|
high: "high";
|
|
487
|
+
medium: "medium";
|
|
122
488
|
}>;
|
|
123
489
|
export declare const Qwen2ImageSizeSchema: z.ZodEnum<{
|
|
124
490
|
square: "square";
|
|
@@ -163,6 +529,9 @@ export declare const Wan27ImageAspectRatioSchema: z.ZodEnum<{
|
|
|
163
529
|
"8:1": "8:1";
|
|
164
530
|
"1:8": "1:8";
|
|
165
531
|
}>;
|
|
532
|
+
export declare const Wan27VideoEditDurationValues: readonly [0, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
533
|
+
export type Wan27VideoEditDuration = (typeof Wan27VideoEditDurationValues)[number];
|
|
534
|
+
export declare const Wan27VideoEditDurationSchema: z.ZodType<Wan27VideoEditDuration>;
|
|
166
535
|
export declare const HappyHorseResolutionSchema: z.ZodEnum<{
|
|
167
536
|
"720p": "720p";
|
|
168
537
|
"1080p": "1080p";
|
|
@@ -174,10 +543,24 @@ export declare const HappyHorseAspectRatioSchema: z.ZodEnum<{
|
|
|
174
543
|
"4:3": "4:3";
|
|
175
544
|
"3:4": "3:4";
|
|
176
545
|
}>;
|
|
546
|
+
export declare const HappyHorse11AspectRatioSchema: z.ZodEnum<{
|
|
547
|
+
"16:9": "16:9";
|
|
548
|
+
"9:16": "9:16";
|
|
549
|
+
"1:1": "1:1";
|
|
550
|
+
"4:3": "4:3";
|
|
551
|
+
"3:4": "3:4";
|
|
552
|
+
"21:9": "21:9";
|
|
553
|
+
"4:5": "4:5";
|
|
554
|
+
"5:4": "5:4";
|
|
555
|
+
"9:21": "9:21";
|
|
556
|
+
}>;
|
|
177
557
|
export declare const HappyHorseAudioSettingSchema: z.ZodEnum<{
|
|
178
558
|
auto: "auto";
|
|
179
559
|
origin: "origin";
|
|
180
560
|
}>;
|
|
561
|
+
export declare const HAPPYHORSE_DURATION_MIN_SECONDS = 3;
|
|
562
|
+
export declare const HAPPYHORSE_DURATION_MAX_SECONDS = 15;
|
|
563
|
+
export declare const HappyHorseDurationSchema: z.ZodNumber;
|
|
181
564
|
export declare const Omnihuman15OutputResolutionSchema: z.ZodEnum<{
|
|
182
565
|
720: "720";
|
|
183
566
|
1080: "1080";
|
|
@@ -186,6 +569,39 @@ export declare const VolcengineVideoToVideoLipSyncModeSchema: z.ZodEnum<{
|
|
|
186
569
|
lite: "lite";
|
|
187
570
|
basic: "basic";
|
|
188
571
|
}>;
|
|
572
|
+
export declare const GeminiOmniVideoDurationSchema: z.ZodEnum<{
|
|
573
|
+
4: "4";
|
|
574
|
+
6: "6";
|
|
575
|
+
8: "8";
|
|
576
|
+
10: "10";
|
|
577
|
+
}>;
|
|
578
|
+
export declare const GeminiOmniVideoAspectRatioSchema: z.ZodEnum<{
|
|
579
|
+
"16:9": "16:9";
|
|
580
|
+
"9:16": "9:16";
|
|
581
|
+
}>;
|
|
582
|
+
export declare const GeminiOmniVideoResolutionSchema: z.ZodEnum<{
|
|
583
|
+
"720p": "720p";
|
|
584
|
+
"1080p": "1080p";
|
|
585
|
+
"4k": "4k";
|
|
586
|
+
}>;
|
|
587
|
+
export declare const Seedance2MiniResolutionSchema: z.ZodEnum<{
|
|
588
|
+
"720p": "720p";
|
|
589
|
+
"480p": "480p";
|
|
590
|
+
}>;
|
|
591
|
+
export declare const Seedance2MiniAspectRatioSchema: z.ZodEnum<{
|
|
592
|
+
"16:9": "16:9";
|
|
593
|
+
"9:16": "9:16";
|
|
594
|
+
"1:1": "1:1";
|
|
595
|
+
"4:3": "4:3";
|
|
596
|
+
"3:4": "3:4";
|
|
597
|
+
"21:9": "21:9";
|
|
598
|
+
adaptive: "adaptive";
|
|
599
|
+
}>;
|
|
600
|
+
export declare const Seedance2MiniTaskStateSchema: z.ZodEnum<{
|
|
601
|
+
success: "success";
|
|
602
|
+
waiting: "waiting";
|
|
603
|
+
fail: "fail";
|
|
604
|
+
}>;
|
|
189
605
|
export declare const KlingElementSchema: z.ZodObject<{
|
|
190
606
|
name: z.ZodString;
|
|
191
607
|
description: z.ZodString;
|
|
@@ -305,8 +721,8 @@ export declare const GrokTextToImageRequestSchema: z.ZodObject<{
|
|
|
305
721
|
"16:9": "16:9";
|
|
306
722
|
"9:16": "9:16";
|
|
307
723
|
"1:1": "1:1";
|
|
308
|
-
"3:2": "3:2";
|
|
309
724
|
"2:3": "2:3";
|
|
725
|
+
"3:2": "3:2";
|
|
310
726
|
}>>;
|
|
311
727
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
312
728
|
enable_pro: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -351,10 +767,10 @@ export declare const Qwen2ImageEditRequestSchema: z.ZodObject<{
|
|
|
351
767
|
"16:9": "16:9";
|
|
352
768
|
"9:16": "9:16";
|
|
353
769
|
"1:1": "1:1";
|
|
770
|
+
"2:3": "2:3";
|
|
771
|
+
"3:2": "3:2";
|
|
354
772
|
"4:3": "4:3";
|
|
355
773
|
"3:4": "3:4";
|
|
356
|
-
"3:2": "3:2";
|
|
357
|
-
"2:3": "2:3";
|
|
358
774
|
"21:9": "21:9";
|
|
359
775
|
}>>;
|
|
360
776
|
output_format: z.ZodDefault<z.ZodEnum<{
|
|
@@ -383,8 +799,8 @@ export declare const GrokTextToVideoRequestSchema: z.ZodObject<{
|
|
|
383
799
|
"16:9": "16:9";
|
|
384
800
|
"9:16": "9:16";
|
|
385
801
|
"1:1": "1:1";
|
|
386
|
-
"3:2": "3:2";
|
|
387
802
|
"2:3": "2:3";
|
|
803
|
+
"3:2": "3:2";
|
|
388
804
|
}>>;
|
|
389
805
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
390
806
|
fun: "fun";
|
|
@@ -399,7 +815,6 @@ export declare const GrokTextToVideoRequestSchema: z.ZodObject<{
|
|
|
399
815
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
400
816
|
}, z.core.$strip>;
|
|
401
817
|
}, z.core.$strip>;
|
|
402
|
-
export declare const GrokImageToVideoDurationSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
403
818
|
export declare const GrokImageToVideoRequestSchema: z.ZodObject<{
|
|
404
819
|
model: z.ZodLiteral<"grok-imagine/image-to-video">;
|
|
405
820
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -413,7 +828,7 @@ export declare const GrokImageToVideoRequestSchema: z.ZodObject<{
|
|
|
413
828
|
normal: "normal";
|
|
414
829
|
spicy: "spicy";
|
|
415
830
|
}>>;
|
|
416
|
-
duration: z.ZodDefault<z.
|
|
831
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
417
832
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
418
833
|
"720p": "720p";
|
|
419
834
|
"480p": "480p";
|
|
@@ -422,8 +837,8 @@ export declare const GrokImageToVideoRequestSchema: z.ZodObject<{
|
|
|
422
837
|
"16:9": "16:9";
|
|
423
838
|
"9:16": "9:16";
|
|
424
839
|
"1:1": "1:1";
|
|
425
|
-
"3:2": "3:2";
|
|
426
840
|
"2:3": "2:3";
|
|
841
|
+
"3:2": "3:2";
|
|
427
842
|
}>>;
|
|
428
843
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
429
844
|
}, z.core.$strip>;
|
|
@@ -438,11 +853,11 @@ export declare const GrokVideo15PreviewRequestSchema: z.ZodObject<{
|
|
|
438
853
|
"16:9": "16:9";
|
|
439
854
|
"9:16": "9:16";
|
|
440
855
|
"1:1": "1:1";
|
|
856
|
+
"2:3": "2:3";
|
|
857
|
+
"3:2": "3:2";
|
|
441
858
|
auto: "auto";
|
|
442
859
|
"4:3": "4:3";
|
|
443
860
|
"3:4": "3:4";
|
|
444
|
-
"3:2": "3:2";
|
|
445
|
-
"2:3": "2:3";
|
|
446
861
|
}>>;
|
|
447
862
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
448
863
|
"720p": "720p";
|
|
@@ -482,11 +897,11 @@ export declare const NanoBananaProRequestSchema: z.ZodObject<{
|
|
|
482
897
|
"16:9": "16:9";
|
|
483
898
|
"9:16": "9:16";
|
|
484
899
|
"1:1": "1:1";
|
|
900
|
+
"2:3": "2:3";
|
|
901
|
+
"3:2": "3:2";
|
|
485
902
|
auto: "auto";
|
|
486
903
|
"4:3": "4:3";
|
|
487
904
|
"3:4": "3:4";
|
|
488
|
-
"3:2": "3:2";
|
|
489
|
-
"2:3": "2:3";
|
|
490
905
|
"21:9": "21:9";
|
|
491
906
|
"4:5": "4:5";
|
|
492
907
|
"5:4": "5:4";
|
|
@@ -616,6 +1031,56 @@ export declare const Seedance2RequestSchema: z.ZodObject<{
|
|
|
616
1031
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
617
1032
|
}, z.core.$strip>;
|
|
618
1033
|
}, z.core.$strip>;
|
|
1034
|
+
export declare const Seedance2MiniInputSchema: z.ZodObject<{
|
|
1035
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
reference_image_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1037
|
+
reference_video_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1038
|
+
reference_audio_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1039
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
1040
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1041
|
+
"720p": "720p";
|
|
1042
|
+
"480p": "480p";
|
|
1043
|
+
}>>;
|
|
1044
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1045
|
+
"16:9": "16:9";
|
|
1046
|
+
"9:16": "9:16";
|
|
1047
|
+
"1:1": "1:1";
|
|
1048
|
+
"4:3": "4:3";
|
|
1049
|
+
"3:4": "3:4";
|
|
1050
|
+
"21:9": "21:9";
|
|
1051
|
+
adaptive: "adaptive";
|
|
1052
|
+
}>>;
|
|
1053
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1054
|
+
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
1055
|
+
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1056
|
+
}, z.core.$strip>;
|
|
1057
|
+
export declare const Seedance2MiniRequestSchema: z.ZodObject<{
|
|
1058
|
+
model: z.ZodLiteral<"bytedance/seedance-2-mini">;
|
|
1059
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
input: z.ZodObject<{
|
|
1061
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
reference_image_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1063
|
+
reference_video_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1064
|
+
reference_audio_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1065
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
1066
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1067
|
+
"720p": "720p";
|
|
1068
|
+
"480p": "480p";
|
|
1069
|
+
}>>;
|
|
1070
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1071
|
+
"16:9": "16:9";
|
|
1072
|
+
"9:16": "9:16";
|
|
1073
|
+
"1:1": "1:1";
|
|
1074
|
+
"4:3": "4:3";
|
|
1075
|
+
"3:4": "3:4";
|
|
1076
|
+
"21:9": "21:9";
|
|
1077
|
+
adaptive: "adaptive";
|
|
1078
|
+
}>>;
|
|
1079
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1080
|
+
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
1081
|
+
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1082
|
+
}, z.core.$strip>;
|
|
1083
|
+
}, z.core.$strip>;
|
|
619
1084
|
export declare const NanoBanana2RequestSchema: z.ZodObject<{
|
|
620
1085
|
model: z.ZodLiteral<"nano-banana-2">;
|
|
621
1086
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -626,11 +1091,11 @@ export declare const NanoBanana2RequestSchema: z.ZodObject<{
|
|
|
626
1091
|
"16:9": "16:9";
|
|
627
1092
|
"9:16": "9:16";
|
|
628
1093
|
"1:1": "1:1";
|
|
1094
|
+
"2:3": "2:3";
|
|
1095
|
+
"3:2": "3:2";
|
|
629
1096
|
auto: "auto";
|
|
630
1097
|
"4:3": "4:3";
|
|
631
1098
|
"3:4": "3:4";
|
|
632
|
-
"3:2": "3:2";
|
|
633
|
-
"2:3": "2:3";
|
|
634
1099
|
"21:9": "21:9";
|
|
635
1100
|
"8:1": "8:1";
|
|
636
1101
|
"1:8": "1:8";
|
|
@@ -659,12 +1124,12 @@ export declare const GptImageToImageRequestSchema: z.ZodObject<{
|
|
|
659
1124
|
prompt: z.ZodString;
|
|
660
1125
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
661
1126
|
"1:1": "1:1";
|
|
662
|
-
"3:2": "3:2";
|
|
663
1127
|
"2:3": "2:3";
|
|
1128
|
+
"3:2": "3:2";
|
|
664
1129
|
}>>;
|
|
665
1130
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
666
|
-
medium: "medium";
|
|
667
1131
|
high: "high";
|
|
1132
|
+
medium: "medium";
|
|
668
1133
|
}>>;
|
|
669
1134
|
}, z.core.$strip>;
|
|
670
1135
|
}, z.core.$strip>;
|
|
@@ -672,11 +1137,11 @@ export declare const GptImage2ImageToImageAspectRatioSchema: z.ZodEnum<{
|
|
|
672
1137
|
"16:9": "16:9";
|
|
673
1138
|
"9:16": "9:16";
|
|
674
1139
|
"1:1": "1:1";
|
|
1140
|
+
"2:3": "2:3";
|
|
1141
|
+
"3:2": "3:2";
|
|
675
1142
|
auto: "auto";
|
|
676
1143
|
"4:3": "4:3";
|
|
677
1144
|
"3:4": "3:4";
|
|
678
|
-
"3:2": "3:2";
|
|
679
|
-
"2:3": "2:3";
|
|
680
1145
|
"21:9": "21:9";
|
|
681
1146
|
"4:5": "4:5";
|
|
682
1147
|
"5:4": "5:4";
|
|
@@ -696,11 +1161,11 @@ export declare const GptImage2ImageToImageRequestSchema: z.ZodObject<{
|
|
|
696
1161
|
"16:9": "16:9";
|
|
697
1162
|
"9:16": "9:16";
|
|
698
1163
|
"1:1": "1:1";
|
|
1164
|
+
"2:3": "2:3";
|
|
1165
|
+
"3:2": "3:2";
|
|
699
1166
|
auto: "auto";
|
|
700
1167
|
"4:3": "4:3";
|
|
701
1168
|
"3:4": "3:4";
|
|
702
|
-
"3:2": "3:2";
|
|
703
|
-
"2:3": "2:3";
|
|
704
1169
|
"21:9": "21:9";
|
|
705
1170
|
"4:5": "4:5";
|
|
706
1171
|
"5:4": "5:4";
|
|
@@ -717,19 +1182,19 @@ export declare const GptImage2TextToImageAspectRatioSchema: z.ZodEnum<{
|
|
|
717
1182
|
"16:9": "16:9";
|
|
718
1183
|
"9:16": "9:16";
|
|
719
1184
|
"1:1": "1:1";
|
|
1185
|
+
"2:3": "2:3";
|
|
1186
|
+
"3:2": "3:2";
|
|
720
1187
|
auto: "auto";
|
|
721
1188
|
"4:3": "4:3";
|
|
722
1189
|
"3:4": "3:4";
|
|
723
|
-
"3:2": "3:2";
|
|
724
|
-
"2:3": "2:3";
|
|
725
1190
|
"21:9": "21:9";
|
|
726
1191
|
"4:5": "4:5";
|
|
727
1192
|
"5:4": "5:4";
|
|
1193
|
+
"9:21": "9:21";
|
|
728
1194
|
"2:1": "2:1";
|
|
729
1195
|
"1:2": "1:2";
|
|
730
1196
|
"3:1": "3:1";
|
|
731
1197
|
"1:3": "1:3";
|
|
732
|
-
"9:21": "9:21";
|
|
733
1198
|
}>;
|
|
734
1199
|
export declare const GptImage2TextToImageResolutionSchema: z.ZodEnum<{
|
|
735
1200
|
"4K": "4K";
|
|
@@ -745,19 +1210,19 @@ export declare const GptImage2TextToImageRequestSchema: z.ZodObject<{
|
|
|
745
1210
|
"16:9": "16:9";
|
|
746
1211
|
"9:16": "9:16";
|
|
747
1212
|
"1:1": "1:1";
|
|
1213
|
+
"2:3": "2:3";
|
|
1214
|
+
"3:2": "3:2";
|
|
748
1215
|
auto: "auto";
|
|
749
1216
|
"4:3": "4:3";
|
|
750
1217
|
"3:4": "3:4";
|
|
751
|
-
"3:2": "3:2";
|
|
752
|
-
"2:3": "2:3";
|
|
753
1218
|
"21:9": "21:9";
|
|
754
1219
|
"4:5": "4:5";
|
|
755
1220
|
"5:4": "5:4";
|
|
1221
|
+
"9:21": "9:21";
|
|
756
1222
|
"2:1": "2:1";
|
|
757
1223
|
"1:2": "1:2";
|
|
758
1224
|
"3:1": "3:1";
|
|
759
1225
|
"1:3": "1:3";
|
|
760
|
-
"9:21": "9:21";
|
|
761
1226
|
}>>;
|
|
762
1227
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
763
1228
|
"4K": "4K";
|
|
@@ -777,10 +1242,10 @@ export declare const SeedreamImageToImageRequestSchema: z.ZodObject<{
|
|
|
777
1242
|
"16:9": "16:9";
|
|
778
1243
|
"9:16": "9:16";
|
|
779
1244
|
"1:1": "1:1";
|
|
1245
|
+
"2:3": "2:3";
|
|
1246
|
+
"3:2": "3:2";
|
|
780
1247
|
"4:3": "4:3";
|
|
781
1248
|
"3:4": "3:4";
|
|
782
|
-
"3:2": "3:2";
|
|
783
|
-
"2:3": "2:3";
|
|
784
1249
|
"21:9": "21:9";
|
|
785
1250
|
}>>;
|
|
786
1251
|
quality: z.ZodEnum<{
|
|
@@ -799,10 +1264,10 @@ export declare const SeedreamTextToImageRequestSchema: z.ZodObject<{
|
|
|
799
1264
|
"16:9": "16:9";
|
|
800
1265
|
"9:16": "9:16";
|
|
801
1266
|
"1:1": "1:1";
|
|
1267
|
+
"2:3": "2:3";
|
|
1268
|
+
"3:2": "3:2";
|
|
802
1269
|
"4:3": "4:3";
|
|
803
1270
|
"3:4": "3:4";
|
|
804
|
-
"3:2": "3:2";
|
|
805
|
-
"2:3": "2:3";
|
|
806
1271
|
"21:9": "21:9";
|
|
807
1272
|
}>>;
|
|
808
1273
|
quality: z.ZodEnum<{
|
|
@@ -896,6 +1361,79 @@ export declare const HappyHorseVideoEditRequestSchema: z.ZodObject<{
|
|
|
896
1361
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
897
1362
|
}, z.core.$strip>;
|
|
898
1363
|
}, z.core.$strip>;
|
|
1364
|
+
export declare const HappyHorse11TextToVideoRequestSchema: z.ZodObject<{
|
|
1365
|
+
model: z.ZodLiteral<"happyhorse-1-1/text-to-video">;
|
|
1366
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
1367
|
+
input: z.ZodObject<{
|
|
1368
|
+
prompt: z.ZodString;
|
|
1369
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1370
|
+
"720p": "720p";
|
|
1371
|
+
"1080p": "1080p";
|
|
1372
|
+
}>>;
|
|
1373
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1374
|
+
"16:9": "16:9";
|
|
1375
|
+
"9:16": "9:16";
|
|
1376
|
+
"1:1": "1:1";
|
|
1377
|
+
"4:3": "4:3";
|
|
1378
|
+
"3:4": "3:4";
|
|
1379
|
+
"21:9": "21:9";
|
|
1380
|
+
"4:5": "4:5";
|
|
1381
|
+
"5:4": "5:4";
|
|
1382
|
+
"9:21": "9:21";
|
|
1383
|
+
}>>;
|
|
1384
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1385
|
+
}, z.core.$strip>;
|
|
1386
|
+
}, z.core.$strip>;
|
|
1387
|
+
export declare const HappyHorse11ImageToVideoRequestSchema: z.ZodObject<{
|
|
1388
|
+
model: z.ZodLiteral<"happyhorse-1-1/image-to-video">;
|
|
1389
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
1390
|
+
input: z.ZodObject<{
|
|
1391
|
+
prompt: z.ZodDefault<z.ZodString>;
|
|
1392
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1393
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1394
|
+
"720p": "720p";
|
|
1395
|
+
"1080p": "1080p";
|
|
1396
|
+
}>>;
|
|
1397
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1398
|
+
}, z.core.$strip>;
|
|
1399
|
+
}, z.core.$strip>;
|
|
1400
|
+
export declare const HappyHorse11ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
1401
|
+
model: z.ZodLiteral<"happyhorse-1-1/reference-to-video">;
|
|
1402
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
input: z.ZodObject<{
|
|
1404
|
+
prompt: z.ZodString;
|
|
1405
|
+
reference_image: z.ZodArray<z.ZodString>;
|
|
1406
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1407
|
+
"720p": "720p";
|
|
1408
|
+
"1080p": "1080p";
|
|
1409
|
+
}>>;
|
|
1410
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
1411
|
+
"16:9": "16:9";
|
|
1412
|
+
"9:16": "9:16";
|
|
1413
|
+
"1:1": "1:1";
|
|
1414
|
+
"4:3": "4:3";
|
|
1415
|
+
"3:4": "3:4";
|
|
1416
|
+
"21:9": "21:9";
|
|
1417
|
+
"4:5": "4:5";
|
|
1418
|
+
"5:4": "5:4";
|
|
1419
|
+
"9:21": "9:21";
|
|
1420
|
+
}>>;
|
|
1421
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1422
|
+
}, z.core.$strip>;
|
|
1423
|
+
}, z.core.$strip>;
|
|
1424
|
+
export declare const HappyHorse11ResponseCodeSchema: z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<401>, z.ZodLiteral<402>, z.ZodLiteral<404>, z.ZodLiteral<422>, z.ZodLiteral<429>, z.ZodLiteral<433>, z.ZodLiteral<455>, z.ZodLiteral<500>, z.ZodLiteral<501>, z.ZodLiteral<505>]>;
|
|
1425
|
+
export declare const HappyHorse11ErrorResponseCodeSchema: z.ZodUnion<readonly [z.ZodLiteral<401>, z.ZodLiteral<402>, z.ZodLiteral<404>, z.ZodLiteral<422>, z.ZodLiteral<429>, z.ZodLiteral<433>, z.ZodLiteral<455>, z.ZodLiteral<500>, z.ZodLiteral<501>, z.ZodLiteral<505>]>;
|
|
1426
|
+
export declare const HappyHorse11CreateTaskResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1427
|
+
code: z.ZodLiteral<200>;
|
|
1428
|
+
msg: z.ZodString;
|
|
1429
|
+
data: z.ZodObject<{
|
|
1430
|
+
taskId: z.ZodString;
|
|
1431
|
+
}, z.core.$strip>;
|
|
1432
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1433
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<401>, z.ZodLiteral<402>, z.ZodLiteral<404>, z.ZodLiteral<422>, z.ZodLiteral<429>, z.ZodLiteral<433>, z.ZodLiteral<455>, z.ZodLiteral<500>, z.ZodLiteral<501>, z.ZodLiteral<505>]>;
|
|
1434
|
+
msg: z.ZodString;
|
|
1435
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
1436
|
+
}, z.core.$strip>]>;
|
|
899
1437
|
export declare const Omnihuman15RequestSchema: z.ZodObject<{
|
|
900
1438
|
model: z.ZodLiteral<"omnihuman-1-5">;
|
|
901
1439
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -929,6 +1467,37 @@ export declare const VolcengineVideoToVideoLipSyncRequestSchema: z.ZodObject<{
|
|
|
929
1467
|
templ_start_seconds: z.ZodDefault<z.ZodNumber>;
|
|
930
1468
|
}, z.core.$strip>;
|
|
931
1469
|
}, z.core.$strip>;
|
|
1470
|
+
export declare const GeminiOmniVideoRequestSchema: z.ZodObject<{
|
|
1471
|
+
model: z.ZodLiteral<"gemini-omni-video">;
|
|
1472
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
input: z.ZodObject<{
|
|
1474
|
+
prompt: z.ZodString;
|
|
1475
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1476
|
+
audio_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1477
|
+
video_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1478
|
+
url: z.ZodString;
|
|
1479
|
+
start: z.ZodNumber;
|
|
1480
|
+
ends: z.ZodNumber;
|
|
1481
|
+
}, z.core.$strip>>>;
|
|
1482
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1483
|
+
duration: z.ZodEnum<{
|
|
1484
|
+
4: "4";
|
|
1485
|
+
6: "6";
|
|
1486
|
+
8: "8";
|
|
1487
|
+
10: "10";
|
|
1488
|
+
}>;
|
|
1489
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1490
|
+
"16:9": "16:9";
|
|
1491
|
+
"9:16": "9:16";
|
|
1492
|
+
}>>;
|
|
1493
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1494
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1495
|
+
"720p": "720p";
|
|
1496
|
+
"1080p": "1080p";
|
|
1497
|
+
"4k": "4k";
|
|
1498
|
+
}>>;
|
|
1499
|
+
}, z.core.$strip>;
|
|
1500
|
+
}, z.core.$strip>;
|
|
932
1501
|
export declare const ElevenLabsAudioIsolationRequestSchema: z.ZodObject<{
|
|
933
1502
|
model: z.ZodLiteral<"elevenlabs/audio-isolation">;
|
|
934
1503
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1082,7 +1651,7 @@ export declare const Wan27VideoEditRequestSchema: z.ZodObject<{
|
|
|
1082
1651
|
"4:3": "4:3";
|
|
1083
1652
|
"3:4": "3:4";
|
|
1084
1653
|
}>>;
|
|
1085
|
-
duration: z.ZodOptional<z.
|
|
1654
|
+
duration: z.ZodOptional<z.ZodType<0 | 4 | 2 | 10 | 5 | 3 | 6 | 8 | 7 | 9, unknown, z.core.$ZodTypeInternals<0 | 4 | 2 | 10 | 5 | 3 | 6 | 8 | 7 | 9, unknown>>>;
|
|
1086
1655
|
audio_setting: z.ZodOptional<z.ZodEnum<{
|
|
1087
1656
|
auto: "auto";
|
|
1088
1657
|
origin: "origin";
|
|
@@ -1203,6 +1772,56 @@ export declare const Wan27ImageResultSchema: z.ZodObject<{
|
|
|
1203
1772
|
resultUrls: z.ZodArray<z.ZodString>;
|
|
1204
1773
|
resultObject: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1205
1774
|
}, z.core.$strip>;
|
|
1775
|
+
export declare const Seedance2MiniTaskResultJsonSchema: z.ZodObject<{
|
|
1776
|
+
resultUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1777
|
+
resultObject: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1778
|
+
}, z.core.$strip>;
|
|
1779
|
+
export declare const Seedance2MiniRecordInfoDataSchema: z.ZodObject<{
|
|
1780
|
+
taskId: z.ZodString;
|
|
1781
|
+
model: z.ZodLiteral<"bytedance/seedance-2-mini">;
|
|
1782
|
+
state: z.ZodEnum<{
|
|
1783
|
+
success: "success";
|
|
1784
|
+
waiting: "waiting";
|
|
1785
|
+
fail: "fail";
|
|
1786
|
+
}>;
|
|
1787
|
+
param: z.ZodString;
|
|
1788
|
+
resultJson: z.ZodOptional<z.ZodString>;
|
|
1789
|
+
failCode: z.ZodNullable<z.ZodString>;
|
|
1790
|
+
failMsg: z.ZodNullable<z.ZodString>;
|
|
1791
|
+
costTime: z.ZodNullable<z.ZodNumber>;
|
|
1792
|
+
completeTime: z.ZodNullable<z.ZodNumber>;
|
|
1793
|
+
createTime: z.ZodNumber;
|
|
1794
|
+
}, z.core.$strip>;
|
|
1795
|
+
export declare const Seedance2MiniRecordInfoResponseSchema: z.ZodObject<{
|
|
1796
|
+
code: z.ZodNumber;
|
|
1797
|
+
msg: z.ZodString;
|
|
1798
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1799
|
+
taskId: z.ZodString;
|
|
1800
|
+
model: z.ZodLiteral<"bytedance/seedance-2-mini">;
|
|
1801
|
+
state: z.ZodEnum<{
|
|
1802
|
+
success: "success";
|
|
1803
|
+
waiting: "waiting";
|
|
1804
|
+
fail: "fail";
|
|
1805
|
+
}>;
|
|
1806
|
+
param: z.ZodString;
|
|
1807
|
+
resultJson: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
failCode: z.ZodNullable<z.ZodString>;
|
|
1809
|
+
failMsg: z.ZodNullable<z.ZodString>;
|
|
1810
|
+
costTime: z.ZodNullable<z.ZodNumber>;
|
|
1811
|
+
completeTime: z.ZodNullable<z.ZodNumber>;
|
|
1812
|
+
createTime: z.ZodNumber;
|
|
1813
|
+
}, z.core.$strip>>;
|
|
1814
|
+
}, z.core.$strip>;
|
|
1815
|
+
export declare const RecordInfoRequestSchema: z.ZodObject<{
|
|
1816
|
+
taskId: z.ZodString;
|
|
1817
|
+
}, z.core.$strip>;
|
|
1818
|
+
export declare const TaskResponseSchema: z.ZodObject<{
|
|
1819
|
+
code: z.ZodNumber;
|
|
1820
|
+
msg: z.ZodString;
|
|
1821
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1822
|
+
taskId: z.ZodString;
|
|
1823
|
+
}, z.core.$strip>>;
|
|
1824
|
+
}, z.core.$strip>;
|
|
1206
1825
|
export declare const UploadMediaRequestSchema: z.ZodObject<{
|
|
1207
1826
|
file: z.ZodCustom<Blob, Blob>;
|
|
1208
1827
|
filename: z.ZodString;
|
|
@@ -1225,10 +1844,41 @@ export declare const DownloadUrlRequestSchema: z.ZodObject<{
|
|
|
1225
1844
|
url: z.ZodString;
|
|
1226
1845
|
}, z.core.$strip>;
|
|
1227
1846
|
export declare const GeminiOmniAudioCreateRequestSchema: z.ZodObject<{
|
|
1228
|
-
audio_id: z.
|
|
1847
|
+
audio_id: z.ZodEnum<{
|
|
1848
|
+
achernar: "achernar";
|
|
1849
|
+
achird: "achird";
|
|
1850
|
+
algenib: "algenib";
|
|
1851
|
+
algieba: "algieba";
|
|
1852
|
+
alnilam: "alnilam";
|
|
1853
|
+
aoede: "aoede";
|
|
1854
|
+
autonoe: "autonoe";
|
|
1855
|
+
callirrhoe: "callirrhoe";
|
|
1856
|
+
charon: "charon";
|
|
1857
|
+
despina: "despina";
|
|
1858
|
+
enceladus: "enceladus";
|
|
1859
|
+
erinome: "erinome";
|
|
1860
|
+
fenrir: "fenrir";
|
|
1861
|
+
gacrux: "gacrux";
|
|
1862
|
+
iapetus: "iapetus";
|
|
1863
|
+
kore: "kore";
|
|
1864
|
+
laomedeia: "laomedeia";
|
|
1865
|
+
leda: "leda";
|
|
1866
|
+
orus: "orus";
|
|
1867
|
+
puck: "puck";
|
|
1868
|
+
pulcherrima: "pulcherrima";
|
|
1869
|
+
rasalgethi: "rasalgethi";
|
|
1870
|
+
sadachbia: "sadachbia";
|
|
1871
|
+
sadaltager: "sadaltager";
|
|
1872
|
+
schedar: "schedar";
|
|
1873
|
+
sulafat: "sulafat";
|
|
1874
|
+
umbriel: "umbriel";
|
|
1875
|
+
vindemiatrix: "vindemiatrix";
|
|
1876
|
+
zephyr: "zephyr";
|
|
1877
|
+
zubenelgenubi: "zubenelgenubi";
|
|
1878
|
+
}>;
|
|
1229
1879
|
name: z.ZodString;
|
|
1230
|
-
voice_description: z.ZodString
|
|
1231
|
-
example_dialogue: z.ZodString
|
|
1880
|
+
voice_description: z.ZodOptional<z.ZodString>;
|
|
1881
|
+
example_dialogue: z.ZodOptional<z.ZodString>;
|
|
1232
1882
|
}, z.core.$strip>;
|
|
1233
1883
|
export declare const KieOptionsSchema: z.ZodObject<{
|
|
1234
1884
|
apiKey: z.ZodString;
|
|
@@ -1269,8 +1919,12 @@ export declare const VeoExtendRequestSchema: z.ZodObject<{
|
|
|
1269
1919
|
seeds: z.ZodOptional<z.ZodNumber>;
|
|
1270
1920
|
watermark: z.ZodOptional<z.ZodString>;
|
|
1271
1921
|
}, z.core.$strip>;
|
|
1272
|
-
export type VeoGenerateRequest = z.
|
|
1273
|
-
export type
|
|
1922
|
+
export type VeoGenerateRequest = z.input<typeof VeoGenerateRequestSchema>;
|
|
1923
|
+
export type VeoGenerateRequestInput = VeoGenerateRequest;
|
|
1924
|
+
export type VeoGenerateParsedRequest = z.output<typeof VeoGenerateRequestSchema>;
|
|
1925
|
+
export type VeoExtendRequest = z.input<typeof VeoExtendRequestSchema>;
|
|
1926
|
+
export type VeoExtendRequestInput = VeoExtendRequest;
|
|
1927
|
+
export type VeoExtendParsedRequest = z.output<typeof VeoExtendRequestSchema>;
|
|
1274
1928
|
export type VeoModel = "veo3" | "veo3_fast";
|
|
1275
1929
|
export type VeoGenerationType = "TEXT_2_VIDEO" | "REFERENCE_2_VIDEO" | "FIRST_AND_LAST_FRAMES_2_VIDEO";
|
|
1276
1930
|
export declare const SunoGenerateRequestSchema: z.ZodObject<{
|
|
@@ -1299,12 +1953,14 @@ export declare const SunoGenerateRequestSchema: z.ZodObject<{
|
|
|
1299
1953
|
audioWeight: z.ZodOptional<z.ZodNumber>;
|
|
1300
1954
|
personaId: z.ZodOptional<z.ZodString>;
|
|
1301
1955
|
}, z.core.$strip>;
|
|
1302
|
-
export type SunoGenerateRequest = z.
|
|
1956
|
+
export type SunoGenerateRequest = z.input<typeof SunoGenerateRequestSchema>;
|
|
1957
|
+
export type SunoGenerateRequestInput = SunoGenerateRequest;
|
|
1958
|
+
export type SunoGenerateParsedRequest = z.output<typeof SunoGenerateRequestSchema>;
|
|
1303
1959
|
export type SunoModel = "V3_5" | "V4" | "V4_5" | "V4_5PLUS" | "V4_5ALL" | "V5" | "V5_5";
|
|
1304
1960
|
export declare const KieChatContentPartSchema: z.ZodObject<{
|
|
1305
1961
|
type: z.ZodEnum<{
|
|
1306
|
-
image_url: "image_url";
|
|
1307
1962
|
text: "text";
|
|
1963
|
+
image_url: "image_url";
|
|
1308
1964
|
}>;
|
|
1309
1965
|
text: z.ZodOptional<z.ZodString>;
|
|
1310
1966
|
image_url: z.ZodOptional<z.ZodObject<{
|
|
@@ -1314,13 +1970,13 @@ export declare const KieChatContentPartSchema: z.ZodObject<{
|
|
|
1314
1970
|
export declare const KieChatMessageSchema: z.ZodObject<{
|
|
1315
1971
|
role: z.ZodEnum<{
|
|
1316
1972
|
user: "user";
|
|
1317
|
-
assistant: "assistant";
|
|
1318
1973
|
system: "system";
|
|
1974
|
+
assistant: "assistant";
|
|
1319
1975
|
}>;
|
|
1320
1976
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1321
1977
|
type: z.ZodEnum<{
|
|
1322
|
-
image_url: "image_url";
|
|
1323
1978
|
text: "text";
|
|
1979
|
+
image_url: "image_url";
|
|
1324
1980
|
}>;
|
|
1325
1981
|
text: z.ZodOptional<z.ZodString>;
|
|
1326
1982
|
image_url: z.ZodOptional<z.ZodObject<{
|
|
@@ -1333,13 +1989,13 @@ export declare const KieChatRequestSchema: z.ZodObject<{
|
|
|
1333
1989
|
messages: z.ZodArray<z.ZodObject<{
|
|
1334
1990
|
role: z.ZodEnum<{
|
|
1335
1991
|
user: "user";
|
|
1336
|
-
assistant: "assistant";
|
|
1337
1992
|
system: "system";
|
|
1993
|
+
assistant: "assistant";
|
|
1338
1994
|
}>;
|
|
1339
1995
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1340
1996
|
type: z.ZodEnum<{
|
|
1341
|
-
image_url: "image_url";
|
|
1342
1997
|
text: "text";
|
|
1998
|
+
image_url: "image_url";
|
|
1343
1999
|
}>;
|
|
1344
2000
|
text: z.ZodOptional<z.ZodString>;
|
|
1345
2001
|
image_url: z.ZodOptional<z.ZodObject<{
|
|
@@ -1361,7 +2017,155 @@ export declare const KieChatRequestSchema: z.ZodObject<{
|
|
|
1361
2017
|
}, z.core.$strip>;
|
|
1362
2018
|
export type KieChatContentPart = z.infer<typeof KieChatContentPartSchema>;
|
|
1363
2019
|
export type KieChatMessage = z.infer<typeof KieChatMessageSchema>;
|
|
1364
|
-
export type KieChatRequest = z.
|
|
2020
|
+
export type KieChatRequest = z.input<typeof KieChatRequestSchema>;
|
|
2021
|
+
export type KieChatRequestInput = KieChatRequest;
|
|
2022
|
+
export type KieChatParsedRequest = z.output<typeof KieChatRequestSchema>;
|
|
2023
|
+
export declare const KieResponsesModelSchema: z.ZodEnum<{
|
|
2024
|
+
"gpt-5-5": "gpt-5-5";
|
|
2025
|
+
}>;
|
|
2026
|
+
export declare const KieResponsesReasoningEffortSchema: z.ZodEnum<{
|
|
2027
|
+
low: "low";
|
|
2028
|
+
high: "high";
|
|
2029
|
+
medium: "medium";
|
|
2030
|
+
xhigh: "xhigh";
|
|
2031
|
+
}>;
|
|
2032
|
+
export declare const KieResponsesMessageRoleSchema: z.ZodEnum<{
|
|
2033
|
+
user: "user";
|
|
2034
|
+
developer: "developer";
|
|
2035
|
+
system: "system";
|
|
2036
|
+
assistant: "assistant";
|
|
2037
|
+
tool: "tool";
|
|
2038
|
+
}>;
|
|
2039
|
+
export declare const KieResponsesInputTextSchema: z.ZodObject<{
|
|
2040
|
+
type: z.ZodLiteral<"input_text">;
|
|
2041
|
+
text: z.ZodString;
|
|
2042
|
+
}, z.core.$strip>;
|
|
2043
|
+
export declare const KieResponsesInputImageSchema: z.ZodObject<{
|
|
2044
|
+
type: z.ZodLiteral<"input_image">;
|
|
2045
|
+
image_url: z.ZodString;
|
|
2046
|
+
}, z.core.$strip>;
|
|
2047
|
+
export declare const KieResponsesInputFileSchema: z.ZodObject<{
|
|
2048
|
+
type: z.ZodLiteral<"input_file">;
|
|
2049
|
+
file_url: z.ZodString;
|
|
2050
|
+
}, z.core.$strip>;
|
|
2051
|
+
export declare const KieResponsesInputContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2052
|
+
type: z.ZodLiteral<"input_text">;
|
|
2053
|
+
text: z.ZodString;
|
|
2054
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2055
|
+
type: z.ZodLiteral<"input_image">;
|
|
2056
|
+
image_url: z.ZodString;
|
|
2057
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2058
|
+
type: z.ZodLiteral<"input_file">;
|
|
2059
|
+
file_url: z.ZodString;
|
|
2060
|
+
}, z.core.$strip>], "type">;
|
|
2061
|
+
export declare const KieResponsesInputMessageSchema: z.ZodObject<{
|
|
2062
|
+
role: z.ZodEnum<{
|
|
2063
|
+
user: "user";
|
|
2064
|
+
developer: "developer";
|
|
2065
|
+
system: "system";
|
|
2066
|
+
assistant: "assistant";
|
|
2067
|
+
tool: "tool";
|
|
2068
|
+
}>;
|
|
2069
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2070
|
+
type: z.ZodLiteral<"input_text">;
|
|
2071
|
+
text: z.ZodString;
|
|
2072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2073
|
+
type: z.ZodLiteral<"input_image">;
|
|
2074
|
+
image_url: z.ZodString;
|
|
2075
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2076
|
+
type: z.ZodLiteral<"input_file">;
|
|
2077
|
+
file_url: z.ZodString;
|
|
2078
|
+
}, z.core.$strip>], "type">>;
|
|
2079
|
+
}, z.core.$strip>;
|
|
2080
|
+
export declare const KieResponsesReasoningSchema: z.ZodObject<{
|
|
2081
|
+
effort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
2082
|
+
low: "low";
|
|
2083
|
+
high: "high";
|
|
2084
|
+
medium: "medium";
|
|
2085
|
+
xhigh: "xhigh";
|
|
2086
|
+
}>>>;
|
|
2087
|
+
}, z.core.$strip>;
|
|
2088
|
+
export declare const KieResponsesWebSearchToolSchema: z.ZodObject<{
|
|
2089
|
+
type: z.ZodLiteral<"web_search">;
|
|
2090
|
+
}, z.core.$strip>;
|
|
2091
|
+
export declare const KieResponsesFunctionToolSchema: z.ZodObject<{
|
|
2092
|
+
type: z.ZodLiteral<"function">;
|
|
2093
|
+
name: z.ZodString;
|
|
2094
|
+
description: z.ZodString;
|
|
2095
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2096
|
+
}, z.core.$strip>;
|
|
2097
|
+
export declare const KieResponsesToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2098
|
+
type: z.ZodLiteral<"web_search">;
|
|
2099
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2100
|
+
type: z.ZodLiteral<"function">;
|
|
2101
|
+
name: z.ZodString;
|
|
2102
|
+
description: z.ZodString;
|
|
2103
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2104
|
+
}, z.core.$strip>], "type">;
|
|
2105
|
+
export declare const KieResponsesToolsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2106
|
+
type: z.ZodLiteral<"web_search">;
|
|
2107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2108
|
+
type: z.ZodLiteral<"function">;
|
|
2109
|
+
name: z.ZodString;
|
|
2110
|
+
description: z.ZodString;
|
|
2111
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2112
|
+
}, z.core.$strip>], "type">>;
|
|
2113
|
+
export declare const KieResponsesRequestSchema: z.ZodObject<{
|
|
2114
|
+
model: z.ZodEnum<{
|
|
2115
|
+
"gpt-5-5": "gpt-5-5";
|
|
2116
|
+
}>;
|
|
2117
|
+
stream: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2118
|
+
input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2119
|
+
role: z.ZodEnum<{
|
|
2120
|
+
user: "user";
|
|
2121
|
+
developer: "developer";
|
|
2122
|
+
system: "system";
|
|
2123
|
+
assistant: "assistant";
|
|
2124
|
+
tool: "tool";
|
|
2125
|
+
}>;
|
|
2126
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2127
|
+
type: z.ZodLiteral<"input_text">;
|
|
2128
|
+
text: z.ZodString;
|
|
2129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2130
|
+
type: z.ZodLiteral<"input_image">;
|
|
2131
|
+
image_url: z.ZodString;
|
|
2132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2133
|
+
type: z.ZodLiteral<"input_file">;
|
|
2134
|
+
file_url: z.ZodString;
|
|
2135
|
+
}, z.core.$strip>], "type">>;
|
|
2136
|
+
}, z.core.$strip>>]>;
|
|
2137
|
+
reasoning: z.ZodOptional<z.ZodObject<{
|
|
2138
|
+
effort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
2139
|
+
low: "low";
|
|
2140
|
+
high: "high";
|
|
2141
|
+
medium: "medium";
|
|
2142
|
+
xhigh: "xhigh";
|
|
2143
|
+
}>>>;
|
|
2144
|
+
}, z.core.$strip>>;
|
|
2145
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2146
|
+
type: z.ZodLiteral<"web_search">;
|
|
2147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2148
|
+
type: z.ZodLiteral<"function">;
|
|
2149
|
+
name: z.ZodString;
|
|
2150
|
+
description: z.ZodString;
|
|
2151
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2152
|
+
}, z.core.$strip>], "type">>>;
|
|
2153
|
+
tool_choice: z.ZodOptional<z.ZodString>;
|
|
2154
|
+
}, z.core.$strip>;
|
|
2155
|
+
export type KieResponsesModel = z.infer<typeof KieResponsesModelSchema>;
|
|
2156
|
+
export type KieResponsesReasoningEffort = z.infer<typeof KieResponsesReasoningEffortSchema>;
|
|
2157
|
+
export type KieResponsesMessageRole = z.infer<typeof KieResponsesMessageRoleSchema>;
|
|
2158
|
+
export type KieResponsesInputText = z.infer<typeof KieResponsesInputTextSchema>;
|
|
2159
|
+
export type KieResponsesInputImage = z.infer<typeof KieResponsesInputImageSchema>;
|
|
2160
|
+
export type KieResponsesInputFile = z.infer<typeof KieResponsesInputFileSchema>;
|
|
2161
|
+
export type KieResponsesInputContent = z.infer<typeof KieResponsesInputContentSchema>;
|
|
2162
|
+
export type KieResponsesInputMessage = z.infer<typeof KieResponsesInputMessageSchema>;
|
|
2163
|
+
export type KieResponsesReasoning = z.infer<typeof KieResponsesReasoningSchema>;
|
|
2164
|
+
export type KieResponsesWebSearchTool = z.infer<typeof KieResponsesWebSearchToolSchema>;
|
|
2165
|
+
export type KieResponsesFunctionTool = z.infer<typeof KieResponsesFunctionToolSchema>;
|
|
2166
|
+
export type KieResponsesTool = z.infer<typeof KieResponsesToolSchema>;
|
|
2167
|
+
export type KieResponsesRequest = z.input<typeof KieResponsesRequestSchema>;
|
|
2168
|
+
export type KieResponsesParsedRequest = z.output<typeof KieResponsesRequestSchema>;
|
|
1365
2169
|
export declare const KieClaudeToolInputSchemaSchema: z.ZodObject<{
|
|
1366
2170
|
type: z.ZodString;
|
|
1367
2171
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1421,7 +2225,9 @@ export type KieClaudeToolInputSchema = z.infer<typeof KieClaudeToolInputSchemaSc
|
|
|
1421
2225
|
export type KieClaudeTool = z.infer<typeof KieClaudeToolSchema>;
|
|
1422
2226
|
export type KieClaudeContentPart = z.infer<typeof KieClaudeContentPartSchema>;
|
|
1423
2227
|
export type KieClaudeMessage = z.infer<typeof KieClaudeMessageSchema>;
|
|
1424
|
-
export type KieClaudeRequest = z.
|
|
2228
|
+
export type KieClaudeRequest = z.input<typeof KieClaudeRequestSchema>;
|
|
2229
|
+
export type KieClaudeRequestInput = KieClaudeRequest;
|
|
2230
|
+
export type KieClaudeParsedRequest = z.output<typeof KieClaudeRequestSchema>;
|
|
1425
2231
|
export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1426
2232
|
model: z.ZodLiteral<"kling-3.0/video">;
|
|
1427
2233
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1523,8 +2329,8 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1523
2329
|
"16:9": "16:9";
|
|
1524
2330
|
"9:16": "9:16";
|
|
1525
2331
|
"1:1": "1:1";
|
|
1526
|
-
"3:2": "3:2";
|
|
1527
2332
|
"2:3": "2:3";
|
|
2333
|
+
"3:2": "3:2";
|
|
1528
2334
|
}>>;
|
|
1529
2335
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1530
2336
|
enable_pro: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1546,8 +2352,8 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1546
2352
|
"16:9": "16:9";
|
|
1547
2353
|
"9:16": "9:16";
|
|
1548
2354
|
"1:1": "1:1";
|
|
1549
|
-
"3:2": "3:2";
|
|
1550
2355
|
"2:3": "2:3";
|
|
2356
|
+
"3:2": "3:2";
|
|
1551
2357
|
}>>;
|
|
1552
2358
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1553
2359
|
fun: "fun";
|
|
@@ -1574,7 +2380,7 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1574
2380
|
normal: "normal";
|
|
1575
2381
|
spicy: "spicy";
|
|
1576
2382
|
}>>;
|
|
1577
|
-
duration: z.ZodDefault<z.
|
|
2383
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
1578
2384
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1579
2385
|
"720p": "720p";
|
|
1580
2386
|
"480p": "480p";
|
|
@@ -1583,8 +2389,8 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1583
2389
|
"16:9": "16:9";
|
|
1584
2390
|
"9:16": "9:16";
|
|
1585
2391
|
"1:1": "1:1";
|
|
1586
|
-
"3:2": "3:2";
|
|
1587
2392
|
"2:3": "2:3";
|
|
2393
|
+
"3:2": "3:2";
|
|
1588
2394
|
}>>;
|
|
1589
2395
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1590
2396
|
}, z.core.$strip>;
|
|
@@ -1598,11 +2404,11 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1598
2404
|
"16:9": "16:9";
|
|
1599
2405
|
"9:16": "9:16";
|
|
1600
2406
|
"1:1": "1:1";
|
|
2407
|
+
"2:3": "2:3";
|
|
2408
|
+
"3:2": "3:2";
|
|
1601
2409
|
auto: "auto";
|
|
1602
2410
|
"4:3": "4:3";
|
|
1603
2411
|
"3:4": "3:4";
|
|
1604
|
-
"3:2": "3:2";
|
|
1605
|
-
"2:3": "2:3";
|
|
1606
2412
|
}>>;
|
|
1607
2413
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1608
2414
|
"720p": "720p";
|
|
@@ -1639,11 +2445,11 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1639
2445
|
"16:9": "16:9";
|
|
1640
2446
|
"9:16": "9:16";
|
|
1641
2447
|
"1:1": "1:1";
|
|
2448
|
+
"2:3": "2:3";
|
|
2449
|
+
"3:2": "3:2";
|
|
1642
2450
|
auto: "auto";
|
|
1643
2451
|
"4:3": "4:3";
|
|
1644
2452
|
"3:4": "3:4";
|
|
1645
|
-
"3:2": "3:2";
|
|
1646
|
-
"2:3": "2:3";
|
|
1647
2453
|
"21:9": "21:9";
|
|
1648
2454
|
"4:5": "4:5";
|
|
1649
2455
|
"5:4": "5:4";
|
|
@@ -1668,11 +2474,11 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1668
2474
|
"16:9": "16:9";
|
|
1669
2475
|
"9:16": "9:16";
|
|
1670
2476
|
"1:1": "1:1";
|
|
2477
|
+
"2:3": "2:3";
|
|
2478
|
+
"3:2": "3:2";
|
|
1671
2479
|
auto: "auto";
|
|
1672
2480
|
"4:3": "4:3";
|
|
1673
2481
|
"3:4": "3:4";
|
|
1674
|
-
"3:2": "3:2";
|
|
1675
|
-
"2:3": "2:3";
|
|
1676
2482
|
"21:9": "21:9";
|
|
1677
2483
|
"8:1": "8:1";
|
|
1678
2484
|
"1:8": "1:8";
|
|
@@ -1700,12 +2506,12 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1700
2506
|
prompt: z.ZodString;
|
|
1701
2507
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1702
2508
|
"1:1": "1:1";
|
|
1703
|
-
"3:2": "3:2";
|
|
1704
2509
|
"2:3": "2:3";
|
|
2510
|
+
"3:2": "3:2";
|
|
1705
2511
|
}>>;
|
|
1706
2512
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
1707
|
-
medium: "medium";
|
|
1708
2513
|
high: "high";
|
|
2514
|
+
medium: "medium";
|
|
1709
2515
|
}>>;
|
|
1710
2516
|
}, z.core.$strip>;
|
|
1711
2517
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1718,11 +2524,11 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1718
2524
|
"16:9": "16:9";
|
|
1719
2525
|
"9:16": "9:16";
|
|
1720
2526
|
"1:1": "1:1";
|
|
2527
|
+
"2:3": "2:3";
|
|
2528
|
+
"3:2": "3:2";
|
|
1721
2529
|
auto: "auto";
|
|
1722
2530
|
"4:3": "4:3";
|
|
1723
2531
|
"3:4": "3:4";
|
|
1724
|
-
"3:2": "3:2";
|
|
1725
|
-
"2:3": "2:3";
|
|
1726
2532
|
"21:9": "21:9";
|
|
1727
2533
|
"4:5": "4:5";
|
|
1728
2534
|
"5:4": "5:4";
|
|
@@ -1743,19 +2549,19 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1743
2549
|
"16:9": "16:9";
|
|
1744
2550
|
"9:16": "9:16";
|
|
1745
2551
|
"1:1": "1:1";
|
|
2552
|
+
"2:3": "2:3";
|
|
2553
|
+
"3:2": "3:2";
|
|
1746
2554
|
auto: "auto";
|
|
1747
2555
|
"4:3": "4:3";
|
|
1748
2556
|
"3:4": "3:4";
|
|
1749
|
-
"3:2": "3:2";
|
|
1750
|
-
"2:3": "2:3";
|
|
1751
2557
|
"21:9": "21:9";
|
|
1752
2558
|
"4:5": "4:5";
|
|
1753
2559
|
"5:4": "5:4";
|
|
2560
|
+
"9:21": "9:21";
|
|
1754
2561
|
"2:1": "2:1";
|
|
1755
2562
|
"1:2": "1:2";
|
|
1756
2563
|
"3:1": "3:1";
|
|
1757
2564
|
"1:3": "1:3";
|
|
1758
|
-
"9:21": "9:21";
|
|
1759
2565
|
}>>;
|
|
1760
2566
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
1761
2567
|
"4K": "4K";
|
|
@@ -1774,10 +2580,10 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1774
2580
|
"16:9": "16:9";
|
|
1775
2581
|
"9:16": "9:16";
|
|
1776
2582
|
"1:1": "1:1";
|
|
2583
|
+
"2:3": "2:3";
|
|
2584
|
+
"3:2": "3:2";
|
|
1777
2585
|
"4:3": "4:3";
|
|
1778
2586
|
"3:4": "3:4";
|
|
1779
|
-
"3:2": "3:2";
|
|
1780
|
-
"2:3": "2:3";
|
|
1781
2587
|
"21:9": "21:9";
|
|
1782
2588
|
}>>;
|
|
1783
2589
|
quality: z.ZodEnum<{
|
|
@@ -1795,10 +2601,10 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1795
2601
|
"16:9": "16:9";
|
|
1796
2602
|
"9:16": "9:16";
|
|
1797
2603
|
"1:1": "1:1";
|
|
2604
|
+
"2:3": "2:3";
|
|
2605
|
+
"3:2": "3:2";
|
|
1798
2606
|
"4:3": "4:3";
|
|
1799
2607
|
"3:4": "3:4";
|
|
1800
|
-
"3:2": "3:2";
|
|
1801
|
-
"2:3": "2:3";
|
|
1802
2608
|
"21:9": "21:9";
|
|
1803
2609
|
}>>;
|
|
1804
2610
|
quality: z.ZodEnum<{
|
|
@@ -1845,10 +2651,10 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1845
2651
|
"16:9": "16:9";
|
|
1846
2652
|
"9:16": "9:16";
|
|
1847
2653
|
"1:1": "1:1";
|
|
2654
|
+
"2:3": "2:3";
|
|
2655
|
+
"3:2": "3:2";
|
|
1848
2656
|
"4:3": "4:3";
|
|
1849
2657
|
"3:4": "3:4";
|
|
1850
|
-
"3:2": "3:2";
|
|
1851
|
-
"2:3": "2:3";
|
|
1852
2658
|
"21:9": "21:9";
|
|
1853
2659
|
}>>;
|
|
1854
2660
|
output_format: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1917,6 +2723,32 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1917
2723
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1918
2724
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1919
2725
|
}, z.core.$strip>;
|
|
2726
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2727
|
+
model: z.ZodLiteral<"bytedance/seedance-2-mini">;
|
|
2728
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
2729
|
+
input: z.ZodObject<{
|
|
2730
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2731
|
+
reference_image_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2732
|
+
reference_video_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2733
|
+
reference_audio_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2734
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
2735
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
2736
|
+
"720p": "720p";
|
|
2737
|
+
"480p": "480p";
|
|
2738
|
+
}>>;
|
|
2739
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
2740
|
+
"16:9": "16:9";
|
|
2741
|
+
"9:16": "9:16";
|
|
2742
|
+
"1:1": "1:1";
|
|
2743
|
+
"4:3": "4:3";
|
|
2744
|
+
"3:4": "3:4";
|
|
2745
|
+
"21:9": "21:9";
|
|
2746
|
+
adaptive: "adaptive";
|
|
2747
|
+
}>>;
|
|
2748
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
2749
|
+
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
2750
|
+
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
2751
|
+
}, z.core.$strip>;
|
|
1920
2752
|
}, z.core.$strip>, z.ZodObject<{
|
|
1921
2753
|
model: z.ZodLiteral<"wan/2-7-image-to-video">;
|
|
1922
2754
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2007,7 +2839,7 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
2007
2839
|
"4:3": "4:3";
|
|
2008
2840
|
"3:4": "3:4";
|
|
2009
2841
|
}>>;
|
|
2010
|
-
duration: z.ZodOptional<z.
|
|
2842
|
+
duration: z.ZodOptional<z.ZodType<0 | 4 | 2 | 10 | 5 | 3 | 6 | 8 | 7 | 9, unknown, z.core.$ZodTypeInternals<0 | 4 | 2 | 10 | 5 | 3 | 6 | 8 | 7 | 9, unknown>>>;
|
|
2011
2843
|
audio_setting: z.ZodOptional<z.ZodEnum<{
|
|
2012
2844
|
auto: "auto";
|
|
2013
2845
|
origin: "origin";
|
|
@@ -2152,6 +2984,63 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
2152
2984
|
}>>;
|
|
2153
2985
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2154
2986
|
}, z.core.$strip>;
|
|
2987
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2988
|
+
model: z.ZodLiteral<"happyhorse-1-1/text-to-video">;
|
|
2989
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
2990
|
+
input: z.ZodObject<{
|
|
2991
|
+
prompt: z.ZodString;
|
|
2992
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
2993
|
+
"720p": "720p";
|
|
2994
|
+
"1080p": "1080p";
|
|
2995
|
+
}>>;
|
|
2996
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
2997
|
+
"16:9": "16:9";
|
|
2998
|
+
"9:16": "9:16";
|
|
2999
|
+
"1:1": "1:1";
|
|
3000
|
+
"4:3": "4:3";
|
|
3001
|
+
"3:4": "3:4";
|
|
3002
|
+
"21:9": "21:9";
|
|
3003
|
+
"4:5": "4:5";
|
|
3004
|
+
"5:4": "5:4";
|
|
3005
|
+
"9:21": "9:21";
|
|
3006
|
+
}>>;
|
|
3007
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
3008
|
+
}, z.core.$strip>;
|
|
3009
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3010
|
+
model: z.ZodLiteral<"happyhorse-1-1/image-to-video">;
|
|
3011
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
3012
|
+
input: z.ZodObject<{
|
|
3013
|
+
prompt: z.ZodDefault<z.ZodString>;
|
|
3014
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
3015
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
3016
|
+
"720p": "720p";
|
|
3017
|
+
"1080p": "1080p";
|
|
3018
|
+
}>>;
|
|
3019
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
3020
|
+
}, z.core.$strip>;
|
|
3021
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3022
|
+
model: z.ZodLiteral<"happyhorse-1-1/reference-to-video">;
|
|
3023
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
3024
|
+
input: z.ZodObject<{
|
|
3025
|
+
prompt: z.ZodString;
|
|
3026
|
+
reference_image: z.ZodArray<z.ZodString>;
|
|
3027
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
3028
|
+
"720p": "720p";
|
|
3029
|
+
"1080p": "1080p";
|
|
3030
|
+
}>>;
|
|
3031
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
3032
|
+
"16:9": "16:9";
|
|
3033
|
+
"9:16": "9:16";
|
|
3034
|
+
"1:1": "1:1";
|
|
3035
|
+
"4:3": "4:3";
|
|
3036
|
+
"3:4": "3:4";
|
|
3037
|
+
"21:9": "21:9";
|
|
3038
|
+
"4:5": "4:5";
|
|
3039
|
+
"5:4": "5:4";
|
|
3040
|
+
"9:21": "9:21";
|
|
3041
|
+
}>>;
|
|
3042
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
3043
|
+
}, z.core.$strip>;
|
|
2155
3044
|
}, z.core.$strip>, z.ZodObject<{
|
|
2156
3045
|
model: z.ZodLiteral<"omnihuman-1-5">;
|
|
2157
3046
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2183,6 +3072,36 @@ export declare const MediaGenerationRequestSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
2183
3072
|
align_audio_reverse: z.ZodDefault<z.ZodBoolean>;
|
|
2184
3073
|
templ_start_seconds: z.ZodDefault<z.ZodNumber>;
|
|
2185
3074
|
}, z.core.$strip>;
|
|
3075
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3076
|
+
model: z.ZodLiteral<"gemini-omni-video">;
|
|
3077
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
3078
|
+
input: z.ZodObject<{
|
|
3079
|
+
prompt: z.ZodString;
|
|
3080
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3081
|
+
audio_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3082
|
+
video_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3083
|
+
url: z.ZodString;
|
|
3084
|
+
start: z.ZodNumber;
|
|
3085
|
+
ends: z.ZodNumber;
|
|
3086
|
+
}, z.core.$strip>>>;
|
|
3087
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3088
|
+
duration: z.ZodEnum<{
|
|
3089
|
+
4: "4";
|
|
3090
|
+
6: "6";
|
|
3091
|
+
8: "8";
|
|
3092
|
+
10: "10";
|
|
3093
|
+
}>;
|
|
3094
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3095
|
+
"16:9": "16:9";
|
|
3096
|
+
"9:16": "9:16";
|
|
3097
|
+
}>>;
|
|
3098
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
3099
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
3100
|
+
"720p": "720p";
|
|
3101
|
+
"1080p": "1080p";
|
|
3102
|
+
"4k": "4k";
|
|
3103
|
+
}>>;
|
|
3104
|
+
}, z.core.$strip>;
|
|
2186
3105
|
}, z.core.$strip>, z.ZodObject<{
|
|
2187
3106
|
model: z.ZodLiteral<"elevenlabs/audio-isolation">;
|
|
2188
3107
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2273,6 +3192,7 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2273
3192
|
"qwen2/image-edit": "qwen2/image-edit";
|
|
2274
3193
|
"bytedance/seedance-2-fast": "bytedance/seedance-2-fast";
|
|
2275
3194
|
"bytedance/seedance-2": "bytedance/seedance-2";
|
|
3195
|
+
"bytedance/seedance-2-mini": "bytedance/seedance-2-mini";
|
|
2276
3196
|
"wan/2-7-image-to-video": "wan/2-7-image-to-video";
|
|
2277
3197
|
"wan/2-7-text-to-video": "wan/2-7-text-to-video";
|
|
2278
3198
|
"wan/2-7-r2v": "wan/2-7-r2v";
|
|
@@ -2283,8 +3203,12 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2283
3203
|
"happyhorse/image-to-video": "happyhorse/image-to-video";
|
|
2284
3204
|
"happyhorse/reference-to-video": "happyhorse/reference-to-video";
|
|
2285
3205
|
"happyhorse/video-edit": "happyhorse/video-edit";
|
|
3206
|
+
"happyhorse-1-1/text-to-video": "happyhorse-1-1/text-to-video";
|
|
3207
|
+
"happyhorse-1-1/image-to-video": "happyhorse-1-1/image-to-video";
|
|
3208
|
+
"happyhorse-1-1/reference-to-video": "happyhorse-1-1/reference-to-video";
|
|
2286
3209
|
"omnihuman-1-5": "omnihuman-1-5";
|
|
2287
3210
|
"volcengine/video-to-video-lip-sync": "volcengine/video-to-video-lip-sync";
|
|
3211
|
+
"gemini-omni-video": "gemini-omni-video";
|
|
2288
3212
|
"elevenlabs/audio-isolation": "elevenlabs/audio-isolation";
|
|
2289
3213
|
"elevenlabs/text-to-dialogue-v3": "elevenlabs/text-to-dialogue-v3";
|
|
2290
3214
|
"elevenlabs/text-to-speech-multilingual-v2": "elevenlabs/text-to-speech-multilingual-v2";
|
|
@@ -2395,8 +3319,8 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2395
3319
|
"16:9": "16:9";
|
|
2396
3320
|
"9:16": "9:16";
|
|
2397
3321
|
"1:1": "1:1";
|
|
2398
|
-
"3:2": "3:2";
|
|
2399
3322
|
"2:3": "2:3";
|
|
3323
|
+
"3:2": "3:2";
|
|
2400
3324
|
}>>;
|
|
2401
3325
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
2402
3326
|
enable_pro: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2418,8 +3342,8 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2418
3342
|
"16:9": "16:9";
|
|
2419
3343
|
"9:16": "9:16";
|
|
2420
3344
|
"1:1": "1:1";
|
|
2421
|
-
"3:2": "3:2";
|
|
2422
3345
|
"2:3": "2:3";
|
|
3346
|
+
"3:2": "3:2";
|
|
2423
3347
|
}>>;
|
|
2424
3348
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2425
3349
|
fun: "fun";
|
|
@@ -2446,7 +3370,7 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2446
3370
|
normal: "normal";
|
|
2447
3371
|
spicy: "spicy";
|
|
2448
3372
|
}>>;
|
|
2449
|
-
duration: z.ZodDefault<z.
|
|
3373
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
2450
3374
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
2451
3375
|
"720p": "720p";
|
|
2452
3376
|
"480p": "480p";
|
|
@@ -2455,8 +3379,8 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2455
3379
|
"16:9": "16:9";
|
|
2456
3380
|
"9:16": "9:16";
|
|
2457
3381
|
"1:1": "1:1";
|
|
2458
|
-
"3:2": "3:2";
|
|
2459
3382
|
"2:3": "2:3";
|
|
3383
|
+
"3:2": "3:2";
|
|
2460
3384
|
}>>;
|
|
2461
3385
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
2462
3386
|
}, z.core.$strip>;
|
|
@@ -2470,11 +3394,11 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2470
3394
|
"16:9": "16:9";
|
|
2471
3395
|
"9:16": "9:16";
|
|
2472
3396
|
"1:1": "1:1";
|
|
3397
|
+
"2:3": "2:3";
|
|
3398
|
+
"3:2": "3:2";
|
|
2473
3399
|
auto: "auto";
|
|
2474
3400
|
"4:3": "4:3";
|
|
2475
3401
|
"3:4": "3:4";
|
|
2476
|
-
"3:2": "3:2";
|
|
2477
|
-
"2:3": "2:3";
|
|
2478
3402
|
}>>;
|
|
2479
3403
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
2480
3404
|
"720p": "720p";
|
|
@@ -2511,11 +3435,11 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2511
3435
|
"16:9": "16:9";
|
|
2512
3436
|
"9:16": "9:16";
|
|
2513
3437
|
"1:1": "1:1";
|
|
3438
|
+
"2:3": "2:3";
|
|
3439
|
+
"3:2": "3:2";
|
|
2514
3440
|
auto: "auto";
|
|
2515
3441
|
"4:3": "4:3";
|
|
2516
3442
|
"3:4": "3:4";
|
|
2517
|
-
"3:2": "3:2";
|
|
2518
|
-
"2:3": "2:3";
|
|
2519
3443
|
"21:9": "21:9";
|
|
2520
3444
|
"4:5": "4:5";
|
|
2521
3445
|
"5:4": "5:4";
|
|
@@ -2540,11 +3464,11 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2540
3464
|
"16:9": "16:9";
|
|
2541
3465
|
"9:16": "9:16";
|
|
2542
3466
|
"1:1": "1:1";
|
|
3467
|
+
"2:3": "2:3";
|
|
3468
|
+
"3:2": "3:2";
|
|
2543
3469
|
auto: "auto";
|
|
2544
3470
|
"4:3": "4:3";
|
|
2545
3471
|
"3:4": "3:4";
|
|
2546
|
-
"3:2": "3:2";
|
|
2547
|
-
"2:3": "2:3";
|
|
2548
3472
|
"21:9": "21:9";
|
|
2549
3473
|
"8:1": "8:1";
|
|
2550
3474
|
"1:8": "1:8";
|
|
@@ -2572,12 +3496,12 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2572
3496
|
prompt: z.ZodString;
|
|
2573
3497
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2574
3498
|
"1:1": "1:1";
|
|
2575
|
-
"3:2": "3:2";
|
|
2576
3499
|
"2:3": "2:3";
|
|
3500
|
+
"3:2": "3:2";
|
|
2577
3501
|
}>>;
|
|
2578
3502
|
quality: z.ZodOptional<z.ZodEnum<{
|
|
2579
|
-
medium: "medium";
|
|
2580
3503
|
high: "high";
|
|
3504
|
+
medium: "medium";
|
|
2581
3505
|
}>>;
|
|
2582
3506
|
}, z.core.$strip>;
|
|
2583
3507
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2590,11 +3514,11 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2590
3514
|
"16:9": "16:9";
|
|
2591
3515
|
"9:16": "9:16";
|
|
2592
3516
|
"1:1": "1:1";
|
|
3517
|
+
"2:3": "2:3";
|
|
3518
|
+
"3:2": "3:2";
|
|
2593
3519
|
auto: "auto";
|
|
2594
3520
|
"4:3": "4:3";
|
|
2595
3521
|
"3:4": "3:4";
|
|
2596
|
-
"3:2": "3:2";
|
|
2597
|
-
"2:3": "2:3";
|
|
2598
3522
|
"21:9": "21:9";
|
|
2599
3523
|
"4:5": "4:5";
|
|
2600
3524
|
"5:4": "5:4";
|
|
@@ -2615,19 +3539,19 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2615
3539
|
"16:9": "16:9";
|
|
2616
3540
|
"9:16": "9:16";
|
|
2617
3541
|
"1:1": "1:1";
|
|
3542
|
+
"2:3": "2:3";
|
|
3543
|
+
"3:2": "3:2";
|
|
2618
3544
|
auto: "auto";
|
|
2619
3545
|
"4:3": "4:3";
|
|
2620
3546
|
"3:4": "3:4";
|
|
2621
|
-
"3:2": "3:2";
|
|
2622
|
-
"2:3": "2:3";
|
|
2623
3547
|
"21:9": "21:9";
|
|
2624
3548
|
"4:5": "4:5";
|
|
2625
3549
|
"5:4": "5:4";
|
|
3550
|
+
"9:21": "9:21";
|
|
2626
3551
|
"2:1": "2:1";
|
|
2627
3552
|
"1:2": "1:2";
|
|
2628
3553
|
"3:1": "3:1";
|
|
2629
3554
|
"1:3": "1:3";
|
|
2630
|
-
"9:21": "9:21";
|
|
2631
3555
|
}>>;
|
|
2632
3556
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
2633
3557
|
"4K": "4K";
|
|
@@ -2646,10 +3570,10 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2646
3570
|
"16:9": "16:9";
|
|
2647
3571
|
"9:16": "9:16";
|
|
2648
3572
|
"1:1": "1:1";
|
|
3573
|
+
"2:3": "2:3";
|
|
3574
|
+
"3:2": "3:2";
|
|
2649
3575
|
"4:3": "4:3";
|
|
2650
3576
|
"3:4": "3:4";
|
|
2651
|
-
"3:2": "3:2";
|
|
2652
|
-
"2:3": "2:3";
|
|
2653
3577
|
"21:9": "21:9";
|
|
2654
3578
|
}>>;
|
|
2655
3579
|
quality: z.ZodEnum<{
|
|
@@ -2667,10 +3591,10 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2667
3591
|
"16:9": "16:9";
|
|
2668
3592
|
"9:16": "9:16";
|
|
2669
3593
|
"1:1": "1:1";
|
|
3594
|
+
"2:3": "2:3";
|
|
3595
|
+
"3:2": "3:2";
|
|
2670
3596
|
"4:3": "4:3";
|
|
2671
3597
|
"3:4": "3:4";
|
|
2672
|
-
"3:2": "3:2";
|
|
2673
|
-
"2:3": "2:3";
|
|
2674
3598
|
"21:9": "21:9";
|
|
2675
3599
|
}>>;
|
|
2676
3600
|
quality: z.ZodEnum<{
|
|
@@ -2717,10 +3641,10 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2717
3641
|
"16:9": "16:9";
|
|
2718
3642
|
"9:16": "9:16";
|
|
2719
3643
|
"1:1": "1:1";
|
|
3644
|
+
"2:3": "2:3";
|
|
3645
|
+
"3:2": "3:2";
|
|
2720
3646
|
"4:3": "4:3";
|
|
2721
3647
|
"3:4": "3:4";
|
|
2722
|
-
"3:2": "3:2";
|
|
2723
|
-
"2:3": "2:3";
|
|
2724
3648
|
"21:9": "21:9";
|
|
2725
3649
|
}>>;
|
|
2726
3650
|
output_format: z.ZodDefault<z.ZodEnum<{
|
|
@@ -2789,6 +3713,32 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2789
3713
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2790
3714
|
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
2791
3715
|
}, z.core.$strip>;
|
|
3716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3717
|
+
model: z.ZodLiteral<"bytedance/seedance-2-mini">;
|
|
3718
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
3719
|
+
input: z.ZodObject<{
|
|
3720
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
3721
|
+
reference_image_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3722
|
+
reference_video_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3723
|
+
reference_audio_urls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3724
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
3725
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
3726
|
+
"720p": "720p";
|
|
3727
|
+
"480p": "480p";
|
|
3728
|
+
}>>;
|
|
3729
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
3730
|
+
"16:9": "16:9";
|
|
3731
|
+
"9:16": "9:16";
|
|
3732
|
+
"1:1": "1:1";
|
|
3733
|
+
"4:3": "4:3";
|
|
3734
|
+
"3:4": "3:4";
|
|
3735
|
+
"21:9": "21:9";
|
|
3736
|
+
adaptive: "adaptive";
|
|
3737
|
+
}>>;
|
|
3738
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
3739
|
+
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
3740
|
+
nsfw_checker: z.ZodDefault<z.ZodBoolean>;
|
|
3741
|
+
}, z.core.$strip>;
|
|
2792
3742
|
}, z.core.$strip>, z.ZodObject<{
|
|
2793
3743
|
model: z.ZodLiteral<"wan/2-7-image-to-video">;
|
|
2794
3744
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2879,7 +3829,7 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2879
3829
|
"4:3": "4:3";
|
|
2880
3830
|
"3:4": "3:4";
|
|
2881
3831
|
}>>;
|
|
2882
|
-
duration: z.ZodOptional<z.
|
|
3832
|
+
duration: z.ZodOptional<z.ZodType<0 | 4 | 2 | 10 | 5 | 3 | 6 | 8 | 7 | 9, unknown, z.core.$ZodTypeInternals<0 | 4 | 2 | 10 | 5 | 3 | 6 | 8 | 7 | 9, unknown>>>;
|
|
2883
3833
|
audio_setting: z.ZodOptional<z.ZodEnum<{
|
|
2884
3834
|
auto: "auto";
|
|
2885
3835
|
origin: "origin";
|
|
@@ -3024,6 +3974,63 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3024
3974
|
}>>;
|
|
3025
3975
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
3026
3976
|
}, z.core.$strip>;
|
|
3977
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3978
|
+
model: z.ZodLiteral<"happyhorse-1-1/text-to-video">;
|
|
3979
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
3980
|
+
input: z.ZodObject<{
|
|
3981
|
+
prompt: z.ZodString;
|
|
3982
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
3983
|
+
"720p": "720p";
|
|
3984
|
+
"1080p": "1080p";
|
|
3985
|
+
}>>;
|
|
3986
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
3987
|
+
"16:9": "16:9";
|
|
3988
|
+
"9:16": "9:16";
|
|
3989
|
+
"1:1": "1:1";
|
|
3990
|
+
"4:3": "4:3";
|
|
3991
|
+
"3:4": "3:4";
|
|
3992
|
+
"21:9": "21:9";
|
|
3993
|
+
"4:5": "4:5";
|
|
3994
|
+
"5:4": "5:4";
|
|
3995
|
+
"9:21": "9:21";
|
|
3996
|
+
}>>;
|
|
3997
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
3998
|
+
}, z.core.$strip>;
|
|
3999
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4000
|
+
model: z.ZodLiteral<"happyhorse-1-1/image-to-video">;
|
|
4001
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
4002
|
+
input: z.ZodObject<{
|
|
4003
|
+
prompt: z.ZodDefault<z.ZodString>;
|
|
4004
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
4005
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4006
|
+
"720p": "720p";
|
|
4007
|
+
"1080p": "1080p";
|
|
4008
|
+
}>>;
|
|
4009
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
4010
|
+
}, z.core.$strip>;
|
|
4011
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4012
|
+
model: z.ZodLiteral<"happyhorse-1-1/reference-to-video">;
|
|
4013
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
4014
|
+
input: z.ZodObject<{
|
|
4015
|
+
prompt: z.ZodString;
|
|
4016
|
+
reference_image: z.ZodArray<z.ZodString>;
|
|
4017
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4018
|
+
"720p": "720p";
|
|
4019
|
+
"1080p": "1080p";
|
|
4020
|
+
}>>;
|
|
4021
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
4022
|
+
"16:9": "16:9";
|
|
4023
|
+
"9:16": "9:16";
|
|
4024
|
+
"1:1": "1:1";
|
|
4025
|
+
"4:3": "4:3";
|
|
4026
|
+
"3:4": "3:4";
|
|
4027
|
+
"21:9": "21:9";
|
|
4028
|
+
"4:5": "4:5";
|
|
4029
|
+
"5:4": "5:4";
|
|
4030
|
+
"9:21": "9:21";
|
|
4031
|
+
}>>;
|
|
4032
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
4033
|
+
}, z.core.$strip>;
|
|
3027
4034
|
}, z.core.$strip>, z.ZodObject<{
|
|
3028
4035
|
model: z.ZodLiteral<"omnihuman-1-5">;
|
|
3029
4036
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3055,6 +4062,36 @@ export declare const CreateTaskRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3055
4062
|
align_audio_reverse: z.ZodDefault<z.ZodBoolean>;
|
|
3056
4063
|
templ_start_seconds: z.ZodDefault<z.ZodNumber>;
|
|
3057
4064
|
}, z.core.$strip>;
|
|
4065
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4066
|
+
model: z.ZodLiteral<"gemini-omni-video">;
|
|
4067
|
+
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
4068
|
+
input: z.ZodObject<{
|
|
4069
|
+
prompt: z.ZodString;
|
|
4070
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4071
|
+
audio_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4072
|
+
video_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4073
|
+
url: z.ZodString;
|
|
4074
|
+
start: z.ZodNumber;
|
|
4075
|
+
ends: z.ZodNumber;
|
|
4076
|
+
}, z.core.$strip>>>;
|
|
4077
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4078
|
+
duration: z.ZodEnum<{
|
|
4079
|
+
4: "4";
|
|
4080
|
+
6: "6";
|
|
4081
|
+
8: "8";
|
|
4082
|
+
10: "10";
|
|
4083
|
+
}>;
|
|
4084
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
4085
|
+
"16:9": "16:9";
|
|
4086
|
+
"9:16": "9:16";
|
|
4087
|
+
}>>;
|
|
4088
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
4089
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
4090
|
+
"720p": "720p";
|
|
4091
|
+
"1080p": "1080p";
|
|
4092
|
+
"4k": "4k";
|
|
4093
|
+
}>>;
|
|
4094
|
+
}, z.core.$strip>;
|
|
3058
4095
|
}, z.core.$strip>, z.ZodObject<{
|
|
3059
4096
|
model: z.ZodLiteral<"elevenlabs/audio-isolation">;
|
|
3060
4097
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3130,6 +4167,11 @@ export type KlingV3TurboDuration = z.infer<typeof KlingV3TurboDurationSchema>;
|
|
|
3130
4167
|
export type KlingV3TurboResolution = z.infer<typeof KlingV3TurboResolutionSchema>;
|
|
3131
4168
|
export type KlingV3TurboAspectRatio = z.infer<typeof KlingV3TurboAspectRatioSchema>;
|
|
3132
4169
|
export type GrokImagineMode = z.infer<typeof GrokImagineModeSchema>;
|
|
4170
|
+
export type GrokTextToVideoMode = z.infer<typeof GrokTextToVideoModeSchema>;
|
|
4171
|
+
export type GrokImageToVideoMode = z.infer<typeof GrokImageToVideoModeSchema>;
|
|
4172
|
+
export type GrokTextToVideoAspectRatio = z.infer<typeof GrokTextToVideoAspectRatioSchema>;
|
|
4173
|
+
export type GrokImageToVideoAspectRatio = z.infer<typeof GrokImageToVideoAspectRatioSchema>;
|
|
4174
|
+
export type GrokTextToVideoDuration = z.infer<typeof GrokTextToVideoDurationSchema>;
|
|
3133
4175
|
export type GrokImagineDuration = z.infer<typeof GrokImagineDurationSchema>;
|
|
3134
4176
|
export type GrokImageToVideoDuration = z.infer<typeof GrokImageToVideoDurationSchema>;
|
|
3135
4177
|
export type GrokImagineResolution = z.infer<typeof GrokImagineResolutionSchema>;
|
|
@@ -3146,66 +4188,206 @@ export type Wan27ImageResolution = z.infer<typeof Wan27ImageResolutionSchema>;
|
|
|
3146
4188
|
export type Wan27ImageAspectRatio = z.infer<typeof Wan27ImageAspectRatioSchema>;
|
|
3147
4189
|
export type HappyHorseResolution = z.infer<typeof HappyHorseResolutionSchema>;
|
|
3148
4190
|
export type HappyHorseAspectRatio = z.infer<typeof HappyHorseAspectRatioSchema>;
|
|
4191
|
+
export type HappyHorse11AspectRatio = z.infer<typeof HappyHorse11AspectRatioSchema>;
|
|
3149
4192
|
export type HappyHorseAudioSetting = z.infer<typeof HappyHorseAudioSettingSchema>;
|
|
4193
|
+
export type HappyHorseDuration = z.infer<typeof HappyHorseDurationSchema>;
|
|
3150
4194
|
export type Omnihuman15OutputResolution = z.infer<typeof Omnihuman15OutputResolutionSchema>;
|
|
3151
4195
|
export type VolcengineVideoToVideoLipSyncMode = z.infer<typeof VolcengineVideoToVideoLipSyncModeSchema>;
|
|
4196
|
+
export type GeminiOmniVideoDuration = z.infer<typeof GeminiOmniVideoDurationSchema>;
|
|
4197
|
+
export type GeminiOmniVideoAspectRatio = z.infer<typeof GeminiOmniVideoAspectRatioSchema>;
|
|
4198
|
+
export type GeminiOmniVideoResolution = z.infer<typeof GeminiOmniVideoResolutionSchema>;
|
|
4199
|
+
export type Seedance2MiniResolution = z.infer<typeof Seedance2MiniResolutionSchema>;
|
|
4200
|
+
export type Seedance2MiniAspectRatio = z.infer<typeof Seedance2MiniAspectRatioSchema>;
|
|
4201
|
+
export type Seedance2MiniTaskState = z.infer<typeof Seedance2MiniTaskStateSchema>;
|
|
3152
4202
|
export type KlingElement = z.infer<typeof KlingElementSchema>;
|
|
3153
4203
|
export type MultiShotPrompt = z.infer<typeof MultiShotPromptSchema>;
|
|
3154
4204
|
export type Wan27ImageColorPalette = z.infer<typeof Wan27ImageColorPaletteSchema>;
|
|
3155
|
-
export type KlingVideoRequest = z.
|
|
3156
|
-
export type
|
|
3157
|
-
export type
|
|
3158
|
-
export type
|
|
3159
|
-
export type
|
|
3160
|
-
export type
|
|
3161
|
-
export type
|
|
3162
|
-
export type
|
|
3163
|
-
export type
|
|
3164
|
-
export type
|
|
3165
|
-
export type
|
|
3166
|
-
export type
|
|
3167
|
-
export type
|
|
3168
|
-
export type
|
|
4205
|
+
export type KlingVideoRequest = z.input<typeof KlingVideoRequestSchema>;
|
|
4206
|
+
export type KlingVideoRequestInput = KlingVideoRequest;
|
|
4207
|
+
export type KlingVideoParsedRequest = z.output<typeof KlingVideoRequestSchema>;
|
|
4208
|
+
export type KlingMotionControlRequest = z.input<typeof KlingMotionControlRequestSchema>;
|
|
4209
|
+
export type KlingMotionControlRequestInput = KlingMotionControlRequest;
|
|
4210
|
+
export type KlingMotionControlParsedRequest = z.output<typeof KlingMotionControlRequestSchema>;
|
|
4211
|
+
export type KlingV3TurboImageToVideoRequest = z.input<typeof KlingV3TurboImageToVideoRequestSchema>;
|
|
4212
|
+
export type KlingV3TurboImageToVideoRequestInput = KlingV3TurboImageToVideoRequest;
|
|
4213
|
+
export type KlingV3TurboImageToVideoParsedRequest = z.output<typeof KlingV3TurboImageToVideoRequestSchema>;
|
|
4214
|
+
export type KlingV3TurboTextToVideoRequest = z.input<typeof KlingV3TurboTextToVideoRequestSchema>;
|
|
4215
|
+
export type KlingV3TurboTextToVideoRequestInput = KlingV3TurboTextToVideoRequest;
|
|
4216
|
+
export type KlingV3TurboTextToVideoParsedRequest = z.output<typeof KlingV3TurboTextToVideoRequestSchema>;
|
|
4217
|
+
export type GrokTextToImageRequest = z.input<typeof GrokTextToImageRequestSchema>;
|
|
4218
|
+
export type GrokTextToImageRequestInput = GrokTextToImageRequest;
|
|
4219
|
+
export type GrokTextToImageParsedRequest = z.output<typeof GrokTextToImageRequestSchema>;
|
|
4220
|
+
export type Qwen2TextToImageRequest = z.input<typeof Qwen2TextToImageRequestSchema>;
|
|
4221
|
+
export type Qwen2TextToImageRequestInput = Qwen2TextToImageRequest;
|
|
4222
|
+
export type Qwen2TextToImageParsedRequest = z.output<typeof Qwen2TextToImageRequestSchema>;
|
|
4223
|
+
export type Qwen2ImageEditRequest = z.input<typeof Qwen2ImageEditRequestSchema>;
|
|
4224
|
+
export type Qwen2ImageEditRequestInput = Qwen2ImageEditRequest;
|
|
4225
|
+
export type Qwen2ImageEditParsedRequest = z.output<typeof Qwen2ImageEditRequestSchema>;
|
|
4226
|
+
export type GrokImageToImageRequest = z.input<typeof GrokImageToImageRequestSchema>;
|
|
4227
|
+
export type GrokImageToImageRequestInput = GrokImageToImageRequest;
|
|
4228
|
+
export type GrokImageToImageParsedRequest = z.output<typeof GrokImageToImageRequestSchema>;
|
|
4229
|
+
export type GrokTextToVideoRequest = z.input<typeof GrokTextToVideoRequestSchema>;
|
|
4230
|
+
export type GrokTextToVideoRequestInput = GrokTextToVideoRequest;
|
|
4231
|
+
export type GrokTextToVideoParsedRequest = z.output<typeof GrokTextToVideoRequestSchema>;
|
|
4232
|
+
export type GrokImageToVideoRequest = z.input<typeof GrokImageToVideoRequestSchema>;
|
|
4233
|
+
export type GrokImageToVideoRequestInput = GrokImageToVideoRequest;
|
|
4234
|
+
export type GrokImageToVideoParsedRequest = z.output<typeof GrokImageToVideoRequestSchema>;
|
|
4235
|
+
export type GrokVideo15PreviewRequest = z.input<typeof GrokVideo15PreviewRequestSchema>;
|
|
4236
|
+
export type GrokVideo15PreviewRequestInput = GrokVideo15PreviewRequest;
|
|
4237
|
+
export type GrokVideo15PreviewParsedRequest = z.output<typeof GrokVideo15PreviewRequestSchema>;
|
|
4238
|
+
export type GrokVideoExtendRequest = z.input<typeof GrokVideoExtendRequestSchema>;
|
|
4239
|
+
export type GrokVideoExtendRequestInput = GrokVideoExtendRequest;
|
|
4240
|
+
export type GrokVideoExtendParsedRequest = z.output<typeof GrokVideoExtendRequestSchema>;
|
|
4241
|
+
export type GrokVideoUpscaleRequest = z.input<typeof GrokVideoUpscaleRequestSchema>;
|
|
4242
|
+
export type GrokVideoUpscaleRequestInput = GrokVideoUpscaleRequest;
|
|
4243
|
+
export type GrokVideoUpscaleParsedRequest = z.output<typeof GrokVideoUpscaleRequestSchema>;
|
|
4244
|
+
export type NanoBananaProRequest = z.input<typeof NanoBananaProRequestSchema>;
|
|
4245
|
+
export type NanoBananaProRequestInput = NanoBananaProRequest;
|
|
4246
|
+
export type NanoBananaProParsedRequest = z.output<typeof NanoBananaProRequestSchema>;
|
|
3169
4247
|
export type Seedance2FastInput = z.infer<typeof Seedance2FastInputSchema>;
|
|
3170
|
-
export type Seedance2FastRequest = z.
|
|
4248
|
+
export type Seedance2FastRequest = z.input<typeof Seedance2FastRequestSchema>;
|
|
4249
|
+
export type Seedance2FastRequestInput = Seedance2FastRequest;
|
|
4250
|
+
export type Seedance2FastParsedRequest = z.output<typeof Seedance2FastRequestSchema>;
|
|
3171
4251
|
export type Seedance2Input = z.infer<typeof Seedance2InputSchema>;
|
|
3172
|
-
export type Seedance2Request = z.
|
|
3173
|
-
export type
|
|
3174
|
-
export type
|
|
4252
|
+
export type Seedance2Request = z.input<typeof Seedance2RequestSchema>;
|
|
4253
|
+
export type Seedance2RequestInput = Seedance2Request;
|
|
4254
|
+
export type Seedance2ParsedRequest = z.output<typeof Seedance2RequestSchema>;
|
|
4255
|
+
export type Seedance2MiniInput = z.infer<typeof Seedance2MiniInputSchema>;
|
|
4256
|
+
export type Seedance2MiniRequest = z.input<typeof Seedance2MiniRequestSchema>;
|
|
4257
|
+
export type Seedance2MiniRequestInput = Seedance2MiniRequest;
|
|
4258
|
+
export type Seedance2MiniParsedRequest = z.output<typeof Seedance2MiniRequestSchema>;
|
|
4259
|
+
export type NanoBanana2Request = z.input<typeof NanoBanana2RequestSchema>;
|
|
4260
|
+
export type NanoBanana2RequestInput = NanoBanana2Request;
|
|
4261
|
+
export type NanoBanana2ParsedRequest = z.output<typeof NanoBanana2RequestSchema>;
|
|
4262
|
+
export type GptImageToImageRequest = z.input<typeof GptImageToImageRequestSchema>;
|
|
4263
|
+
export type GptImageToImageRequestInput = GptImageToImageRequest;
|
|
4264
|
+
export type GptImageToImageParsedRequest = z.output<typeof GptImageToImageRequestSchema>;
|
|
3175
4265
|
export type GptImage2ImageToImageAspectRatio = z.infer<typeof GptImage2ImageToImageAspectRatioSchema>;
|
|
3176
4266
|
export type GptImage2ImageToImageResolution = z.infer<typeof GptImage2ImageToImageResolutionSchema>;
|
|
3177
|
-
export type GptImage2ImageToImageRequest = z.
|
|
4267
|
+
export type GptImage2ImageToImageRequest = z.input<typeof GptImage2ImageToImageRequestSchema>;
|
|
4268
|
+
export type GptImage2ImageToImageRequestInput = GptImage2ImageToImageRequest;
|
|
4269
|
+
export type GptImage2ImageToImageParsedRequest = z.output<typeof GptImage2ImageToImageRequestSchema>;
|
|
3178
4270
|
export type GptImage2TextToImageAspectRatio = z.infer<typeof GptImage2TextToImageAspectRatioSchema>;
|
|
3179
4271
|
export type GptImage2TextToImageResolution = z.infer<typeof GptImage2TextToImageResolutionSchema>;
|
|
3180
|
-
export type GptImage2TextToImageRequest = z.
|
|
3181
|
-
export type
|
|
3182
|
-
export type
|
|
3183
|
-
export type
|
|
3184
|
-
export type
|
|
3185
|
-
export type
|
|
3186
|
-
export type
|
|
3187
|
-
export type
|
|
3188
|
-
export type
|
|
3189
|
-
export type
|
|
3190
|
-
export type
|
|
3191
|
-
export type
|
|
3192
|
-
export type
|
|
3193
|
-
export type
|
|
3194
|
-
export type
|
|
3195
|
-
export type
|
|
3196
|
-
export type
|
|
3197
|
-
export type
|
|
3198
|
-
export type
|
|
3199
|
-
export type
|
|
3200
|
-
export type
|
|
4272
|
+
export type GptImage2TextToImageRequest = z.input<typeof GptImage2TextToImageRequestSchema>;
|
|
4273
|
+
export type GptImage2TextToImageRequestInput = GptImage2TextToImageRequest;
|
|
4274
|
+
export type GptImage2TextToImageParsedRequest = z.output<typeof GptImage2TextToImageRequestSchema>;
|
|
4275
|
+
export type SeedreamImageToImageRequest = z.input<typeof SeedreamImageToImageRequestSchema>;
|
|
4276
|
+
export type SeedreamImageToImageRequestInput = SeedreamImageToImageRequest;
|
|
4277
|
+
export type SeedreamImageToImageParsedRequest = z.output<typeof SeedreamImageToImageRequestSchema>;
|
|
4278
|
+
export type SeedreamTextToImageRequest = z.input<typeof SeedreamTextToImageRequestSchema>;
|
|
4279
|
+
export type SeedreamTextToImageRequestInput = SeedreamTextToImageRequest;
|
|
4280
|
+
export type SeedreamTextToImageParsedRequest = z.output<typeof SeedreamTextToImageRequestSchema>;
|
|
4281
|
+
export type SoraWatermarkRequest = z.input<typeof SoraWatermarkRequestSchema>;
|
|
4282
|
+
export type SoraWatermarkRequestInput = SoraWatermarkRequest;
|
|
4283
|
+
export type SoraWatermarkParsedRequest = z.output<typeof SoraWatermarkRequestSchema>;
|
|
4284
|
+
export type Wan27ImageToVideoRequest = z.input<typeof Wan27ImageToVideoRequestSchema>;
|
|
4285
|
+
export type Wan27ImageToVideoRequestInput = Wan27ImageToVideoRequest;
|
|
4286
|
+
export type Wan27ImageToVideoParsedRequest = z.output<typeof Wan27ImageToVideoRequestSchema>;
|
|
4287
|
+
export type Wan27TextToVideoRequest = z.input<typeof Wan27TextToVideoRequestSchema>;
|
|
4288
|
+
export type Wan27TextToVideoRequestInput = Wan27TextToVideoRequest;
|
|
4289
|
+
export type Wan27TextToVideoParsedRequest = z.output<typeof Wan27TextToVideoRequestSchema>;
|
|
4290
|
+
export type Wan27RefToVideoRequest = z.input<typeof Wan27RefToVideoRequestSchema>;
|
|
4291
|
+
export type Wan27RefToVideoRequestInput = Wan27RefToVideoRequest;
|
|
4292
|
+
export type Wan27RefToVideoParsedRequest = z.output<typeof Wan27RefToVideoRequestSchema>;
|
|
4293
|
+
export type Wan27VideoEditRequest = z.input<typeof Wan27VideoEditRequestSchema>;
|
|
4294
|
+
export type Wan27VideoEditRequestInput = Wan27VideoEditRequest;
|
|
4295
|
+
export type Wan27VideoEditParsedRequest = z.output<typeof Wan27VideoEditRequestSchema>;
|
|
4296
|
+
export type Wan27ImageRequest = z.input<typeof Wan27ImageRequestSchema>;
|
|
4297
|
+
export type Wan27ImageRequestInput = Wan27ImageRequest;
|
|
4298
|
+
export type Wan27ImageParsedRequest = z.output<typeof Wan27ImageRequestSchema>;
|
|
4299
|
+
export type Wan27ImageProRequest = z.input<typeof Wan27ImageProRequestSchema>;
|
|
4300
|
+
export type Wan27ImageProRequestInput = Wan27ImageProRequest;
|
|
4301
|
+
export type Wan27ImageProParsedRequest = z.output<typeof Wan27ImageProRequestSchema>;
|
|
4302
|
+
export type HappyHorseTextToVideoRequest = z.input<typeof HappyHorseTextToVideoRequestSchema>;
|
|
4303
|
+
export type HappyHorseTextToVideoRequestInput = HappyHorseTextToVideoRequest;
|
|
4304
|
+
export type HappyHorseTextToVideoParsedRequest = z.output<typeof HappyHorseTextToVideoRequestSchema>;
|
|
4305
|
+
export type HappyHorseImageToVideoRequest = z.input<typeof HappyHorseImageToVideoRequestSchema>;
|
|
4306
|
+
export type HappyHorseImageToVideoRequestInput = HappyHorseImageToVideoRequest;
|
|
4307
|
+
export type HappyHorseImageToVideoParsedRequest = z.output<typeof HappyHorseImageToVideoRequestSchema>;
|
|
4308
|
+
export type HappyHorseReferenceToVideoRequest = z.input<typeof HappyHorseReferenceToVideoRequestSchema>;
|
|
4309
|
+
export type HappyHorseReferenceToVideoRequestInput = HappyHorseReferenceToVideoRequest;
|
|
4310
|
+
export type HappyHorseReferenceToVideoParsedRequest = z.output<typeof HappyHorseReferenceToVideoRequestSchema>;
|
|
4311
|
+
export type HappyHorseVideoEditRequest = z.input<typeof HappyHorseVideoEditRequestSchema>;
|
|
4312
|
+
export type HappyHorseVideoEditRequestInput = HappyHorseVideoEditRequest;
|
|
4313
|
+
export type HappyHorseVideoEditParsedRequest = z.output<typeof HappyHorseVideoEditRequestSchema>;
|
|
4314
|
+
export type HappyHorse11TextToVideoRequest = z.input<typeof HappyHorse11TextToVideoRequestSchema>;
|
|
4315
|
+
export type HappyHorse11TextToVideoRequestInput = HappyHorse11TextToVideoRequest;
|
|
4316
|
+
export type HappyHorse11TextToVideoParsedRequest = z.output<typeof HappyHorse11TextToVideoRequestSchema>;
|
|
4317
|
+
export type HappyHorse11ImageToVideoRequest = z.input<typeof HappyHorse11ImageToVideoRequestSchema>;
|
|
4318
|
+
export type HappyHorse11ImageToVideoRequestInput = HappyHorse11ImageToVideoRequest;
|
|
4319
|
+
export type HappyHorse11ImageToVideoParsedRequest = z.output<typeof HappyHorse11ImageToVideoRequestSchema>;
|
|
4320
|
+
export type HappyHorse11ReferenceToVideoRequest = z.input<typeof HappyHorse11ReferenceToVideoRequestSchema>;
|
|
4321
|
+
export type HappyHorse11ReferenceToVideoRequestInput = HappyHorse11ReferenceToVideoRequest;
|
|
4322
|
+
export type HappyHorse11ReferenceToVideoParsedRequest = z.output<typeof HappyHorse11ReferenceToVideoRequestSchema>;
|
|
4323
|
+
export type HappyHorse11CreateTaskResponse = z.infer<typeof HappyHorse11CreateTaskResponseSchema>;
|
|
4324
|
+
export type Omnihuman15Request = z.input<typeof Omnihuman15RequestSchema>;
|
|
4325
|
+
export type Omnihuman15RequestInput = Omnihuman15Request;
|
|
4326
|
+
export type Omnihuman15ParsedRequest = z.output<typeof Omnihuman15RequestSchema>;
|
|
4327
|
+
export type VolcengineVideoToVideoLipSyncRequest = z.input<typeof VolcengineVideoToVideoLipSyncRequestSchema>;
|
|
4328
|
+
export type VolcengineVideoToVideoLipSyncRequestInput = VolcengineVideoToVideoLipSyncRequest;
|
|
4329
|
+
export type VolcengineVideoToVideoLipSyncParsedRequest = z.output<typeof VolcengineVideoToVideoLipSyncRequestSchema>;
|
|
4330
|
+
export type GeminiOmniVideoRequest = z.input<typeof GeminiOmniVideoRequestSchema>;
|
|
4331
|
+
export type GeminiOmniVideoRequestInput = GeminiOmniVideoRequest;
|
|
4332
|
+
export type GeminiOmniVideoParsedRequest = z.output<typeof GeminiOmniVideoRequestSchema>;
|
|
4333
|
+
export type ElevenLabsAudioIsolationRequest = z.input<typeof ElevenLabsAudioIsolationRequestSchema>;
|
|
4334
|
+
export type ElevenLabsAudioIsolationRequestInput = ElevenLabsAudioIsolationRequest;
|
|
4335
|
+
export type ElevenLabsAudioIsolationParsedRequest = z.output<typeof ElevenLabsAudioIsolationRequestSchema>;
|
|
4336
|
+
export type ElevenLabsTextToDialogueV3Request = z.input<typeof ElevenLabsTextToDialogueV3RequestSchema>;
|
|
4337
|
+
export type ElevenLabsTextToDialogueV3RequestInput = ElevenLabsTextToDialogueV3Request;
|
|
4338
|
+
export type ElevenLabsTextToDialogueV3ParsedRequest = z.output<typeof ElevenLabsTextToDialogueV3RequestSchema>;
|
|
4339
|
+
export type ElevenLabsTextToSpeechMultilingualV2Request = z.input<typeof ElevenLabsTextToSpeechMultilingualV2RequestSchema>;
|
|
4340
|
+
export type ElevenLabsTextToSpeechMultilingualV2RequestInput = ElevenLabsTextToSpeechMultilingualV2Request;
|
|
4341
|
+
export type ElevenLabsTextToSpeechMultilingualV2ParsedRequest = z.output<typeof ElevenLabsTextToSpeechMultilingualV2RequestSchema>;
|
|
4342
|
+
export type ElevenLabsTextToSpeechTurbo25Request = z.input<typeof ElevenLabsTextToSpeechTurbo25RequestSchema>;
|
|
4343
|
+
export type ElevenLabsTextToSpeechTurbo25RequestInput = ElevenLabsTextToSpeechTurbo25Request;
|
|
4344
|
+
export type ElevenLabsTextToSpeechTurbo25ParsedRequest = z.output<typeof ElevenLabsTextToSpeechTurbo25RequestSchema>;
|
|
4345
|
+
export type ElevenLabsSoundEffectV2Request = z.input<typeof ElevenLabsSoundEffectV2RequestSchema>;
|
|
4346
|
+
export type ElevenLabsSoundEffectV2RequestInput = ElevenLabsSoundEffectV2Request;
|
|
4347
|
+
export type ElevenLabsSoundEffectV2ParsedRequest = z.output<typeof ElevenLabsSoundEffectV2RequestSchema>;
|
|
3201
4348
|
export type Wan27TaskResultJson = z.infer<typeof Wan27TaskResultJsonSchema>;
|
|
3202
4349
|
export type Wan27VideoResult = z.infer<typeof Wan27VideoResultSchema>;
|
|
3203
4350
|
export type Wan27ImageResult = z.infer<typeof Wan27ImageResultSchema>;
|
|
3204
|
-
export type
|
|
3205
|
-
export type
|
|
3206
|
-
export type
|
|
3207
|
-
export type
|
|
3208
|
-
export type
|
|
4351
|
+
export type Seedance2MiniTaskResultJson = z.infer<typeof Seedance2MiniTaskResultJsonSchema>;
|
|
4352
|
+
export type Seedance2MiniRecordInfoData = z.infer<typeof Seedance2MiniRecordInfoDataSchema>;
|
|
4353
|
+
export type Seedance2MiniRecordInfoResponse = z.infer<typeof Seedance2MiniRecordInfoResponseSchema>;
|
|
4354
|
+
export type RecordInfoRequest = z.input<typeof RecordInfoRequestSchema>;
|
|
4355
|
+
export type RecordInfoRequestInput = RecordInfoRequest;
|
|
4356
|
+
export type TaskResponseParsed = z.output<typeof TaskResponseSchema>;
|
|
4357
|
+
export type UploadMediaRequest = z.input<typeof UploadMediaRequestSchema>;
|
|
4358
|
+
export type UploadMediaRequestInput = UploadMediaRequest;
|
|
4359
|
+
export type UploadMediaParsedRequest = z.output<typeof UploadMediaRequestSchema>;
|
|
4360
|
+
export type FileUrlUploadRequest = z.input<typeof FileUrlUploadRequestSchema>;
|
|
4361
|
+
export type FileUrlUploadRequestInput = FileUrlUploadRequest;
|
|
4362
|
+
export type FileUrlUploadParsedRequest = z.output<typeof FileUrlUploadRequestSchema>;
|
|
4363
|
+
export type FileBase64UploadRequest = z.input<typeof FileBase64UploadRequestSchema>;
|
|
4364
|
+
export type FileBase64UploadRequestInput = FileBase64UploadRequest;
|
|
4365
|
+
export type FileBase64UploadParsedRequest = z.output<typeof FileBase64UploadRequestSchema>;
|
|
4366
|
+
export type DownloadUrlRequest = z.input<typeof DownloadUrlRequestSchema>;
|
|
4367
|
+
export type DownloadUrlRequestInput = DownloadUrlRequest;
|
|
4368
|
+
export type DownloadUrlParsedRequest = z.output<typeof DownloadUrlRequestSchema>;
|
|
4369
|
+
export type GeminiOmniAudioVoiceId = z.infer<typeof GeminiOmniAudioVoiceIdSchema>;
|
|
4370
|
+
export type GeminiOmniAudioCreateRequest = z.input<typeof GeminiOmniAudioCreateRequestSchema>;
|
|
4371
|
+
export type GeminiOmniAudioCreateRequestInput = GeminiOmniAudioCreateRequest;
|
|
4372
|
+
export type GeminiOmniAudioCreateParsedRequest = z.output<typeof GeminiOmniAudioCreateRequestSchema>;
|
|
4373
|
+
export type KieGeminiRole = z.infer<typeof KieGeminiRoleSchema>;
|
|
4374
|
+
export type KieGeminiThinkingLevel = z.infer<typeof KieGeminiThinkingLevelSchema>;
|
|
4375
|
+
export type KieGeminiInlineData = z.infer<typeof KieGeminiInlineDataSchema>;
|
|
4376
|
+
export type KieGeminiFileData = z.infer<typeof KieGeminiFileDataSchema>;
|
|
4377
|
+
export type KieGeminiPart = z.infer<typeof KieGeminiPartSchema>;
|
|
4378
|
+
export type KieGeminiContent = z.infer<typeof KieGeminiContentSchema>;
|
|
4379
|
+
export type KieGeminiFunctionParameters = z.infer<typeof KieGeminiFunctionParametersSchema>;
|
|
4380
|
+
export type KieGeminiFunctionDeclaration = z.infer<typeof KieGeminiFunctionDeclarationSchema>;
|
|
4381
|
+
export type KieGeminiGoogleSearch = z.infer<typeof KieGeminiGoogleSearchSchema>;
|
|
4382
|
+
export type KieGeminiGoogleSearchTool = z.infer<typeof KieGeminiGoogleSearchToolSchema>;
|
|
4383
|
+
export type KieGeminiFunctionDeclarationsTool = z.infer<typeof KieGeminiFunctionDeclarationsToolSchema>;
|
|
4384
|
+
export type KieGeminiTool = z.infer<typeof KieGeminiToolSchema>;
|
|
4385
|
+
export type KieGeminiThinkingConfig = z.infer<typeof KieGeminiThinkingConfigSchema>;
|
|
4386
|
+
export type KieGeminiGenerationConfig = z.infer<typeof KieGeminiGenerationConfigSchema>;
|
|
4387
|
+
export type KieGemini35FlashStreamGenerateContentRequest = z.input<typeof KieGemini35FlashStreamGenerateContentRequestSchema>;
|
|
4388
|
+
export type KieGemini35FlashStreamGenerateContentParsedRequest = z.output<typeof KieGemini35FlashStreamGenerateContentRequestSchema>;
|
|
3209
4389
|
export type KieOptions = z.infer<typeof KieOptionsSchema>;
|
|
3210
|
-
export type MediaGenerationRequest = z.
|
|
4390
|
+
export type MediaGenerationRequest = z.input<typeof MediaGenerationRequestSchema>;
|
|
4391
|
+
export type MediaGenerationRequestInput = MediaGenerationRequest;
|
|
4392
|
+
export type MediaGenerationParsedRequest = z.output<typeof MediaGenerationRequestSchema>;
|
|
3211
4393
|
//# sourceMappingURL=zod.d.ts.map
|