@apicity/fal 0.10.2 → 0.10.3
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 +359 -49
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +233 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +107 -1
- package/dist/src/fal.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +141 -3
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +1082 -49
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +358 -0
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/dist/src/zod.d.ts
CHANGED
|
@@ -265,6 +265,173 @@ export declare const FalSeedance2p0FastReferenceToVideoRequestSchema: z.ZodObjec
|
|
|
265
265
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
266
266
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
267
267
|
}, z.core.$strip>;
|
|
268
|
+
export declare const FalSeedance2p5TextToVideoRequestSchema: z.ZodObject<{
|
|
269
|
+
prompt: z.ZodString;
|
|
270
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
271
|
+
"480p": "480p";
|
|
272
|
+
"720p": "720p";
|
|
273
|
+
"1080p": "1080p";
|
|
274
|
+
}>>;
|
|
275
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
276
|
+
4: "4";
|
|
277
|
+
5: "5";
|
|
278
|
+
auto: "auto";
|
|
279
|
+
6: "6";
|
|
280
|
+
7: "7";
|
|
281
|
+
8: "8";
|
|
282
|
+
9: "9";
|
|
283
|
+
10: "10";
|
|
284
|
+
11: "11";
|
|
285
|
+
12: "12";
|
|
286
|
+
13: "13";
|
|
287
|
+
14: "14";
|
|
288
|
+
15: "15";
|
|
289
|
+
16: "16";
|
|
290
|
+
17: "17";
|
|
291
|
+
18: "18";
|
|
292
|
+
19: "19";
|
|
293
|
+
20: "20";
|
|
294
|
+
21: "21";
|
|
295
|
+
22: "22";
|
|
296
|
+
23: "23";
|
|
297
|
+
24: "24";
|
|
298
|
+
25: "25";
|
|
299
|
+
26: "26";
|
|
300
|
+
27: "27";
|
|
301
|
+
28: "28";
|
|
302
|
+
29: "29";
|
|
303
|
+
30: "30";
|
|
304
|
+
}>>;
|
|
305
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
306
|
+
"1:1": "1:1";
|
|
307
|
+
"16:9": "16:9";
|
|
308
|
+
auto: "auto";
|
|
309
|
+
"21:9": "21:9";
|
|
310
|
+
"4:3": "4:3";
|
|
311
|
+
"3:4": "3:4";
|
|
312
|
+
"9:16": "9:16";
|
|
313
|
+
}>>;
|
|
314
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
316
|
+
standard: "standard";
|
|
317
|
+
high: "high";
|
|
318
|
+
}>>;
|
|
319
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
320
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
321
|
+
}, z.core.$strip>;
|
|
322
|
+
export declare const FalSeedance2p5ImageToVideoRequestSchema: z.ZodObject<{
|
|
323
|
+
prompt: z.ZodString;
|
|
324
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
325
|
+
"480p": "480p";
|
|
326
|
+
"720p": "720p";
|
|
327
|
+
"1080p": "1080p";
|
|
328
|
+
}>>;
|
|
329
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
330
|
+
4: "4";
|
|
331
|
+
5: "5";
|
|
332
|
+
auto: "auto";
|
|
333
|
+
6: "6";
|
|
334
|
+
7: "7";
|
|
335
|
+
8: "8";
|
|
336
|
+
9: "9";
|
|
337
|
+
10: "10";
|
|
338
|
+
11: "11";
|
|
339
|
+
12: "12";
|
|
340
|
+
13: "13";
|
|
341
|
+
14: "14";
|
|
342
|
+
15: "15";
|
|
343
|
+
16: "16";
|
|
344
|
+
17: "17";
|
|
345
|
+
18: "18";
|
|
346
|
+
19: "19";
|
|
347
|
+
20: "20";
|
|
348
|
+
21: "21";
|
|
349
|
+
22: "22";
|
|
350
|
+
23: "23";
|
|
351
|
+
24: "24";
|
|
352
|
+
25: "25";
|
|
353
|
+
26: "26";
|
|
354
|
+
27: "27";
|
|
355
|
+
28: "28";
|
|
356
|
+
29: "29";
|
|
357
|
+
30: "30";
|
|
358
|
+
}>>;
|
|
359
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
360
|
+
"1:1": "1:1";
|
|
361
|
+
"16:9": "16:9";
|
|
362
|
+
auto: "auto";
|
|
363
|
+
"21:9": "21:9";
|
|
364
|
+
"4:3": "4:3";
|
|
365
|
+
"3:4": "3:4";
|
|
366
|
+
"9:16": "9:16";
|
|
367
|
+
}>>;
|
|
368
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
369
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
370
|
+
standard: "standard";
|
|
371
|
+
high: "high";
|
|
372
|
+
}>>;
|
|
373
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
374
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
375
|
+
image_url: z.ZodString;
|
|
376
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, z.core.$strip>;
|
|
378
|
+
export declare const FalSeedance2p5ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
379
|
+
prompt: z.ZodString;
|
|
380
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
381
|
+
"480p": "480p";
|
|
382
|
+
"720p": "720p";
|
|
383
|
+
"1080p": "1080p";
|
|
384
|
+
}>>;
|
|
385
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
4: "4";
|
|
387
|
+
5: "5";
|
|
388
|
+
auto: "auto";
|
|
389
|
+
6: "6";
|
|
390
|
+
7: "7";
|
|
391
|
+
8: "8";
|
|
392
|
+
9: "9";
|
|
393
|
+
10: "10";
|
|
394
|
+
11: "11";
|
|
395
|
+
12: "12";
|
|
396
|
+
13: "13";
|
|
397
|
+
14: "14";
|
|
398
|
+
15: "15";
|
|
399
|
+
16: "16";
|
|
400
|
+
17: "17";
|
|
401
|
+
18: "18";
|
|
402
|
+
19: "19";
|
|
403
|
+
20: "20";
|
|
404
|
+
21: "21";
|
|
405
|
+
22: "22";
|
|
406
|
+
23: "23";
|
|
407
|
+
24: "24";
|
|
408
|
+
25: "25";
|
|
409
|
+
26: "26";
|
|
410
|
+
27: "27";
|
|
411
|
+
28: "28";
|
|
412
|
+
29: "29";
|
|
413
|
+
30: "30";
|
|
414
|
+
}>>;
|
|
415
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
416
|
+
"1:1": "1:1";
|
|
417
|
+
"16:9": "16:9";
|
|
418
|
+
auto: "auto";
|
|
419
|
+
"21:9": "21:9";
|
|
420
|
+
"4:3": "4:3";
|
|
421
|
+
"3:4": "3:4";
|
|
422
|
+
"9:16": "9:16";
|
|
423
|
+
}>>;
|
|
424
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
426
|
+
standard: "standard";
|
|
427
|
+
high: "high";
|
|
428
|
+
}>>;
|
|
429
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
431
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
433
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
434
|
+
}, z.core.$strip>;
|
|
268
435
|
export declare const FalNanoBanana2TextToImageRequestSchema: z.ZodObject<{
|
|
269
436
|
prompt: z.ZodString;
|
|
270
437
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
@@ -309,8 +476,8 @@ export declare const FalNanoBanana2TextToImageRequestSchema: z.ZodObject<{
|
|
|
309
476
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
310
477
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
311
478
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
312
|
-
minimal: "minimal";
|
|
313
479
|
high: "high";
|
|
480
|
+
minimal: "minimal";
|
|
314
481
|
}>>;
|
|
315
482
|
}, z.core.$strip>;
|
|
316
483
|
export declare const FalNanoBanana2EditRequestSchema: z.ZodObject<{
|
|
@@ -358,8 +525,8 @@ export declare const FalNanoBanana2EditRequestSchema: z.ZodObject<{
|
|
|
358
525
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
359
526
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
360
527
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
361
|
-
minimal: "minimal";
|
|
362
528
|
high: "high";
|
|
529
|
+
minimal: "minimal";
|
|
363
530
|
}>>;
|
|
364
531
|
}, z.core.$strip>;
|
|
365
532
|
export declare const FalNanoBanana2LiteTextToImageRequestSchema: z.ZodObject<{
|
|
@@ -400,8 +567,8 @@ export declare const FalNanoBanana2LiteTextToImageRequestSchema: z.ZodObject<{
|
|
|
400
567
|
system_prompt: z.ZodOptional<z.ZodString>;
|
|
401
568
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
402
569
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
403
|
-
minimal: "minimal";
|
|
404
570
|
high: "high";
|
|
571
|
+
minimal: "minimal";
|
|
405
572
|
}>>;
|
|
406
573
|
}, z.core.$strip>;
|
|
407
574
|
export declare const FalNanoBanana2LiteEditRequestSchema: z.ZodObject<{
|
|
@@ -442,8 +609,8 @@ export declare const FalNanoBanana2LiteEditRequestSchema: z.ZodObject<{
|
|
|
442
609
|
system_prompt: z.ZodOptional<z.ZodString>;
|
|
443
610
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
444
611
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
445
|
-
minimal: "minimal";
|
|
446
612
|
high: "high";
|
|
613
|
+
minimal: "minimal";
|
|
447
614
|
}>>;
|
|
448
615
|
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
449
616
|
}, z.core.$strip>;
|
|
@@ -822,6 +989,104 @@ export declare const FalSeedSpeechTtsV2RequestSchema: z.ZodObject<{
|
|
|
822
989
|
}>>>;
|
|
823
990
|
voice_instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
824
991
|
}, z.core.$strip>;
|
|
992
|
+
export declare const FalAlibabaQwenImage3TextToImageRequestSchema: z.ZodObject<{
|
|
993
|
+
prompt: z.ZodString;
|
|
994
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
995
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
996
|
+
square_hd: "square_hd";
|
|
997
|
+
square: "square";
|
|
998
|
+
portrait_4_3: "portrait_4_3";
|
|
999
|
+
portrait_16_9: "portrait_16_9";
|
|
1000
|
+
landscape_4_3: "landscape_4_3";
|
|
1001
|
+
landscape_16_9: "landscape_16_9";
|
|
1002
|
+
}>, z.ZodObject<{
|
|
1003
|
+
width: z.ZodNumber;
|
|
1004
|
+
height: z.ZodNumber;
|
|
1005
|
+
}, z.core.$strip>]>>;
|
|
1006
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1007
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1008
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1009
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1010
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1011
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1012
|
+
png: "png";
|
|
1013
|
+
jpeg: "jpeg";
|
|
1014
|
+
webp: "webp";
|
|
1015
|
+
}>>;
|
|
1016
|
+
}, z.core.$strip>;
|
|
1017
|
+
export declare const FalWan3p0TextToVideoRequestSchema: z.ZodObject<{
|
|
1018
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1019
|
+
"480p": "480p";
|
|
1020
|
+
"720p": "720p";
|
|
1021
|
+
"1080p": "1080p";
|
|
1022
|
+
}>>;
|
|
1023
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1024
|
+
"1:1": "1:1";
|
|
1025
|
+
"16:9": "16:9";
|
|
1026
|
+
"4:3": "4:3";
|
|
1027
|
+
"3:4": "3:4";
|
|
1028
|
+
"9:16": "9:16";
|
|
1029
|
+
adaptive: "adaptive";
|
|
1030
|
+
}>>;
|
|
1031
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1032
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1033
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1034
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1035
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1036
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1037
|
+
prompt: z.ZodString;
|
|
1038
|
+
}, z.core.$strip>;
|
|
1039
|
+
export declare const FalWan3p0ImageToVideoRequestSchema: z.ZodObject<{
|
|
1040
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1041
|
+
"480p": "480p";
|
|
1042
|
+
"720p": "720p";
|
|
1043
|
+
"1080p": "1080p";
|
|
1044
|
+
}>>;
|
|
1045
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1046
|
+
"1:1": "1:1";
|
|
1047
|
+
"16:9": "16:9";
|
|
1048
|
+
"4:3": "4:3";
|
|
1049
|
+
"3:4": "3:4";
|
|
1050
|
+
"9:16": "9:16";
|
|
1051
|
+
adaptive: "adaptive";
|
|
1052
|
+
}>>;
|
|
1053
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1054
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1055
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1056
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1057
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1058
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1059
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1060
|
+
start_image_url: z.ZodString;
|
|
1061
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1062
|
+
}, z.core.$strip>;
|
|
1063
|
+
export declare const FalWan3p0ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
1064
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1065
|
+
"480p": "480p";
|
|
1066
|
+
"720p": "720p";
|
|
1067
|
+
"1080p": "1080p";
|
|
1068
|
+
}>>;
|
|
1069
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1070
|
+
"1:1": "1:1";
|
|
1071
|
+
"16:9": "16:9";
|
|
1072
|
+
"4:3": "4:3";
|
|
1073
|
+
"3:4": "3:4";
|
|
1074
|
+
"9:16": "9:16";
|
|
1075
|
+
adaptive: "adaptive";
|
|
1076
|
+
}>>;
|
|
1077
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1078
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1079
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1080
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1081
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1082
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1083
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1084
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1085
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1086
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1087
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1088
|
+
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
|
+
}, z.core.$strip>;
|
|
825
1090
|
export declare const FalWanV2p7TextToImageRequestSchema: z.ZodObject<{
|
|
826
1091
|
prompt: z.ZodString;
|
|
827
1092
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -995,54 +1260,122 @@ export declare const FalXaiGrokImagineImageRequestSchema: z.ZodObject<{
|
|
|
995
1260
|
}>>;
|
|
996
1261
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
997
1262
|
}, z.core.$strip>;
|
|
998
|
-
export declare const
|
|
1263
|
+
export declare const FalXaiGrokImagineImageV2p0TextToImageRequestSchema: z.ZodObject<{
|
|
999
1264
|
prompt: z.ZodString;
|
|
1000
1265
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1266
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1267
|
+
"1:1": "1:1";
|
|
1268
|
+
"16:9": "16:9";
|
|
1269
|
+
"4:3": "4:3";
|
|
1270
|
+
"3:4": "3:4";
|
|
1271
|
+
"9:16": "9:16";
|
|
1272
|
+
"3:2": "3:2";
|
|
1273
|
+
"2:3": "2:3";
|
|
1274
|
+
"2:1": "2:1";
|
|
1275
|
+
"20:9": "20:9";
|
|
1276
|
+
"19.5:9": "19.5:9";
|
|
1277
|
+
"9:19.5": "9:19.5";
|
|
1278
|
+
"9:20": "9:20";
|
|
1279
|
+
"1:2": "1:2";
|
|
1280
|
+
}>>;
|
|
1001
1281
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1002
1282
|
"1k": "1k";
|
|
1003
1283
|
"2k": "2k";
|
|
1004
1284
|
}>>;
|
|
1285
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
1286
|
+
low: "low";
|
|
1287
|
+
medium: "medium";
|
|
1288
|
+
}>>;
|
|
1005
1289
|
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1006
1290
|
png: "png";
|
|
1007
1291
|
jpeg: "jpeg";
|
|
1008
1292
|
webp: "webp";
|
|
1009
1293
|
}>>;
|
|
1010
1294
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1011
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1012
1295
|
}, z.core.$strip>;
|
|
1013
|
-
export declare const
|
|
1296
|
+
export declare const FalXaiGrokImagineImageV2p0EditRequestSchema: z.ZodObject<{
|
|
1014
1297
|
prompt: z.ZodString;
|
|
1015
|
-
|
|
1016
|
-
"sora-2": "sora-2";
|
|
1017
|
-
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
1018
|
-
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
1019
|
-
}>>;
|
|
1020
|
-
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1021
|
-
"720p": "720p";
|
|
1022
|
-
}>>;
|
|
1298
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1023
1299
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1300
|
+
"1:1": "1:1";
|
|
1024
1301
|
"16:9": "16:9";
|
|
1302
|
+
auto: "auto";
|
|
1303
|
+
"4:3": "4:3";
|
|
1304
|
+
"3:4": "3:4";
|
|
1025
1305
|
"9:16": "9:16";
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
image_url: z.ZodString;
|
|
1035
|
-
model: z.ZodOptional<z.ZodEnum<{
|
|
1036
|
-
"sora-2": "sora-2";
|
|
1037
|
-
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
1038
|
-
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
1306
|
+
"3:2": "3:2";
|
|
1307
|
+
"2:3": "2:3";
|
|
1308
|
+
"2:1": "2:1";
|
|
1309
|
+
"20:9": "20:9";
|
|
1310
|
+
"19.5:9": "19.5:9";
|
|
1311
|
+
"9:19.5": "9:19.5";
|
|
1312
|
+
"9:20": "9:20";
|
|
1313
|
+
"1:2": "1:2";
|
|
1039
1314
|
}>>;
|
|
1040
1315
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1041
|
-
"
|
|
1042
|
-
|
|
1316
|
+
"1k": "1k";
|
|
1317
|
+
"2k": "2k";
|
|
1043
1318
|
}>>;
|
|
1044
|
-
|
|
1045
|
-
|
|
1319
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
1320
|
+
low: "low";
|
|
1321
|
+
medium: "medium";
|
|
1322
|
+
}>>;
|
|
1323
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1324
|
+
png: "png";
|
|
1325
|
+
jpeg: "jpeg";
|
|
1326
|
+
webp: "webp";
|
|
1327
|
+
}>>;
|
|
1328
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1329
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1330
|
+
}, z.core.$strip>;
|
|
1331
|
+
export declare const FalXaiGrokImagineImageEditRequestSchema: z.ZodObject<{
|
|
1332
|
+
prompt: z.ZodString;
|
|
1333
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1334
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1335
|
+
"1k": "1k";
|
|
1336
|
+
"2k": "2k";
|
|
1337
|
+
}>>;
|
|
1338
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1339
|
+
png: "png";
|
|
1340
|
+
jpeg: "jpeg";
|
|
1341
|
+
webp: "webp";
|
|
1342
|
+
}>>;
|
|
1343
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1344
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1345
|
+
}, z.core.$strip>;
|
|
1346
|
+
export declare const FalSora2TextToVideoRequestSchema: z.ZodObject<{
|
|
1347
|
+
prompt: z.ZodString;
|
|
1348
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
1349
|
+
"sora-2": "sora-2";
|
|
1350
|
+
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
1351
|
+
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
1352
|
+
}>>;
|
|
1353
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1354
|
+
"720p": "720p";
|
|
1355
|
+
}>>;
|
|
1356
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1357
|
+
"16:9": "16:9";
|
|
1358
|
+
"9:16": "9:16";
|
|
1359
|
+
}>>;
|
|
1360
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>, z.ZodLiteral<20>]>>;
|
|
1361
|
+
delete_video: z.ZodOptional<z.ZodBoolean>;
|
|
1362
|
+
character_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1363
|
+
detect_and_block_ip: z.ZodOptional<z.ZodBoolean>;
|
|
1364
|
+
}, z.core.$strip>;
|
|
1365
|
+
export declare const FalSora2ImageToVideoRequestSchema: z.ZodObject<{
|
|
1366
|
+
prompt: z.ZodString;
|
|
1367
|
+
image_url: z.ZodString;
|
|
1368
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
1369
|
+
"sora-2": "sora-2";
|
|
1370
|
+
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
1371
|
+
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
1372
|
+
}>>;
|
|
1373
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1374
|
+
"720p": "720p";
|
|
1375
|
+
auto: "auto";
|
|
1376
|
+
}>>;
|
|
1377
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1378
|
+
"16:9": "16:9";
|
|
1046
1379
|
auto: "auto";
|
|
1047
1380
|
"9:16": "9:16";
|
|
1048
1381
|
}>>;
|
|
@@ -1320,6 +1653,18 @@ export type FalSeedance2p0FastReferenceToVideoParams = z.infer<typeof FalSeedanc
|
|
|
1320
1653
|
export type FalSeedance2p0FastReferenceToVideoRequest = z.input<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
|
|
1321
1654
|
export type FalSeedance2p0FastReferenceToVideoRequestInput = FalSeedance2p0FastReferenceToVideoRequest;
|
|
1322
1655
|
export type FalSeedance2p0FastReferenceToVideoParsedRequest = z.output<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
|
|
1656
|
+
export type FalSeedance2p5TextToVideoParams = z.infer<typeof FalSeedance2p5TextToVideoRequestSchema>;
|
|
1657
|
+
export type FalSeedance2p5TextToVideoRequest = z.input<typeof FalSeedance2p5TextToVideoRequestSchema>;
|
|
1658
|
+
export type FalSeedance2p5TextToVideoRequestInput = FalSeedance2p5TextToVideoRequest;
|
|
1659
|
+
export type FalSeedance2p5TextToVideoParsedRequest = z.output<typeof FalSeedance2p5TextToVideoRequestSchema>;
|
|
1660
|
+
export type FalSeedance2p5ImageToVideoParams = z.infer<typeof FalSeedance2p5ImageToVideoRequestSchema>;
|
|
1661
|
+
export type FalSeedance2p5ImageToVideoRequest = z.input<typeof FalSeedance2p5ImageToVideoRequestSchema>;
|
|
1662
|
+
export type FalSeedance2p5ImageToVideoRequestInput = FalSeedance2p5ImageToVideoRequest;
|
|
1663
|
+
export type FalSeedance2p5ImageToVideoParsedRequest = z.output<typeof FalSeedance2p5ImageToVideoRequestSchema>;
|
|
1664
|
+
export type FalSeedance2p5ReferenceToVideoParams = z.infer<typeof FalSeedance2p5ReferenceToVideoRequestSchema>;
|
|
1665
|
+
export type FalSeedance2p5ReferenceToVideoRequest = z.input<typeof FalSeedance2p5ReferenceToVideoRequestSchema>;
|
|
1666
|
+
export type FalSeedance2p5ReferenceToVideoRequestInput = FalSeedance2p5ReferenceToVideoRequest;
|
|
1667
|
+
export type FalSeedance2p5ReferenceToVideoParsedRequest = z.output<typeof FalSeedance2p5ReferenceToVideoRequestSchema>;
|
|
1323
1668
|
export type FalNanoBananaProTextToImageParams = z.infer<typeof FalNanoBananaProTextToImageRequestSchema>;
|
|
1324
1669
|
export type FalNanoBananaProTextToImageRequest = z.input<typeof FalNanoBananaProTextToImageRequestSchema>;
|
|
1325
1670
|
export type FalNanoBananaProTextToImageRequestInput = FalNanoBananaProTextToImageRequest;
|
|
@@ -1360,6 +1705,22 @@ export type FalElevenlabsSpeechToTextScribeV2Params = z.infer<typeof FalElevenla
|
|
|
1360
1705
|
export type FalElevenlabsSpeechToTextScribeV2Request = z.input<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
|
|
1361
1706
|
export type FalElevenlabsSpeechToTextScribeV2RequestInput = FalElevenlabsSpeechToTextScribeV2Request;
|
|
1362
1707
|
export type FalElevenlabsSpeechToTextScribeV2ParsedRequest = z.output<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
|
|
1708
|
+
export type FalAlibabaQwenImage3TextToImageParams = z.infer<typeof FalAlibabaQwenImage3TextToImageRequestSchema>;
|
|
1709
|
+
export type FalAlibabaQwenImage3TextToImageRequest = z.input<typeof FalAlibabaQwenImage3TextToImageRequestSchema>;
|
|
1710
|
+
export type FalAlibabaQwenImage3TextToImageRequestInput = FalAlibabaQwenImage3TextToImageRequest;
|
|
1711
|
+
export type FalAlibabaQwenImage3TextToImageParsedRequest = z.output<typeof FalAlibabaQwenImage3TextToImageRequestSchema>;
|
|
1712
|
+
export type FalWan3p0TextToVideoParams = z.infer<typeof FalWan3p0TextToVideoRequestSchema>;
|
|
1713
|
+
export type FalWan3p0TextToVideoRequest = z.input<typeof FalWan3p0TextToVideoRequestSchema>;
|
|
1714
|
+
export type FalWan3p0TextToVideoRequestInput = FalWan3p0TextToVideoRequest;
|
|
1715
|
+
export type FalWan3p0TextToVideoParsedRequest = z.output<typeof FalWan3p0TextToVideoRequestSchema>;
|
|
1716
|
+
export type FalWan3p0ImageToVideoParams = z.infer<typeof FalWan3p0ImageToVideoRequestSchema>;
|
|
1717
|
+
export type FalWan3p0ImageToVideoRequest = z.input<typeof FalWan3p0ImageToVideoRequestSchema>;
|
|
1718
|
+
export type FalWan3p0ImageToVideoRequestInput = FalWan3p0ImageToVideoRequest;
|
|
1719
|
+
export type FalWan3p0ImageToVideoParsedRequest = z.output<typeof FalWan3p0ImageToVideoRequestSchema>;
|
|
1720
|
+
export type FalWan3p0ReferenceToVideoParams = z.infer<typeof FalWan3p0ReferenceToVideoRequestSchema>;
|
|
1721
|
+
export type FalWan3p0ReferenceToVideoRequest = z.input<typeof FalWan3p0ReferenceToVideoRequestSchema>;
|
|
1722
|
+
export type FalWan3p0ReferenceToVideoRequestInput = FalWan3p0ReferenceToVideoRequest;
|
|
1723
|
+
export type FalWan3p0ReferenceToVideoParsedRequest = z.output<typeof FalWan3p0ReferenceToVideoRequestSchema>;
|
|
1363
1724
|
export type FalWanV2p7TextToImageParams = z.infer<typeof FalWanV2p7TextToImageRequestSchema>;
|
|
1364
1725
|
export type FalWanV2p7TextToImageRequest = z.input<typeof FalWanV2p7TextToImageRequestSchema>;
|
|
1365
1726
|
export type FalWanV2p7TextToImageRequestInput = FalWanV2p7TextToImageRequest;
|
|
@@ -1388,6 +1749,14 @@ export type FalXaiGrokImagineImageParams = z.infer<typeof FalXaiGrokImagineImage
|
|
|
1388
1749
|
export type FalXaiGrokImagineImageRequest = z.input<typeof FalXaiGrokImagineImageRequestSchema>;
|
|
1389
1750
|
export type FalXaiGrokImagineImageRequestInput = FalXaiGrokImagineImageRequest;
|
|
1390
1751
|
export type FalXaiGrokImagineImageParsedRequest = z.output<typeof FalXaiGrokImagineImageRequestSchema>;
|
|
1752
|
+
export type FalXaiGrokImagineImageV2p0TextToImageParams = z.infer<typeof FalXaiGrokImagineImageV2p0TextToImageRequestSchema>;
|
|
1753
|
+
export type FalXaiGrokImagineImageV2p0TextToImageRequest = z.input<typeof FalXaiGrokImagineImageV2p0TextToImageRequestSchema>;
|
|
1754
|
+
export type FalXaiGrokImagineImageV2p0TextToImageRequestInput = FalXaiGrokImagineImageV2p0TextToImageRequest;
|
|
1755
|
+
export type FalXaiGrokImagineImageV2p0TextToImageParsedRequest = z.output<typeof FalXaiGrokImagineImageV2p0TextToImageRequestSchema>;
|
|
1756
|
+
export type FalXaiGrokImagineImageV2p0EditParams = z.infer<typeof FalXaiGrokImagineImageV2p0EditRequestSchema>;
|
|
1757
|
+
export type FalXaiGrokImagineImageV2p0EditRequest = z.input<typeof FalXaiGrokImagineImageV2p0EditRequestSchema>;
|
|
1758
|
+
export type FalXaiGrokImagineImageV2p0EditRequestInput = FalXaiGrokImagineImageV2p0EditRequest;
|
|
1759
|
+
export type FalXaiGrokImagineImageV2p0EditParsedRequest = z.output<typeof FalXaiGrokImagineImageV2p0EditRequestSchema>;
|
|
1391
1760
|
export type FalXaiGrokImagineImageEditParams = z.infer<typeof FalXaiGrokImagineImageEditRequestSchema>;
|
|
1392
1761
|
export type FalXaiGrokImagineImageEditRequest = z.input<typeof FalXaiGrokImagineImageEditRequestSchema>;
|
|
1393
1762
|
export type FalXaiGrokImagineImageEditRequestInput = FalXaiGrokImagineImageEditRequest;
|
|
@@ -1576,8 +1945,291 @@ export type FalKlingVideoO3p4kTextToVideoParams = z.infer<typeof FalKlingVideoO3
|
|
|
1576
1945
|
export type FalKlingVideoO3p4kTextToVideoRequest = z.input<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1577
1946
|
export type FalKlingVideoO3p4kTextToVideoRequestInput = FalKlingVideoO3p4kTextToVideoRequest;
|
|
1578
1947
|
export type FalKlingVideoO3p4kTextToVideoParsedRequest = z.output<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1948
|
+
export declare const FalFlux3TextToVideoRequestSchema: z.ZodObject<{
|
|
1949
|
+
prompt: z.ZodString;
|
|
1950
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1951
|
+
"1:1": "1:1";
|
|
1952
|
+
"16:9": "16:9";
|
|
1953
|
+
auto: "auto";
|
|
1954
|
+
"21:9": "21:9";
|
|
1955
|
+
"4:3": "4:3";
|
|
1956
|
+
"3:4": "3:4";
|
|
1957
|
+
"9:16": "9:16";
|
|
1958
|
+
"2:1": "2:1";
|
|
1959
|
+
}>>;
|
|
1960
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
1961
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1962
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1963
|
+
"720p": "720p";
|
|
1964
|
+
"1080p": "1080p";
|
|
1965
|
+
}>>;
|
|
1966
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
1967
|
+
}, z.core.$strip>;
|
|
1968
|
+
export type FalFlux3TextToVideoParams = z.infer<typeof FalFlux3TextToVideoRequestSchema>;
|
|
1969
|
+
export type FalFlux3TextToVideoRequest = z.input<typeof FalFlux3TextToVideoRequestSchema>;
|
|
1970
|
+
export type FalFlux3TextToVideoRequestInput = FalFlux3TextToVideoRequest;
|
|
1971
|
+
export type FalFlux3TextToVideoParsedRequest = z.output<typeof FalFlux3TextToVideoRequestSchema>;
|
|
1972
|
+
export declare const FalFlux3ImageToVideoRequestSchema: z.ZodObject<{
|
|
1973
|
+
prompt: z.ZodString;
|
|
1974
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1975
|
+
"1:1": "1:1";
|
|
1976
|
+
"16:9": "16:9";
|
|
1977
|
+
auto: "auto";
|
|
1978
|
+
"21:9": "21:9";
|
|
1979
|
+
"4:3": "4:3";
|
|
1980
|
+
"3:4": "3:4";
|
|
1981
|
+
"9:16": "9:16";
|
|
1982
|
+
"2:1": "2:1";
|
|
1983
|
+
}>>;
|
|
1984
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
1985
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1986
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1987
|
+
"720p": "720p";
|
|
1988
|
+
"1080p": "1080p";
|
|
1989
|
+
}>>;
|
|
1990
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
1991
|
+
image_url: z.ZodString;
|
|
1992
|
+
}, z.core.$strip>;
|
|
1993
|
+
export type FalFlux3ImageToVideoParams = z.infer<typeof FalFlux3ImageToVideoRequestSchema>;
|
|
1994
|
+
export type FalFlux3ImageToVideoRequest = z.input<typeof FalFlux3ImageToVideoRequestSchema>;
|
|
1995
|
+
export type FalFlux3ImageToVideoRequestInput = FalFlux3ImageToVideoRequest;
|
|
1996
|
+
export type FalFlux3ImageToVideoParsedRequest = z.output<typeof FalFlux3ImageToVideoRequestSchema>;
|
|
1997
|
+
export declare const FalFlux3FirstLastFrameToVideoRequestSchema: z.ZodObject<{
|
|
1998
|
+
prompt: z.ZodString;
|
|
1999
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2000
|
+
"1:1": "1:1";
|
|
2001
|
+
"16:9": "16:9";
|
|
2002
|
+
auto: "auto";
|
|
2003
|
+
"21:9": "21:9";
|
|
2004
|
+
"4:3": "4:3";
|
|
2005
|
+
"3:4": "3:4";
|
|
2006
|
+
"9:16": "9:16";
|
|
2007
|
+
"2:1": "2:1";
|
|
2008
|
+
}>>;
|
|
2009
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2010
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2011
|
+
"720p": "720p";
|
|
2012
|
+
"1080p": "1080p";
|
|
2013
|
+
}>>;
|
|
2014
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2015
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2016
|
+
start_image_url: z.ZodString;
|
|
2017
|
+
end_image_url: z.ZodString;
|
|
2018
|
+
}, z.core.$strip>;
|
|
2019
|
+
export type FalFlux3FirstLastFrameToVideoParams = z.infer<typeof FalFlux3FirstLastFrameToVideoRequestSchema>;
|
|
2020
|
+
export type FalFlux3FirstLastFrameToVideoRequest = z.input<typeof FalFlux3FirstLastFrameToVideoRequestSchema>;
|
|
2021
|
+
export type FalFlux3FirstLastFrameToVideoRequestInput = FalFlux3FirstLastFrameToVideoRequest;
|
|
2022
|
+
export type FalFlux3FirstLastFrameToVideoParsedRequest = z.output<typeof FalFlux3FirstLastFrameToVideoRequestSchema>;
|
|
2023
|
+
export declare const FalFlux3KeyframeSchema: z.ZodObject<{
|
|
2024
|
+
image_url: z.ZodString;
|
|
2025
|
+
frame_index: z.ZodNumber;
|
|
2026
|
+
}, z.core.$strip>;
|
|
2027
|
+
export declare const FalFlux3KeyframesToVideoRequestSchema: z.ZodObject<{
|
|
2028
|
+
prompt: z.ZodString;
|
|
2029
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2030
|
+
"1:1": "1:1";
|
|
2031
|
+
"16:9": "16:9";
|
|
2032
|
+
auto: "auto";
|
|
2033
|
+
"21:9": "21:9";
|
|
2034
|
+
"4:3": "4:3";
|
|
2035
|
+
"3:4": "3:4";
|
|
2036
|
+
"9:16": "9:16";
|
|
2037
|
+
"2:1": "2:1";
|
|
2038
|
+
}>>;
|
|
2039
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2040
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2041
|
+
"720p": "720p";
|
|
2042
|
+
"1080p": "1080p";
|
|
2043
|
+
}>>;
|
|
2044
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2045
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2046
|
+
keyframes: z.ZodArray<z.ZodObject<{
|
|
2047
|
+
image_url: z.ZodString;
|
|
2048
|
+
frame_index: z.ZodNumber;
|
|
2049
|
+
}, z.core.$strip>>;
|
|
2050
|
+
}, z.core.$strip>;
|
|
2051
|
+
export type FalFlux3KeyframesToVideoParams = z.infer<typeof FalFlux3KeyframesToVideoRequestSchema>;
|
|
2052
|
+
export type FalFlux3KeyframesToVideoRequest = z.input<typeof FalFlux3KeyframesToVideoRequestSchema>;
|
|
2053
|
+
export type FalFlux3KeyframesToVideoRequestInput = FalFlux3KeyframesToVideoRequest;
|
|
2054
|
+
export type FalFlux3KeyframesToVideoParsedRequest = z.output<typeof FalFlux3KeyframesToVideoRequestSchema>;
|
|
2055
|
+
export declare const FalFlux3ExtendVideoRequestSchema: z.ZodObject<{
|
|
2056
|
+
prompt: z.ZodString;
|
|
2057
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2058
|
+
"1:1": "1:1";
|
|
2059
|
+
"16:9": "16:9";
|
|
2060
|
+
auto: "auto";
|
|
2061
|
+
"21:9": "21:9";
|
|
2062
|
+
"4:3": "4:3";
|
|
2063
|
+
"3:4": "3:4";
|
|
2064
|
+
"9:16": "9:16";
|
|
2065
|
+
"2:1": "2:1";
|
|
2066
|
+
}>>;
|
|
2067
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2068
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2069
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2070
|
+
"720p": "720p";
|
|
2071
|
+
"1080p": "1080p";
|
|
2072
|
+
}>>;
|
|
2073
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2074
|
+
video_url: z.ZodString;
|
|
2075
|
+
}, z.core.$strip>;
|
|
2076
|
+
export type FalFlux3ExtendVideoParams = z.infer<typeof FalFlux3ExtendVideoRequestSchema>;
|
|
2077
|
+
export type FalFlux3ExtendVideoRequest = z.input<typeof FalFlux3ExtendVideoRequestSchema>;
|
|
2078
|
+
export type FalFlux3ExtendVideoRequestInput = FalFlux3ExtendVideoRequest;
|
|
2079
|
+
export type FalFlux3ExtendVideoParsedRequest = z.output<typeof FalFlux3ExtendVideoRequestSchema>;
|
|
2080
|
+
export declare const FalFluxVideoUpscaleRequestSchema: z.ZodObject<{
|
|
2081
|
+
video_url: z.ZodString;
|
|
2082
|
+
upscale_factor: z.ZodOptional<z.ZodNumber>;
|
|
2083
|
+
creativity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
2084
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2085
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2086
|
+
}, z.core.$strip>;
|
|
2087
|
+
export type FalFluxVideoUpscaleParams = z.infer<typeof FalFluxVideoUpscaleRequestSchema>;
|
|
2088
|
+
export type FalFluxVideoUpscaleRequest = z.input<typeof FalFluxVideoUpscaleRequestSchema>;
|
|
2089
|
+
export type FalFluxVideoUpscaleRequestInput = FalFluxVideoUpscaleRequest;
|
|
2090
|
+
export type FalFluxVideoUpscaleParsedRequest = z.output<typeof FalFluxVideoUpscaleRequestSchema>;
|
|
1579
2091
|
export type FalOptions = z.infer<typeof FalOptionsSchema>;
|
|
1580
2092
|
export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
2093
|
+
readonly "alibaba/qwen-image-3/text-to-image": z.ZodObject<{
|
|
2094
|
+
prompt: z.ZodString;
|
|
2095
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2096
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2097
|
+
square_hd: "square_hd";
|
|
2098
|
+
square: "square";
|
|
2099
|
+
portrait_4_3: "portrait_4_3";
|
|
2100
|
+
portrait_16_9: "portrait_16_9";
|
|
2101
|
+
landscape_4_3: "landscape_4_3";
|
|
2102
|
+
landscape_16_9: "landscape_16_9";
|
|
2103
|
+
}>, z.ZodObject<{
|
|
2104
|
+
width: z.ZodNumber;
|
|
2105
|
+
height: z.ZodNumber;
|
|
2106
|
+
}, z.core.$strip>]>>;
|
|
2107
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
2108
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2109
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2110
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2111
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2112
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2113
|
+
png: "png";
|
|
2114
|
+
jpeg: "jpeg";
|
|
2115
|
+
webp: "webp";
|
|
2116
|
+
}>>;
|
|
2117
|
+
}, z.core.$strip>;
|
|
2118
|
+
readonly "blackforestlabs/flux-3/extend-video": z.ZodObject<{
|
|
2119
|
+
prompt: z.ZodString;
|
|
2120
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2121
|
+
"1:1": "1:1";
|
|
2122
|
+
"16:9": "16:9";
|
|
2123
|
+
auto: "auto";
|
|
2124
|
+
"21:9": "21:9";
|
|
2125
|
+
"4:3": "4:3";
|
|
2126
|
+
"3:4": "3:4";
|
|
2127
|
+
"9:16": "9:16";
|
|
2128
|
+
"2:1": "2:1";
|
|
2129
|
+
}>>;
|
|
2130
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2131
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2132
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2133
|
+
"720p": "720p";
|
|
2134
|
+
"1080p": "1080p";
|
|
2135
|
+
}>>;
|
|
2136
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2137
|
+
video_url: z.ZodString;
|
|
2138
|
+
}, z.core.$strip>;
|
|
2139
|
+
readonly "blackforestlabs/flux-3/first-last-frame-to-video": z.ZodObject<{
|
|
2140
|
+
prompt: z.ZodString;
|
|
2141
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2142
|
+
"1:1": "1:1";
|
|
2143
|
+
"16:9": "16:9";
|
|
2144
|
+
auto: "auto";
|
|
2145
|
+
"21:9": "21:9";
|
|
2146
|
+
"4:3": "4:3";
|
|
2147
|
+
"3:4": "3:4";
|
|
2148
|
+
"9:16": "9:16";
|
|
2149
|
+
"2:1": "2:1";
|
|
2150
|
+
}>>;
|
|
2151
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2152
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2153
|
+
"720p": "720p";
|
|
2154
|
+
"1080p": "1080p";
|
|
2155
|
+
}>>;
|
|
2156
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2157
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2158
|
+
start_image_url: z.ZodString;
|
|
2159
|
+
end_image_url: z.ZodString;
|
|
2160
|
+
}, z.core.$strip>;
|
|
2161
|
+
readonly "blackforestlabs/flux-3/image-to-video": z.ZodObject<{
|
|
2162
|
+
prompt: z.ZodString;
|
|
2163
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2164
|
+
"1:1": "1:1";
|
|
2165
|
+
"16:9": "16:9";
|
|
2166
|
+
auto: "auto";
|
|
2167
|
+
"21:9": "21:9";
|
|
2168
|
+
"4:3": "4:3";
|
|
2169
|
+
"3:4": "3:4";
|
|
2170
|
+
"9:16": "9:16";
|
|
2171
|
+
"2:1": "2:1";
|
|
2172
|
+
}>>;
|
|
2173
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2174
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2175
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2176
|
+
"720p": "720p";
|
|
2177
|
+
"1080p": "1080p";
|
|
2178
|
+
}>>;
|
|
2179
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2180
|
+
image_url: z.ZodString;
|
|
2181
|
+
}, z.core.$strip>;
|
|
2182
|
+
readonly "blackforestlabs/flux-3/keyframes-to-video": z.ZodObject<{
|
|
2183
|
+
prompt: z.ZodString;
|
|
2184
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2185
|
+
"1:1": "1:1";
|
|
2186
|
+
"16:9": "16:9";
|
|
2187
|
+
auto: "auto";
|
|
2188
|
+
"21:9": "21:9";
|
|
2189
|
+
"4:3": "4:3";
|
|
2190
|
+
"3:4": "3:4";
|
|
2191
|
+
"9:16": "9:16";
|
|
2192
|
+
"2:1": "2:1";
|
|
2193
|
+
}>>;
|
|
2194
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2195
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2196
|
+
"720p": "720p";
|
|
2197
|
+
"1080p": "1080p";
|
|
2198
|
+
}>>;
|
|
2199
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2200
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2201
|
+
keyframes: z.ZodArray<z.ZodObject<{
|
|
2202
|
+
image_url: z.ZodString;
|
|
2203
|
+
frame_index: z.ZodNumber;
|
|
2204
|
+
}, z.core.$strip>>;
|
|
2205
|
+
}, z.core.$strip>;
|
|
2206
|
+
readonly "blackforestlabs/flux-3/text-to-video": z.ZodObject<{
|
|
2207
|
+
prompt: z.ZodString;
|
|
2208
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2209
|
+
"1:1": "1:1";
|
|
2210
|
+
"16:9": "16:9";
|
|
2211
|
+
auto: "auto";
|
|
2212
|
+
"21:9": "21:9";
|
|
2213
|
+
"4:3": "4:3";
|
|
2214
|
+
"3:4": "3:4";
|
|
2215
|
+
"9:16": "9:16";
|
|
2216
|
+
"2:1": "2:1";
|
|
2217
|
+
}>>;
|
|
2218
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2219
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2220
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2221
|
+
"720p": "720p";
|
|
2222
|
+
"1080p": "1080p";
|
|
2223
|
+
}>>;
|
|
2224
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2225
|
+
}, z.core.$strip>;
|
|
2226
|
+
readonly "blackforestlabs/flux-video-upscale": z.ZodObject<{
|
|
2227
|
+
video_url: z.ZodString;
|
|
2228
|
+
upscale_factor: z.ZodOptional<z.ZodNumber>;
|
|
2229
|
+
creativity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
2230
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2231
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2232
|
+
}, z.core.$strip>;
|
|
1581
2233
|
readonly "bytedance/seedance-2.0/image-to-video": z.ZodObject<{
|
|
1582
2234
|
prompt: z.ZodString;
|
|
1583
2235
|
image_url: z.ZodString;
|
|
@@ -1614,7 +2266,77 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1614
2266
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1615
2267
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1616
2268
|
}, z.core.$strip>;
|
|
1617
|
-
readonly "bytedance/seedance-2.0/text-to-video": z.ZodObject<{
|
|
2269
|
+
readonly "bytedance/seedance-2.0/text-to-video": z.ZodObject<{
|
|
2270
|
+
prompt: z.ZodString;
|
|
2271
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2272
|
+
"480p": "480p";
|
|
2273
|
+
"720p": "720p";
|
|
2274
|
+
}>>;
|
|
2275
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2276
|
+
4: "4";
|
|
2277
|
+
5: "5";
|
|
2278
|
+
auto: "auto";
|
|
2279
|
+
6: "6";
|
|
2280
|
+
7: "7";
|
|
2281
|
+
8: "8";
|
|
2282
|
+
9: "9";
|
|
2283
|
+
10: "10";
|
|
2284
|
+
11: "11";
|
|
2285
|
+
12: "12";
|
|
2286
|
+
13: "13";
|
|
2287
|
+
14: "14";
|
|
2288
|
+
15: "15";
|
|
2289
|
+
}>>;
|
|
2290
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2291
|
+
"1:1": "1:1";
|
|
2292
|
+
"16:9": "16:9";
|
|
2293
|
+
auto: "auto";
|
|
2294
|
+
"21:9": "21:9";
|
|
2295
|
+
"4:3": "4:3";
|
|
2296
|
+
"3:4": "3:4";
|
|
2297
|
+
"9:16": "9:16";
|
|
2298
|
+
}>>;
|
|
2299
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2300
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2301
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
}, z.core.$strip>;
|
|
2303
|
+
readonly "bytedance/seedance-2.0/fast/image-to-video": z.ZodObject<{
|
|
2304
|
+
prompt: z.ZodString;
|
|
2305
|
+
image_url: z.ZodString;
|
|
2306
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2307
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2308
|
+
"480p": "480p";
|
|
2309
|
+
"720p": "720p";
|
|
2310
|
+
}>>;
|
|
2311
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2312
|
+
4: "4";
|
|
2313
|
+
5: "5";
|
|
2314
|
+
auto: "auto";
|
|
2315
|
+
6: "6";
|
|
2316
|
+
7: "7";
|
|
2317
|
+
8: "8";
|
|
2318
|
+
9: "9";
|
|
2319
|
+
10: "10";
|
|
2320
|
+
11: "11";
|
|
2321
|
+
12: "12";
|
|
2322
|
+
13: "13";
|
|
2323
|
+
14: "14";
|
|
2324
|
+
15: "15";
|
|
2325
|
+
}>>;
|
|
2326
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2327
|
+
"1:1": "1:1";
|
|
2328
|
+
"16:9": "16:9";
|
|
2329
|
+
auto: "auto";
|
|
2330
|
+
"21:9": "21:9";
|
|
2331
|
+
"4:3": "4:3";
|
|
2332
|
+
"3:4": "3:4";
|
|
2333
|
+
"9:16": "9:16";
|
|
2334
|
+
}>>;
|
|
2335
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2336
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2337
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2338
|
+
}, z.core.$strip>;
|
|
2339
|
+
readonly "bytedance/seedance-2.0/fast/text-to-video": z.ZodObject<{
|
|
1618
2340
|
prompt: z.ZodString;
|
|
1619
2341
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1620
2342
|
"480p": "480p";
|
|
@@ -1648,10 +2370,11 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1648
2370
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1649
2371
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1650
2372
|
}, z.core.$strip>;
|
|
1651
|
-
readonly "bytedance/seedance-2.0/
|
|
2373
|
+
readonly "bytedance/seedance-2.0/reference-to-video": z.ZodObject<{
|
|
1652
2374
|
prompt: z.ZodString;
|
|
1653
|
-
|
|
1654
|
-
|
|
2375
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2376
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2377
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1655
2378
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1656
2379
|
"480p": "480p";
|
|
1657
2380
|
"720p": "720p";
|
|
@@ -1684,8 +2407,11 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1684
2407
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1685
2408
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1686
2409
|
}, z.core.$strip>;
|
|
1687
|
-
readonly "bytedance/seedance-2.0/fast/
|
|
2410
|
+
readonly "bytedance/seedance-2.0/fast/reference-to-video": z.ZodObject<{
|
|
1688
2411
|
prompt: z.ZodString;
|
|
2412
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2413
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2414
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1689
2415
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1690
2416
|
"480p": "480p";
|
|
1691
2417
|
"720p": "720p";
|
|
@@ -1718,14 +2444,12 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1718
2444
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1719
2445
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1720
2446
|
}, z.core.$strip>;
|
|
1721
|
-
readonly "bytedance/seedance-2.
|
|
2447
|
+
readonly "bytedance/seedance-2.5/text-to-video": z.ZodObject<{
|
|
1722
2448
|
prompt: z.ZodString;
|
|
1723
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1724
|
-
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1725
|
-
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1726
2449
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1727
2450
|
"480p": "480p";
|
|
1728
2451
|
"720p": "720p";
|
|
2452
|
+
"1080p": "1080p";
|
|
1729
2453
|
}>>;
|
|
1730
2454
|
duration: z.ZodOptional<z.ZodEnum<{
|
|
1731
2455
|
4: "4";
|
|
@@ -1741,6 +2465,21 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1741
2465
|
13: "13";
|
|
1742
2466
|
14: "14";
|
|
1743
2467
|
15: "15";
|
|
2468
|
+
16: "16";
|
|
2469
|
+
17: "17";
|
|
2470
|
+
18: "18";
|
|
2471
|
+
19: "19";
|
|
2472
|
+
20: "20";
|
|
2473
|
+
21: "21";
|
|
2474
|
+
22: "22";
|
|
2475
|
+
23: "23";
|
|
2476
|
+
24: "24";
|
|
2477
|
+
25: "25";
|
|
2478
|
+
26: "26";
|
|
2479
|
+
27: "27";
|
|
2480
|
+
28: "28";
|
|
2481
|
+
29: "29";
|
|
2482
|
+
30: "30";
|
|
1744
2483
|
}>>;
|
|
1745
2484
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1746
2485
|
"1:1": "1:1";
|
|
@@ -1752,17 +2491,75 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1752
2491
|
"9:16": "9:16";
|
|
1753
2492
|
}>>;
|
|
1754
2493
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2494
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
2495
|
+
standard: "standard";
|
|
2496
|
+
high: "high";
|
|
2497
|
+
}>>;
|
|
1755
2498
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1756
2499
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1757
2500
|
}, z.core.$strip>;
|
|
1758
|
-
readonly "bytedance/seedance-2.
|
|
2501
|
+
readonly "bytedance/seedance-2.5/image-to-video": z.ZodObject<{
|
|
2502
|
+
prompt: z.ZodString;
|
|
2503
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2504
|
+
"480p": "480p";
|
|
2505
|
+
"720p": "720p";
|
|
2506
|
+
"1080p": "1080p";
|
|
2507
|
+
}>>;
|
|
2508
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2509
|
+
4: "4";
|
|
2510
|
+
5: "5";
|
|
2511
|
+
auto: "auto";
|
|
2512
|
+
6: "6";
|
|
2513
|
+
7: "7";
|
|
2514
|
+
8: "8";
|
|
2515
|
+
9: "9";
|
|
2516
|
+
10: "10";
|
|
2517
|
+
11: "11";
|
|
2518
|
+
12: "12";
|
|
2519
|
+
13: "13";
|
|
2520
|
+
14: "14";
|
|
2521
|
+
15: "15";
|
|
2522
|
+
16: "16";
|
|
2523
|
+
17: "17";
|
|
2524
|
+
18: "18";
|
|
2525
|
+
19: "19";
|
|
2526
|
+
20: "20";
|
|
2527
|
+
21: "21";
|
|
2528
|
+
22: "22";
|
|
2529
|
+
23: "23";
|
|
2530
|
+
24: "24";
|
|
2531
|
+
25: "25";
|
|
2532
|
+
26: "26";
|
|
2533
|
+
27: "27";
|
|
2534
|
+
28: "28";
|
|
2535
|
+
29: "29";
|
|
2536
|
+
30: "30";
|
|
2537
|
+
}>>;
|
|
2538
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2539
|
+
"1:1": "1:1";
|
|
2540
|
+
"16:9": "16:9";
|
|
2541
|
+
auto: "auto";
|
|
2542
|
+
"21:9": "21:9";
|
|
2543
|
+
"4:3": "4:3";
|
|
2544
|
+
"3:4": "3:4";
|
|
2545
|
+
"9:16": "9:16";
|
|
2546
|
+
}>>;
|
|
2547
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2548
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
2549
|
+
standard: "standard";
|
|
2550
|
+
high: "high";
|
|
2551
|
+
}>>;
|
|
2552
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2553
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
image_url: z.ZodString;
|
|
2555
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2556
|
+
}, z.core.$strip>;
|
|
2557
|
+
readonly "bytedance/seedance-2.5/reference-to-video": z.ZodObject<{
|
|
1759
2558
|
prompt: z.ZodString;
|
|
1760
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1761
|
-
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1762
|
-
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1763
2559
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1764
2560
|
"480p": "480p";
|
|
1765
2561
|
"720p": "720p";
|
|
2562
|
+
"1080p": "1080p";
|
|
1766
2563
|
}>>;
|
|
1767
2564
|
duration: z.ZodOptional<z.ZodEnum<{
|
|
1768
2565
|
4: "4";
|
|
@@ -1778,6 +2575,21 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1778
2575
|
13: "13";
|
|
1779
2576
|
14: "14";
|
|
1780
2577
|
15: "15";
|
|
2578
|
+
16: "16";
|
|
2579
|
+
17: "17";
|
|
2580
|
+
18: "18";
|
|
2581
|
+
19: "19";
|
|
2582
|
+
20: "20";
|
|
2583
|
+
21: "21";
|
|
2584
|
+
22: "22";
|
|
2585
|
+
23: "23";
|
|
2586
|
+
24: "24";
|
|
2587
|
+
25: "25";
|
|
2588
|
+
26: "26";
|
|
2589
|
+
27: "27";
|
|
2590
|
+
28: "28";
|
|
2591
|
+
29: "29";
|
|
2592
|
+
30: "30";
|
|
1781
2593
|
}>>;
|
|
1782
2594
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1783
2595
|
"1:1": "1:1";
|
|
@@ -1789,8 +2601,15 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1789
2601
|
"9:16": "9:16";
|
|
1790
2602
|
}>>;
|
|
1791
2603
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2604
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
2605
|
+
standard: "standard";
|
|
2606
|
+
high: "high";
|
|
2607
|
+
}>>;
|
|
1792
2608
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1793
2609
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2610
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2611
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2612
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1794
2613
|
}, z.core.$strip>;
|
|
1795
2614
|
readonly "fal-ai/nano-banana-pro/edit": z.ZodObject<{
|
|
1796
2615
|
prompt: z.ZodString;
|
|
@@ -1981,8 +2800,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1981
2800
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
1982
2801
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1983
2802
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1984
|
-
minimal: "minimal";
|
|
1985
2803
|
high: "high";
|
|
2804
|
+
minimal: "minimal";
|
|
1986
2805
|
}>>;
|
|
1987
2806
|
}, z.core.$strip>;
|
|
1988
2807
|
readonly "fal-ai/nano-banana-2/edit": z.ZodObject<{
|
|
@@ -2030,8 +2849,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2030
2849
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2031
2850
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2032
2851
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2033
|
-
minimal: "minimal";
|
|
2034
2852
|
high: "high";
|
|
2853
|
+
minimal: "minimal";
|
|
2035
2854
|
}>>;
|
|
2036
2855
|
}, z.core.$strip>;
|
|
2037
2856
|
readonly "google/nano-banana-2-lite": z.ZodObject<{
|
|
@@ -2072,8 +2891,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2072
2891
|
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2073
2892
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2074
2893
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2075
|
-
minimal: "minimal";
|
|
2076
2894
|
high: "high";
|
|
2895
|
+
minimal: "minimal";
|
|
2077
2896
|
}>>;
|
|
2078
2897
|
}, z.core.$strip>;
|
|
2079
2898
|
readonly "google/nano-banana-lite/edit": z.ZodObject<{
|
|
@@ -2114,8 +2933,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2114
2933
|
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2115
2934
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2116
2935
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2117
|
-
minimal: "minimal";
|
|
2118
2936
|
high: "high";
|
|
2937
|
+
minimal: "minimal";
|
|
2119
2938
|
}>>;
|
|
2120
2939
|
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2121
2940
|
}, z.core.$strip>;
|
|
@@ -2237,6 +3056,152 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2237
3056
|
diarize: z.ZodOptional<z.ZodBoolean>;
|
|
2238
3057
|
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2239
3058
|
}, z.core.$strip>;
|
|
3059
|
+
readonly "alibaba/wan-3.0/text-to-video": z.ZodObject<{
|
|
3060
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3061
|
+
"480p": "480p";
|
|
3062
|
+
"720p": "720p";
|
|
3063
|
+
"1080p": "1080p";
|
|
3064
|
+
}>>;
|
|
3065
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3066
|
+
"1:1": "1:1";
|
|
3067
|
+
"16:9": "16:9";
|
|
3068
|
+
"4:3": "4:3";
|
|
3069
|
+
"3:4": "3:4";
|
|
3070
|
+
"9:16": "9:16";
|
|
3071
|
+
adaptive: "adaptive";
|
|
3072
|
+
}>>;
|
|
3073
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3074
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3075
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3076
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3077
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3078
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3079
|
+
prompt: z.ZodString;
|
|
3080
|
+
}, z.core.$strip>;
|
|
3081
|
+
readonly "alibaba/wan-3.0/image-to-video": z.ZodObject<{
|
|
3082
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3083
|
+
"480p": "480p";
|
|
3084
|
+
"720p": "720p";
|
|
3085
|
+
"1080p": "1080p";
|
|
3086
|
+
}>>;
|
|
3087
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3088
|
+
"1:1": "1:1";
|
|
3089
|
+
"16:9": "16:9";
|
|
3090
|
+
"4:3": "4:3";
|
|
3091
|
+
"3:4": "3:4";
|
|
3092
|
+
"9:16": "9:16";
|
|
3093
|
+
adaptive: "adaptive";
|
|
3094
|
+
}>>;
|
|
3095
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3096
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3097
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3098
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3099
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3100
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3101
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3102
|
+
start_image_url: z.ZodString;
|
|
3103
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3104
|
+
}, z.core.$strip>;
|
|
3105
|
+
readonly "alibaba/wan-3.0/reference-to-video": z.ZodObject<{
|
|
3106
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3107
|
+
"480p": "480p";
|
|
3108
|
+
"720p": "720p";
|
|
3109
|
+
"1080p": "1080p";
|
|
3110
|
+
}>>;
|
|
3111
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3112
|
+
"1:1": "1:1";
|
|
3113
|
+
"16:9": "16:9";
|
|
3114
|
+
"4:3": "4:3";
|
|
3115
|
+
"3:4": "3:4";
|
|
3116
|
+
"9:16": "9:16";
|
|
3117
|
+
adaptive: "adaptive";
|
|
3118
|
+
}>>;
|
|
3119
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3120
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3121
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3122
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3123
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3124
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3125
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3126
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3127
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3128
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3129
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3130
|
+
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3131
|
+
}, z.core.$strip>;
|
|
3132
|
+
readonly "alibaba/wan-3.0-prime/text-to-video": z.ZodObject<{
|
|
3133
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3134
|
+
"480p": "480p";
|
|
3135
|
+
"720p": "720p";
|
|
3136
|
+
"1080p": "1080p";
|
|
3137
|
+
}>>;
|
|
3138
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3139
|
+
"1:1": "1:1";
|
|
3140
|
+
"16:9": "16:9";
|
|
3141
|
+
"4:3": "4:3";
|
|
3142
|
+
"3:4": "3:4";
|
|
3143
|
+
"9:16": "9:16";
|
|
3144
|
+
adaptive: "adaptive";
|
|
3145
|
+
}>>;
|
|
3146
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3147
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3148
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3149
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3150
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3151
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3152
|
+
prompt: z.ZodString;
|
|
3153
|
+
}, z.core.$strip>;
|
|
3154
|
+
readonly "alibaba/wan-3.0-prime/image-to-video": z.ZodObject<{
|
|
3155
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3156
|
+
"480p": "480p";
|
|
3157
|
+
"720p": "720p";
|
|
3158
|
+
"1080p": "1080p";
|
|
3159
|
+
}>>;
|
|
3160
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3161
|
+
"1:1": "1:1";
|
|
3162
|
+
"16:9": "16:9";
|
|
3163
|
+
"4:3": "4:3";
|
|
3164
|
+
"3:4": "3:4";
|
|
3165
|
+
"9:16": "9:16";
|
|
3166
|
+
adaptive: "adaptive";
|
|
3167
|
+
}>>;
|
|
3168
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3169
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3170
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3171
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3172
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3173
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3174
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3175
|
+
start_image_url: z.ZodString;
|
|
3176
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3177
|
+
}, z.core.$strip>;
|
|
3178
|
+
readonly "alibaba/wan-3.0-prime/reference-to-video": z.ZodObject<{
|
|
3179
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3180
|
+
"480p": "480p";
|
|
3181
|
+
"720p": "720p";
|
|
3182
|
+
"1080p": "1080p";
|
|
3183
|
+
}>>;
|
|
3184
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3185
|
+
"1:1": "1:1";
|
|
3186
|
+
"16:9": "16:9";
|
|
3187
|
+
"4:3": "4:3";
|
|
3188
|
+
"3:4": "3:4";
|
|
3189
|
+
"9:16": "9:16";
|
|
3190
|
+
adaptive: "adaptive";
|
|
3191
|
+
}>>;
|
|
3192
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3193
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3194
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3195
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3196
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3197
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3198
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3199
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3200
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3201
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3202
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3203
|
+
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3204
|
+
}, z.core.$strip>;
|
|
2240
3205
|
readonly "fal-ai/wan/v2.7/text-to-image": z.ZodObject<{
|
|
2241
3206
|
prompt: z.ZodString;
|
|
2242
3207
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -2793,6 +3758,74 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2793
3758
|
}>>;
|
|
2794
3759
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2795
3760
|
}, z.core.$strip>;
|
|
3761
|
+
readonly "xai/grok-imagine-image/v2.0/edit": z.ZodObject<{
|
|
3762
|
+
prompt: z.ZodString;
|
|
3763
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
3764
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3765
|
+
"1:1": "1:1";
|
|
3766
|
+
"16:9": "16:9";
|
|
3767
|
+
auto: "auto";
|
|
3768
|
+
"4:3": "4:3";
|
|
3769
|
+
"3:4": "3:4";
|
|
3770
|
+
"9:16": "9:16";
|
|
3771
|
+
"3:2": "3:2";
|
|
3772
|
+
"2:3": "2:3";
|
|
3773
|
+
"2:1": "2:1";
|
|
3774
|
+
"20:9": "20:9";
|
|
3775
|
+
"19.5:9": "19.5:9";
|
|
3776
|
+
"9:19.5": "9:19.5";
|
|
3777
|
+
"9:20": "9:20";
|
|
3778
|
+
"1:2": "1:2";
|
|
3779
|
+
}>>;
|
|
3780
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3781
|
+
"1k": "1k";
|
|
3782
|
+
"2k": "2k";
|
|
3783
|
+
}>>;
|
|
3784
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
3785
|
+
low: "low";
|
|
3786
|
+
medium: "medium";
|
|
3787
|
+
}>>;
|
|
3788
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
3789
|
+
png: "png";
|
|
3790
|
+
jpeg: "jpeg";
|
|
3791
|
+
webp: "webp";
|
|
3792
|
+
}>>;
|
|
3793
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
3794
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
3795
|
+
}, z.core.$strip>;
|
|
3796
|
+
readonly "xai/grok-imagine-image/v2.0/text-to-image": z.ZodObject<{
|
|
3797
|
+
prompt: z.ZodString;
|
|
3798
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
3799
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3800
|
+
"1:1": "1:1";
|
|
3801
|
+
"16:9": "16:9";
|
|
3802
|
+
"4:3": "4:3";
|
|
3803
|
+
"3:4": "3:4";
|
|
3804
|
+
"9:16": "9:16";
|
|
3805
|
+
"3:2": "3:2";
|
|
3806
|
+
"2:3": "2:3";
|
|
3807
|
+
"2:1": "2:1";
|
|
3808
|
+
"20:9": "20:9";
|
|
3809
|
+
"19.5:9": "19.5:9";
|
|
3810
|
+
"9:19.5": "9:19.5";
|
|
3811
|
+
"9:20": "9:20";
|
|
3812
|
+
"1:2": "1:2";
|
|
3813
|
+
}>>;
|
|
3814
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3815
|
+
"1k": "1k";
|
|
3816
|
+
"2k": "2k";
|
|
3817
|
+
}>>;
|
|
3818
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
3819
|
+
low: "low";
|
|
3820
|
+
medium: "medium";
|
|
3821
|
+
}>>;
|
|
3822
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
3823
|
+
png: "png";
|
|
3824
|
+
jpeg: "jpeg";
|
|
3825
|
+
webp: "webp";
|
|
3826
|
+
}>>;
|
|
3827
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
3828
|
+
}, z.core.$strip>;
|
|
2796
3829
|
readonly "fal-ai/qwen-image-edit": z.ZodObject<{
|
|
2797
3830
|
prompt: z.ZodString;
|
|
2798
3831
|
image_url: z.ZodString;
|