@apicity/fal 0.28.1 → 0.30.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 +103 -1
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +61 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +55 -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 +104 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +373 -0
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +290 -0
- 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":"AAstCA,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;
|
|
@@ -5960,6 +5995,104 @@ export declare const FalMicrosoftMaiImage2p5ProEditRequestSchema: z.ZodObject<{
|
|
|
5960
5995
|
export type FalMicrosoftMaiImage2p5ProEditRequest = z.input<typeof FalMicrosoftMaiImage2p5ProEditRequestSchema>;
|
|
5961
5996
|
export type FalMicrosoftMaiImage2p5ProEditRequestInput = FalMicrosoftMaiImage2p5ProEditRequest;
|
|
5962
5997
|
export type FalMicrosoftMaiImage2p5ProEditParsedRequest = z.output<typeof FalMicrosoftMaiImage2p5ProEditRequestSchema>;
|
|
5998
|
+
export declare const FalMicrosoftMaiImage2p7EditRequestSchema: z.ZodObject<{
|
|
5999
|
+
prompt: z.ZodString;
|
|
6000
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
6001
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
6002
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
6003
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
6004
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
6005
|
+
square_hd: "square_hd";
|
|
6006
|
+
portrait_4_3: "portrait_4_3";
|
|
6007
|
+
portrait_16_9: "portrait_16_9";
|
|
6008
|
+
landscape_4_3: "landscape_4_3";
|
|
6009
|
+
landscape_16_9: "landscape_16_9";
|
|
6010
|
+
portrait_3_2: "portrait_3_2";
|
|
6011
|
+
landscape_3_2: "landscape_3_2";
|
|
6012
|
+
}>]>>>;
|
|
6013
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
6014
|
+
"1K": "1K";
|
|
6015
|
+
"2K": "2K";
|
|
6016
|
+
}>>;
|
|
6017
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
6018
|
+
transparent: "transparent";
|
|
6019
|
+
opaque: "opaque";
|
|
6020
|
+
}>>;
|
|
6021
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
6022
|
+
png: "png";
|
|
6023
|
+
jpeg: "jpeg";
|
|
6024
|
+
webp: "webp";
|
|
6025
|
+
}>>;
|
|
6026
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
6027
|
+
}, z.core.$strip>;
|
|
6028
|
+
export type FalMicrosoftMaiImage2p7EditRequest = z.input<typeof FalMicrosoftMaiImage2p7EditRequestSchema>;
|
|
6029
|
+
export type FalMicrosoftMaiImage2p7EditRequestInput = FalMicrosoftMaiImage2p7EditRequest;
|
|
6030
|
+
export type FalMicrosoftMaiImage2p7EditParsedRequest = z.output<typeof FalMicrosoftMaiImage2p7EditRequestSchema>;
|
|
6031
|
+
export declare const FalMicrosoftMaiImage2p7FlashEditRequestSchema: z.ZodObject<{
|
|
6032
|
+
prompt: z.ZodString;
|
|
6033
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
6034
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
6035
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
6036
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
6037
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
6038
|
+
square_hd: "square_hd";
|
|
6039
|
+
portrait_4_3: "portrait_4_3";
|
|
6040
|
+
portrait_16_9: "portrait_16_9";
|
|
6041
|
+
landscape_4_3: "landscape_4_3";
|
|
6042
|
+
landscape_16_9: "landscape_16_9";
|
|
6043
|
+
portrait_3_2: "portrait_3_2";
|
|
6044
|
+
landscape_3_2: "landscape_3_2";
|
|
6045
|
+
}>]>>>;
|
|
6046
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
6047
|
+
"1K": "1K";
|
|
6048
|
+
"2K": "2K";
|
|
6049
|
+
}>>;
|
|
6050
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
6051
|
+
transparent: "transparent";
|
|
6052
|
+
opaque: "opaque";
|
|
6053
|
+
}>>;
|
|
6054
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
6055
|
+
png: "png";
|
|
6056
|
+
jpeg: "jpeg";
|
|
6057
|
+
webp: "webp";
|
|
6058
|
+
}>>;
|
|
6059
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
6060
|
+
}, z.core.$strip>;
|
|
6061
|
+
export type FalMicrosoftMaiImage2p7FlashEditRequest = z.input<typeof FalMicrosoftMaiImage2p7FlashEditRequestSchema>;
|
|
6062
|
+
export type FalMicrosoftMaiImage2p7FlashEditRequestInput = FalMicrosoftMaiImage2p7FlashEditRequest;
|
|
6063
|
+
export type FalMicrosoftMaiImage2p7FlashEditParsedRequest = z.output<typeof FalMicrosoftMaiImage2p7FlashEditRequestSchema>;
|
|
6064
|
+
export declare const FalMicrosoftMaiImage2p7TextToImageRequestSchema: z.ZodObject<{
|
|
6065
|
+
prompt: z.ZodString;
|
|
6066
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
6067
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
6068
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
6069
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
6070
|
+
square_hd: "square_hd";
|
|
6071
|
+
portrait_4_3: "portrait_4_3";
|
|
6072
|
+
portrait_16_9: "portrait_16_9";
|
|
6073
|
+
landscape_4_3: "landscape_4_3";
|
|
6074
|
+
landscape_16_9: "landscape_16_9";
|
|
6075
|
+
portrait_3_2: "portrait_3_2";
|
|
6076
|
+
landscape_3_2: "landscape_3_2";
|
|
6077
|
+
}>]>>;
|
|
6078
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
6079
|
+
"1K": "1K";
|
|
6080
|
+
"2K": "2K";
|
|
6081
|
+
}>>;
|
|
6082
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
6083
|
+
transparent: "transparent";
|
|
6084
|
+
opaque: "opaque";
|
|
6085
|
+
}>>;
|
|
6086
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
6087
|
+
png: "png";
|
|
6088
|
+
jpeg: "jpeg";
|
|
6089
|
+
webp: "webp";
|
|
6090
|
+
}>>;
|
|
6091
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
6092
|
+
}, z.core.$strip>;
|
|
6093
|
+
export type FalMicrosoftMaiImage2p7TextToImageRequest = z.input<typeof FalMicrosoftMaiImage2p7TextToImageRequestSchema>;
|
|
6094
|
+
export type FalMicrosoftMaiImage2p7TextToImageRequestInput = FalMicrosoftMaiImage2p7TextToImageRequest;
|
|
6095
|
+
export type FalMicrosoftMaiImage2p7TextToImageParsedRequest = z.output<typeof FalMicrosoftMaiImage2p7TextToImageRequestSchema>;
|
|
5963
6096
|
export declare const FalNvidiaCosmos3SuperImageToVideoRequestSchema: z.ZodObject<{
|
|
5964
6097
|
prompt: z.ZodString;
|
|
5965
6098
|
image_url: z.ZodString;
|
|
@@ -11749,6 +11882,69 @@ export declare const FalKlingV4VideoToVideoEditRequestSchema: z.ZodObject<{
|
|
|
11749
11882
|
export type FalKlingV4VideoToVideoEditRequest = z.input<typeof FalKlingV4VideoToVideoEditRequestSchema>;
|
|
11750
11883
|
export type FalKlingV4VideoToVideoEditRequestInput = FalKlingV4VideoToVideoEditRequest;
|
|
11751
11884
|
export type FalKlingV4VideoToVideoEditParsedRequest = z.output<typeof FalKlingV4VideoToVideoEditRequestSchema>;
|
|
11885
|
+
export declare const FalKlingV4ImageToImageRequestSchema: z.ZodObject<{
|
|
11886
|
+
prompt: z.ZodString;
|
|
11887
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
11888
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11889
|
+
frontal_image_url: z.ZodString;
|
|
11890
|
+
reference_image_urls: z.ZodArray<z.ZodString>;
|
|
11891
|
+
}, z.core.$strip>>>>;
|
|
11892
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
11893
|
+
single: "single";
|
|
11894
|
+
series: "series";
|
|
11895
|
+
}>>;
|
|
11896
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
11897
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
11898
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
11899
|
+
"2K": "2K";
|
|
11900
|
+
"4K": "4K";
|
|
11901
|
+
"8K": "8K";
|
|
11902
|
+
}>>;
|
|
11903
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
11904
|
+
"1:1": "1:1";
|
|
11905
|
+
"16:9": "16:9";
|
|
11906
|
+
auto: "auto";
|
|
11907
|
+
"21:9": "21:9";
|
|
11908
|
+
"9:16": "9:16";
|
|
11909
|
+
"4:3": "4:3";
|
|
11910
|
+
"3:4": "3:4";
|
|
11911
|
+
"3:2": "3:2";
|
|
11912
|
+
"2:3": "2:3";
|
|
11913
|
+
}>>;
|
|
11914
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
11915
|
+
}, z.core.$strip>;
|
|
11916
|
+
export type FalKlingV4ImageToImageRequest = z.input<typeof FalKlingV4ImageToImageRequestSchema>;
|
|
11917
|
+
export type FalKlingV4ImageToImageRequestInput = FalKlingV4ImageToImageRequest;
|
|
11918
|
+
export type FalKlingV4ImageToImageParsedRequest = z.output<typeof FalKlingV4ImageToImageRequestSchema>;
|
|
11919
|
+
export declare const FalKlingV4TextToImageRequestSchema: z.ZodObject<{
|
|
11920
|
+
prompt: z.ZodString;
|
|
11921
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
11922
|
+
single: "single";
|
|
11923
|
+
series: "series";
|
|
11924
|
+
}>>;
|
|
11925
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
11926
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
11927
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
11928
|
+
"2K": "2K";
|
|
11929
|
+
"4K": "4K";
|
|
11930
|
+
"8K": "8K";
|
|
11931
|
+
}>>;
|
|
11932
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
11933
|
+
"1:1": "1:1";
|
|
11934
|
+
"16:9": "16:9";
|
|
11935
|
+
auto: "auto";
|
|
11936
|
+
"21:9": "21:9";
|
|
11937
|
+
"9:16": "9:16";
|
|
11938
|
+
"4:3": "4:3";
|
|
11939
|
+
"3:4": "3:4";
|
|
11940
|
+
"3:2": "3:2";
|
|
11941
|
+
"2:3": "2:3";
|
|
11942
|
+
}>>;
|
|
11943
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
11944
|
+
}, z.core.$strip>;
|
|
11945
|
+
export type FalKlingV4TextToImageRequest = z.input<typeof FalKlingV4TextToImageRequestSchema>;
|
|
11946
|
+
export type FalKlingV4TextToImageRequestInput = FalKlingV4TextToImageRequest;
|
|
11947
|
+
export type FalKlingV4TextToImageParsedRequest = z.output<typeof FalKlingV4TextToImageRequestSchema>;
|
|
11752
11948
|
export declare const FalHeygenV2VideoAgentRequestSchema: z.ZodObject<{
|
|
11753
11949
|
prompt: z.ZodString;
|
|
11754
11950
|
config: z.ZodOptional<z.ZodObject<{
|
|
@@ -17278,6 +17474,63 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
17278
17474
|
"9:16": "9:16";
|
|
17279
17475
|
}>>;
|
|
17280
17476
|
}, z.core.$strip>;
|
|
17477
|
+
readonly "kling/v4/image-to-image": z.ZodObject<{
|
|
17478
|
+
prompt: z.ZodString;
|
|
17479
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
17480
|
+
elements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17481
|
+
frontal_image_url: z.ZodString;
|
|
17482
|
+
reference_image_urls: z.ZodArray<z.ZodString>;
|
|
17483
|
+
}, z.core.$strip>>>>;
|
|
17484
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
17485
|
+
single: "single";
|
|
17486
|
+
series: "series";
|
|
17487
|
+
}>>;
|
|
17488
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
17489
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
17490
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
17491
|
+
"2K": "2K";
|
|
17492
|
+
"4K": "4K";
|
|
17493
|
+
"8K": "8K";
|
|
17494
|
+
}>>;
|
|
17495
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
17496
|
+
"1:1": "1:1";
|
|
17497
|
+
"16:9": "16:9";
|
|
17498
|
+
auto: "auto";
|
|
17499
|
+
"21:9": "21:9";
|
|
17500
|
+
"9:16": "9:16";
|
|
17501
|
+
"4:3": "4:3";
|
|
17502
|
+
"3:4": "3:4";
|
|
17503
|
+
"3:2": "3:2";
|
|
17504
|
+
"2:3": "2:3";
|
|
17505
|
+
}>>;
|
|
17506
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
17507
|
+
}, z.core.$strip>;
|
|
17508
|
+
readonly "kling/v4/text-to-image": z.ZodObject<{
|
|
17509
|
+
prompt: z.ZodString;
|
|
17510
|
+
result_type: z.ZodDefault<z.ZodEnum<{
|
|
17511
|
+
single: "single";
|
|
17512
|
+
series: "series";
|
|
17513
|
+
}>>;
|
|
17514
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
17515
|
+
series_amount: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>>;
|
|
17516
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
17517
|
+
"2K": "2K";
|
|
17518
|
+
"4K": "4K";
|
|
17519
|
+
"8K": "8K";
|
|
17520
|
+
}>>;
|
|
17521
|
+
aspect_ratio: z.ZodDefault<z.ZodEnum<{
|
|
17522
|
+
"1:1": "1:1";
|
|
17523
|
+
"16:9": "16:9";
|
|
17524
|
+
auto: "auto";
|
|
17525
|
+
"21:9": "21:9";
|
|
17526
|
+
"9:16": "9:16";
|
|
17527
|
+
"4:3": "4:3";
|
|
17528
|
+
"3:4": "3:4";
|
|
17529
|
+
"3:2": "3:2";
|
|
17530
|
+
"2:3": "2:3";
|
|
17531
|
+
}>>;
|
|
17532
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
17533
|
+
}, z.core.$strip>;
|
|
17281
17534
|
readonly "kling/v4/image-to-video": z.ZodObject<{
|
|
17282
17535
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17283
17536
|
start_image_url: z.ZodString;
|
|
@@ -22670,6 +22923,95 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
22670
22923
|
}>>;
|
|
22671
22924
|
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22672
22925
|
}, z.core.$strip>;
|
|
22926
|
+
readonly "microsoft/mai-image-2.7/edit": z.ZodObject<{
|
|
22927
|
+
prompt: z.ZodString;
|
|
22928
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
22929
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
22930
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22931
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22932
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22933
|
+
square_hd: "square_hd";
|
|
22934
|
+
portrait_4_3: "portrait_4_3";
|
|
22935
|
+
portrait_16_9: "portrait_16_9";
|
|
22936
|
+
landscape_4_3: "landscape_4_3";
|
|
22937
|
+
landscape_16_9: "landscape_16_9";
|
|
22938
|
+
portrait_3_2: "portrait_3_2";
|
|
22939
|
+
landscape_3_2: "landscape_3_2";
|
|
22940
|
+
}>]>>>;
|
|
22941
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
22942
|
+
"1K": "1K";
|
|
22943
|
+
"2K": "2K";
|
|
22944
|
+
}>>;
|
|
22945
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
22946
|
+
transparent: "transparent";
|
|
22947
|
+
opaque: "opaque";
|
|
22948
|
+
}>>;
|
|
22949
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22950
|
+
png: "png";
|
|
22951
|
+
jpeg: "jpeg";
|
|
22952
|
+
webp: "webp";
|
|
22953
|
+
}>>;
|
|
22954
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22955
|
+
}, z.core.$strip>;
|
|
22956
|
+
readonly "microsoft/mai-image-2.7/flash/edit": z.ZodObject<{
|
|
22957
|
+
prompt: z.ZodString;
|
|
22958
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
22959
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
22960
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22961
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22962
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22963
|
+
square_hd: "square_hd";
|
|
22964
|
+
portrait_4_3: "portrait_4_3";
|
|
22965
|
+
portrait_16_9: "portrait_16_9";
|
|
22966
|
+
landscape_4_3: "landscape_4_3";
|
|
22967
|
+
landscape_16_9: "landscape_16_9";
|
|
22968
|
+
portrait_3_2: "portrait_3_2";
|
|
22969
|
+
landscape_3_2: "landscape_3_2";
|
|
22970
|
+
}>]>>>;
|
|
22971
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
22972
|
+
"1K": "1K";
|
|
22973
|
+
"2K": "2K";
|
|
22974
|
+
}>>;
|
|
22975
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
22976
|
+
transparent: "transparent";
|
|
22977
|
+
opaque: "opaque";
|
|
22978
|
+
}>>;
|
|
22979
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22980
|
+
png: "png";
|
|
22981
|
+
jpeg: "jpeg";
|
|
22982
|
+
webp: "webp";
|
|
22983
|
+
}>>;
|
|
22984
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22985
|
+
}, z.core.$strip>;
|
|
22986
|
+
readonly "microsoft/mai-image-2.7/text-to-image": z.ZodObject<{
|
|
22987
|
+
prompt: z.ZodString;
|
|
22988
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22989
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
22990
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
22991
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
22992
|
+
square_hd: "square_hd";
|
|
22993
|
+
portrait_4_3: "portrait_4_3";
|
|
22994
|
+
portrait_16_9: "portrait_16_9";
|
|
22995
|
+
landscape_4_3: "landscape_4_3";
|
|
22996
|
+
landscape_16_9: "landscape_16_9";
|
|
22997
|
+
portrait_3_2: "portrait_3_2";
|
|
22998
|
+
landscape_3_2: "landscape_3_2";
|
|
22999
|
+
}>]>>;
|
|
23000
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
23001
|
+
"1K": "1K";
|
|
23002
|
+
"2K": "2K";
|
|
23003
|
+
}>>;
|
|
23004
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
23005
|
+
transparent: "transparent";
|
|
23006
|
+
opaque: "opaque";
|
|
23007
|
+
}>>;
|
|
23008
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
23009
|
+
png: "png";
|
|
23010
|
+
jpeg: "jpeg";
|
|
23011
|
+
webp: "webp";
|
|
23012
|
+
}>>;
|
|
23013
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
23014
|
+
}, z.core.$strip>;
|
|
22673
23015
|
readonly "openai/gpt-image-2.5/flare/text-to-image": z.ZodObject<{
|
|
22674
23016
|
prompt: z.ZodString;
|
|
22675
23017
|
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -26800,6 +27142,37 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
26800
27142
|
sync_mode: z.ZodOptional<z.ZodBoolean>;
|
|
26801
27143
|
enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
|
|
26802
27144
|
}, z.core.$strip>;
|
|
27145
|
+
readonly "bytedance/seedream/v5.5/edit": z.ZodObject<{
|
|
27146
|
+
prompt: z.ZodString;
|
|
27147
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
27148
|
+
square: "square";
|
|
27149
|
+
square_hd: "square_hd";
|
|
27150
|
+
auto_1K: "auto_1K";
|
|
27151
|
+
portrait_4_3: "portrait_4_3";
|
|
27152
|
+
portrait_16_9: "portrait_16_9";
|
|
27153
|
+
landscape_4_3: "landscape_4_3";
|
|
27154
|
+
landscape_16_9: "landscape_16_9";
|
|
27155
|
+
auto_2K: "auto_2K";
|
|
27156
|
+
"auto_1.5K": "auto_1.5K";
|
|
27157
|
+
}>, z.ZodObject<{
|
|
27158
|
+
width: z.ZodNumber;
|
|
27159
|
+
height: z.ZodNumber;
|
|
27160
|
+
}, z.core.$strip>]>>;
|
|
27161
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
27162
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
27163
|
+
png: "png";
|
|
27164
|
+
jpeg: "jpeg";
|
|
27165
|
+
}>>;
|
|
27166
|
+
watermark: z.ZodDefault<z.ZodBoolean>;
|
|
27167
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
27168
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
27169
|
+
background: z.ZodDefault<z.ZodEnum<{
|
|
27170
|
+
auto: "auto";
|
|
27171
|
+
transparent: "transparent";
|
|
27172
|
+
opaque: "opaque";
|
|
27173
|
+
}>>;
|
|
27174
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
27175
|
+
}, z.core.$strip>;
|
|
26803
27176
|
readonly "fal-ai/bytedance/seed-speech/tts/v2": z.ZodObject<{
|
|
26804
27177
|
text: z.ZodString;
|
|
26805
27178
|
voice: z.ZodOptional<z.ZodEnum<{
|