@apicity/fal 0.29.0 → 0.31.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 +86 -1
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +55 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +43 -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 +82 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +462 -0
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +309 -2
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/dist/src/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AA8tCA,cAAc;AACd,MAAM,OAAO,QAAS,SAAQ,KAAK;IACxB,MAAM,CAAS;IACf,IAAI,CAAe;IACnB,UAAU,CAAU;IACpB,QAAQ,CAAU;IAClB,IAAI,CAAU;IAEvB,YACE,OAAe,EACf,MAAc,EACd,IAAkB,EAClB,UAAmB,EACnB,QAAiB,EACjB,IAAc;QAEd,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC;IAC3B,CAAC;CACF"}
|
package/dist/src/zod.d.ts
CHANGED
|
@@ -1368,6 +1368,37 @@ export declare const FalSeedreamV5ProEditRequestSchema: z.ZodObject<{
|
|
|
1368
1368
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1369
1369
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
1370
1370
|
}, z.core.$strip>;
|
|
1371
|
+
export declare const FalSeedreamV55EditRequestSchema: z.ZodObject<{
|
|
1372
|
+
prompt: z.ZodString;
|
|
1373
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1374
|
+
square: "square";
|
|
1375
|
+
square_hd: "square_hd";
|
|
1376
|
+
auto_1K: "auto_1K";
|
|
1377
|
+
portrait_4_3: "portrait_4_3";
|
|
1378
|
+
portrait_16_9: "portrait_16_9";
|
|
1379
|
+
landscape_4_3: "landscape_4_3";
|
|
1380
|
+
landscape_16_9: "landscape_16_9";
|
|
1381
|
+
auto_2K: "auto_2K";
|
|
1382
|
+
"auto_1.5K": "auto_1.5K";
|
|
1383
|
+
}>, z.ZodObject<{
|
|
1384
|
+
width: z.ZodNumber;
|
|
1385
|
+
height: z.ZodNumber;
|
|
1386
|
+
}, z.core.$strip>]>>;
|
|
1387
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
1388
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
1389
|
+
png: "png";
|
|
1390
|
+
jpeg: "jpeg";
|
|
1391
|
+
}>>;
|
|
1392
|
+
watermark: z.ZodDefault<z.ZodBoolean>;
|
|
1393
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
1394
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
1395
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
1396
|
+
auto: "auto";
|
|
1397
|
+
transparent: "transparent";
|
|
1398
|
+
opaque: "opaque";
|
|
1399
|
+
}>>;
|
|
1400
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
1401
|
+
}, z.core.$strip>;
|
|
1371
1402
|
export declare const FalSeedSpeechTtsV2RequestSchema: z.ZodObject<{
|
|
1372
1403
|
text: z.ZodString;
|
|
1373
1404
|
voice: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2508,6 +2539,10 @@ export type FalSeedreamV5ProEditParams = z.infer<typeof FalSeedreamV5ProEditRequ
|
|
|
2508
2539
|
export type FalSeedreamV5ProEditRequest = z.input<typeof FalSeedreamV5ProEditRequestSchema>;
|
|
2509
2540
|
export type FalSeedreamV5ProEditRequestInput = FalSeedreamV5ProEditRequest;
|
|
2510
2541
|
export type FalSeedreamV5ProEditParsedRequest = z.output<typeof FalSeedreamV5ProEditRequestSchema>;
|
|
2542
|
+
export type FalSeedreamV55EditParams = z.infer<typeof FalSeedreamV55EditRequestSchema>;
|
|
2543
|
+
export type FalSeedreamV55EditRequest = z.input<typeof FalSeedreamV55EditRequestSchema>;
|
|
2544
|
+
export type FalSeedreamV55EditRequestInput = FalSeedreamV55EditRequest;
|
|
2545
|
+
export type FalSeedreamV55EditParsedRequest = z.output<typeof FalSeedreamV55EditRequestSchema>;
|
|
2511
2546
|
export type FalSeedSpeechTtsV2Params = z.infer<typeof FalSeedSpeechTtsV2RequestSchema>;
|
|
2512
2547
|
export type FalSeedSpeechTtsV2Request = z.input<typeof FalSeedSpeechTtsV2RequestSchema>;
|
|
2513
2548
|
export type FalSeedSpeechTtsV2RequestInput = FalSeedSpeechTtsV2Request;
|
|
@@ -3049,6 +3084,8 @@ declare const Flux3MaxAspectRatioSchema: z.ZodEnum<{
|
|
|
3049
3084
|
declare const Flux3MaxResolutionSchema: z.ZodEnum<{
|
|
3050
3085
|
"720p": "720p";
|
|
3051
3086
|
"1080p": "1080p";
|
|
3087
|
+
"2K": "2K";
|
|
3088
|
+
"4K": "4K";
|
|
3052
3089
|
}>;
|
|
3053
3090
|
declare const Flux3MaxDurationSchema: z.ZodNumber;
|
|
3054
3091
|
declare const Flux3MaxReasoningLevelSchema: z.ZodEnum<{
|
|
@@ -3072,6 +3109,8 @@ export declare const FalFlux3MaxTextToVideoRequestSchema: z.ZodObject<{
|
|
|
3072
3109
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3073
3110
|
"720p": "720p";
|
|
3074
3111
|
"1080p": "1080p";
|
|
3112
|
+
"2K": "2K";
|
|
3113
|
+
"4K": "4K";
|
|
3075
3114
|
}>>;
|
|
3076
3115
|
reasoning_level: z.ZodOptional<z.ZodEnum<{
|
|
3077
3116
|
low: "low";
|
|
@@ -3104,6 +3143,8 @@ export declare const FalFlux3MaxImageToVideoRequestSchema: z.ZodObject<{
|
|
|
3104
3143
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3105
3144
|
"720p": "720p";
|
|
3106
3145
|
"1080p": "1080p";
|
|
3146
|
+
"2K": "2K";
|
|
3147
|
+
"4K": "4K";
|
|
3107
3148
|
}>>;
|
|
3108
3149
|
reasoning_level: z.ZodOptional<z.ZodEnum<{
|
|
3109
3150
|
low: "low";
|
|
@@ -3139,6 +3180,8 @@ export declare const FalFlux3MaxKeyframesToVideoRequestSchema: z.ZodObject<{
|
|
|
3139
3180
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
3140
3181
|
"720p": "720p";
|
|
3141
3182
|
"1080p": "1080p";
|
|
3183
|
+
"2K": "2K";
|
|
3184
|
+
"4K": "4K";
|
|
3142
3185
|
}>>;
|
|
3143
3186
|
reasoning_level: z.ZodOptional<z.ZodEnum<{
|
|
3144
3187
|
low: "low";
|
|
@@ -7628,6 +7671,140 @@ export declare const FalBytedanceSeedance2p5UsImageToVideoRequestSchema: z.ZodOb
|
|
|
7628
7671
|
export type FalBytedanceSeedance2p5UsImageToVideoRequest = z.input<typeof FalBytedanceSeedance2p5UsImageToVideoRequestSchema>;
|
|
7629
7672
|
export type FalBytedanceSeedance2p5UsImageToVideoRequestInput = FalBytedanceSeedance2p5UsImageToVideoRequest;
|
|
7630
7673
|
export type FalBytedanceSeedance2p5UsImageToVideoParsedRequest = z.output<typeof FalBytedanceSeedance2p5UsImageToVideoRequestSchema>;
|
|
7674
|
+
export declare const FalBytedanceSeedance2p5FlashImageToVideoRequestSchema: z.ZodObject<{
|
|
7675
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7676
|
+
image_url: z.ZodString;
|
|
7677
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7678
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
7679
|
+
"720p": "720p";
|
|
7680
|
+
"480p": "480p";
|
|
7681
|
+
}>>;
|
|
7682
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
7683
|
+
4: "4";
|
|
7684
|
+
auto: "auto";
|
|
7685
|
+
5: "5";
|
|
7686
|
+
6: "6";
|
|
7687
|
+
7: "7";
|
|
7688
|
+
8: "8";
|
|
7689
|
+
9: "9";
|
|
7690
|
+
10: "10";
|
|
7691
|
+
11: "11";
|
|
7692
|
+
12: "12";
|
|
7693
|
+
13: "13";
|
|
7694
|
+
14: "14";
|
|
7695
|
+
15: "15";
|
|
7696
|
+
16: "16";
|
|
7697
|
+
17: "17";
|
|
7698
|
+
18: "18";
|
|
7699
|
+
19: "19";
|
|
7700
|
+
20: "20";
|
|
7701
|
+
21: "21";
|
|
7702
|
+
22: "22";
|
|
7703
|
+
23: "23";
|
|
7704
|
+
24: "24";
|
|
7705
|
+
25: "25";
|
|
7706
|
+
26: "26";
|
|
7707
|
+
27: "27";
|
|
7708
|
+
28: "28";
|
|
7709
|
+
29: "29";
|
|
7710
|
+
30: "30";
|
|
7711
|
+
}>>;
|
|
7712
|
+
aspect_ratio: z.ZodDefault<z.ZodLiteral<"auto">>;
|
|
7713
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
7714
|
+
bitrate_mode: z.ZodDefault<z.ZodEnum<{
|
|
7715
|
+
standard: "standard";
|
|
7716
|
+
high: "high";
|
|
7717
|
+
}>>;
|
|
7718
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
7719
|
+
auto: "auto";
|
|
7720
|
+
H264: "H264";
|
|
7721
|
+
H265: "H265";
|
|
7722
|
+
}>>;
|
|
7723
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
7724
|
+
mp4: "mp4";
|
|
7725
|
+
mov: "mov";
|
|
7726
|
+
}>>;
|
|
7727
|
+
return_last_frame: z.ZodDefault<z.ZodBoolean>;
|
|
7728
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7729
|
+
}, z.core.$strip>;
|
|
7730
|
+
export type FalBytedanceSeedance2p5FlashImageToVideoRequest = z.input<typeof FalBytedanceSeedance2p5FlashImageToVideoRequestSchema>;
|
|
7731
|
+
export type FalBytedanceSeedance2p5FlashImageToVideoRequestInput = FalBytedanceSeedance2p5FlashImageToVideoRequest;
|
|
7732
|
+
export type FalBytedanceSeedance2p5FlashImageToVideoParsedRequest = z.output<typeof FalBytedanceSeedance2p5FlashImageToVideoRequestSchema>;
|
|
7733
|
+
export declare const FalBytedanceSeedance2p5FlashReferenceToVideoRequestSchema: z.ZodObject<{
|
|
7734
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7735
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7736
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
7737
|
+
bitrate_mode: z.ZodDefault<z.ZodEnum<{
|
|
7738
|
+
standard: "standard";
|
|
7739
|
+
high: "high";
|
|
7740
|
+
}>>;
|
|
7741
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
7742
|
+
auto: "auto";
|
|
7743
|
+
H264: "H264";
|
|
7744
|
+
H265: "H265";
|
|
7745
|
+
}>>;
|
|
7746
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
7747
|
+
mp4: "mp4";
|
|
7748
|
+
mov: "mov";
|
|
7749
|
+
}>>;
|
|
7750
|
+
return_last_frame: z.ZodDefault<z.ZodBoolean>;
|
|
7751
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7752
|
+
task: z.ZodDefault<z.ZodEnum<{
|
|
7753
|
+
auto: "auto";
|
|
7754
|
+
reference: "reference";
|
|
7755
|
+
editing: "editing";
|
|
7756
|
+
extension: "extension";
|
|
7757
|
+
}>>;
|
|
7758
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7759
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7760
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7761
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
7762
|
+
"720p": "720p";
|
|
7763
|
+
"480p": "480p";
|
|
7764
|
+
}>>;
|
|
7765
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
7766
|
+
4: "4";
|
|
7767
|
+
auto: "auto";
|
|
7768
|
+
5: "5";
|
|
7769
|
+
6: "6";
|
|
7770
|
+
7: "7";
|
|
7771
|
+
8: "8";
|
|
7772
|
+
9: "9";
|
|
7773
|
+
10: "10";
|
|
7774
|
+
11: "11";
|
|
7775
|
+
12: "12";
|
|
7776
|
+
13: "13";
|
|
7777
|
+
14: "14";
|
|
7778
|
+
15: "15";
|
|
7779
|
+
16: "16";
|
|
7780
|
+
17: "17";
|
|
7781
|
+
18: "18";
|
|
7782
|
+
19: "19";
|
|
7783
|
+
20: "20";
|
|
7784
|
+
21: "21";
|
|
7785
|
+
22: "22";
|
|
7786
|
+
23: "23";
|
|
7787
|
+
24: "24";
|
|
7788
|
+
25: "25";
|
|
7789
|
+
26: "26";
|
|
7790
|
+
27: "27";
|
|
7791
|
+
28: "28";
|
|
7792
|
+
29: "29";
|
|
7793
|
+
30: "30";
|
|
7794
|
+
}>>;
|
|
7795
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
7796
|
+
"1:1": "1:1";
|
|
7797
|
+
"16:9": "16:9";
|
|
7798
|
+
auto: "auto";
|
|
7799
|
+
"21:9": "21:9";
|
|
7800
|
+
"9:16": "9:16";
|
|
7801
|
+
"4:3": "4:3";
|
|
7802
|
+
"3:4": "3:4";
|
|
7803
|
+
}>>;
|
|
7804
|
+
}, z.core.$strip>;
|
|
7805
|
+
export type FalBytedanceSeedance2p5FlashReferenceToVideoRequest = z.input<typeof FalBytedanceSeedance2p5FlashReferenceToVideoRequestSchema>;
|
|
7806
|
+
export type FalBytedanceSeedance2p5FlashReferenceToVideoRequestInput = FalBytedanceSeedance2p5FlashReferenceToVideoRequest;
|
|
7807
|
+
export type FalBytedanceSeedance2p5FlashReferenceToVideoParsedRequest = z.output<typeof FalBytedanceSeedance2p5FlashReferenceToVideoRequestSchema>;
|
|
7631
7808
|
export declare const FalBytedanceSeedance2p5UsReferenceToVideoRequestSchema: z.ZodObject<{
|
|
7632
7809
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7633
7810
|
task: z.ZodDefault<z.ZodEnum<{
|
|
@@ -11847,6 +12024,69 @@ export declare const FalKlingV4VideoToVideoEditRequestSchema: z.ZodObject<{
|
|
|
11847
12024
|
export type FalKlingV4VideoToVideoEditRequest = z.input<typeof FalKlingV4VideoToVideoEditRequestSchema>;
|
|
11848
12025
|
export type FalKlingV4VideoToVideoEditRequestInput = FalKlingV4VideoToVideoEditRequest;
|
|
11849
12026
|
export type FalKlingV4VideoToVideoEditParsedRequest = z.output<typeof FalKlingV4VideoToVideoEditRequestSchema>;
|
|
12027
|
+
export declare const FalKlingV4ImageToImageRequestSchema: z.ZodObject<{
|
|
12028
|
+
prompt: z.ZodString;
|
|
12029
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
12030
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12031
|
+
frontal_image_url: z.ZodString;
|
|
12032
|
+
reference_image_urls: z.ZodArray<z.ZodString>;
|
|
12033
|
+
}, z.core.$strip>>>>;
|
|
12034
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
12035
|
+
single: "single";
|
|
12036
|
+
series: "series";
|
|
12037
|
+
}>>;
|
|
12038
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
12039
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
12040
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
12041
|
+
"2K": "2K";
|
|
12042
|
+
"4K": "4K";
|
|
12043
|
+
"8K": "8K";
|
|
12044
|
+
}>>;
|
|
12045
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
12046
|
+
"1:1": "1:1";
|
|
12047
|
+
"16:9": "16:9";
|
|
12048
|
+
auto: "auto";
|
|
12049
|
+
"21:9": "21:9";
|
|
12050
|
+
"9:16": "9:16";
|
|
12051
|
+
"4:3": "4:3";
|
|
12052
|
+
"3:4": "3:4";
|
|
12053
|
+
"3:2": "3:2";
|
|
12054
|
+
"2:3": "2:3";
|
|
12055
|
+
}>>;
|
|
12056
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
12057
|
+
}, z.core.$strip>;
|
|
12058
|
+
export type FalKlingV4ImageToImageRequest = z.input<typeof FalKlingV4ImageToImageRequestSchema>;
|
|
12059
|
+
export type FalKlingV4ImageToImageRequestInput = FalKlingV4ImageToImageRequest;
|
|
12060
|
+
export type FalKlingV4ImageToImageParsedRequest = z.output<typeof FalKlingV4ImageToImageRequestSchema>;
|
|
12061
|
+
export declare const FalKlingV4TextToImageRequestSchema: z.ZodObject<{
|
|
12062
|
+
prompt: z.ZodString;
|
|
12063
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
12064
|
+
single: "single";
|
|
12065
|
+
series: "series";
|
|
12066
|
+
}>>;
|
|
12067
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
12068
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
12069
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
12070
|
+
"2K": "2K";
|
|
12071
|
+
"4K": "4K";
|
|
12072
|
+
"8K": "8K";
|
|
12073
|
+
}>>;
|
|
12074
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
12075
|
+
"1:1": "1:1";
|
|
12076
|
+
"16:9": "16:9";
|
|
12077
|
+
auto: "auto";
|
|
12078
|
+
"21:9": "21:9";
|
|
12079
|
+
"9:16": "9:16";
|
|
12080
|
+
"4:3": "4:3";
|
|
12081
|
+
"3:4": "3:4";
|
|
12082
|
+
"3:2": "3:2";
|
|
12083
|
+
"2:3": "2:3";
|
|
12084
|
+
}>>;
|
|
12085
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
12086
|
+
}, z.core.$strip>;
|
|
12087
|
+
export type FalKlingV4TextToImageRequest = z.input<typeof FalKlingV4TextToImageRequestSchema>;
|
|
12088
|
+
export type FalKlingV4TextToImageRequestInput = FalKlingV4TextToImageRequest;
|
|
12089
|
+
export type FalKlingV4TextToImageParsedRequest = z.output<typeof FalKlingV4TextToImageRequestSchema>;
|
|
11850
12090
|
export declare const FalHeygenV2VideoAgentRequestSchema: z.ZodObject<{
|
|
11851
12091
|
prompt: z.ZodString;
|
|
11852
12092
|
config: z.ZodOptional<z.ZodObject<{
|
|
@@ -17376,6 +17616,63 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
17376
17616
|
"9:16": "9:16";
|
|
17377
17617
|
}>>;
|
|
17378
17618
|
}, z.core.$strip>;
|
|
17619
|
+
readonly "kling/v4/image-to-image": z.ZodObject<{
|
|
17620
|
+
prompt: z.ZodString;
|
|
17621
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
17622
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17623
|
+
frontal_image_url: z.ZodString;
|
|
17624
|
+
reference_image_urls: z.ZodArray<z.ZodString>;
|
|
17625
|
+
}, z.core.$strip>>>>;
|
|
17626
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
17627
|
+
single: "single";
|
|
17628
|
+
series: "series";
|
|
17629
|
+
}>>;
|
|
17630
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
17631
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
17632
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
17633
|
+
"2K": "2K";
|
|
17634
|
+
"4K": "4K";
|
|
17635
|
+
"8K": "8K";
|
|
17636
|
+
}>>;
|
|
17637
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
17638
|
+
"1:1": "1:1";
|
|
17639
|
+
"16:9": "16:9";
|
|
17640
|
+
auto: "auto";
|
|
17641
|
+
"21:9": "21:9";
|
|
17642
|
+
"9:16": "9:16";
|
|
17643
|
+
"4:3": "4:3";
|
|
17644
|
+
"3:4": "3:4";
|
|
17645
|
+
"3:2": "3:2";
|
|
17646
|
+
"2:3": "2:3";
|
|
17647
|
+
}>>;
|
|
17648
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
17649
|
+
}, z.core.$strip>;
|
|
17650
|
+
readonly "kling/v4/text-to-image": z.ZodObject<{
|
|
17651
|
+
prompt: z.ZodString;
|
|
17652
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
17653
|
+
single: "single";
|
|
17654
|
+
series: "series";
|
|
17655
|
+
}>>;
|
|
17656
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
17657
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
17658
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
17659
|
+
"2K": "2K";
|
|
17660
|
+
"4K": "4K";
|
|
17661
|
+
"8K": "8K";
|
|
17662
|
+
}>>;
|
|
17663
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
17664
|
+
"1:1": "1:1";
|
|
17665
|
+
"16:9": "16:9";
|
|
17666
|
+
auto: "auto";
|
|
17667
|
+
"21:9": "21:9";
|
|
17668
|
+
"9:16": "9:16";
|
|
17669
|
+
"4:3": "4:3";
|
|
17670
|
+
"3:4": "3:4";
|
|
17671
|
+
"3:2": "3:2";
|
|
17672
|
+
"2:3": "2:3";
|
|
17673
|
+
}>>;
|
|
17674
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
17675
|
+
}, z.core.$strip>;
|
|
17379
17676
|
readonly "kling/v4/image-to-video": z.ZodObject<{
|
|
17380
17677
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17381
17678
|
start_image_url: z.ZodString;
|
|
@@ -21366,6 +21663,134 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
21366
21663
|
}>>;
|
|
21367
21664
|
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21368
21665
|
}, z.core.$strip>;
|
|
21666
|
+
readonly "bytedance/seedance-2.5/flash/image-to-video": z.ZodObject<{
|
|
21667
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21668
|
+
image_url: z.ZodString;
|
|
21669
|
+
end_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21670
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
21671
|
+
"720p": "720p";
|
|
21672
|
+
"480p": "480p";
|
|
21673
|
+
}>>;
|
|
21674
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21675
|
+
4: "4";
|
|
21676
|
+
auto: "auto";
|
|
21677
|
+
5: "5";
|
|
21678
|
+
6: "6";
|
|
21679
|
+
7: "7";
|
|
21680
|
+
8: "8";
|
|
21681
|
+
9: "9";
|
|
21682
|
+
10: "10";
|
|
21683
|
+
11: "11";
|
|
21684
|
+
12: "12";
|
|
21685
|
+
13: "13";
|
|
21686
|
+
14: "14";
|
|
21687
|
+
15: "15";
|
|
21688
|
+
16: "16";
|
|
21689
|
+
17: "17";
|
|
21690
|
+
18: "18";
|
|
21691
|
+
19: "19";
|
|
21692
|
+
20: "20";
|
|
21693
|
+
21: "21";
|
|
21694
|
+
22: "22";
|
|
21695
|
+
23: "23";
|
|
21696
|
+
24: "24";
|
|
21697
|
+
25: "25";
|
|
21698
|
+
26: "26";
|
|
21699
|
+
27: "27";
|
|
21700
|
+
28: "28";
|
|
21701
|
+
29: "29";
|
|
21702
|
+
30: "30";
|
|
21703
|
+
}>>;
|
|
21704
|
+
aspect_ratio: z.ZodDefault<z.ZodLiteral<"auto">>;
|
|
21705
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
21706
|
+
bitrate_mode: z.ZodDefault<z.ZodEnum<{
|
|
21707
|
+
standard: "standard";
|
|
21708
|
+
high: "high";
|
|
21709
|
+
}>>;
|
|
21710
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
21711
|
+
auto: "auto";
|
|
21712
|
+
H264: "H264";
|
|
21713
|
+
H265: "H265";
|
|
21714
|
+
}>>;
|
|
21715
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
21716
|
+
mp4: "mp4";
|
|
21717
|
+
mov: "mov";
|
|
21718
|
+
}>>;
|
|
21719
|
+
return_last_frame: z.ZodDefault<z.ZodBoolean>;
|
|
21720
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21721
|
+
}, z.core.$strip>;
|
|
21722
|
+
readonly "bytedance/seedance-2.5/flash/reference-to-video": z.ZodObject<{
|
|
21723
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21724
|
+
end_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21725
|
+
generate_audio: z.ZodDefault<z.ZodBoolean>;
|
|
21726
|
+
bitrate_mode: z.ZodDefault<z.ZodEnum<{
|
|
21727
|
+
standard: "standard";
|
|
21728
|
+
high: "high";
|
|
21729
|
+
}>>;
|
|
21730
|
+
codec: z.ZodDefault<z.ZodEnum<{
|
|
21731
|
+
auto: "auto";
|
|
21732
|
+
H264: "H264";
|
|
21733
|
+
H265: "H265";
|
|
21734
|
+
}>>;
|
|
21735
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
21736
|
+
mp4: "mp4";
|
|
21737
|
+
mov: "mov";
|
|
21738
|
+
}>>;
|
|
21739
|
+
return_last_frame: z.ZodDefault<z.ZodBoolean>;
|
|
21740
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21741
|
+
task: z.ZodDefault<z.ZodEnum<{
|
|
21742
|
+
auto: "auto";
|
|
21743
|
+
reference: "reference";
|
|
21744
|
+
editing: "editing";
|
|
21745
|
+
extension: "extension";
|
|
21746
|
+
}>>;
|
|
21747
|
+
image_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21748
|
+
video_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21749
|
+
audio_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21750
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
21751
|
+
"720p": "720p";
|
|
21752
|
+
"480p": "480p";
|
|
21753
|
+
}>>;
|
|
21754
|
+
duration: z.ZodDefault<z.ZodEnum<{
|
|
21755
|
+
4: "4";
|
|
21756
|
+
auto: "auto";
|
|
21757
|
+
5: "5";
|
|
21758
|
+
6: "6";
|
|
21759
|
+
7: "7";
|
|
21760
|
+
8: "8";
|
|
21761
|
+
9: "9";
|
|
21762
|
+
10: "10";
|
|
21763
|
+
11: "11";
|
|
21764
|
+
12: "12";
|
|
21765
|
+
13: "13";
|
|
21766
|
+
14: "14";
|
|
21767
|
+
15: "15";
|
|
21768
|
+
16: "16";
|
|
21769
|
+
17: "17";
|
|
21770
|
+
18: "18";
|
|
21771
|
+
19: "19";
|
|
21772
|
+
20: "20";
|
|
21773
|
+
21: "21";
|
|
21774
|
+
22: "22";
|
|
21775
|
+
23: "23";
|
|
21776
|
+
24: "24";
|
|
21777
|
+
25: "25";
|
|
21778
|
+
26: "26";
|
|
21779
|
+
27: "27";
|
|
21780
|
+
28: "28";
|
|
21781
|
+
29: "29";
|
|
21782
|
+
30: "30";
|
|
21783
|
+
}>>;
|
|
21784
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
21785
|
+
"1:1": "1:1";
|
|
21786
|
+
"16:9": "16:9";
|
|
21787
|
+
auto: "auto";
|
|
21788
|
+
"21:9": "21:9";
|
|
21789
|
+
"9:16": "9:16";
|
|
21790
|
+
"4:3": "4:3";
|
|
21791
|
+
"3:4": "3:4";
|
|
21792
|
+
}>>;
|
|
21793
|
+
}, z.core.$strip>;
|
|
21369
21794
|
readonly "bytedance/seedance-2.5/us/text-to-video": z.ZodObject<{
|
|
21370
21795
|
prompt: z.ZodString;
|
|
21371
21796
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
@@ -25730,6 +26155,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
25730
26155
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
25731
26156
|
"720p": "720p";
|
|
25732
26157
|
"1080p": "1080p";
|
|
26158
|
+
"2K": "2K";
|
|
26159
|
+
"4K": "4K";
|
|
25733
26160
|
}>>;
|
|
25734
26161
|
reasoning_level: z.ZodOptional<z.ZodEnum<{
|
|
25735
26162
|
low: "low";
|
|
@@ -25756,6 +26183,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
25756
26183
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
25757
26184
|
"720p": "720p";
|
|
25758
26185
|
"1080p": "1080p";
|
|
26186
|
+
"2K": "2K";
|
|
26187
|
+
"4K": "4K";
|
|
25759
26188
|
}>>;
|
|
25760
26189
|
reasoning_level: z.ZodOptional<z.ZodEnum<{
|
|
25761
26190
|
low: "low";
|
|
@@ -25784,6 +26213,8 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
25784
26213
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
25785
26214
|
"720p": "720p";
|
|
25786
26215
|
"1080p": "1080p";
|
|
26216
|
+
"2K": "2K";
|
|
26217
|
+
"4K": "4K";
|
|
25787
26218
|
}>>;
|
|
25788
26219
|
reasoning_level: z.ZodOptional<z.ZodEnum<{
|
|
25789
26220
|
low: "low";
|
|
@@ -26987,6 +27418,37 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
26987
27418
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
26988
27419
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
26989
27420
|
}, z.core.$strip>;
|
|
27421
|
+
readonly "bytedance/seedream/v5.5/edit": z.ZodObject<{
|
|
27422
|
+
prompt: z.ZodString;
|
|
27423
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
27424
|
+
square: "square";
|
|
27425
|
+
square_hd: "square_hd";
|
|
27426
|
+
auto_1K: "auto_1K";
|
|
27427
|
+
portrait_4_3: "portrait_4_3";
|
|
27428
|
+
portrait_16_9: "portrait_16_9";
|
|
27429
|
+
landscape_4_3: "landscape_4_3";
|
|
27430
|
+
landscape_16_9: "landscape_16_9";
|
|
27431
|
+
auto_2K: "auto_2K";
|
|
27432
|
+
"auto_1.5K": "auto_1.5K";
|
|
27433
|
+
}>, z.ZodObject<{
|
|
27434
|
+
width: z.ZodNumber;
|
|
27435
|
+
height: z.ZodNumber;
|
|
27436
|
+
}, z.core.$strip>]>>;
|
|
27437
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
27438
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
27439
|
+
png: "png";
|
|
27440
|
+
jpeg: "jpeg";
|
|
27441
|
+
}>>;
|
|
27442
|
+
watermark: z.ZodDefault<z.ZodBoolean>;
|
|
27443
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
27444
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
27445
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
27446
|
+
auto: "auto";
|
|
27447
|
+
transparent: "transparent";
|
|
27448
|
+
opaque: "opaque";
|
|
27449
|
+
}>>;
|
|
27450
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
27451
|
+
}, z.core.$strip>;
|
|
26990
27452
|
readonly "fal-ai/bytedance/seed-speech/tts/v2": z.ZodObject<{
|
|
26991
27453
|
text: z.ZodString;
|
|
26992
27454
|
voice: z.ZodOptional<z.ZodEnum<{
|