@apicity/fal 0.29.0 → 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.
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAysCA,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"}
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;
@@ -11847,6 +11882,69 @@ export declare const FalKlingV4VideoToVideoEditRequestSchema: z.ZodObject<{
11847
11882
  export type FalKlingV4VideoToVideoEditRequest = z.input<typeof FalKlingV4VideoToVideoEditRequestSchema>;
11848
11883
  export type FalKlingV4VideoToVideoEditRequestInput = FalKlingV4VideoToVideoEditRequest;
11849
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>;
11850
11948
  export declare const FalHeygenV2VideoAgentRequestSchema: z.ZodObject<{
11851
11949
  prompt: z.ZodString;
11852
11950
  config: z.ZodOptional<z.ZodObject<{
@@ -17376,6 +17474,63 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
17376
17474
  "9:16": "9:16";
17377
17475
  }>>;
17378
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>;
17379
17534
  readonly "kling/v4/image-to-video": z.ZodObject<{
17380
17535
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17381
17536
  start_image_url: z.ZodString;
@@ -26987,6 +27142,37 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
26987
27142
  sync_mode: z.ZodOptional<z.ZodBoolean>;
26988
27143
  enable_safety_checker: z.ZodOptional<z.ZodBoolean>;
26989
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>;
26990
27176
  readonly "fal-ai/bytedance/seed-speech/tts/v2": z.ZodObject<{
26991
27177
  text: z.ZodString;
26992
27178
  voice: z.ZodOptional<z.ZodEnum<{