@apicity/fal 0.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1831 @@
1
+ import { z } from "zod";
2
+ export declare const FalPricingEstimateRequestSchema: z.ZodObject<{
3
+ estimate_type: z.ZodEnum<["historical_api_price", "unit_price"]>;
4
+ endpoints: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ estimate_type: "unit_price" | "historical_api_price";
7
+ endpoints: Record<string, unknown>;
8
+ }, {
9
+ estimate_type: "unit_price" | "historical_api_price";
10
+ endpoints: Record<string, unknown>;
11
+ }>;
12
+ export declare const FalQueueSubmitRequestSchema: z.ZodObject<{
13
+ endpoint_id: z.ZodString;
14
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15
+ webhook: z.ZodOptional<z.ZodString>;
16
+ priority: z.ZodOptional<z.ZodEnum<["normal", "low"]>>;
17
+ timeout: z.ZodOptional<z.ZodNumber>;
18
+ no_retry: z.ZodOptional<z.ZodBoolean>;
19
+ runner_hint: z.ZodOptional<z.ZodString>;
20
+ store_io: z.ZodOptional<z.ZodString>;
21
+ object_lifecycle_preference: z.ZodOptional<z.ZodString>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ endpoint_id: string;
24
+ input: Record<string, unknown>;
25
+ webhook?: string | undefined;
26
+ priority?: "low" | "normal" | undefined;
27
+ timeout?: number | undefined;
28
+ no_retry?: boolean | undefined;
29
+ runner_hint?: string | undefined;
30
+ store_io?: string | undefined;
31
+ object_lifecycle_preference?: string | undefined;
32
+ }, {
33
+ endpoint_id: string;
34
+ input: Record<string, unknown>;
35
+ webhook?: string | undefined;
36
+ priority?: "low" | "normal" | undefined;
37
+ timeout?: number | undefined;
38
+ no_retry?: boolean | undefined;
39
+ runner_hint?: string | undefined;
40
+ store_io?: string | undefined;
41
+ object_lifecycle_preference?: string | undefined;
42
+ }>;
43
+ export declare const FalLogsStreamRequestSchema: z.ZodObject<{
44
+ start: z.ZodOptional<z.ZodString>;
45
+ end: z.ZodOptional<z.ZodString>;
46
+ app_id: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47
+ revision: z.ZodOptional<z.ZodString>;
48
+ run_source: z.ZodOptional<z.ZodEnum<["grpc-run", "grpc-register", "gateway", "cron"]>>;
49
+ traceback: z.ZodOptional<z.ZodBoolean>;
50
+ search: z.ZodOptional<z.ZodString>;
51
+ level: z.ZodOptional<z.ZodString>;
52
+ job_id: z.ZodOptional<z.ZodString>;
53
+ request_id: z.ZodOptional<z.ZodString>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ start?: string | undefined;
56
+ end?: string | undefined;
57
+ app_id?: string[] | undefined;
58
+ revision?: string | undefined;
59
+ run_source?: "grpc-run" | "grpc-register" | "gateway" | "cron" | undefined;
60
+ traceback?: boolean | undefined;
61
+ search?: string | undefined;
62
+ level?: string | undefined;
63
+ job_id?: string | undefined;
64
+ request_id?: string | undefined;
65
+ }, {
66
+ start?: string | undefined;
67
+ end?: string | undefined;
68
+ app_id?: string[] | undefined;
69
+ revision?: string | undefined;
70
+ run_source?: "grpc-run" | "grpc-register" | "gateway" | "cron" | undefined;
71
+ traceback?: boolean | undefined;
72
+ search?: string | undefined;
73
+ level?: string | undefined;
74
+ job_id?: string | undefined;
75
+ request_id?: string | undefined;
76
+ }>;
77
+ export declare const FalFilesUploadUrlRequestSchema: z.ZodObject<{
78
+ file: z.ZodString;
79
+ url: z.ZodString;
80
+ }, "strip", z.ZodTypeAny, {
81
+ file: string;
82
+ url: string;
83
+ }, {
84
+ file: string;
85
+ url: string;
86
+ }>;
87
+ export declare const FalFilesUploadLocalRequestSchema: z.ZodObject<{
88
+ target_path: z.ZodString;
89
+ file: z.ZodType<Blob, z.ZodTypeDef, Blob>;
90
+ filename: z.ZodOptional<z.ZodString>;
91
+ unzip: z.ZodOptional<z.ZodBoolean>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ file: Blob;
94
+ target_path: string;
95
+ filename?: string | undefined;
96
+ unzip?: boolean | undefined;
97
+ }, {
98
+ file: Blob;
99
+ target_path: string;
100
+ filename?: string | undefined;
101
+ unzip?: boolean | undefined;
102
+ }>;
103
+ export declare const FalDeletePayloadsRequestSchema: z.ZodObject<{
104
+ request_id: z.ZodString;
105
+ idempotency_key: z.ZodOptional<z.ZodString>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ request_id: string;
108
+ idempotency_key?: string | undefined;
109
+ }, {
110
+ request_id: string;
111
+ idempotency_key?: string | undefined;
112
+ }>;
113
+ export declare const FalSeedance2p0ImageToVideoRequestSchema: z.ZodObject<{
114
+ prompt: z.ZodString;
115
+ image_url: z.ZodString;
116
+ end_image_url: z.ZodOptional<z.ZodString>;
117
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
118
+ duration: z.ZodOptional<z.ZodEnum<["auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
119
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"]>>;
120
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
121
+ seed: z.ZodOptional<z.ZodNumber>;
122
+ end_user_id: z.ZodOptional<z.ZodString>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ prompt: string;
125
+ image_url: string;
126
+ end_image_url?: string | undefined;
127
+ resolution?: "480p" | "720p" | undefined;
128
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
129
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
130
+ generate_audio?: boolean | undefined;
131
+ seed?: number | undefined;
132
+ end_user_id?: string | undefined;
133
+ }, {
134
+ prompt: string;
135
+ image_url: string;
136
+ end_image_url?: string | undefined;
137
+ resolution?: "480p" | "720p" | undefined;
138
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
139
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
140
+ generate_audio?: boolean | undefined;
141
+ seed?: number | undefined;
142
+ end_user_id?: string | undefined;
143
+ }>;
144
+ export declare const FalSeedance2p0TextToVideoRequestSchema: z.ZodObject<{
145
+ prompt: z.ZodString;
146
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
147
+ duration: z.ZodOptional<z.ZodEnum<["auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
148
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"]>>;
149
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
150
+ seed: z.ZodOptional<z.ZodNumber>;
151
+ end_user_id: z.ZodOptional<z.ZodString>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ prompt: string;
154
+ resolution?: "480p" | "720p" | undefined;
155
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
156
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
157
+ generate_audio?: boolean | undefined;
158
+ seed?: number | undefined;
159
+ end_user_id?: string | undefined;
160
+ }, {
161
+ prompt: string;
162
+ resolution?: "480p" | "720p" | undefined;
163
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
164
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
165
+ generate_audio?: boolean | undefined;
166
+ seed?: number | undefined;
167
+ end_user_id?: string | undefined;
168
+ }>;
169
+ export declare const FalSeedance2p0FastImageToVideoRequestSchema: z.ZodObject<{
170
+ prompt: z.ZodString;
171
+ image_url: z.ZodString;
172
+ end_image_url: z.ZodOptional<z.ZodString>;
173
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
174
+ duration: z.ZodOptional<z.ZodEnum<["auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
175
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"]>>;
176
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
177
+ seed: z.ZodOptional<z.ZodNumber>;
178
+ end_user_id: z.ZodOptional<z.ZodString>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ prompt: string;
181
+ image_url: string;
182
+ end_image_url?: string | undefined;
183
+ resolution?: "480p" | "720p" | undefined;
184
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
185
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
186
+ generate_audio?: boolean | undefined;
187
+ seed?: number | undefined;
188
+ end_user_id?: string | undefined;
189
+ }, {
190
+ prompt: string;
191
+ image_url: string;
192
+ end_image_url?: string | undefined;
193
+ resolution?: "480p" | "720p" | undefined;
194
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
195
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
196
+ generate_audio?: boolean | undefined;
197
+ seed?: number | undefined;
198
+ end_user_id?: string | undefined;
199
+ }>;
200
+ export declare const FalSeedance2p0FastTextToVideoRequestSchema: z.ZodObject<{
201
+ prompt: z.ZodString;
202
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
203
+ duration: z.ZodOptional<z.ZodEnum<["auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
204
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"]>>;
205
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
206
+ seed: z.ZodOptional<z.ZodNumber>;
207
+ end_user_id: z.ZodOptional<z.ZodString>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ prompt: string;
210
+ resolution?: "480p" | "720p" | undefined;
211
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
212
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
213
+ generate_audio?: boolean | undefined;
214
+ seed?: number | undefined;
215
+ end_user_id?: string | undefined;
216
+ }, {
217
+ prompt: string;
218
+ resolution?: "480p" | "720p" | undefined;
219
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
220
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
221
+ generate_audio?: boolean | undefined;
222
+ seed?: number | undefined;
223
+ end_user_id?: string | undefined;
224
+ }>;
225
+ export declare const FalSeedance2p0ReferenceToVideoRequestSchema: z.ZodObject<{
226
+ prompt: z.ZodString;
227
+ image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
228
+ video_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
229
+ audio_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
230
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
231
+ duration: z.ZodOptional<z.ZodEnum<["auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
232
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"]>>;
233
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
234
+ seed: z.ZodOptional<z.ZodNumber>;
235
+ end_user_id: z.ZodOptional<z.ZodString>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ prompt: string;
238
+ resolution?: "480p" | "720p" | undefined;
239
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
240
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
241
+ generate_audio?: boolean | undefined;
242
+ seed?: number | undefined;
243
+ end_user_id?: string | undefined;
244
+ image_urls?: string[] | undefined;
245
+ video_urls?: string[] | undefined;
246
+ audio_urls?: string[] | undefined;
247
+ }, {
248
+ prompt: string;
249
+ resolution?: "480p" | "720p" | undefined;
250
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
251
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
252
+ generate_audio?: boolean | undefined;
253
+ seed?: number | undefined;
254
+ end_user_id?: string | undefined;
255
+ image_urls?: string[] | undefined;
256
+ video_urls?: string[] | undefined;
257
+ audio_urls?: string[] | undefined;
258
+ }>;
259
+ export declare const FalSeedance2p0FastReferenceToVideoRequestSchema: z.ZodObject<{
260
+ prompt: z.ZodString;
261
+ image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
262
+ video_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
263
+ audio_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
264
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
265
+ duration: z.ZodOptional<z.ZodEnum<["auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
266
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"]>>;
267
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
268
+ seed: z.ZodOptional<z.ZodNumber>;
269
+ end_user_id: z.ZodOptional<z.ZodString>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ prompt: string;
272
+ resolution?: "480p" | "720p" | undefined;
273
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
274
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
275
+ generate_audio?: boolean | undefined;
276
+ seed?: number | undefined;
277
+ end_user_id?: string | undefined;
278
+ image_urls?: string[] | undefined;
279
+ video_urls?: string[] | undefined;
280
+ audio_urls?: string[] | undefined;
281
+ }, {
282
+ prompt: string;
283
+ resolution?: "480p" | "720p" | undefined;
284
+ duration?: "4" | "5" | "auto" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
285
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | undefined;
286
+ generate_audio?: boolean | undefined;
287
+ seed?: number | undefined;
288
+ end_user_id?: string | undefined;
289
+ image_urls?: string[] | undefined;
290
+ video_urls?: string[] | undefined;
291
+ audio_urls?: string[] | undefined;
292
+ }>;
293
+ export declare const FalNanoBanana2TextToImageRequestSchema: z.ZodObject<{
294
+ prompt: z.ZodString;
295
+ num_images: z.ZodOptional<z.ZodNumber>;
296
+ seed: z.ZodOptional<z.ZodNumber>;
297
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16", "4:1", "1:4", "8:1", "1:8"]>>;
298
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
299
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
300
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
301
+ resolution: z.ZodOptional<z.ZodEnum<["0.5K", "1K", "2K", "4K"]>>;
302
+ limit_generations: z.ZodOptional<z.ZodBoolean>;
303
+ enable_web_search: z.ZodOptional<z.ZodBoolean>;
304
+ thinking_level: z.ZodOptional<z.ZodEnum<["minimal", "high"]>>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ prompt: string;
307
+ resolution?: "1K" | "0.5K" | "2K" | "4K" | undefined;
308
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | "4:1" | "1:4" | "8:1" | "1:8" | undefined;
309
+ seed?: number | undefined;
310
+ num_images?: number | undefined;
311
+ output_format?: "png" | "jpeg" | "webp" | undefined;
312
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
313
+ sync_mode?: boolean | undefined;
314
+ limit_generations?: boolean | undefined;
315
+ enable_web_search?: boolean | undefined;
316
+ thinking_level?: "minimal" | "high" | undefined;
317
+ }, {
318
+ prompt: string;
319
+ resolution?: "1K" | "0.5K" | "2K" | "4K" | undefined;
320
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | "4:1" | "1:4" | "8:1" | "1:8" | undefined;
321
+ seed?: number | undefined;
322
+ num_images?: number | undefined;
323
+ output_format?: "png" | "jpeg" | "webp" | undefined;
324
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
325
+ sync_mode?: boolean | undefined;
326
+ limit_generations?: boolean | undefined;
327
+ enable_web_search?: boolean | undefined;
328
+ thinking_level?: "minimal" | "high" | undefined;
329
+ }>;
330
+ export declare const FalNanoBanana2EditRequestSchema: z.ZodObject<{
331
+ prompt: z.ZodString;
332
+ image_urls: z.ZodArray<z.ZodString, "many">;
333
+ num_images: z.ZodOptional<z.ZodNumber>;
334
+ seed: z.ZodOptional<z.ZodNumber>;
335
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16", "4:1", "1:4", "8:1", "1:8"]>>;
336
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
337
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
338
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
339
+ resolution: z.ZodOptional<z.ZodEnum<["0.5K", "1K", "2K", "4K"]>>;
340
+ limit_generations: z.ZodOptional<z.ZodBoolean>;
341
+ enable_web_search: z.ZodOptional<z.ZodBoolean>;
342
+ thinking_level: z.ZodOptional<z.ZodEnum<["minimal", "high"]>>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ prompt: string;
345
+ image_urls: string[];
346
+ resolution?: "1K" | "0.5K" | "2K" | "4K" | undefined;
347
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | "4:1" | "1:4" | "8:1" | "1:8" | undefined;
348
+ seed?: number | undefined;
349
+ num_images?: number | undefined;
350
+ output_format?: "png" | "jpeg" | "webp" | undefined;
351
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
352
+ sync_mode?: boolean | undefined;
353
+ limit_generations?: boolean | undefined;
354
+ enable_web_search?: boolean | undefined;
355
+ thinking_level?: "minimal" | "high" | undefined;
356
+ }, {
357
+ prompt: string;
358
+ image_urls: string[];
359
+ resolution?: "1K" | "0.5K" | "2K" | "4K" | undefined;
360
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | "4:1" | "1:4" | "8:1" | "1:8" | undefined;
361
+ seed?: number | undefined;
362
+ num_images?: number | undefined;
363
+ output_format?: "png" | "jpeg" | "webp" | undefined;
364
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
365
+ sync_mode?: boolean | undefined;
366
+ limit_generations?: boolean | undefined;
367
+ enable_web_search?: boolean | undefined;
368
+ thinking_level?: "minimal" | "high" | undefined;
369
+ }>;
370
+ export declare const FalNanoBananaTextToImageRequestSchema: z.ZodObject<{
371
+ prompt: z.ZodString;
372
+ num_images: z.ZodOptional<z.ZodNumber>;
373
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"]>>;
374
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
375
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
376
+ seed: z.ZodOptional<z.ZodNumber>;
377
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
378
+ limit_generations: z.ZodOptional<z.ZodBoolean>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ prompt: string;
381
+ aspect_ratio?: "1:1" | "16:9" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
382
+ seed?: number | undefined;
383
+ num_images?: number | undefined;
384
+ output_format?: "png" | "jpeg" | "webp" | undefined;
385
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
386
+ sync_mode?: boolean | undefined;
387
+ limit_generations?: boolean | undefined;
388
+ }, {
389
+ prompt: string;
390
+ aspect_ratio?: "1:1" | "16:9" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
391
+ seed?: number | undefined;
392
+ num_images?: number | undefined;
393
+ output_format?: "png" | "jpeg" | "webp" | undefined;
394
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
395
+ sync_mode?: boolean | undefined;
396
+ limit_generations?: boolean | undefined;
397
+ }>;
398
+ export declare const FalNanoBananaEditRequestSchema: z.ZodObject<{
399
+ prompt: z.ZodString;
400
+ image_urls: z.ZodArray<z.ZodString, "many">;
401
+ num_images: z.ZodOptional<z.ZodNumber>;
402
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"]>>;
403
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
404
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
405
+ seed: z.ZodOptional<z.ZodNumber>;
406
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
407
+ limit_generations: z.ZodOptional<z.ZodBoolean>;
408
+ }, "strip", z.ZodTypeAny, {
409
+ prompt: string;
410
+ image_urls: string[];
411
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
412
+ seed?: number | undefined;
413
+ num_images?: number | undefined;
414
+ output_format?: "png" | "jpeg" | "webp" | undefined;
415
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
416
+ sync_mode?: boolean | undefined;
417
+ limit_generations?: boolean | undefined;
418
+ }, {
419
+ prompt: string;
420
+ image_urls: string[];
421
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
422
+ seed?: number | undefined;
423
+ num_images?: number | undefined;
424
+ output_format?: "png" | "jpeg" | "webp" | undefined;
425
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
426
+ sync_mode?: boolean | undefined;
427
+ limit_generations?: boolean | undefined;
428
+ }>;
429
+ export declare const FalGptImage1p5RequestSchema: z.ZodObject<{
430
+ prompt: z.ZodString;
431
+ image_size: z.ZodOptional<z.ZodEnum<["1024x1024", "1536x1024", "1024x1536"]>>;
432
+ num_images: z.ZodOptional<z.ZodNumber>;
433
+ background: z.ZodOptional<z.ZodEnum<["auto", "transparent", "opaque"]>>;
434
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
435
+ quality: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
436
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ prompt: string;
439
+ num_images?: number | undefined;
440
+ output_format?: "png" | "jpeg" | "webp" | undefined;
441
+ sync_mode?: boolean | undefined;
442
+ image_size?: "1024x1024" | "1536x1024" | "1024x1536" | undefined;
443
+ background?: "auto" | "transparent" | "opaque" | undefined;
444
+ quality?: "low" | "high" | "medium" | undefined;
445
+ }, {
446
+ prompt: string;
447
+ num_images?: number | undefined;
448
+ output_format?: "png" | "jpeg" | "webp" | undefined;
449
+ sync_mode?: boolean | undefined;
450
+ image_size?: "1024x1024" | "1536x1024" | "1024x1536" | undefined;
451
+ background?: "auto" | "transparent" | "opaque" | undefined;
452
+ quality?: "low" | "high" | "medium" | undefined;
453
+ }>;
454
+ export declare const FalGptImage1p5EditRequestSchema: z.ZodObject<{
455
+ prompt: z.ZodString;
456
+ image_urls: z.ZodArray<z.ZodString, "many">;
457
+ image_size: z.ZodOptional<z.ZodEnum<["auto", "1024x1024", "1536x1024", "1024x1536"]>>;
458
+ background: z.ZodOptional<z.ZodEnum<["auto", "transparent", "opaque"]>>;
459
+ quality: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
460
+ num_images: z.ZodOptional<z.ZodNumber>;
461
+ input_fidelity: z.ZodOptional<z.ZodEnum<["low", "high"]>>;
462
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
463
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
464
+ mask_image_url: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ prompt: string;
467
+ image_urls: string[];
468
+ num_images?: number | undefined;
469
+ output_format?: "png" | "jpeg" | "webp" | undefined;
470
+ sync_mode?: boolean | undefined;
471
+ image_size?: "1024x1024" | "auto" | "1536x1024" | "1024x1536" | undefined;
472
+ background?: "auto" | "transparent" | "opaque" | undefined;
473
+ quality?: "low" | "high" | "medium" | undefined;
474
+ input_fidelity?: "low" | "high" | undefined;
475
+ mask_image_url?: string | undefined;
476
+ }, {
477
+ prompt: string;
478
+ image_urls: string[];
479
+ num_images?: number | undefined;
480
+ output_format?: "png" | "jpeg" | "webp" | undefined;
481
+ sync_mode?: boolean | undefined;
482
+ image_size?: "1024x1024" | "auto" | "1536x1024" | "1024x1536" | undefined;
483
+ background?: "auto" | "transparent" | "opaque" | undefined;
484
+ quality?: "low" | "high" | "medium" | undefined;
485
+ input_fidelity?: "low" | "high" | undefined;
486
+ mask_image_url?: string | undefined;
487
+ }>;
488
+ export declare const FalQwenImageRequestSchema: z.ZodObject<{
489
+ prompt: z.ZodString;
490
+ image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9"]>, z.ZodObject<{
491
+ width: z.ZodNumber;
492
+ height: z.ZodNumber;
493
+ }, "strip", z.ZodTypeAny, {
494
+ width: number;
495
+ height: number;
496
+ }, {
497
+ width: number;
498
+ height: number;
499
+ }>]>>;
500
+ num_inference_steps: z.ZodOptional<z.ZodNumber>;
501
+ seed: z.ZodOptional<z.ZodNumber>;
502
+ guidance_scale: z.ZodOptional<z.ZodNumber>;
503
+ num_images: z.ZodOptional<z.ZodNumber>;
504
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png"]>>;
505
+ negative_prompt: z.ZodOptional<z.ZodString>;
506
+ acceleration: z.ZodOptional<z.ZodEnum<["none", "regular", "high"]>>;
507
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
508
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
509
+ use_turbo: z.ZodOptional<z.ZodBoolean>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ prompt: string;
512
+ seed?: number | undefined;
513
+ num_images?: number | undefined;
514
+ output_format?: "png" | "jpeg" | undefined;
515
+ sync_mode?: boolean | undefined;
516
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
517
+ width: number;
518
+ height: number;
519
+ } | undefined;
520
+ num_inference_steps?: number | undefined;
521
+ guidance_scale?: number | undefined;
522
+ negative_prompt?: string | undefined;
523
+ acceleration?: "high" | "none" | "regular" | undefined;
524
+ enable_safety_checker?: boolean | undefined;
525
+ use_turbo?: boolean | undefined;
526
+ }, {
527
+ prompt: string;
528
+ seed?: number | undefined;
529
+ num_images?: number | undefined;
530
+ output_format?: "png" | "jpeg" | undefined;
531
+ sync_mode?: boolean | undefined;
532
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
533
+ width: number;
534
+ height: number;
535
+ } | undefined;
536
+ num_inference_steps?: number | undefined;
537
+ guidance_scale?: number | undefined;
538
+ negative_prompt?: string | undefined;
539
+ acceleration?: "high" | "none" | "regular" | undefined;
540
+ enable_safety_checker?: boolean | undefined;
541
+ use_turbo?: boolean | undefined;
542
+ }>;
543
+ export declare const FalQwenImageEditRequestSchema: z.ZodObject<{
544
+ prompt: z.ZodString;
545
+ image_url: z.ZodString;
546
+ num_images: z.ZodOptional<z.ZodNumber>;
547
+ num_inference_steps: z.ZodOptional<z.ZodNumber>;
548
+ guidance_scale: z.ZodOptional<z.ZodNumber>;
549
+ seed: z.ZodOptional<z.ZodNumber>;
550
+ negative_prompt: z.ZodOptional<z.ZodString>;
551
+ image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9"]>, z.ZodObject<{
552
+ width: z.ZodNumber;
553
+ height: z.ZodNumber;
554
+ }, "strip", z.ZodTypeAny, {
555
+ width: number;
556
+ height: number;
557
+ }, {
558
+ width: number;
559
+ height: number;
560
+ }>]>>;
561
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png"]>>;
562
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
563
+ acceleration: z.ZodOptional<z.ZodEnum<["none", "regular", "high"]>>;
564
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
565
+ }, "strip", z.ZodTypeAny, {
566
+ prompt: string;
567
+ image_url: string;
568
+ seed?: number | undefined;
569
+ num_images?: number | undefined;
570
+ output_format?: "png" | "jpeg" | undefined;
571
+ sync_mode?: boolean | undefined;
572
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
573
+ width: number;
574
+ height: number;
575
+ } | undefined;
576
+ num_inference_steps?: number | undefined;
577
+ guidance_scale?: number | undefined;
578
+ negative_prompt?: string | undefined;
579
+ acceleration?: "high" | "none" | "regular" | undefined;
580
+ enable_safety_checker?: boolean | undefined;
581
+ }, {
582
+ prompt: string;
583
+ image_url: string;
584
+ seed?: number | undefined;
585
+ num_images?: number | undefined;
586
+ output_format?: "png" | "jpeg" | undefined;
587
+ sync_mode?: boolean | undefined;
588
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
589
+ width: number;
590
+ height: number;
591
+ } | undefined;
592
+ num_inference_steps?: number | undefined;
593
+ guidance_scale?: number | undefined;
594
+ negative_prompt?: string | undefined;
595
+ acceleration?: "high" | "none" | "regular" | undefined;
596
+ enable_safety_checker?: boolean | undefined;
597
+ }>;
598
+ export declare const FalNanoBananaProTextToImageRequestSchema: z.ZodObject<{
599
+ prompt: z.ZodString;
600
+ num_images: z.ZodOptional<z.ZodNumber>;
601
+ seed: z.ZodOptional<z.ZodNumber>;
602
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"]>>;
603
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
604
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
605
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
606
+ resolution: z.ZodOptional<z.ZodEnum<["1K", "2K", "4K"]>>;
607
+ limit_generations: z.ZodOptional<z.ZodBoolean>;
608
+ enable_web_search: z.ZodOptional<z.ZodBoolean>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ prompt: string;
611
+ resolution?: "1K" | "2K" | "4K" | undefined;
612
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
613
+ seed?: number | undefined;
614
+ num_images?: number | undefined;
615
+ output_format?: "png" | "jpeg" | "webp" | undefined;
616
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
617
+ sync_mode?: boolean | undefined;
618
+ limit_generations?: boolean | undefined;
619
+ enable_web_search?: boolean | undefined;
620
+ }, {
621
+ prompt: string;
622
+ resolution?: "1K" | "2K" | "4K" | undefined;
623
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
624
+ seed?: number | undefined;
625
+ num_images?: number | undefined;
626
+ output_format?: "png" | "jpeg" | "webp" | undefined;
627
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
628
+ sync_mode?: boolean | undefined;
629
+ limit_generations?: boolean | undefined;
630
+ enable_web_search?: boolean | undefined;
631
+ }>;
632
+ export declare const FalNanoBananaProEditRequestSchema: z.ZodObject<{
633
+ prompt: z.ZodString;
634
+ image_urls: z.ZodArray<z.ZodString, "many">;
635
+ num_images: z.ZodOptional<z.ZodNumber>;
636
+ seed: z.ZodOptional<z.ZodNumber>;
637
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"]>>;
638
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
639
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
640
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
641
+ resolution: z.ZodOptional<z.ZodEnum<["1K", "2K", "4K"]>>;
642
+ limit_generations: z.ZodOptional<z.ZodBoolean>;
643
+ enable_web_search: z.ZodOptional<z.ZodBoolean>;
644
+ }, "strip", z.ZodTypeAny, {
645
+ prompt: string;
646
+ image_urls: string[];
647
+ resolution?: "1K" | "2K" | "4K" | undefined;
648
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
649
+ seed?: number | undefined;
650
+ num_images?: number | undefined;
651
+ output_format?: "png" | "jpeg" | "webp" | undefined;
652
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
653
+ sync_mode?: boolean | undefined;
654
+ limit_generations?: boolean | undefined;
655
+ enable_web_search?: boolean | undefined;
656
+ }, {
657
+ prompt: string;
658
+ image_urls: string[];
659
+ resolution?: "1K" | "2K" | "4K" | undefined;
660
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "21:9" | "4:3" | "3:4" | "9:16" | "3:2" | "5:4" | "4:5" | "2:3" | undefined;
661
+ seed?: number | undefined;
662
+ num_images?: number | undefined;
663
+ output_format?: "png" | "jpeg" | "webp" | undefined;
664
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
665
+ sync_mode?: boolean | undefined;
666
+ limit_generations?: boolean | undefined;
667
+ enable_web_search?: boolean | undefined;
668
+ }>;
669
+ export declare const FalSeedreamV5LiteEditRequestSchema: z.ZodObject<{
670
+ prompt: z.ZodString;
671
+ image_urls: z.ZodArray<z.ZodString, "many">;
672
+ image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9", "auto_2K", "auto_3K"]>, z.ZodObject<{
673
+ width: z.ZodNumber;
674
+ height: z.ZodNumber;
675
+ }, "strip", z.ZodTypeAny, {
676
+ width: number;
677
+ height: number;
678
+ }, {
679
+ width: number;
680
+ height: number;
681
+ }>]>>;
682
+ num_images: z.ZodOptional<z.ZodNumber>;
683
+ max_images: z.ZodOptional<z.ZodNumber>;
684
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
685
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ prompt: string;
688
+ image_urls: string[];
689
+ num_images?: number | undefined;
690
+ sync_mode?: boolean | undefined;
691
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
692
+ width: number;
693
+ height: number;
694
+ } | undefined;
695
+ enable_safety_checker?: boolean | undefined;
696
+ max_images?: number | undefined;
697
+ }, {
698
+ prompt: string;
699
+ image_urls: string[];
700
+ num_images?: number | undefined;
701
+ sync_mode?: boolean | undefined;
702
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
703
+ width: number;
704
+ height: number;
705
+ } | undefined;
706
+ enable_safety_checker?: boolean | undefined;
707
+ max_images?: number | undefined;
708
+ }>;
709
+ export declare const FalSeedreamV5LiteTextToImageRequestSchema: z.ZodObject<{
710
+ prompt: z.ZodString;
711
+ image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9", "auto_2K", "auto_3K"]>, z.ZodObject<{
712
+ width: z.ZodNumber;
713
+ height: z.ZodNumber;
714
+ }, "strip", z.ZodTypeAny, {
715
+ width: number;
716
+ height: number;
717
+ }, {
718
+ width: number;
719
+ height: number;
720
+ }>]>>;
721
+ num_images: z.ZodOptional<z.ZodNumber>;
722
+ max_images: z.ZodOptional<z.ZodNumber>;
723
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
724
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ prompt: string;
727
+ num_images?: number | undefined;
728
+ sync_mode?: boolean | undefined;
729
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
730
+ width: number;
731
+ height: number;
732
+ } | undefined;
733
+ enable_safety_checker?: boolean | undefined;
734
+ max_images?: number | undefined;
735
+ }, {
736
+ prompt: string;
737
+ num_images?: number | undefined;
738
+ sync_mode?: boolean | undefined;
739
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | "auto_2K" | "auto_3K" | {
740
+ width: number;
741
+ height: number;
742
+ } | undefined;
743
+ enable_safety_checker?: boolean | undefined;
744
+ max_images?: number | undefined;
745
+ }>;
746
+ export declare const FalWanV2p7TextToImageRequestSchema: z.ZodObject<{
747
+ prompt: z.ZodString;
748
+ negative_prompt: z.ZodOptional<z.ZodString>;
749
+ image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9"]>, z.ZodObject<{
750
+ width: z.ZodNumber;
751
+ height: z.ZodNumber;
752
+ }, "strip", z.ZodTypeAny, {
753
+ width: number;
754
+ height: number;
755
+ }, {
756
+ width: number;
757
+ height: number;
758
+ }>]>>;
759
+ max_images: z.ZodOptional<z.ZodNumber>;
760
+ seed: z.ZodOptional<z.ZodNumber>;
761
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ prompt: string;
764
+ seed?: number | undefined;
765
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
766
+ width: number;
767
+ height: number;
768
+ } | undefined;
769
+ negative_prompt?: string | undefined;
770
+ enable_safety_checker?: boolean | undefined;
771
+ max_images?: number | undefined;
772
+ }, {
773
+ prompt: string;
774
+ seed?: number | undefined;
775
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
776
+ width: number;
777
+ height: number;
778
+ } | undefined;
779
+ negative_prompt?: string | undefined;
780
+ enable_safety_checker?: boolean | undefined;
781
+ max_images?: number | undefined;
782
+ }>;
783
+ export declare const FalWanV2p7EditRequestSchema: z.ZodObject<{
784
+ prompt: z.ZodString;
785
+ image_urls: z.ZodArray<z.ZodString, "many">;
786
+ negative_prompt: z.ZodOptional<z.ZodString>;
787
+ image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9"]>, z.ZodObject<{
788
+ width: z.ZodNumber;
789
+ height: z.ZodNumber;
790
+ }, "strip", z.ZodTypeAny, {
791
+ width: number;
792
+ height: number;
793
+ }, {
794
+ width: number;
795
+ height: number;
796
+ }>]>>;
797
+ num_images: z.ZodOptional<z.ZodNumber>;
798
+ enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
799
+ seed: z.ZodOptional<z.ZodNumber>;
800
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ prompt: string;
803
+ image_urls: string[];
804
+ seed?: number | undefined;
805
+ num_images?: number | undefined;
806
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
807
+ width: number;
808
+ height: number;
809
+ } | undefined;
810
+ negative_prompt?: string | undefined;
811
+ enable_safety_checker?: boolean | undefined;
812
+ enable_prompt_expansion?: boolean | undefined;
813
+ }, {
814
+ prompt: string;
815
+ image_urls: string[];
816
+ seed?: number | undefined;
817
+ num_images?: number | undefined;
818
+ image_size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
819
+ width: number;
820
+ height: number;
821
+ } | undefined;
822
+ negative_prompt?: string | undefined;
823
+ enable_safety_checker?: boolean | undefined;
824
+ enable_prompt_expansion?: boolean | undefined;
825
+ }>;
826
+ export declare const FalHunyuanImageV3InstructEditRequestSchema: z.ZodObject<{
827
+ prompt: z.ZodString;
828
+ image_urls: z.ZodArray<z.ZodString, "many">;
829
+ image_size: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9", "auto"]>, z.ZodObject<{
830
+ width: z.ZodNumber;
831
+ height: z.ZodNumber;
832
+ }, "strip", z.ZodTypeAny, {
833
+ width: number;
834
+ height: number;
835
+ }, {
836
+ width: number;
837
+ height: number;
838
+ }>]>>;
839
+ num_images: z.ZodOptional<z.ZodNumber>;
840
+ guidance_scale: z.ZodOptional<z.ZodNumber>;
841
+ seed: z.ZodOptional<z.ZodNumber>;
842
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
843
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
844
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png"]>>;
845
+ }, "strip", z.ZodTypeAny, {
846
+ prompt: string;
847
+ image_urls: string[];
848
+ seed?: number | undefined;
849
+ num_images?: number | undefined;
850
+ output_format?: "png" | "jpeg" | undefined;
851
+ sync_mode?: boolean | undefined;
852
+ image_size?: "square_hd" | "auto" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
853
+ width: number;
854
+ height: number;
855
+ } | undefined;
856
+ guidance_scale?: number | undefined;
857
+ enable_safety_checker?: boolean | undefined;
858
+ }, {
859
+ prompt: string;
860
+ image_urls: string[];
861
+ seed?: number | undefined;
862
+ num_images?: number | undefined;
863
+ output_format?: "png" | "jpeg" | undefined;
864
+ sync_mode?: boolean | undefined;
865
+ image_size?: "square_hd" | "auto" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | {
866
+ width: number;
867
+ height: number;
868
+ } | undefined;
869
+ guidance_scale?: number | undefined;
870
+ enable_safety_checker?: boolean | undefined;
871
+ }>;
872
+ export declare const FalWanV2p7TextToVideoRequestSchema: z.ZodObject<{
873
+ prompt: z.ZodString;
874
+ audio_url: z.ZodOptional<z.ZodString>;
875
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1", "4:3", "3:4"]>>;
876
+ resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p"]>>;
877
+ duration: z.ZodOptional<z.ZodNumber>;
878
+ negative_prompt: z.ZodOptional<z.ZodString>;
879
+ enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
880
+ seed: z.ZodOptional<z.ZodNumber>;
881
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
882
+ }, "strip", z.ZodTypeAny, {
883
+ prompt: string;
884
+ resolution?: "720p" | "1080p" | undefined;
885
+ duration?: number | undefined;
886
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
887
+ seed?: number | undefined;
888
+ negative_prompt?: string | undefined;
889
+ enable_safety_checker?: boolean | undefined;
890
+ enable_prompt_expansion?: boolean | undefined;
891
+ audio_url?: string | undefined;
892
+ }, {
893
+ prompt: string;
894
+ resolution?: "720p" | "1080p" | undefined;
895
+ duration?: number | undefined;
896
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
897
+ seed?: number | undefined;
898
+ negative_prompt?: string | undefined;
899
+ enable_safety_checker?: boolean | undefined;
900
+ enable_prompt_expansion?: boolean | undefined;
901
+ audio_url?: string | undefined;
902
+ }>;
903
+ export declare const FalWanV2p7ImageToVideoRequestSchema: z.ZodObject<{
904
+ prompt: z.ZodString;
905
+ image_url: z.ZodString;
906
+ end_image_url: z.ZodOptional<z.ZodString>;
907
+ video_url: z.ZodOptional<z.ZodString>;
908
+ audio_url: z.ZodOptional<z.ZodString>;
909
+ resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p"]>>;
910
+ duration: z.ZodOptional<z.ZodNumber>;
911
+ negative_prompt: z.ZodOptional<z.ZodString>;
912
+ enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
913
+ seed: z.ZodOptional<z.ZodNumber>;
914
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
915
+ }, "strip", z.ZodTypeAny, {
916
+ prompt: string;
917
+ image_url: string;
918
+ end_image_url?: string | undefined;
919
+ resolution?: "720p" | "1080p" | undefined;
920
+ duration?: number | undefined;
921
+ seed?: number | undefined;
922
+ negative_prompt?: string | undefined;
923
+ enable_safety_checker?: boolean | undefined;
924
+ enable_prompt_expansion?: boolean | undefined;
925
+ audio_url?: string | undefined;
926
+ video_url?: string | undefined;
927
+ }, {
928
+ prompt: string;
929
+ image_url: string;
930
+ end_image_url?: string | undefined;
931
+ resolution?: "720p" | "1080p" | undefined;
932
+ duration?: number | undefined;
933
+ seed?: number | undefined;
934
+ negative_prompt?: string | undefined;
935
+ enable_safety_checker?: boolean | undefined;
936
+ enable_prompt_expansion?: boolean | undefined;
937
+ audio_url?: string | undefined;
938
+ video_url?: string | undefined;
939
+ }>;
940
+ export declare const FalWanV2p7ReferenceToVideoRequestSchema: z.ZodEffects<z.ZodObject<{
941
+ prompt: z.ZodString;
942
+ reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
943
+ reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
944
+ negative_prompt: z.ZodOptional<z.ZodString>;
945
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1", "4:3", "3:4"]>>;
946
+ resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p"]>>;
947
+ duration: z.ZodOptional<z.ZodNumber>;
948
+ multi_shots: z.ZodOptional<z.ZodBoolean>;
949
+ seed: z.ZodOptional<z.ZodNumber>;
950
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ prompt: string;
953
+ resolution?: "720p" | "1080p" | undefined;
954
+ duration?: number | undefined;
955
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
956
+ seed?: number | undefined;
957
+ negative_prompt?: string | undefined;
958
+ enable_safety_checker?: boolean | undefined;
959
+ reference_image_urls?: string[] | undefined;
960
+ reference_video_urls?: string[] | undefined;
961
+ multi_shots?: boolean | undefined;
962
+ }, {
963
+ prompt: string;
964
+ resolution?: "720p" | "1080p" | undefined;
965
+ duration?: number | undefined;
966
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
967
+ seed?: number | undefined;
968
+ negative_prompt?: string | undefined;
969
+ enable_safety_checker?: boolean | undefined;
970
+ reference_image_urls?: string[] | undefined;
971
+ reference_video_urls?: string[] | undefined;
972
+ multi_shots?: boolean | undefined;
973
+ }>, {
974
+ prompt: string;
975
+ resolution?: "720p" | "1080p" | undefined;
976
+ duration?: number | undefined;
977
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
978
+ seed?: number | undefined;
979
+ negative_prompt?: string | undefined;
980
+ enable_safety_checker?: boolean | undefined;
981
+ reference_image_urls?: string[] | undefined;
982
+ reference_video_urls?: string[] | undefined;
983
+ multi_shots?: boolean | undefined;
984
+ }, {
985
+ prompt: string;
986
+ resolution?: "720p" | "1080p" | undefined;
987
+ duration?: number | undefined;
988
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
989
+ seed?: number | undefined;
990
+ negative_prompt?: string | undefined;
991
+ enable_safety_checker?: boolean | undefined;
992
+ reference_image_urls?: string[] | undefined;
993
+ reference_video_urls?: string[] | undefined;
994
+ multi_shots?: boolean | undefined;
995
+ }>;
996
+ export declare const FalWanV2p7EditVideoRequestSchema: z.ZodObject<{
997
+ prompt: z.ZodString;
998
+ video_url: z.ZodString;
999
+ reference_image_url: z.ZodOptional<z.ZodString>;
1000
+ resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p"]>>;
1001
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1", "4:3", "3:4"]>>;
1002
+ duration: z.ZodOptional<z.ZodNumber>;
1003
+ audio_setting: z.ZodOptional<z.ZodEnum<["auto", "origin"]>>;
1004
+ negative_prompt: z.ZodOptional<z.ZodString>;
1005
+ seed: z.ZodOptional<z.ZodNumber>;
1006
+ enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
1007
+ }, "strip", z.ZodTypeAny, {
1008
+ prompt: string;
1009
+ video_url: string;
1010
+ resolution?: "720p" | "1080p" | undefined;
1011
+ duration?: number | undefined;
1012
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
1013
+ seed?: number | undefined;
1014
+ negative_prompt?: string | undefined;
1015
+ enable_safety_checker?: boolean | undefined;
1016
+ reference_image_url?: string | undefined;
1017
+ audio_setting?: "auto" | "origin" | undefined;
1018
+ }, {
1019
+ prompt: string;
1020
+ video_url: string;
1021
+ resolution?: "720p" | "1080p" | undefined;
1022
+ duration?: number | undefined;
1023
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | undefined;
1024
+ seed?: number | undefined;
1025
+ negative_prompt?: string | undefined;
1026
+ enable_safety_checker?: boolean | undefined;
1027
+ reference_image_url?: string | undefined;
1028
+ audio_setting?: "auto" | "origin" | undefined;
1029
+ }>;
1030
+ export declare const FalXaiGrokImagineImageRequestSchema: z.ZodObject<{
1031
+ prompt: z.ZodString;
1032
+ num_images: z.ZodOptional<z.ZodNumber>;
1033
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["2:1", "20:9", "19.5:9", "16:9", "4:3", "3:2", "1:1", "2:3", "3:4", "9:16", "9:19.5", "9:20", "1:2"]>>;
1034
+ resolution: z.ZodOptional<z.ZodEnum<["1k", "2k"]>>;
1035
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
1036
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ prompt: string;
1039
+ resolution?: "1k" | "2k" | undefined;
1040
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | "2:1" | "20:9" | "19.5:9" | "9:19.5" | "9:20" | "1:2" | undefined;
1041
+ num_images?: number | undefined;
1042
+ output_format?: "png" | "jpeg" | "webp" | undefined;
1043
+ sync_mode?: boolean | undefined;
1044
+ }, {
1045
+ prompt: string;
1046
+ resolution?: "1k" | "2k" | undefined;
1047
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | "2:1" | "20:9" | "19.5:9" | "9:19.5" | "9:20" | "1:2" | undefined;
1048
+ num_images?: number | undefined;
1049
+ output_format?: "png" | "jpeg" | "webp" | undefined;
1050
+ sync_mode?: boolean | undefined;
1051
+ }>;
1052
+ export declare const FalXaiGrokImagineImageEditRequestSchema: z.ZodObject<{
1053
+ prompt: z.ZodString;
1054
+ num_images: z.ZodOptional<z.ZodNumber>;
1055
+ resolution: z.ZodOptional<z.ZodEnum<["1k", "2k"]>>;
1056
+ output_format: z.ZodOptional<z.ZodEnum<["jpeg", "png", "webp"]>>;
1057
+ sync_mode: z.ZodOptional<z.ZodBoolean>;
1058
+ image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ prompt: string;
1061
+ resolution?: "1k" | "2k" | undefined;
1062
+ image_urls?: string[] | undefined;
1063
+ num_images?: number | undefined;
1064
+ output_format?: "png" | "jpeg" | "webp" | undefined;
1065
+ sync_mode?: boolean | undefined;
1066
+ }, {
1067
+ prompt: string;
1068
+ resolution?: "1k" | "2k" | undefined;
1069
+ image_urls?: string[] | undefined;
1070
+ num_images?: number | undefined;
1071
+ output_format?: "png" | "jpeg" | "webp" | undefined;
1072
+ sync_mode?: boolean | undefined;
1073
+ }>;
1074
+ export declare const FalSora2TextToVideoRequestSchema: z.ZodObject<{
1075
+ prompt: z.ZodString;
1076
+ model: z.ZodOptional<z.ZodEnum<["sora-2", "sora-2-2025-12-08", "sora-2-2025-10-06"]>>;
1077
+ resolution: z.ZodOptional<z.ZodEnum<["720p"]>>;
1078
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
1079
+ duration: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>, z.ZodLiteral<20>]>>;
1080
+ delete_video: z.ZodOptional<z.ZodBoolean>;
1081
+ character_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1082
+ detect_and_block_ip: z.ZodOptional<z.ZodBoolean>;
1083
+ }, "strip", z.ZodTypeAny, {
1084
+ prompt: string;
1085
+ resolution?: "720p" | undefined;
1086
+ duration?: 4 | 20 | 8 | 12 | 16 | undefined;
1087
+ aspect_ratio?: "16:9" | "9:16" | undefined;
1088
+ model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
1089
+ delete_video?: boolean | undefined;
1090
+ character_ids?: string[] | undefined;
1091
+ detect_and_block_ip?: boolean | undefined;
1092
+ }, {
1093
+ prompt: string;
1094
+ resolution?: "720p" | undefined;
1095
+ duration?: 4 | 20 | 8 | 12 | 16 | undefined;
1096
+ aspect_ratio?: "16:9" | "9:16" | undefined;
1097
+ model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
1098
+ delete_video?: boolean | undefined;
1099
+ character_ids?: string[] | undefined;
1100
+ detect_and_block_ip?: boolean | undefined;
1101
+ }>;
1102
+ export declare const FalSora2ImageToVideoRequestSchema: z.ZodObject<{
1103
+ prompt: z.ZodString;
1104
+ image_url: z.ZodString;
1105
+ model: z.ZodOptional<z.ZodEnum<["sora-2", "sora-2-2025-12-08", "sora-2-2025-10-06"]>>;
1106
+ resolution: z.ZodOptional<z.ZodEnum<["auto", "720p"]>>;
1107
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "9:16", "16:9"]>>;
1108
+ duration: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>, z.ZodLiteral<20>]>>;
1109
+ delete_video: z.ZodOptional<z.ZodBoolean>;
1110
+ character_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1111
+ detect_and_block_ip: z.ZodOptional<z.ZodBoolean>;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ prompt: string;
1114
+ image_url: string;
1115
+ resolution?: "720p" | "auto" | undefined;
1116
+ duration?: 4 | 20 | 8 | 12 | 16 | undefined;
1117
+ aspect_ratio?: "16:9" | "auto" | "9:16" | undefined;
1118
+ model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
1119
+ delete_video?: boolean | undefined;
1120
+ character_ids?: string[] | undefined;
1121
+ detect_and_block_ip?: boolean | undefined;
1122
+ }, {
1123
+ prompt: string;
1124
+ image_url: string;
1125
+ resolution?: "720p" | "auto" | undefined;
1126
+ duration?: 4 | 20 | 8 | 12 | 16 | undefined;
1127
+ aspect_ratio?: "16:9" | "auto" | "9:16" | undefined;
1128
+ model?: "sora-2" | "sora-2-2025-12-08" | "sora-2-2025-10-06" | undefined;
1129
+ delete_video?: boolean | undefined;
1130
+ character_ids?: string[] | undefined;
1131
+ detect_and_block_ip?: boolean | undefined;
1132
+ }>;
1133
+ export declare const FalKlingVideoV3ProImageToVideoRequestSchema: z.ZodObject<{
1134
+ start_image_url: z.ZodString;
1135
+ prompt: z.ZodOptional<z.ZodString>;
1136
+ multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
1137
+ prompt: z.ZodString;
1138
+ duration: z.ZodOptional<z.ZodString>;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ prompt: string;
1141
+ duration?: string | undefined;
1142
+ }, {
1143
+ prompt: string;
1144
+ duration?: string | undefined;
1145
+ }>, "many">>;
1146
+ end_image_url: z.ZodOptional<z.ZodString>;
1147
+ duration: z.ZodOptional<z.ZodString>;
1148
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1149
+ shot_type: z.ZodOptional<z.ZodEnum<["customize"]>>;
1150
+ negative_prompt: z.ZodOptional<z.ZodString>;
1151
+ cfg_scale: z.ZodOptional<z.ZodNumber>;
1152
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1153
+ frontal_image_url: z.ZodOptional<z.ZodString>;
1154
+ reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1155
+ video_url: z.ZodOptional<z.ZodString>;
1156
+ voice_id: z.ZodOptional<z.ZodString>;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ video_url?: string | undefined;
1159
+ reference_image_urls?: string[] | undefined;
1160
+ frontal_image_url?: string | undefined;
1161
+ voice_id?: string | undefined;
1162
+ }, {
1163
+ video_url?: string | undefined;
1164
+ reference_image_urls?: string[] | undefined;
1165
+ frontal_image_url?: string | undefined;
1166
+ voice_id?: string | undefined;
1167
+ }>, "many">>;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ start_image_url: string;
1170
+ prompt?: string | undefined;
1171
+ end_image_url?: string | undefined;
1172
+ duration?: string | undefined;
1173
+ generate_audio?: boolean | undefined;
1174
+ negative_prompt?: string | undefined;
1175
+ multi_prompt?: {
1176
+ prompt: string;
1177
+ duration?: string | undefined;
1178
+ }[] | undefined;
1179
+ shot_type?: "customize" | undefined;
1180
+ cfg_scale?: number | undefined;
1181
+ elements?: {
1182
+ video_url?: string | undefined;
1183
+ reference_image_urls?: string[] | undefined;
1184
+ frontal_image_url?: string | undefined;
1185
+ voice_id?: string | undefined;
1186
+ }[] | undefined;
1187
+ }, {
1188
+ start_image_url: string;
1189
+ prompt?: string | undefined;
1190
+ end_image_url?: string | undefined;
1191
+ duration?: string | undefined;
1192
+ generate_audio?: boolean | undefined;
1193
+ negative_prompt?: string | undefined;
1194
+ multi_prompt?: {
1195
+ prompt: string;
1196
+ duration?: string | undefined;
1197
+ }[] | undefined;
1198
+ shot_type?: "customize" | undefined;
1199
+ cfg_scale?: number | undefined;
1200
+ elements?: {
1201
+ video_url?: string | undefined;
1202
+ reference_image_urls?: string[] | undefined;
1203
+ frontal_image_url?: string | undefined;
1204
+ voice_id?: string | undefined;
1205
+ }[] | undefined;
1206
+ }>;
1207
+ export declare const FalStorageUploadInitiateRequestSchema: z.ZodObject<{
1208
+ file_name: z.ZodString;
1209
+ content_type: z.ZodString;
1210
+ storage_type: z.ZodOptional<z.ZodLiteral<"fal-cdn-v3">>;
1211
+ lifecycle: z.ZodOptional<z.ZodObject<{
1212
+ expiration_duration_seconds: z.ZodNumber;
1213
+ allow_io_storage: z.ZodOptional<z.ZodBoolean>;
1214
+ }, "strip", z.ZodTypeAny, {
1215
+ expiration_duration_seconds: number;
1216
+ allow_io_storage?: boolean | undefined;
1217
+ }, {
1218
+ expiration_duration_seconds: number;
1219
+ allow_io_storage?: boolean | undefined;
1220
+ }>>;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ file_name: string;
1223
+ content_type: string;
1224
+ storage_type?: "fal-cdn-v3" | undefined;
1225
+ lifecycle?: {
1226
+ expiration_duration_seconds: number;
1227
+ allow_io_storage?: boolean | undefined;
1228
+ } | undefined;
1229
+ }, {
1230
+ file_name: string;
1231
+ content_type: string;
1232
+ storage_type?: "fal-cdn-v3" | undefined;
1233
+ lifecycle?: {
1234
+ expiration_duration_seconds: number;
1235
+ allow_io_storage?: boolean | undefined;
1236
+ } | undefined;
1237
+ }>;
1238
+ export declare const FalStorageUploadInitiateMultipartRequestSchema: z.ZodObject<{
1239
+ file_name: z.ZodString;
1240
+ content_type: z.ZodString;
1241
+ storage_type: z.ZodOptional<z.ZodLiteral<"fal-cdn-v3">>;
1242
+ lifecycle: z.ZodOptional<z.ZodObject<{
1243
+ expiration_duration_seconds: z.ZodNumber;
1244
+ allow_io_storage: z.ZodOptional<z.ZodBoolean>;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ expiration_duration_seconds: number;
1247
+ allow_io_storage?: boolean | undefined;
1248
+ }, {
1249
+ expiration_duration_seconds: number;
1250
+ allow_io_storage?: boolean | undefined;
1251
+ }>>;
1252
+ }, "strip", z.ZodTypeAny, {
1253
+ file_name: string;
1254
+ content_type: string;
1255
+ storage_type?: "fal-cdn-v3" | undefined;
1256
+ lifecycle?: {
1257
+ expiration_duration_seconds: number;
1258
+ allow_io_storage?: boolean | undefined;
1259
+ } | undefined;
1260
+ }, {
1261
+ file_name: string;
1262
+ content_type: string;
1263
+ storage_type?: "fal-cdn-v3" | undefined;
1264
+ lifecycle?: {
1265
+ expiration_duration_seconds: number;
1266
+ allow_io_storage?: boolean | undefined;
1267
+ } | undefined;
1268
+ }>;
1269
+ export declare const FalStorageUploadCompleteMultipartRequestSchema: z.ZodObject<{
1270
+ upload_url: z.ZodString;
1271
+ parts: z.ZodArray<z.ZodObject<{
1272
+ partNumber: z.ZodNumber;
1273
+ etag: z.ZodString;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ partNumber: number;
1276
+ etag: string;
1277
+ }, {
1278
+ partNumber: number;
1279
+ etag: string;
1280
+ }>, "many">;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ upload_url: string;
1283
+ parts: {
1284
+ partNumber: number;
1285
+ etag: string;
1286
+ }[];
1287
+ }, {
1288
+ upload_url: string;
1289
+ parts: {
1290
+ partNumber: number;
1291
+ etag: string;
1292
+ }[];
1293
+ }>;
1294
+ export declare const FalKlingVideoV3ProTextToVideoRequestSchema: z.ZodObject<{
1295
+ prompt: z.ZodOptional<z.ZodString>;
1296
+ multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
+ prompt: z.ZodString;
1298
+ duration: z.ZodOptional<z.ZodString>;
1299
+ }, "strip", z.ZodTypeAny, {
1300
+ prompt: string;
1301
+ duration?: string | undefined;
1302
+ }, {
1303
+ prompt: string;
1304
+ duration?: string | undefined;
1305
+ }>, "many">>;
1306
+ duration: z.ZodOptional<z.ZodString>;
1307
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1308
+ shot_type: z.ZodOptional<z.ZodEnum<["customize", "intelligent"]>>;
1309
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1"]>>;
1310
+ negative_prompt: z.ZodOptional<z.ZodString>;
1311
+ cfg_scale: z.ZodOptional<z.ZodNumber>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ prompt?: string | undefined;
1314
+ duration?: string | undefined;
1315
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1316
+ generate_audio?: boolean | undefined;
1317
+ negative_prompt?: string | undefined;
1318
+ multi_prompt?: {
1319
+ prompt: string;
1320
+ duration?: string | undefined;
1321
+ }[] | undefined;
1322
+ shot_type?: "customize" | "intelligent" | undefined;
1323
+ cfg_scale?: number | undefined;
1324
+ }, {
1325
+ prompt?: string | undefined;
1326
+ duration?: string | undefined;
1327
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1328
+ generate_audio?: boolean | undefined;
1329
+ negative_prompt?: string | undefined;
1330
+ multi_prompt?: {
1331
+ prompt: string;
1332
+ duration?: string | undefined;
1333
+ }[] | undefined;
1334
+ shot_type?: "customize" | "intelligent" | undefined;
1335
+ cfg_scale?: number | undefined;
1336
+ }>;
1337
+ export declare const FalKlingVideoV3StandardImageToVideoRequestSchema: z.ZodObject<{
1338
+ start_image_url: z.ZodString;
1339
+ prompt: z.ZodOptional<z.ZodString>;
1340
+ multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
1341
+ prompt: z.ZodString;
1342
+ duration: z.ZodOptional<z.ZodString>;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ prompt: string;
1345
+ duration?: string | undefined;
1346
+ }, {
1347
+ prompt: string;
1348
+ duration?: string | undefined;
1349
+ }>, "many">>;
1350
+ end_image_url: z.ZodOptional<z.ZodString>;
1351
+ duration: z.ZodOptional<z.ZodString>;
1352
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1353
+ shot_type: z.ZodOptional<z.ZodEnum<["customize", "intelligent"]>>;
1354
+ negative_prompt: z.ZodOptional<z.ZodString>;
1355
+ cfg_scale: z.ZodOptional<z.ZodNumber>;
1356
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1357
+ frontal_image_url: z.ZodOptional<z.ZodString>;
1358
+ reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1359
+ video_url: z.ZodOptional<z.ZodString>;
1360
+ voice_id: z.ZodOptional<z.ZodString>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ video_url?: string | undefined;
1363
+ reference_image_urls?: string[] | undefined;
1364
+ frontal_image_url?: string | undefined;
1365
+ voice_id?: string | undefined;
1366
+ }, {
1367
+ video_url?: string | undefined;
1368
+ reference_image_urls?: string[] | undefined;
1369
+ frontal_image_url?: string | undefined;
1370
+ voice_id?: string | undefined;
1371
+ }>, "many">>;
1372
+ }, "strip", z.ZodTypeAny, {
1373
+ start_image_url: string;
1374
+ prompt?: string | undefined;
1375
+ end_image_url?: string | undefined;
1376
+ duration?: string | undefined;
1377
+ generate_audio?: boolean | undefined;
1378
+ negative_prompt?: string | undefined;
1379
+ multi_prompt?: {
1380
+ prompt: string;
1381
+ duration?: string | undefined;
1382
+ }[] | undefined;
1383
+ shot_type?: "customize" | "intelligent" | undefined;
1384
+ cfg_scale?: number | undefined;
1385
+ elements?: {
1386
+ video_url?: string | undefined;
1387
+ reference_image_urls?: string[] | undefined;
1388
+ frontal_image_url?: string | undefined;
1389
+ voice_id?: string | undefined;
1390
+ }[] | undefined;
1391
+ }, {
1392
+ start_image_url: string;
1393
+ prompt?: string | undefined;
1394
+ end_image_url?: string | undefined;
1395
+ duration?: string | undefined;
1396
+ generate_audio?: boolean | undefined;
1397
+ negative_prompt?: string | undefined;
1398
+ multi_prompt?: {
1399
+ prompt: string;
1400
+ duration?: string | undefined;
1401
+ }[] | undefined;
1402
+ shot_type?: "customize" | "intelligent" | undefined;
1403
+ cfg_scale?: number | undefined;
1404
+ elements?: {
1405
+ video_url?: string | undefined;
1406
+ reference_image_urls?: string[] | undefined;
1407
+ frontal_image_url?: string | undefined;
1408
+ voice_id?: string | undefined;
1409
+ }[] | undefined;
1410
+ }>;
1411
+ export declare const FalKlingVideoV3StandardTextToVideoRequestSchema: z.ZodObject<{
1412
+ prompt: z.ZodOptional<z.ZodString>;
1413
+ multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
1414
+ prompt: z.ZodString;
1415
+ duration: z.ZodOptional<z.ZodString>;
1416
+ }, "strip", z.ZodTypeAny, {
1417
+ prompt: string;
1418
+ duration?: string | undefined;
1419
+ }, {
1420
+ prompt: string;
1421
+ duration?: string | undefined;
1422
+ }>, "many">>;
1423
+ duration: z.ZodOptional<z.ZodString>;
1424
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1425
+ shot_type: z.ZodOptional<z.ZodEnum<["customize", "intelligent"]>>;
1426
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1"]>>;
1427
+ negative_prompt: z.ZodOptional<z.ZodString>;
1428
+ cfg_scale: z.ZodOptional<z.ZodNumber>;
1429
+ }, "strip", z.ZodTypeAny, {
1430
+ prompt?: string | undefined;
1431
+ duration?: string | undefined;
1432
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1433
+ generate_audio?: boolean | undefined;
1434
+ negative_prompt?: string | undefined;
1435
+ multi_prompt?: {
1436
+ prompt: string;
1437
+ duration?: string | undefined;
1438
+ }[] | undefined;
1439
+ shot_type?: "customize" | "intelligent" | undefined;
1440
+ cfg_scale?: number | undefined;
1441
+ }, {
1442
+ prompt?: string | undefined;
1443
+ duration?: string | undefined;
1444
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1445
+ generate_audio?: boolean | undefined;
1446
+ negative_prompt?: string | undefined;
1447
+ multi_prompt?: {
1448
+ prompt: string;
1449
+ duration?: string | undefined;
1450
+ }[] | undefined;
1451
+ shot_type?: "customize" | "intelligent" | undefined;
1452
+ cfg_scale?: number | undefined;
1453
+ }>;
1454
+ export declare const FalVeo3p1TextToVideoRequestSchema: z.ZodObject<{
1455
+ prompt: z.ZodString;
1456
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16"]>>;
1457
+ duration: z.ZodOptional<z.ZodEnum<["4s", "6s", "8s"]>>;
1458
+ resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p", "4k"]>>;
1459
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1460
+ negative_prompt: z.ZodOptional<z.ZodString>;
1461
+ seed: z.ZodOptional<z.ZodNumber>;
1462
+ auto_fix: z.ZodOptional<z.ZodBoolean>;
1463
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
1464
+ }, "strip", z.ZodTypeAny, {
1465
+ prompt: string;
1466
+ resolution?: "720p" | "1080p" | "4k" | undefined;
1467
+ duration?: "4s" | "6s" | "8s" | undefined;
1468
+ aspect_ratio?: "16:9" | "9:16" | undefined;
1469
+ generate_audio?: boolean | undefined;
1470
+ seed?: number | undefined;
1471
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
1472
+ negative_prompt?: string | undefined;
1473
+ auto_fix?: boolean | undefined;
1474
+ }, {
1475
+ prompt: string;
1476
+ resolution?: "720p" | "1080p" | "4k" | undefined;
1477
+ duration?: "4s" | "6s" | "8s" | undefined;
1478
+ aspect_ratio?: "16:9" | "9:16" | undefined;
1479
+ generate_audio?: boolean | undefined;
1480
+ seed?: number | undefined;
1481
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
1482
+ negative_prompt?: string | undefined;
1483
+ auto_fix?: boolean | undefined;
1484
+ }>;
1485
+ export declare const FalVeo3p1ImageToVideoRequestSchema: z.ZodObject<{
1486
+ prompt: z.ZodString;
1487
+ image_url: z.ZodString;
1488
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "16:9", "9:16"]>>;
1489
+ duration: z.ZodOptional<z.ZodEnum<["4s", "6s", "8s"]>>;
1490
+ resolution: z.ZodOptional<z.ZodEnum<["720p", "1080p", "4k"]>>;
1491
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1492
+ negative_prompt: z.ZodOptional<z.ZodString>;
1493
+ seed: z.ZodOptional<z.ZodNumber>;
1494
+ auto_fix: z.ZodOptional<z.ZodBoolean>;
1495
+ safety_tolerance: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5", "6"]>>;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ prompt: string;
1498
+ image_url: string;
1499
+ resolution?: "720p" | "1080p" | "4k" | undefined;
1500
+ duration?: "4s" | "6s" | "8s" | undefined;
1501
+ aspect_ratio?: "16:9" | "auto" | "9:16" | undefined;
1502
+ generate_audio?: boolean | undefined;
1503
+ seed?: number | undefined;
1504
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
1505
+ negative_prompt?: string | undefined;
1506
+ auto_fix?: boolean | undefined;
1507
+ }, {
1508
+ prompt: string;
1509
+ image_url: string;
1510
+ resolution?: "720p" | "1080p" | "4k" | undefined;
1511
+ duration?: "4s" | "6s" | "8s" | undefined;
1512
+ aspect_ratio?: "16:9" | "auto" | "9:16" | undefined;
1513
+ generate_audio?: boolean | undefined;
1514
+ seed?: number | undefined;
1515
+ safety_tolerance?: "4" | "5" | "1" | "2" | "3" | "6" | undefined;
1516
+ negative_prompt?: string | undefined;
1517
+ auto_fix?: boolean | undefined;
1518
+ }>;
1519
+ export declare const FalXaiGrokImagineVideoImageToVideoRequestSchema: z.ZodObject<{
1520
+ prompt: z.ZodString;
1521
+ image_url: z.ZodString;
1522
+ duration: z.ZodOptional<z.ZodNumber>;
1523
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["auto", "16:9", "4:3", "3:2", "1:1", "2:3", "3:4", "9:16"]>>;
1524
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
1525
+ }, "strip", z.ZodTypeAny, {
1526
+ prompt: string;
1527
+ image_url: string;
1528
+ resolution?: "480p" | "720p" | undefined;
1529
+ duration?: number | undefined;
1530
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | undefined;
1531
+ }, {
1532
+ prompt: string;
1533
+ image_url: string;
1534
+ resolution?: "480p" | "720p" | undefined;
1535
+ duration?: number | undefined;
1536
+ aspect_ratio?: "1:1" | "16:9" | "auto" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | undefined;
1537
+ }>;
1538
+ export declare const FalXaiGrokImagineVideoReferenceToVideoRequestSchema: z.ZodObject<{
1539
+ prompt: z.ZodString;
1540
+ reference_image_urls: z.ZodArray<z.ZodString, "many">;
1541
+ duration: z.ZodOptional<z.ZodNumber>;
1542
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "4:3", "3:2", "1:1", "2:3", "3:4", "9:16"]>>;
1543
+ resolution: z.ZodOptional<z.ZodEnum<["480p", "720p"]>>;
1544
+ }, "strip", z.ZodTypeAny, {
1545
+ prompt: string;
1546
+ reference_image_urls: string[];
1547
+ resolution?: "480p" | "720p" | undefined;
1548
+ duration?: number | undefined;
1549
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | undefined;
1550
+ }, {
1551
+ prompt: string;
1552
+ reference_image_urls: string[];
1553
+ resolution?: "480p" | "720p" | undefined;
1554
+ duration?: number | undefined;
1555
+ aspect_ratio?: "1:1" | "16:9" | "4:3" | "3:4" | "9:16" | "3:2" | "2:3" | undefined;
1556
+ }>;
1557
+ export declare const FalXaiGrokImagineVideoExtendVideoRequestSchema: z.ZodObject<{
1558
+ prompt: z.ZodString;
1559
+ video_url: z.ZodString;
1560
+ duration: z.ZodOptional<z.ZodNumber>;
1561
+ }, "strip", z.ZodTypeAny, {
1562
+ prompt: string;
1563
+ video_url: string;
1564
+ duration?: number | undefined;
1565
+ }, {
1566
+ prompt: string;
1567
+ video_url: string;
1568
+ duration?: number | undefined;
1569
+ }>;
1570
+ export declare const FalXaiGrokImagineVideoEditVideoRequestSchema: z.ZodObject<{
1571
+ prompt: z.ZodString;
1572
+ video_url: z.ZodString;
1573
+ resolution: z.ZodOptional<z.ZodEnum<["auto", "480p", "720p"]>>;
1574
+ }, "strip", z.ZodTypeAny, {
1575
+ prompt: string;
1576
+ video_url: string;
1577
+ resolution?: "480p" | "720p" | "auto" | undefined;
1578
+ }, {
1579
+ prompt: string;
1580
+ video_url: string;
1581
+ resolution?: "480p" | "720p" | "auto" | undefined;
1582
+ }>;
1583
+ export declare const FalElevenlabsSpeechToTextScribeV2RequestSchema: z.ZodObject<{
1584
+ audio_url: z.ZodString;
1585
+ language_code: z.ZodOptional<z.ZodString>;
1586
+ tag_audio_events: z.ZodOptional<z.ZodBoolean>;
1587
+ diarize: z.ZodOptional<z.ZodBoolean>;
1588
+ keyterms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1589
+ }, "strip", z.ZodTypeAny, {
1590
+ audio_url: string;
1591
+ language_code?: string | undefined;
1592
+ tag_audio_events?: boolean | undefined;
1593
+ diarize?: boolean | undefined;
1594
+ keyterms?: string[] | undefined;
1595
+ }, {
1596
+ audio_url: string;
1597
+ language_code?: string | undefined;
1598
+ tag_audio_events?: boolean | undefined;
1599
+ diarize?: boolean | undefined;
1600
+ keyterms?: string[] | undefined;
1601
+ }>;
1602
+ export declare const FalOptionsSchema: z.ZodObject<{
1603
+ apiKey: z.ZodString;
1604
+ baseURL: z.ZodOptional<z.ZodString>;
1605
+ queueBaseURL: z.ZodOptional<z.ZodString>;
1606
+ runBaseURL: z.ZodOptional<z.ZodString>;
1607
+ restBaseURL: z.ZodOptional<z.ZodString>;
1608
+ timeout: z.ZodOptional<z.ZodNumber>;
1609
+ fetch: z.ZodOptional<z.ZodType<(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>, z.ZodTypeDef, (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>>>;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ apiKey: string;
1612
+ timeout?: number | undefined;
1613
+ baseURL?: string | undefined;
1614
+ queueBaseURL?: string | undefined;
1615
+ runBaseURL?: string | undefined;
1616
+ restBaseURL?: string | undefined;
1617
+ fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
1618
+ }, {
1619
+ apiKey: string;
1620
+ timeout?: number | undefined;
1621
+ baseURL?: string | undefined;
1622
+ queueBaseURL?: string | undefined;
1623
+ runBaseURL?: string | undefined;
1624
+ restBaseURL?: string | undefined;
1625
+ fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
1626
+ }>;
1627
+ export type FalEstimateRequest = z.infer<typeof FalPricingEstimateRequestSchema>;
1628
+ export type FalQueueSubmitParams = z.infer<typeof FalQueueSubmitRequestSchema>;
1629
+ export type FalLogsStreamParams = z.infer<typeof FalLogsStreamRequestSchema>;
1630
+ export type FalFilesUploadUrlParams = z.infer<typeof FalFilesUploadUrlRequestSchema>;
1631
+ export type FalFilesUploadLocalParams = z.infer<typeof FalFilesUploadLocalRequestSchema>;
1632
+ export type FalDeletePayloadsParams = z.infer<typeof FalDeletePayloadsRequestSchema>;
1633
+ export type FalSeedance2p0ImageToVideoParams = z.infer<typeof FalSeedance2p0ImageToVideoRequestSchema>;
1634
+ export type FalSeedance2p0TextToVideoParams = z.infer<typeof FalSeedance2p0TextToVideoRequestSchema>;
1635
+ export type FalSeedance2p0FastImageToVideoParams = z.infer<typeof FalSeedance2p0FastImageToVideoRequestSchema>;
1636
+ export type FalSeedance2p0FastTextToVideoParams = z.infer<typeof FalSeedance2p0FastTextToVideoRequestSchema>;
1637
+ export type FalSeedance2p0ReferenceToVideoParams = z.infer<typeof FalSeedance2p0ReferenceToVideoRequestSchema>;
1638
+ export type FalSeedance2p0FastReferenceToVideoParams = z.infer<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
1639
+ export type FalNanoBananaProTextToImageParams = z.infer<typeof FalNanoBananaProTextToImageRequestSchema>;
1640
+ export type FalNanoBananaProEditParams = z.infer<typeof FalNanoBananaProEditRequestSchema>;
1641
+ export type FalNanoBanana2TextToImageParams = z.infer<typeof FalNanoBanana2TextToImageRequestSchema>;
1642
+ export type FalNanoBanana2EditParams = z.infer<typeof FalNanoBanana2EditRequestSchema>;
1643
+ export type FalSeedreamV5LiteEditParams = z.infer<typeof FalSeedreamV5LiteEditRequestSchema>;
1644
+ export type FalSeedreamV5LiteTextToImageParams = z.infer<typeof FalSeedreamV5LiteTextToImageRequestSchema>;
1645
+ export type FalElevenlabsSpeechToTextScribeV2Params = z.infer<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
1646
+ export type FalWanV2p7TextToImageParams = z.infer<typeof FalWanV2p7TextToImageRequestSchema>;
1647
+ export type FalWanV2p7EditParams = z.infer<typeof FalWanV2p7EditRequestSchema>;
1648
+ export type FalWanV2p7TextToVideoParams = z.infer<typeof FalWanV2p7TextToVideoRequestSchema>;
1649
+ export type FalWanV2p7ImageToVideoParams = z.infer<typeof FalWanV2p7ImageToVideoRequestSchema>;
1650
+ export type FalWanV2p7ReferenceToVideoParams = z.infer<typeof FalWanV2p7ReferenceToVideoRequestSchema>;
1651
+ export type FalWanV2p7EditVideoParams = z.infer<typeof FalWanV2p7EditVideoRequestSchema>;
1652
+ export type FalXaiGrokImagineImageParams = z.infer<typeof FalXaiGrokImagineImageRequestSchema>;
1653
+ export type FalXaiGrokImagineImageEditParams = z.infer<typeof FalXaiGrokImagineImageEditRequestSchema>;
1654
+ export type FalQwenImageParams = z.infer<typeof FalQwenImageRequestSchema>;
1655
+ export type FalQwenImageEditParams = z.infer<typeof FalQwenImageEditRequestSchema>;
1656
+ export type FalGptImage1p5Params = z.infer<typeof FalGptImage1p5RequestSchema>;
1657
+ export type FalGptImage1p5EditParams = z.infer<typeof FalGptImage1p5EditRequestSchema>;
1658
+ export type FalNanoBananaTextToImageParams = z.infer<typeof FalNanoBananaTextToImageRequestSchema>;
1659
+ export type FalNanoBananaEditParams = z.infer<typeof FalNanoBananaEditRequestSchema>;
1660
+ export type FalXaiGrokImagineVideoImageToVideoParams = z.infer<typeof FalXaiGrokImagineVideoImageToVideoRequestSchema>;
1661
+ export type FalXaiGrokImagineVideoReferenceToVideoParams = z.infer<typeof FalXaiGrokImagineVideoReferenceToVideoRequestSchema>;
1662
+ export type FalXaiGrokImagineVideoExtendVideoParams = z.infer<typeof FalXaiGrokImagineVideoExtendVideoRequestSchema>;
1663
+ export type FalXaiGrokImagineVideoEditVideoParams = z.infer<typeof FalXaiGrokImagineVideoEditVideoRequestSchema>;
1664
+ export type FalVeo3p1TextToVideoParams = z.infer<typeof FalVeo3p1TextToVideoRequestSchema>;
1665
+ export type FalVeo3p1ImageToVideoParams = z.infer<typeof FalVeo3p1ImageToVideoRequestSchema>;
1666
+ export type FalStorageUploadInitiateParams = z.infer<typeof FalStorageUploadInitiateRequestSchema>;
1667
+ export type FalStorageUploadInitiateMultipartParams = z.infer<typeof FalStorageUploadInitiateMultipartRequestSchema>;
1668
+ export type FalStorageUploadCompleteMultipartParams = z.infer<typeof FalStorageUploadCompleteMultipartRequestSchema>;
1669
+ export type FalKlingVideoV3ProImageToVideoParams = z.infer<typeof FalKlingVideoV3ProImageToVideoRequestSchema>;
1670
+ export type FalKlingVideoV3ProTextToVideoParams = z.infer<typeof FalKlingVideoV3ProTextToVideoRequestSchema>;
1671
+ export type FalKlingVideoV3StandardImageToVideoParams = z.infer<typeof FalKlingVideoV3StandardImageToVideoRequestSchema>;
1672
+ export type FalKlingVideoV3StandardTextToVideoParams = z.infer<typeof FalKlingVideoV3StandardTextToVideoRequestSchema>;
1673
+ export type FalSora2TextToVideoParams = z.infer<typeof FalSora2TextToVideoRequestSchema>;
1674
+ export type FalSora2ImageToVideoParams = z.infer<typeof FalSora2ImageToVideoRequestSchema>;
1675
+ export type FalHunyuanImageV3InstructEditParams = z.infer<typeof FalHunyuanImageV3InstructEditRequestSchema>;
1676
+ export declare const FalKlingVideoO3p4kImageToVideoRequestSchema: z.ZodObject<{
1677
+ prompt: z.ZodOptional<z.ZodString>;
1678
+ image_url: z.ZodString;
1679
+ end_image_url: z.ZodOptional<z.ZodString>;
1680
+ duration: z.ZodOptional<z.ZodEnum<["3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
1681
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1682
+ multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
1683
+ prompt: z.ZodString;
1684
+ duration: z.ZodOptional<z.ZodString>;
1685
+ }, "strip", z.ZodTypeAny, {
1686
+ prompt: string;
1687
+ duration?: string | undefined;
1688
+ }, {
1689
+ prompt: string;
1690
+ duration?: string | undefined;
1691
+ }>, "many">>;
1692
+ shot_type: z.ZodOptional<z.ZodString>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ image_url: string;
1695
+ prompt?: string | undefined;
1696
+ end_image_url?: string | undefined;
1697
+ duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
1698
+ generate_audio?: boolean | undefined;
1699
+ multi_prompt?: {
1700
+ prompt: string;
1701
+ duration?: string | undefined;
1702
+ }[] | undefined;
1703
+ shot_type?: string | undefined;
1704
+ }, {
1705
+ image_url: string;
1706
+ prompt?: string | undefined;
1707
+ end_image_url?: string | undefined;
1708
+ duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
1709
+ generate_audio?: boolean | undefined;
1710
+ multi_prompt?: {
1711
+ prompt: string;
1712
+ duration?: string | undefined;
1713
+ }[] | undefined;
1714
+ shot_type?: string | undefined;
1715
+ }>;
1716
+ export type FalKlingVideoO3p4kImageToVideoParams = z.infer<typeof FalKlingVideoO3p4kImageToVideoRequestSchema>;
1717
+ export declare const FalKlingVideoO3p4kReferenceToVideoRequestSchema: z.ZodObject<{
1718
+ prompt: z.ZodOptional<z.ZodString>;
1719
+ multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
1720
+ prompt: z.ZodString;
1721
+ duration: z.ZodOptional<z.ZodString>;
1722
+ }, "strip", z.ZodTypeAny, {
1723
+ prompt: string;
1724
+ duration?: string | undefined;
1725
+ }, {
1726
+ prompt: string;
1727
+ duration?: string | undefined;
1728
+ }>, "many">>;
1729
+ start_image_url: z.ZodOptional<z.ZodString>;
1730
+ end_image_url: z.ZodOptional<z.ZodString>;
1731
+ image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1732
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1733
+ frontal_image_url: z.ZodOptional<z.ZodString>;
1734
+ reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1735
+ video_url: z.ZodOptional<z.ZodString>;
1736
+ voice_id: z.ZodOptional<z.ZodString>;
1737
+ }, "strip", z.ZodTypeAny, {
1738
+ video_url?: string | undefined;
1739
+ reference_image_urls?: string[] | undefined;
1740
+ frontal_image_url?: string | undefined;
1741
+ voice_id?: string | undefined;
1742
+ }, {
1743
+ video_url?: string | undefined;
1744
+ reference_image_urls?: string[] | undefined;
1745
+ frontal_image_url?: string | undefined;
1746
+ voice_id?: string | undefined;
1747
+ }>, "many">>;
1748
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1749
+ duration: z.ZodOptional<z.ZodEnum<["3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
1750
+ shot_type: z.ZodOptional<z.ZodString>;
1751
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1"]>>;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ prompt?: string | undefined;
1754
+ end_image_url?: string | undefined;
1755
+ duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
1756
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1757
+ generate_audio?: boolean | undefined;
1758
+ image_urls?: string[] | undefined;
1759
+ start_image_url?: string | undefined;
1760
+ multi_prompt?: {
1761
+ prompt: string;
1762
+ duration?: string | undefined;
1763
+ }[] | undefined;
1764
+ shot_type?: string | undefined;
1765
+ elements?: {
1766
+ video_url?: string | undefined;
1767
+ reference_image_urls?: string[] | undefined;
1768
+ frontal_image_url?: string | undefined;
1769
+ voice_id?: string | undefined;
1770
+ }[] | undefined;
1771
+ }, {
1772
+ prompt?: string | undefined;
1773
+ end_image_url?: string | undefined;
1774
+ duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
1775
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1776
+ generate_audio?: boolean | undefined;
1777
+ image_urls?: string[] | undefined;
1778
+ start_image_url?: string | undefined;
1779
+ multi_prompt?: {
1780
+ prompt: string;
1781
+ duration?: string | undefined;
1782
+ }[] | undefined;
1783
+ shot_type?: string | undefined;
1784
+ elements?: {
1785
+ video_url?: string | undefined;
1786
+ reference_image_urls?: string[] | undefined;
1787
+ frontal_image_url?: string | undefined;
1788
+ voice_id?: string | undefined;
1789
+ }[] | undefined;
1790
+ }>;
1791
+ export type FalKlingVideoO3p4kReferenceToVideoParams = z.infer<typeof FalKlingVideoO3p4kReferenceToVideoRequestSchema>;
1792
+ export declare const FalKlingVideoO3p4kTextToVideoRequestSchema: z.ZodObject<{
1793
+ prompt: z.ZodOptional<z.ZodString>;
1794
+ duration: z.ZodOptional<z.ZodEnum<["3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]>>;
1795
+ aspect_ratio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1"]>>;
1796
+ generate_audio: z.ZodOptional<z.ZodBoolean>;
1797
+ multi_prompt: z.ZodOptional<z.ZodArray<z.ZodObject<{
1798
+ prompt: z.ZodString;
1799
+ duration: z.ZodOptional<z.ZodString>;
1800
+ }, "strip", z.ZodTypeAny, {
1801
+ prompt: string;
1802
+ duration?: string | undefined;
1803
+ }, {
1804
+ prompt: string;
1805
+ duration?: string | undefined;
1806
+ }>, "many">>;
1807
+ shot_type: z.ZodOptional<z.ZodString>;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ prompt?: string | undefined;
1810
+ duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
1811
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1812
+ generate_audio?: boolean | undefined;
1813
+ multi_prompt?: {
1814
+ prompt: string;
1815
+ duration?: string | undefined;
1816
+ }[] | undefined;
1817
+ shot_type?: string | undefined;
1818
+ }, {
1819
+ prompt?: string | undefined;
1820
+ duration?: "4" | "5" | "3" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | undefined;
1821
+ aspect_ratio?: "1:1" | "16:9" | "9:16" | undefined;
1822
+ generate_audio?: boolean | undefined;
1823
+ multi_prompt?: {
1824
+ prompt: string;
1825
+ duration?: string | undefined;
1826
+ }[] | undefined;
1827
+ shot_type?: string | undefined;
1828
+ }>;
1829
+ export type FalKlingVideoO3p4kTextToVideoParams = z.infer<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
1830
+ export type FalOptions = z.infer<typeof FalOptionsSchema>;
1831
+ //# sourceMappingURL=zod.d.ts.map