@apicity/fal 0.10.2 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +421 -94
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +247 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +159 -46
- 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 +149 -3
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +1136 -47
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +408 -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>;
|
|
@@ -573,8 +740,8 @@ export declare const FalGptImage1p5EditRequestSchema: z.ZodObject<{
|
|
|
573
740
|
export declare const FalQwenImageRequestSchema: z.ZodObject<{
|
|
574
741
|
prompt: z.ZodString;
|
|
575
742
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
576
|
-
square_hd: "square_hd";
|
|
577
743
|
square: "square";
|
|
744
|
+
square_hd: "square_hd";
|
|
578
745
|
portrait_4_3: "portrait_4_3";
|
|
579
746
|
portrait_16_9: "portrait_16_9";
|
|
580
747
|
landscape_4_3: "landscape_4_3";
|
|
@@ -610,8 +777,8 @@ export declare const FalQwenImageEditRequestSchema: z.ZodObject<{
|
|
|
610
777
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
611
778
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
612
779
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
613
|
-
square_hd: "square_hd";
|
|
614
780
|
square: "square";
|
|
781
|
+
square_hd: "square_hd";
|
|
615
782
|
portrait_4_3: "portrait_4_3";
|
|
616
783
|
portrait_16_9: "portrait_16_9";
|
|
617
784
|
landscape_4_3: "landscape_4_3";
|
|
@@ -715,8 +882,8 @@ export declare const FalSeedreamV5LiteEditRequestSchema: z.ZodObject<{
|
|
|
715
882
|
prompt: z.ZodString;
|
|
716
883
|
image_urls: z.ZodArray<z.ZodString>;
|
|
717
884
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
718
|
-
square_hd: "square_hd";
|
|
719
885
|
square: "square";
|
|
886
|
+
square_hd: "square_hd";
|
|
720
887
|
portrait_4_3: "portrait_4_3";
|
|
721
888
|
portrait_16_9: "portrait_16_9";
|
|
722
889
|
landscape_4_3: "landscape_4_3";
|
|
@@ -736,8 +903,8 @@ export declare const FalSeedreamV5LiteEditRequestSchema: z.ZodObject<{
|
|
|
736
903
|
export declare const FalSeedreamV5LiteTextToImageRequestSchema: z.ZodObject<{
|
|
737
904
|
prompt: z.ZodString;
|
|
738
905
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
739
|
-
square_hd: "square_hd";
|
|
740
906
|
square: "square";
|
|
907
|
+
square_hd: "square_hd";
|
|
741
908
|
portrait_4_3: "portrait_4_3";
|
|
742
909
|
portrait_16_9: "portrait_16_9";
|
|
743
910
|
landscape_4_3: "landscape_4_3";
|
|
@@ -822,12 +989,136 @@ export declare const FalSeedSpeechTtsV2RequestSchema: z.ZodObject<{
|
|
|
822
989
|
}>>>;
|
|
823
990
|
voice_instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
824
991
|
}, z.core.$strip>;
|
|
825
|
-
export declare const
|
|
992
|
+
export declare const FalAlibabaQwenImage3TextToImageRequestSchema: z.ZodObject<{
|
|
826
993
|
prompt: z.ZodString;
|
|
827
994
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
828
995
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
996
|
+
square: "square";
|
|
997
|
+
square_hd: "square_hd";
|
|
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 FalAlibabaQwenImage3EditRequestSchema: z.ZodObject<{
|
|
1018
|
+
prompt: z.ZodString;
|
|
1019
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1020
|
+
negative_prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1021
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1022
|
+
square: "square";
|
|
829
1023
|
square_hd: "square_hd";
|
|
1024
|
+
portrait_4_3: "portrait_4_3";
|
|
1025
|
+
portrait_16_9: "portrait_16_9";
|
|
1026
|
+
landscape_4_3: "landscape_4_3";
|
|
1027
|
+
landscape_16_9: "landscape_16_9";
|
|
1028
|
+
}>, z.ZodObject<{
|
|
1029
|
+
width: z.ZodNumber;
|
|
1030
|
+
height: z.ZodNumber;
|
|
1031
|
+
}, z.core.$strip>]>>>;
|
|
1032
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1033
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1034
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1035
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1036
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1037
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1038
|
+
png: "png";
|
|
1039
|
+
jpeg: "jpeg";
|
|
1040
|
+
webp: "webp";
|
|
1041
|
+
}>>;
|
|
1042
|
+
}, z.core.$strip>;
|
|
1043
|
+
export declare const FalWan3p0TextToVideoRequestSchema: z.ZodObject<{
|
|
1044
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1045
|
+
"480p": "480p";
|
|
1046
|
+
"720p": "720p";
|
|
1047
|
+
"1080p": "1080p";
|
|
1048
|
+
}>>;
|
|
1049
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1050
|
+
"1:1": "1:1";
|
|
1051
|
+
"16:9": "16:9";
|
|
1052
|
+
"4:3": "4:3";
|
|
1053
|
+
"3:4": "3:4";
|
|
1054
|
+
"9:16": "9:16";
|
|
1055
|
+
adaptive: "adaptive";
|
|
1056
|
+
}>>;
|
|
1057
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1058
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1059
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1060
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1061
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1062
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1063
|
+
prompt: z.ZodString;
|
|
1064
|
+
}, z.core.$strip>;
|
|
1065
|
+
export declare const FalWan3p0ImageToVideoRequestSchema: z.ZodObject<{
|
|
1066
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1067
|
+
"480p": "480p";
|
|
1068
|
+
"720p": "720p";
|
|
1069
|
+
"1080p": "1080p";
|
|
1070
|
+
}>>;
|
|
1071
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1072
|
+
"1:1": "1:1";
|
|
1073
|
+
"16:9": "16:9";
|
|
1074
|
+
"4:3": "4:3";
|
|
1075
|
+
"3:4": "3:4";
|
|
1076
|
+
"9:16": "9:16";
|
|
1077
|
+
adaptive: "adaptive";
|
|
1078
|
+
}>>;
|
|
1079
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1080
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1081
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1082
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1083
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1084
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1085
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1086
|
+
start_image_url: z.ZodString;
|
|
1087
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1088
|
+
}, z.core.$strip>;
|
|
1089
|
+
export declare const FalWan3p0ReferenceToVideoRequestSchema: z.ZodObject<{
|
|
1090
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1091
|
+
"480p": "480p";
|
|
1092
|
+
"720p": "720p";
|
|
1093
|
+
"1080p": "1080p";
|
|
1094
|
+
}>>;
|
|
1095
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1096
|
+
"1:1": "1:1";
|
|
1097
|
+
"16:9": "16:9";
|
|
1098
|
+
"4:3": "4:3";
|
|
1099
|
+
"3:4": "3:4";
|
|
1100
|
+
"9:16": "9:16";
|
|
1101
|
+
adaptive: "adaptive";
|
|
1102
|
+
}>>;
|
|
1103
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1104
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1105
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
1106
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1107
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1108
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1109
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1110
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1111
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1112
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1113
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1114
|
+
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1115
|
+
}, z.core.$strip>;
|
|
1116
|
+
export declare const FalWanV2p7TextToImageRequestSchema: z.ZodObject<{
|
|
1117
|
+
prompt: z.ZodString;
|
|
1118
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
830
1120
|
square: "square";
|
|
1121
|
+
square_hd: "square_hd";
|
|
831
1122
|
portrait_4_3: "portrait_4_3";
|
|
832
1123
|
portrait_16_9: "portrait_16_9";
|
|
833
1124
|
landscape_4_3: "landscape_4_3";
|
|
@@ -845,8 +1136,8 @@ export declare const FalWanV2p7EditRequestSchema: z.ZodObject<{
|
|
|
845
1136
|
image_urls: z.ZodArray<z.ZodString>;
|
|
846
1137
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
847
1138
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
848
|
-
square_hd: "square_hd";
|
|
849
1139
|
square: "square";
|
|
1140
|
+
square_hd: "square_hd";
|
|
850
1141
|
portrait_4_3: "portrait_4_3";
|
|
851
1142
|
portrait_16_9: "portrait_16_9";
|
|
852
1143
|
landscape_4_3: "landscape_4_3";
|
|
@@ -864,9 +1155,9 @@ export declare const FalHunyuanImageV3InstructEditRequestSchema: z.ZodObject<{
|
|
|
864
1155
|
prompt: z.ZodString;
|
|
865
1156
|
image_urls: z.ZodArray<z.ZodString>;
|
|
866
1157
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1158
|
+
square: "square";
|
|
867
1159
|
square_hd: "square_hd";
|
|
868
1160
|
auto: "auto";
|
|
869
|
-
square: "square";
|
|
870
1161
|
portrait_4_3: "portrait_4_3";
|
|
871
1162
|
portrait_16_9: "portrait_16_9";
|
|
872
1163
|
landscape_4_3: "landscape_4_3";
|
|
@@ -995,28 +1286,96 @@ export declare const FalXaiGrokImagineImageRequestSchema: z.ZodObject<{
|
|
|
995
1286
|
}>>;
|
|
996
1287
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
997
1288
|
}, z.core.$strip>;
|
|
998
|
-
export declare const
|
|
1289
|
+
export declare const FalXaiGrokImagineImageV2p0TextToImageRequestSchema: z.ZodObject<{
|
|
999
1290
|
prompt: z.ZodString;
|
|
1000
1291
|
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1292
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1293
|
+
"1:1": "1:1";
|
|
1294
|
+
"16:9": "16:9";
|
|
1295
|
+
"4:3": "4:3";
|
|
1296
|
+
"3:4": "3:4";
|
|
1297
|
+
"9:16": "9:16";
|
|
1298
|
+
"3:2": "3:2";
|
|
1299
|
+
"2:3": "2:3";
|
|
1300
|
+
"2:1": "2:1";
|
|
1301
|
+
"20:9": "20:9";
|
|
1302
|
+
"19.5:9": "19.5:9";
|
|
1303
|
+
"9:19.5": "9:19.5";
|
|
1304
|
+
"9:20": "9:20";
|
|
1305
|
+
"1:2": "1:2";
|
|
1306
|
+
}>>;
|
|
1001
1307
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1002
1308
|
"1k": "1k";
|
|
1003
1309
|
"2k": "2k";
|
|
1004
1310
|
}>>;
|
|
1311
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
1312
|
+
low: "low";
|
|
1313
|
+
medium: "medium";
|
|
1314
|
+
}>>;
|
|
1005
1315
|
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1006
1316
|
png: "png";
|
|
1007
1317
|
jpeg: "jpeg";
|
|
1008
1318
|
webp: "webp";
|
|
1009
1319
|
}>>;
|
|
1010
1320
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1011
|
-
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1012
1321
|
}, z.core.$strip>;
|
|
1013
|
-
export declare const
|
|
1322
|
+
export declare const FalXaiGrokImagineImageV2p0EditRequestSchema: z.ZodObject<{
|
|
1014
1323
|
prompt: z.ZodString;
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
|
|
1324
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1325
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1326
|
+
"1:1": "1:1";
|
|
1327
|
+
"16:9": "16:9";
|
|
1328
|
+
auto: "auto";
|
|
1329
|
+
"4:3": "4:3";
|
|
1330
|
+
"3:4": "3:4";
|
|
1331
|
+
"9:16": "9:16";
|
|
1332
|
+
"3:2": "3:2";
|
|
1333
|
+
"2:3": "2:3";
|
|
1334
|
+
"2:1": "2:1";
|
|
1335
|
+
"20:9": "20:9";
|
|
1336
|
+
"19.5:9": "19.5:9";
|
|
1337
|
+
"9:19.5": "9:19.5";
|
|
1338
|
+
"9:20": "9:20";
|
|
1339
|
+
"1:2": "1:2";
|
|
1340
|
+
}>>;
|
|
1341
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1342
|
+
"1k": "1k";
|
|
1343
|
+
"2k": "2k";
|
|
1344
|
+
}>>;
|
|
1345
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
1346
|
+
low: "low";
|
|
1347
|
+
medium: "medium";
|
|
1348
|
+
}>>;
|
|
1349
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1350
|
+
png: "png";
|
|
1351
|
+
jpeg: "jpeg";
|
|
1352
|
+
webp: "webp";
|
|
1353
|
+
}>>;
|
|
1354
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1355
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1356
|
+
}, z.core.$strip>;
|
|
1357
|
+
export declare const FalXaiGrokImagineImageEditRequestSchema: z.ZodObject<{
|
|
1358
|
+
prompt: z.ZodString;
|
|
1359
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
1360
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1361
|
+
"1k": "1k";
|
|
1362
|
+
"2k": "2k";
|
|
1363
|
+
}>>;
|
|
1364
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
1365
|
+
png: "png";
|
|
1366
|
+
jpeg: "jpeg";
|
|
1367
|
+
webp: "webp";
|
|
1368
|
+
}>>;
|
|
1369
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1370
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1371
|
+
}, z.core.$strip>;
|
|
1372
|
+
export declare const FalSora2TextToVideoRequestSchema: z.ZodObject<{
|
|
1373
|
+
prompt: z.ZodString;
|
|
1374
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
1375
|
+
"sora-2": "sora-2";
|
|
1376
|
+
"sora-2-2025-12-08": "sora-2-2025-12-08";
|
|
1377
|
+
"sora-2-2025-10-06": "sora-2-2025-10-06";
|
|
1378
|
+
}>>;
|
|
1020
1379
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1021
1380
|
"720p": "720p";
|
|
1022
1381
|
}>>;
|
|
@@ -1320,6 +1679,18 @@ export type FalSeedance2p0FastReferenceToVideoParams = z.infer<typeof FalSeedanc
|
|
|
1320
1679
|
export type FalSeedance2p0FastReferenceToVideoRequest = z.input<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
|
|
1321
1680
|
export type FalSeedance2p0FastReferenceToVideoRequestInput = FalSeedance2p0FastReferenceToVideoRequest;
|
|
1322
1681
|
export type FalSeedance2p0FastReferenceToVideoParsedRequest = z.output<typeof FalSeedance2p0FastReferenceToVideoRequestSchema>;
|
|
1682
|
+
export type FalSeedance2p5TextToVideoParams = z.infer<typeof FalSeedance2p5TextToVideoRequestSchema>;
|
|
1683
|
+
export type FalSeedance2p5TextToVideoRequest = z.input<typeof FalSeedance2p5TextToVideoRequestSchema>;
|
|
1684
|
+
export type FalSeedance2p5TextToVideoRequestInput = FalSeedance2p5TextToVideoRequest;
|
|
1685
|
+
export type FalSeedance2p5TextToVideoParsedRequest = z.output<typeof FalSeedance2p5TextToVideoRequestSchema>;
|
|
1686
|
+
export type FalSeedance2p5ImageToVideoParams = z.infer<typeof FalSeedance2p5ImageToVideoRequestSchema>;
|
|
1687
|
+
export type FalSeedance2p5ImageToVideoRequest = z.input<typeof FalSeedance2p5ImageToVideoRequestSchema>;
|
|
1688
|
+
export type FalSeedance2p5ImageToVideoRequestInput = FalSeedance2p5ImageToVideoRequest;
|
|
1689
|
+
export type FalSeedance2p5ImageToVideoParsedRequest = z.output<typeof FalSeedance2p5ImageToVideoRequestSchema>;
|
|
1690
|
+
export type FalSeedance2p5ReferenceToVideoParams = z.infer<typeof FalSeedance2p5ReferenceToVideoRequestSchema>;
|
|
1691
|
+
export type FalSeedance2p5ReferenceToVideoRequest = z.input<typeof FalSeedance2p5ReferenceToVideoRequestSchema>;
|
|
1692
|
+
export type FalSeedance2p5ReferenceToVideoRequestInput = FalSeedance2p5ReferenceToVideoRequest;
|
|
1693
|
+
export type FalSeedance2p5ReferenceToVideoParsedRequest = z.output<typeof FalSeedance2p5ReferenceToVideoRequestSchema>;
|
|
1323
1694
|
export type FalNanoBananaProTextToImageParams = z.infer<typeof FalNanoBananaProTextToImageRequestSchema>;
|
|
1324
1695
|
export type FalNanoBananaProTextToImageRequest = z.input<typeof FalNanoBananaProTextToImageRequestSchema>;
|
|
1325
1696
|
export type FalNanoBananaProTextToImageRequestInput = FalNanoBananaProTextToImageRequest;
|
|
@@ -1360,6 +1731,26 @@ export type FalElevenlabsSpeechToTextScribeV2Params = z.infer<typeof FalElevenla
|
|
|
1360
1731
|
export type FalElevenlabsSpeechToTextScribeV2Request = z.input<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
|
|
1361
1732
|
export type FalElevenlabsSpeechToTextScribeV2RequestInput = FalElevenlabsSpeechToTextScribeV2Request;
|
|
1362
1733
|
export type FalElevenlabsSpeechToTextScribeV2ParsedRequest = z.output<typeof FalElevenlabsSpeechToTextScribeV2RequestSchema>;
|
|
1734
|
+
export type FalAlibabaQwenImage3TextToImageParams = z.infer<typeof FalAlibabaQwenImage3TextToImageRequestSchema>;
|
|
1735
|
+
export type FalAlibabaQwenImage3TextToImageRequest = z.input<typeof FalAlibabaQwenImage3TextToImageRequestSchema>;
|
|
1736
|
+
export type FalAlibabaQwenImage3TextToImageRequestInput = FalAlibabaQwenImage3TextToImageRequest;
|
|
1737
|
+
export type FalAlibabaQwenImage3TextToImageParsedRequest = z.output<typeof FalAlibabaQwenImage3TextToImageRequestSchema>;
|
|
1738
|
+
export type FalAlibabaQwenImage3EditParams = z.infer<typeof FalAlibabaQwenImage3EditRequestSchema>;
|
|
1739
|
+
export type FalAlibabaQwenImage3EditRequest = z.input<typeof FalAlibabaQwenImage3EditRequestSchema>;
|
|
1740
|
+
export type FalAlibabaQwenImage3EditRequestInput = FalAlibabaQwenImage3EditRequest;
|
|
1741
|
+
export type FalAlibabaQwenImage3EditParsedRequest = z.output<typeof FalAlibabaQwenImage3EditRequestSchema>;
|
|
1742
|
+
export type FalWan3p0TextToVideoParams = z.infer<typeof FalWan3p0TextToVideoRequestSchema>;
|
|
1743
|
+
export type FalWan3p0TextToVideoRequest = z.input<typeof FalWan3p0TextToVideoRequestSchema>;
|
|
1744
|
+
export type FalWan3p0TextToVideoRequestInput = FalWan3p0TextToVideoRequest;
|
|
1745
|
+
export type FalWan3p0TextToVideoParsedRequest = z.output<typeof FalWan3p0TextToVideoRequestSchema>;
|
|
1746
|
+
export type FalWan3p0ImageToVideoParams = z.infer<typeof FalWan3p0ImageToVideoRequestSchema>;
|
|
1747
|
+
export type FalWan3p0ImageToVideoRequest = z.input<typeof FalWan3p0ImageToVideoRequestSchema>;
|
|
1748
|
+
export type FalWan3p0ImageToVideoRequestInput = FalWan3p0ImageToVideoRequest;
|
|
1749
|
+
export type FalWan3p0ImageToVideoParsedRequest = z.output<typeof FalWan3p0ImageToVideoRequestSchema>;
|
|
1750
|
+
export type FalWan3p0ReferenceToVideoParams = z.infer<typeof FalWan3p0ReferenceToVideoRequestSchema>;
|
|
1751
|
+
export type FalWan3p0ReferenceToVideoRequest = z.input<typeof FalWan3p0ReferenceToVideoRequestSchema>;
|
|
1752
|
+
export type FalWan3p0ReferenceToVideoRequestInput = FalWan3p0ReferenceToVideoRequest;
|
|
1753
|
+
export type FalWan3p0ReferenceToVideoParsedRequest = z.output<typeof FalWan3p0ReferenceToVideoRequestSchema>;
|
|
1363
1754
|
export type FalWanV2p7TextToImageParams = z.infer<typeof FalWanV2p7TextToImageRequestSchema>;
|
|
1364
1755
|
export type FalWanV2p7TextToImageRequest = z.input<typeof FalWanV2p7TextToImageRequestSchema>;
|
|
1365
1756
|
export type FalWanV2p7TextToImageRequestInput = FalWanV2p7TextToImageRequest;
|
|
@@ -1388,6 +1779,14 @@ export type FalXaiGrokImagineImageParams = z.infer<typeof FalXaiGrokImagineImage
|
|
|
1388
1779
|
export type FalXaiGrokImagineImageRequest = z.input<typeof FalXaiGrokImagineImageRequestSchema>;
|
|
1389
1780
|
export type FalXaiGrokImagineImageRequestInput = FalXaiGrokImagineImageRequest;
|
|
1390
1781
|
export type FalXaiGrokImagineImageParsedRequest = z.output<typeof FalXaiGrokImagineImageRequestSchema>;
|
|
1782
|
+
export type FalXaiGrokImagineImageV2p0TextToImageParams = z.infer<typeof FalXaiGrokImagineImageV2p0TextToImageRequestSchema>;
|
|
1783
|
+
export type FalXaiGrokImagineImageV2p0TextToImageRequest = z.input<typeof FalXaiGrokImagineImageV2p0TextToImageRequestSchema>;
|
|
1784
|
+
export type FalXaiGrokImagineImageV2p0TextToImageRequestInput = FalXaiGrokImagineImageV2p0TextToImageRequest;
|
|
1785
|
+
export type FalXaiGrokImagineImageV2p0TextToImageParsedRequest = z.output<typeof FalXaiGrokImagineImageV2p0TextToImageRequestSchema>;
|
|
1786
|
+
export type FalXaiGrokImagineImageV2p0EditParams = z.infer<typeof FalXaiGrokImagineImageV2p0EditRequestSchema>;
|
|
1787
|
+
export type FalXaiGrokImagineImageV2p0EditRequest = z.input<typeof FalXaiGrokImagineImageV2p0EditRequestSchema>;
|
|
1788
|
+
export type FalXaiGrokImagineImageV2p0EditRequestInput = FalXaiGrokImagineImageV2p0EditRequest;
|
|
1789
|
+
export type FalXaiGrokImagineImageV2p0EditParsedRequest = z.output<typeof FalXaiGrokImagineImageV2p0EditRequestSchema>;
|
|
1391
1790
|
export type FalXaiGrokImagineImageEditParams = z.infer<typeof FalXaiGrokImagineImageEditRequestSchema>;
|
|
1392
1791
|
export type FalXaiGrokImagineImageEditRequest = z.input<typeof FalXaiGrokImagineImageEditRequestSchema>;
|
|
1393
1792
|
export type FalXaiGrokImagineImageEditRequestInput = FalXaiGrokImagineImageEditRequest;
|
|
@@ -1576,12 +1975,399 @@ export type FalKlingVideoO3p4kTextToVideoParams = z.infer<typeof FalKlingVideoO3
|
|
|
1576
1975
|
export type FalKlingVideoO3p4kTextToVideoRequest = z.input<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1577
1976
|
export type FalKlingVideoO3p4kTextToVideoRequestInput = FalKlingVideoO3p4kTextToVideoRequest;
|
|
1578
1977
|
export type FalKlingVideoO3p4kTextToVideoParsedRequest = z.output<typeof FalKlingVideoO3p4kTextToVideoRequestSchema>;
|
|
1978
|
+
export declare const FalFlux3TextToVideoRequestSchema: z.ZodObject<{
|
|
1979
|
+
prompt: z.ZodString;
|
|
1980
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1981
|
+
"1:1": "1:1";
|
|
1982
|
+
"16:9": "16:9";
|
|
1983
|
+
auto: "auto";
|
|
1984
|
+
"21:9": "21:9";
|
|
1985
|
+
"4:3": "4:3";
|
|
1986
|
+
"3:4": "3:4";
|
|
1987
|
+
"9:16": "9:16";
|
|
1988
|
+
"2:1": "2:1";
|
|
1989
|
+
}>>;
|
|
1990
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
1991
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
1992
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1993
|
+
"720p": "720p";
|
|
1994
|
+
"1080p": "1080p";
|
|
1995
|
+
}>>;
|
|
1996
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
1997
|
+
}, z.core.$strip>;
|
|
1998
|
+
export type FalFlux3TextToVideoParams = z.infer<typeof FalFlux3TextToVideoRequestSchema>;
|
|
1999
|
+
export type FalFlux3TextToVideoRequest = z.input<typeof FalFlux3TextToVideoRequestSchema>;
|
|
2000
|
+
export type FalFlux3TextToVideoRequestInput = FalFlux3TextToVideoRequest;
|
|
2001
|
+
export type FalFlux3TextToVideoParsedRequest = z.output<typeof FalFlux3TextToVideoRequestSchema>;
|
|
2002
|
+
export declare const FalFlux3ImageToVideoRequestSchema: z.ZodObject<{
|
|
2003
|
+
prompt: z.ZodString;
|
|
2004
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2005
|
+
"1:1": "1:1";
|
|
2006
|
+
"16:9": "16:9";
|
|
2007
|
+
auto: "auto";
|
|
2008
|
+
"21:9": "21:9";
|
|
2009
|
+
"4:3": "4:3";
|
|
2010
|
+
"3:4": "3:4";
|
|
2011
|
+
"9:16": "9:16";
|
|
2012
|
+
"2:1": "2:1";
|
|
2013
|
+
}>>;
|
|
2014
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2015
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2016
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2017
|
+
"720p": "720p";
|
|
2018
|
+
"1080p": "1080p";
|
|
2019
|
+
}>>;
|
|
2020
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2021
|
+
image_url: z.ZodString;
|
|
2022
|
+
}, z.core.$strip>;
|
|
2023
|
+
export type FalFlux3ImageToVideoParams = z.infer<typeof FalFlux3ImageToVideoRequestSchema>;
|
|
2024
|
+
export type FalFlux3ImageToVideoRequest = z.input<typeof FalFlux3ImageToVideoRequestSchema>;
|
|
2025
|
+
export type FalFlux3ImageToVideoRequestInput = FalFlux3ImageToVideoRequest;
|
|
2026
|
+
export type FalFlux3ImageToVideoParsedRequest = z.output<typeof FalFlux3ImageToVideoRequestSchema>;
|
|
2027
|
+
export declare const FalFlux3FirstLastFrameToVideoRequestSchema: 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
|
+
start_image_url: z.ZodString;
|
|
2047
|
+
end_image_url: z.ZodString;
|
|
2048
|
+
}, z.core.$strip>;
|
|
2049
|
+
export type FalFlux3FirstLastFrameToVideoParams = z.infer<typeof FalFlux3FirstLastFrameToVideoRequestSchema>;
|
|
2050
|
+
export type FalFlux3FirstLastFrameToVideoRequest = z.input<typeof FalFlux3FirstLastFrameToVideoRequestSchema>;
|
|
2051
|
+
export type FalFlux3FirstLastFrameToVideoRequestInput = FalFlux3FirstLastFrameToVideoRequest;
|
|
2052
|
+
export type FalFlux3FirstLastFrameToVideoParsedRequest = z.output<typeof FalFlux3FirstLastFrameToVideoRequestSchema>;
|
|
2053
|
+
export declare const FalFlux3KeyframeSchema: z.ZodObject<{
|
|
2054
|
+
image_url: z.ZodString;
|
|
2055
|
+
frame_index: z.ZodNumber;
|
|
2056
|
+
}, z.core.$strip>;
|
|
2057
|
+
export declare const FalFlux3KeyframesToVideoRequestSchema: z.ZodObject<{
|
|
2058
|
+
prompt: z.ZodString;
|
|
2059
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2060
|
+
"1:1": "1:1";
|
|
2061
|
+
"16:9": "16:9";
|
|
2062
|
+
auto: "auto";
|
|
2063
|
+
"21:9": "21:9";
|
|
2064
|
+
"4:3": "4:3";
|
|
2065
|
+
"3:4": "3:4";
|
|
2066
|
+
"9:16": "9:16";
|
|
2067
|
+
"2:1": "2:1";
|
|
2068
|
+
}>>;
|
|
2069
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2070
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2071
|
+
"720p": "720p";
|
|
2072
|
+
"1080p": "1080p";
|
|
2073
|
+
}>>;
|
|
2074
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2075
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2076
|
+
keyframes: z.ZodArray<z.ZodObject<{
|
|
2077
|
+
image_url: z.ZodString;
|
|
2078
|
+
frame_index: z.ZodNumber;
|
|
2079
|
+
}, z.core.$strip>>;
|
|
2080
|
+
}, z.core.$strip>;
|
|
2081
|
+
export type FalFlux3KeyframesToVideoParams = z.infer<typeof FalFlux3KeyframesToVideoRequestSchema>;
|
|
2082
|
+
export type FalFlux3KeyframesToVideoRequest = z.input<typeof FalFlux3KeyframesToVideoRequestSchema>;
|
|
2083
|
+
export type FalFlux3KeyframesToVideoRequestInput = FalFlux3KeyframesToVideoRequest;
|
|
2084
|
+
export type FalFlux3KeyframesToVideoParsedRequest = z.output<typeof FalFlux3KeyframesToVideoRequestSchema>;
|
|
2085
|
+
export declare const FalFlux3ExtendVideoRequestSchema: z.ZodObject<{
|
|
2086
|
+
prompt: z.ZodString;
|
|
2087
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2088
|
+
"1:1": "1:1";
|
|
2089
|
+
"16:9": "16:9";
|
|
2090
|
+
auto: "auto";
|
|
2091
|
+
"21:9": "21:9";
|
|
2092
|
+
"4:3": "4:3";
|
|
2093
|
+
"3:4": "3:4";
|
|
2094
|
+
"9:16": "9:16";
|
|
2095
|
+
"2:1": "2:1";
|
|
2096
|
+
}>>;
|
|
2097
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2098
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2099
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2100
|
+
"720p": "720p";
|
|
2101
|
+
"1080p": "1080p";
|
|
2102
|
+
}>>;
|
|
2103
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2104
|
+
video_url: z.ZodString;
|
|
2105
|
+
}, z.core.$strip>;
|
|
2106
|
+
export type FalFlux3ExtendVideoParams = z.infer<typeof FalFlux3ExtendVideoRequestSchema>;
|
|
2107
|
+
export type FalFlux3ExtendVideoRequest = z.input<typeof FalFlux3ExtendVideoRequestSchema>;
|
|
2108
|
+
export type FalFlux3ExtendVideoRequestInput = FalFlux3ExtendVideoRequest;
|
|
2109
|
+
export type FalFlux3ExtendVideoParsedRequest = z.output<typeof FalFlux3ExtendVideoRequestSchema>;
|
|
2110
|
+
export declare const FalFluxVideoUpscaleRequestSchema: z.ZodObject<{
|
|
2111
|
+
video_url: z.ZodString;
|
|
2112
|
+
upscale_factor: z.ZodOptional<z.ZodNumber>;
|
|
2113
|
+
creativity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
2114
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2115
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2116
|
+
}, z.core.$strip>;
|
|
2117
|
+
export type FalFluxVideoUpscaleParams = z.infer<typeof FalFluxVideoUpscaleRequestSchema>;
|
|
2118
|
+
export type FalFluxVideoUpscaleRequest = z.input<typeof FalFluxVideoUpscaleRequestSchema>;
|
|
2119
|
+
export type FalFluxVideoUpscaleRequestInput = FalFluxVideoUpscaleRequest;
|
|
2120
|
+
export type FalFluxVideoUpscaleParsedRequest = z.output<typeof FalFluxVideoUpscaleRequestSchema>;
|
|
1579
2121
|
export type FalOptions = z.infer<typeof FalOptionsSchema>;
|
|
1580
2122
|
export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
2123
|
+
readonly "alibaba/qwen-image-3/text-to-image": z.ZodObject<{
|
|
2124
|
+
prompt: z.ZodString;
|
|
2125
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2127
|
+
square: "square";
|
|
2128
|
+
square_hd: "square_hd";
|
|
2129
|
+
portrait_4_3: "portrait_4_3";
|
|
2130
|
+
portrait_16_9: "portrait_16_9";
|
|
2131
|
+
landscape_4_3: "landscape_4_3";
|
|
2132
|
+
landscape_16_9: "landscape_16_9";
|
|
2133
|
+
}>, z.ZodObject<{
|
|
2134
|
+
width: z.ZodNumber;
|
|
2135
|
+
height: z.ZodNumber;
|
|
2136
|
+
}, z.core.$strip>]>>;
|
|
2137
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
2138
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2139
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
2140
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2141
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
2142
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
2143
|
+
png: "png";
|
|
2144
|
+
jpeg: "jpeg";
|
|
2145
|
+
webp: "webp";
|
|
2146
|
+
}>>;
|
|
2147
|
+
}, z.core.$strip>;
|
|
2148
|
+
readonly "blackforestlabs/flux-3/extend-video": z.ZodObject<{
|
|
2149
|
+
prompt: z.ZodString;
|
|
2150
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2151
|
+
"1:1": "1:1";
|
|
2152
|
+
"16:9": "16:9";
|
|
2153
|
+
auto: "auto";
|
|
2154
|
+
"21:9": "21:9";
|
|
2155
|
+
"4:3": "4:3";
|
|
2156
|
+
"3:4": "3:4";
|
|
2157
|
+
"9:16": "9:16";
|
|
2158
|
+
"2:1": "2:1";
|
|
2159
|
+
}>>;
|
|
2160
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2161
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2162
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2163
|
+
"720p": "720p";
|
|
2164
|
+
"1080p": "1080p";
|
|
2165
|
+
}>>;
|
|
2166
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2167
|
+
video_url: z.ZodString;
|
|
2168
|
+
}, z.core.$strip>;
|
|
2169
|
+
readonly "blackforestlabs/flux-3/first-last-frame-to-video": z.ZodObject<{
|
|
2170
|
+
prompt: z.ZodString;
|
|
2171
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2172
|
+
"1:1": "1:1";
|
|
2173
|
+
"16:9": "16:9";
|
|
2174
|
+
auto: "auto";
|
|
2175
|
+
"21:9": "21:9";
|
|
2176
|
+
"4:3": "4:3";
|
|
2177
|
+
"3:4": "3:4";
|
|
2178
|
+
"9:16": "9:16";
|
|
2179
|
+
"2:1": "2:1";
|
|
2180
|
+
}>>;
|
|
2181
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2182
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2183
|
+
"720p": "720p";
|
|
2184
|
+
"1080p": "1080p";
|
|
2185
|
+
}>>;
|
|
2186
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2187
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2188
|
+
start_image_url: z.ZodString;
|
|
2189
|
+
end_image_url: z.ZodString;
|
|
2190
|
+
}, z.core.$strip>;
|
|
2191
|
+
readonly "blackforestlabs/flux-3/image-to-video": z.ZodObject<{
|
|
2192
|
+
prompt: z.ZodString;
|
|
2193
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2194
|
+
"1:1": "1:1";
|
|
2195
|
+
"16:9": "16:9";
|
|
2196
|
+
auto: "auto";
|
|
2197
|
+
"21:9": "21:9";
|
|
2198
|
+
"4:3": "4:3";
|
|
2199
|
+
"3:4": "3:4";
|
|
2200
|
+
"9:16": "9:16";
|
|
2201
|
+
"2:1": "2:1";
|
|
2202
|
+
}>>;
|
|
2203
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2204
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2205
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2206
|
+
"720p": "720p";
|
|
2207
|
+
"1080p": "1080p";
|
|
2208
|
+
}>>;
|
|
2209
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2210
|
+
image_url: z.ZodString;
|
|
2211
|
+
}, z.core.$strip>;
|
|
2212
|
+
readonly "blackforestlabs/flux-3/keyframes-to-video": z.ZodObject<{
|
|
2213
|
+
prompt: z.ZodString;
|
|
2214
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2215
|
+
"1:1": "1:1";
|
|
2216
|
+
"16:9": "16:9";
|
|
2217
|
+
auto: "auto";
|
|
2218
|
+
"21:9": "21:9";
|
|
2219
|
+
"4:3": "4:3";
|
|
2220
|
+
"3:4": "3:4";
|
|
2221
|
+
"9:16": "9:16";
|
|
2222
|
+
"2:1": "2:1";
|
|
2223
|
+
}>>;
|
|
2224
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2225
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2226
|
+
"720p": "720p";
|
|
2227
|
+
"1080p": "1080p";
|
|
2228
|
+
}>>;
|
|
2229
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2230
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2231
|
+
keyframes: z.ZodArray<z.ZodObject<{
|
|
2232
|
+
image_url: z.ZodString;
|
|
2233
|
+
frame_index: z.ZodNumber;
|
|
2234
|
+
}, z.core.$strip>>;
|
|
2235
|
+
}, z.core.$strip>;
|
|
2236
|
+
readonly "blackforestlabs/flux-3/text-to-video": z.ZodObject<{
|
|
2237
|
+
prompt: z.ZodString;
|
|
2238
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2239
|
+
"1:1": "1:1";
|
|
2240
|
+
"16:9": "16:9";
|
|
2241
|
+
auto: "auto";
|
|
2242
|
+
"21:9": "21:9";
|
|
2243
|
+
"4:3": "4:3";
|
|
2244
|
+
"3:4": "3:4";
|
|
2245
|
+
"9:16": "9:16";
|
|
2246
|
+
"2:1": "2:1";
|
|
2247
|
+
}>>;
|
|
2248
|
+
duration: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodNumber]>>;
|
|
2249
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2250
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2251
|
+
"720p": "720p";
|
|
2252
|
+
"1080p": "1080p";
|
|
2253
|
+
}>>;
|
|
2254
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2255
|
+
}, z.core.$strip>;
|
|
2256
|
+
readonly "blackforestlabs/flux-video-upscale": z.ZodObject<{
|
|
2257
|
+
video_url: z.ZodString;
|
|
2258
|
+
upscale_factor: z.ZodOptional<z.ZodNumber>;
|
|
2259
|
+
creativity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
2260
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2261
|
+
safety_tolerance: z.ZodOptional<z.ZodNumber>;
|
|
2262
|
+
}, z.core.$strip>;
|
|
1581
2263
|
readonly "bytedance/seedance-2.0/image-to-video": z.ZodObject<{
|
|
1582
2264
|
prompt: z.ZodString;
|
|
1583
|
-
image_url: z.ZodString;
|
|
1584
|
-
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2265
|
+
image_url: z.ZodString;
|
|
2266
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2267
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2268
|
+
"480p": "480p";
|
|
2269
|
+
"720p": "720p";
|
|
2270
|
+
}>>;
|
|
2271
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2272
|
+
4: "4";
|
|
2273
|
+
5: "5";
|
|
2274
|
+
auto: "auto";
|
|
2275
|
+
6: "6";
|
|
2276
|
+
7: "7";
|
|
2277
|
+
8: "8";
|
|
2278
|
+
9: "9";
|
|
2279
|
+
10: "10";
|
|
2280
|
+
11: "11";
|
|
2281
|
+
12: "12";
|
|
2282
|
+
13: "13";
|
|
2283
|
+
14: "14";
|
|
2284
|
+
15: "15";
|
|
2285
|
+
}>>;
|
|
2286
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2287
|
+
"1:1": "1:1";
|
|
2288
|
+
"16:9": "16:9";
|
|
2289
|
+
auto: "auto";
|
|
2290
|
+
"21:9": "21:9";
|
|
2291
|
+
"4:3": "4:3";
|
|
2292
|
+
"3:4": "3:4";
|
|
2293
|
+
"9:16": "9:16";
|
|
2294
|
+
}>>;
|
|
2295
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2296
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2297
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2298
|
+
}, z.core.$strip>;
|
|
2299
|
+
readonly "bytedance/seedance-2.0/text-to-video": z.ZodObject<{
|
|
2300
|
+
prompt: z.ZodString;
|
|
2301
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2302
|
+
"480p": "480p";
|
|
2303
|
+
"720p": "720p";
|
|
2304
|
+
}>>;
|
|
2305
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2306
|
+
4: "4";
|
|
2307
|
+
5: "5";
|
|
2308
|
+
auto: "auto";
|
|
2309
|
+
6: "6";
|
|
2310
|
+
7: "7";
|
|
2311
|
+
8: "8";
|
|
2312
|
+
9: "9";
|
|
2313
|
+
10: "10";
|
|
2314
|
+
11: "11";
|
|
2315
|
+
12: "12";
|
|
2316
|
+
13: "13";
|
|
2317
|
+
14: "14";
|
|
2318
|
+
15: "15";
|
|
2319
|
+
}>>;
|
|
2320
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2321
|
+
"1:1": "1:1";
|
|
2322
|
+
"16:9": "16:9";
|
|
2323
|
+
auto: "auto";
|
|
2324
|
+
"21:9": "21:9";
|
|
2325
|
+
"4:3": "4:3";
|
|
2326
|
+
"3:4": "3:4";
|
|
2327
|
+
"9:16": "9:16";
|
|
2328
|
+
}>>;
|
|
2329
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2330
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2331
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2332
|
+
}, z.core.$strip>;
|
|
2333
|
+
readonly "bytedance/seedance-2.0/fast/image-to-video": z.ZodObject<{
|
|
2334
|
+
prompt: z.ZodString;
|
|
2335
|
+
image_url: z.ZodString;
|
|
2336
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
2337
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2338
|
+
"480p": "480p";
|
|
2339
|
+
"720p": "720p";
|
|
2340
|
+
}>>;
|
|
2341
|
+
duration: z.ZodOptional<z.ZodEnum<{
|
|
2342
|
+
4: "4";
|
|
2343
|
+
5: "5";
|
|
2344
|
+
auto: "auto";
|
|
2345
|
+
6: "6";
|
|
2346
|
+
7: "7";
|
|
2347
|
+
8: "8";
|
|
2348
|
+
9: "9";
|
|
2349
|
+
10: "10";
|
|
2350
|
+
11: "11";
|
|
2351
|
+
12: "12";
|
|
2352
|
+
13: "13";
|
|
2353
|
+
14: "14";
|
|
2354
|
+
15: "15";
|
|
2355
|
+
}>>;
|
|
2356
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
2357
|
+
"1:1": "1:1";
|
|
2358
|
+
"16:9": "16:9";
|
|
2359
|
+
auto: "auto";
|
|
2360
|
+
"21:9": "21:9";
|
|
2361
|
+
"4:3": "4:3";
|
|
2362
|
+
"3:4": "3:4";
|
|
2363
|
+
"9:16": "9:16";
|
|
2364
|
+
}>>;
|
|
2365
|
+
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2366
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2367
|
+
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2368
|
+
}, z.core.$strip>;
|
|
2369
|
+
readonly "bytedance/seedance-2.0/fast/text-to-video": z.ZodObject<{
|
|
2370
|
+
prompt: z.ZodString;
|
|
1585
2371
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1586
2372
|
"480p": "480p";
|
|
1587
2373
|
"720p": "720p";
|
|
@@ -1614,8 +2400,11 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1614
2400
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1615
2401
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1616
2402
|
}, z.core.$strip>;
|
|
1617
|
-
readonly "bytedance/seedance-2.0/
|
|
2403
|
+
readonly "bytedance/seedance-2.0/reference-to-video": z.ZodObject<{
|
|
1618
2404
|
prompt: z.ZodString;
|
|
2405
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2406
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2407
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1619
2408
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1620
2409
|
"480p": "480p";
|
|
1621
2410
|
"720p": "720p";
|
|
@@ -1648,10 +2437,11 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1648
2437
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1649
2438
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1650
2439
|
}, z.core.$strip>;
|
|
1651
|
-
readonly "bytedance/seedance-2.0/fast/
|
|
2440
|
+
readonly "bytedance/seedance-2.0/fast/reference-to-video": z.ZodObject<{
|
|
1652
2441
|
prompt: z.ZodString;
|
|
1653
|
-
|
|
1654
|
-
|
|
2442
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2443
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2444
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1655
2445
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1656
2446
|
"480p": "480p";
|
|
1657
2447
|
"720p": "720p";
|
|
@@ -1684,11 +2474,12 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1684
2474
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1685
2475
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1686
2476
|
}, z.core.$strip>;
|
|
1687
|
-
readonly "bytedance/seedance-2.
|
|
2477
|
+
readonly "bytedance/seedance-2.5/text-to-video": z.ZodObject<{
|
|
1688
2478
|
prompt: z.ZodString;
|
|
1689
2479
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1690
2480
|
"480p": "480p";
|
|
1691
2481
|
"720p": "720p";
|
|
2482
|
+
"1080p": "1080p";
|
|
1692
2483
|
}>>;
|
|
1693
2484
|
duration: z.ZodOptional<z.ZodEnum<{
|
|
1694
2485
|
4: "4";
|
|
@@ -1704,6 +2495,21 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1704
2495
|
13: "13";
|
|
1705
2496
|
14: "14";
|
|
1706
2497
|
15: "15";
|
|
2498
|
+
16: "16";
|
|
2499
|
+
17: "17";
|
|
2500
|
+
18: "18";
|
|
2501
|
+
19: "19";
|
|
2502
|
+
20: "20";
|
|
2503
|
+
21: "21";
|
|
2504
|
+
22: "22";
|
|
2505
|
+
23: "23";
|
|
2506
|
+
24: "24";
|
|
2507
|
+
25: "25";
|
|
2508
|
+
26: "26";
|
|
2509
|
+
27: "27";
|
|
2510
|
+
28: "28";
|
|
2511
|
+
29: "29";
|
|
2512
|
+
30: "30";
|
|
1707
2513
|
}>>;
|
|
1708
2514
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1709
2515
|
"1:1": "1:1";
|
|
@@ -1715,17 +2521,19 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1715
2521
|
"9:16": "9:16";
|
|
1716
2522
|
}>>;
|
|
1717
2523
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2524
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
2525
|
+
standard: "standard";
|
|
2526
|
+
high: "high";
|
|
2527
|
+
}>>;
|
|
1718
2528
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1719
2529
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
1720
2530
|
}, z.core.$strip>;
|
|
1721
|
-
readonly "bytedance/seedance-2.
|
|
2531
|
+
readonly "bytedance/seedance-2.5/image-to-video": z.ZodObject<{
|
|
1722
2532
|
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
2533
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1727
2534
|
"480p": "480p";
|
|
1728
2535
|
"720p": "720p";
|
|
2536
|
+
"1080p": "1080p";
|
|
1729
2537
|
}>>;
|
|
1730
2538
|
duration: z.ZodOptional<z.ZodEnum<{
|
|
1731
2539
|
4: "4";
|
|
@@ -1741,6 +2549,21 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1741
2549
|
13: "13";
|
|
1742
2550
|
14: "14";
|
|
1743
2551
|
15: "15";
|
|
2552
|
+
16: "16";
|
|
2553
|
+
17: "17";
|
|
2554
|
+
18: "18";
|
|
2555
|
+
19: "19";
|
|
2556
|
+
20: "20";
|
|
2557
|
+
21: "21";
|
|
2558
|
+
22: "22";
|
|
2559
|
+
23: "23";
|
|
2560
|
+
24: "24";
|
|
2561
|
+
25: "25";
|
|
2562
|
+
26: "26";
|
|
2563
|
+
27: "27";
|
|
2564
|
+
28: "28";
|
|
2565
|
+
29: "29";
|
|
2566
|
+
30: "30";
|
|
1744
2567
|
}>>;
|
|
1745
2568
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1746
2569
|
"1:1": "1:1";
|
|
@@ -1752,17 +2575,21 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1752
2575
|
"9:16": "9:16";
|
|
1753
2576
|
}>>;
|
|
1754
2577
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2578
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
2579
|
+
standard: "standard";
|
|
2580
|
+
high: "high";
|
|
2581
|
+
}>>;
|
|
1755
2582
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1756
2583
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2584
|
+
image_url: z.ZodString;
|
|
2585
|
+
end_image_url: z.ZodOptional<z.ZodString>;
|
|
1757
2586
|
}, z.core.$strip>;
|
|
1758
|
-
readonly "bytedance/seedance-2.
|
|
2587
|
+
readonly "bytedance/seedance-2.5/reference-to-video": z.ZodObject<{
|
|
1759
2588
|
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
2589
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
1764
2590
|
"480p": "480p";
|
|
1765
2591
|
"720p": "720p";
|
|
2592
|
+
"1080p": "1080p";
|
|
1766
2593
|
}>>;
|
|
1767
2594
|
duration: z.ZodOptional<z.ZodEnum<{
|
|
1768
2595
|
4: "4";
|
|
@@ -1778,6 +2605,21 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1778
2605
|
13: "13";
|
|
1779
2606
|
14: "14";
|
|
1780
2607
|
15: "15";
|
|
2608
|
+
16: "16";
|
|
2609
|
+
17: "17";
|
|
2610
|
+
18: "18";
|
|
2611
|
+
19: "19";
|
|
2612
|
+
20: "20";
|
|
2613
|
+
21: "21";
|
|
2614
|
+
22: "22";
|
|
2615
|
+
23: "23";
|
|
2616
|
+
24: "24";
|
|
2617
|
+
25: "25";
|
|
2618
|
+
26: "26";
|
|
2619
|
+
27: "27";
|
|
2620
|
+
28: "28";
|
|
2621
|
+
29: "29";
|
|
2622
|
+
30: "30";
|
|
1781
2623
|
}>>;
|
|
1782
2624
|
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
1783
2625
|
"1:1": "1:1";
|
|
@@ -1789,8 +2631,15 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1789
2631
|
"9:16": "9:16";
|
|
1790
2632
|
}>>;
|
|
1791
2633
|
generate_audio: z.ZodOptional<z.ZodBoolean>;
|
|
2634
|
+
bitrate_mode: z.ZodOptional<z.ZodEnum<{
|
|
2635
|
+
standard: "standard";
|
|
2636
|
+
high: "high";
|
|
2637
|
+
}>>;
|
|
1792
2638
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1793
2639
|
end_user_id: z.ZodOptional<z.ZodString>;
|
|
2640
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2641
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2642
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1794
2643
|
}, z.core.$strip>;
|
|
1795
2644
|
readonly "fal-ai/nano-banana-pro/edit": z.ZodObject<{
|
|
1796
2645
|
prompt: z.ZodString;
|
|
@@ -1981,8 +2830,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
1981
2830
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
1982
2831
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1983
2832
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1984
|
-
minimal: "minimal";
|
|
1985
2833
|
high: "high";
|
|
2834
|
+
minimal: "minimal";
|
|
1986
2835
|
}>>;
|
|
1987
2836
|
}, z.core.$strip>;
|
|
1988
2837
|
readonly "fal-ai/nano-banana-2/edit": z.ZodObject<{
|
|
@@ -2030,8 +2879,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2030
2879
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2031
2880
|
enable_web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2032
2881
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2033
|
-
minimal: "minimal";
|
|
2034
2882
|
high: "high";
|
|
2883
|
+
minimal: "minimal";
|
|
2035
2884
|
}>>;
|
|
2036
2885
|
}, z.core.$strip>;
|
|
2037
2886
|
readonly "google/nano-banana-2-lite": z.ZodObject<{
|
|
@@ -2072,8 +2921,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2072
2921
|
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2073
2922
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2074
2923
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2075
|
-
minimal: "minimal";
|
|
2076
2924
|
high: "high";
|
|
2925
|
+
minimal: "minimal";
|
|
2077
2926
|
}>>;
|
|
2078
2927
|
}, z.core.$strip>;
|
|
2079
2928
|
readonly "google/nano-banana-lite/edit": z.ZodObject<{
|
|
@@ -2114,8 +2963,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2114
2963
|
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2115
2964
|
limit_generations: z.ZodOptional<z.ZodBoolean>;
|
|
2116
2965
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
2117
|
-
minimal: "minimal";
|
|
2118
2966
|
high: "high";
|
|
2967
|
+
minimal: "minimal";
|
|
2119
2968
|
}>>;
|
|
2120
2969
|
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2121
2970
|
}, z.core.$strip>;
|
|
@@ -2123,8 +2972,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2123
2972
|
prompt: z.ZodString;
|
|
2124
2973
|
image_urls: z.ZodArray<z.ZodString>;
|
|
2125
2974
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2126
|
-
square_hd: "square_hd";
|
|
2127
2975
|
square: "square";
|
|
2976
|
+
square_hd: "square_hd";
|
|
2128
2977
|
portrait_4_3: "portrait_4_3";
|
|
2129
2978
|
portrait_16_9: "portrait_16_9";
|
|
2130
2979
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2144,8 +2993,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2144
2993
|
readonly "fal-ai/bytedance/seedream/v5/lite/text-to-image": z.ZodObject<{
|
|
2145
2994
|
prompt: z.ZodString;
|
|
2146
2995
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2147
|
-
square_hd: "square_hd";
|
|
2148
2996
|
square: "square";
|
|
2997
|
+
square_hd: "square_hd";
|
|
2149
2998
|
portrait_4_3: "portrait_4_3";
|
|
2150
2999
|
portrait_16_9: "portrait_16_9";
|
|
2151
3000
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2237,12 +3086,184 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2237
3086
|
diarize: z.ZodOptional<z.ZodBoolean>;
|
|
2238
3087
|
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2239
3088
|
}, z.core.$strip>;
|
|
3089
|
+
readonly "alibaba/qwen-image-3/edit": z.ZodObject<{
|
|
3090
|
+
prompt: z.ZodString;
|
|
3091
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
3092
|
+
negative_prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3093
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3094
|
+
square: "square";
|
|
3095
|
+
square_hd: "square_hd";
|
|
3096
|
+
portrait_4_3: "portrait_4_3";
|
|
3097
|
+
portrait_16_9: "portrait_16_9";
|
|
3098
|
+
landscape_4_3: "landscape_4_3";
|
|
3099
|
+
landscape_16_9: "landscape_16_9";
|
|
3100
|
+
}>, z.ZodObject<{
|
|
3101
|
+
width: z.ZodNumber;
|
|
3102
|
+
height: z.ZodNumber;
|
|
3103
|
+
}, z.core.$strip>]>>>;
|
|
3104
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3105
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3106
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3107
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
3108
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
3109
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
3110
|
+
png: "png";
|
|
3111
|
+
jpeg: "jpeg";
|
|
3112
|
+
webp: "webp";
|
|
3113
|
+
}>>;
|
|
3114
|
+
}, z.core.$strip>;
|
|
3115
|
+
readonly "alibaba/wan-3.0/text-to-video": z.ZodObject<{
|
|
3116
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3117
|
+
"480p": "480p";
|
|
3118
|
+
"720p": "720p";
|
|
3119
|
+
"1080p": "1080p";
|
|
3120
|
+
}>>;
|
|
3121
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3122
|
+
"1:1": "1:1";
|
|
3123
|
+
"16:9": "16:9";
|
|
3124
|
+
"4:3": "4:3";
|
|
3125
|
+
"3:4": "3:4";
|
|
3126
|
+
"9:16": "9:16";
|
|
3127
|
+
adaptive: "adaptive";
|
|
3128
|
+
}>>;
|
|
3129
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3130
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3131
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3132
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3133
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3134
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3135
|
+
prompt: z.ZodString;
|
|
3136
|
+
}, z.core.$strip>;
|
|
3137
|
+
readonly "alibaba/wan-3.0/image-to-video": z.ZodObject<{
|
|
3138
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3139
|
+
"480p": "480p";
|
|
3140
|
+
"720p": "720p";
|
|
3141
|
+
"1080p": "1080p";
|
|
3142
|
+
}>>;
|
|
3143
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3144
|
+
"1:1": "1:1";
|
|
3145
|
+
"16:9": "16:9";
|
|
3146
|
+
"4:3": "4:3";
|
|
3147
|
+
"3:4": "3:4";
|
|
3148
|
+
"9:16": "9:16";
|
|
3149
|
+
adaptive: "adaptive";
|
|
3150
|
+
}>>;
|
|
3151
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3152
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3153
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3154
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3155
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3156
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3157
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3158
|
+
start_image_url: z.ZodString;
|
|
3159
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3160
|
+
}, z.core.$strip>;
|
|
3161
|
+
readonly "alibaba/wan-3.0/reference-to-video": z.ZodObject<{
|
|
3162
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3163
|
+
"480p": "480p";
|
|
3164
|
+
"720p": "720p";
|
|
3165
|
+
"1080p": "1080p";
|
|
3166
|
+
}>>;
|
|
3167
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3168
|
+
"1:1": "1:1";
|
|
3169
|
+
"16:9": "16:9";
|
|
3170
|
+
"4:3": "4:3";
|
|
3171
|
+
"3:4": "3:4";
|
|
3172
|
+
"9:16": "9:16";
|
|
3173
|
+
adaptive: "adaptive";
|
|
3174
|
+
}>>;
|
|
3175
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3176
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3177
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3178
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3179
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3180
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3181
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3182
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3183
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3184
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3185
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3186
|
+
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3187
|
+
}, z.core.$strip>;
|
|
3188
|
+
readonly "alibaba/wan-3.0-prime/text-to-video": z.ZodObject<{
|
|
3189
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3190
|
+
"480p": "480p";
|
|
3191
|
+
"720p": "720p";
|
|
3192
|
+
"1080p": "1080p";
|
|
3193
|
+
}>>;
|
|
3194
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3195
|
+
"1:1": "1:1";
|
|
3196
|
+
"16:9": "16:9";
|
|
3197
|
+
"4:3": "4:3";
|
|
3198
|
+
"3:4": "3:4";
|
|
3199
|
+
"9:16": "9:16";
|
|
3200
|
+
adaptive: "adaptive";
|
|
3201
|
+
}>>;
|
|
3202
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3203
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3204
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3205
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3206
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3207
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3208
|
+
prompt: z.ZodString;
|
|
3209
|
+
}, z.core.$strip>;
|
|
3210
|
+
readonly "alibaba/wan-3.0-prime/image-to-video": z.ZodObject<{
|
|
3211
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3212
|
+
"480p": "480p";
|
|
3213
|
+
"720p": "720p";
|
|
3214
|
+
"1080p": "1080p";
|
|
3215
|
+
}>>;
|
|
3216
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3217
|
+
"1:1": "1:1";
|
|
3218
|
+
"16:9": "16:9";
|
|
3219
|
+
"4:3": "4:3";
|
|
3220
|
+
"3:4": "3:4";
|
|
3221
|
+
"9:16": "9:16";
|
|
3222
|
+
adaptive: "adaptive";
|
|
3223
|
+
}>>;
|
|
3224
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3225
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3226
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3227
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3228
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3229
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3230
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3231
|
+
start_image_url: z.ZodString;
|
|
3232
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3233
|
+
}, z.core.$strip>;
|
|
3234
|
+
readonly "alibaba/wan-3.0-prime/reference-to-video": z.ZodObject<{
|
|
3235
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3236
|
+
"480p": "480p";
|
|
3237
|
+
"720p": "720p";
|
|
3238
|
+
"1080p": "1080p";
|
|
3239
|
+
}>>;
|
|
3240
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3241
|
+
"1:1": "1:1";
|
|
3242
|
+
"16:9": "16:9";
|
|
3243
|
+
"4:3": "4:3";
|
|
3244
|
+
"3:4": "3:4";
|
|
3245
|
+
"9:16": "9:16";
|
|
3246
|
+
adaptive: "adaptive";
|
|
3247
|
+
}>>;
|
|
3248
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3249
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
3250
|
+
enable_prompt_expansion: z.ZodOptional<z.ZodBoolean>;
|
|
3251
|
+
enable_thinking: z.ZodOptional<z.ZodBoolean>;
|
|
3252
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3253
|
+
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
3254
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3255
|
+
reference_image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3256
|
+
reference_video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3257
|
+
reference_audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3258
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3259
|
+
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3260
|
+
}, z.core.$strip>;
|
|
2240
3261
|
readonly "fal-ai/wan/v2.7/text-to-image": z.ZodObject<{
|
|
2241
3262
|
prompt: z.ZodString;
|
|
2242
3263
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2243
3264
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2244
|
-
square_hd: "square_hd";
|
|
2245
3265
|
square: "square";
|
|
3266
|
+
square_hd: "square_hd";
|
|
2246
3267
|
portrait_4_3: "portrait_4_3";
|
|
2247
3268
|
portrait_16_9: "portrait_16_9";
|
|
2248
3269
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2260,8 +3281,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2260
3281
|
image_urls: z.ZodArray<z.ZodString>;
|
|
2261
3282
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2262
3283
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2263
|
-
square_hd: "square_hd";
|
|
2264
3284
|
square: "square";
|
|
3285
|
+
square_hd: "square_hd";
|
|
2265
3286
|
portrait_4_3: "portrait_4_3";
|
|
2266
3287
|
portrait_16_9: "portrait_16_9";
|
|
2267
3288
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2279,8 +3300,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2279
3300
|
prompt: z.ZodString;
|
|
2280
3301
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2281
3302
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2282
|
-
square_hd: "square_hd";
|
|
2283
3303
|
square: "square";
|
|
3304
|
+
square_hd: "square_hd";
|
|
2284
3305
|
portrait_4_3: "portrait_4_3";
|
|
2285
3306
|
portrait_16_9: "portrait_16_9";
|
|
2286
3307
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2298,8 +3319,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2298
3319
|
image_urls: z.ZodArray<z.ZodString>;
|
|
2299
3320
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2300
3321
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2301
|
-
square_hd: "square_hd";
|
|
2302
3322
|
square: "square";
|
|
3323
|
+
square_hd: "square_hd";
|
|
2303
3324
|
portrait_4_3: "portrait_4_3";
|
|
2304
3325
|
portrait_16_9: "portrait_16_9";
|
|
2305
3326
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2454,9 +3475,9 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2454
3475
|
prompt: z.ZodString;
|
|
2455
3476
|
image_urls: z.ZodArray<z.ZodString>;
|
|
2456
3477
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3478
|
+
square: "square";
|
|
2457
3479
|
square_hd: "square_hd";
|
|
2458
3480
|
auto: "auto";
|
|
2459
|
-
square: "square";
|
|
2460
3481
|
portrait_4_3: "portrait_4_3";
|
|
2461
3482
|
portrait_16_9: "portrait_16_9";
|
|
2462
3483
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2793,6 +3814,74 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2793
3814
|
}>>;
|
|
2794
3815
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2795
3816
|
}, z.core.$strip>;
|
|
3817
|
+
readonly "xai/grok-imagine-image/v2.0/edit": z.ZodObject<{
|
|
3818
|
+
prompt: z.ZodString;
|
|
3819
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
3820
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3821
|
+
"1:1": "1:1";
|
|
3822
|
+
"16:9": "16:9";
|
|
3823
|
+
auto: "auto";
|
|
3824
|
+
"4:3": "4:3";
|
|
3825
|
+
"3:4": "3:4";
|
|
3826
|
+
"9:16": "9:16";
|
|
3827
|
+
"3:2": "3:2";
|
|
3828
|
+
"2:3": "2:3";
|
|
3829
|
+
"2:1": "2:1";
|
|
3830
|
+
"20:9": "20:9";
|
|
3831
|
+
"19.5:9": "19.5:9";
|
|
3832
|
+
"9:19.5": "9:19.5";
|
|
3833
|
+
"9:20": "9:20";
|
|
3834
|
+
"1:2": "1:2";
|
|
3835
|
+
}>>;
|
|
3836
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3837
|
+
"1k": "1k";
|
|
3838
|
+
"2k": "2k";
|
|
3839
|
+
}>>;
|
|
3840
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
3841
|
+
low: "low";
|
|
3842
|
+
medium: "medium";
|
|
3843
|
+
}>>;
|
|
3844
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
3845
|
+
png: "png";
|
|
3846
|
+
jpeg: "jpeg";
|
|
3847
|
+
webp: "webp";
|
|
3848
|
+
}>>;
|
|
3849
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
3850
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
3851
|
+
}, z.core.$strip>;
|
|
3852
|
+
readonly "xai/grok-imagine-image/v2.0/text-to-image": z.ZodObject<{
|
|
3853
|
+
prompt: z.ZodString;
|
|
3854
|
+
num_images: z.ZodOptional<z.ZodNumber>;
|
|
3855
|
+
aspect_ratio: z.ZodOptional<z.ZodEnum<{
|
|
3856
|
+
"1:1": "1:1";
|
|
3857
|
+
"16:9": "16:9";
|
|
3858
|
+
"4:3": "4:3";
|
|
3859
|
+
"3:4": "3:4";
|
|
3860
|
+
"9:16": "9:16";
|
|
3861
|
+
"3:2": "3:2";
|
|
3862
|
+
"2:3": "2:3";
|
|
3863
|
+
"2:1": "2:1";
|
|
3864
|
+
"20:9": "20:9";
|
|
3865
|
+
"19.5:9": "19.5:9";
|
|
3866
|
+
"9:19.5": "9:19.5";
|
|
3867
|
+
"9:20": "9:20";
|
|
3868
|
+
"1:2": "1:2";
|
|
3869
|
+
}>>;
|
|
3870
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3871
|
+
"1k": "1k";
|
|
3872
|
+
"2k": "2k";
|
|
3873
|
+
}>>;
|
|
3874
|
+
quality: z.ZodOptional<z.ZodEnum<{
|
|
3875
|
+
low: "low";
|
|
3876
|
+
medium: "medium";
|
|
3877
|
+
}>>;
|
|
3878
|
+
output_format: z.ZodOptional<z.ZodEnum<{
|
|
3879
|
+
png: "png";
|
|
3880
|
+
jpeg: "jpeg";
|
|
3881
|
+
webp: "webp";
|
|
3882
|
+
}>>;
|
|
3883
|
+
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
3884
|
+
}, z.core.$strip>;
|
|
2796
3885
|
readonly "fal-ai/qwen-image-edit": z.ZodObject<{
|
|
2797
3886
|
prompt: z.ZodString;
|
|
2798
3887
|
image_url: z.ZodString;
|
|
@@ -2802,8 +3891,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2802
3891
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2803
3892
|
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
2804
3893
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2805
|
-
square_hd: "square_hd";
|
|
2806
3894
|
square: "square";
|
|
3895
|
+
square_hd: "square_hd";
|
|
2807
3896
|
portrait_4_3: "portrait_4_3";
|
|
2808
3897
|
portrait_16_9: "portrait_16_9";
|
|
2809
3898
|
landscape_4_3: "landscape_4_3";
|
|
@@ -2884,8 +3973,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
2884
3973
|
readonly "fal-ai/qwen-image": z.ZodObject<{
|
|
2885
3974
|
prompt: z.ZodString;
|
|
2886
3975
|
image_size: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2887
|
-
square_hd: "square_hd";
|
|
2888
3976
|
square: "square";
|
|
3977
|
+
square_hd: "square_hd";
|
|
2889
3978
|
portrait_4_3: "portrait_4_3";
|
|
2890
3979
|
portrait_16_9: "portrait_16_9";
|
|
2891
3980
|
landscape_4_3: "landscape_4_3";
|