fal-endpoint-types 1.3.20 → 1.3.21

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.
@@ -40,8 +40,8 @@ export interface XaiGrokImagineVideoTextToVideoOutput {
40
40
  * "width": 1280,
41
41
  * "fps": 24,
42
42
  * "file_name": "RUAbFYlssdqnbjNLmE8qP_IX7BNYGP.mp4",
43
- * "content_type": "video/mp4",
44
- * "num_frames": 145
43
+ * "num_frames": 145,
44
+ * "content_type": "video/mp4"
45
45
  * }
46
46
  */
47
47
  video: Components.VideoFile;
@@ -93,8 +93,8 @@ export interface XaiGrokImagineVideoImageToVideoOutput {
93
93
  * "width": 1280,
94
94
  * "fps": 24,
95
95
  * "file_name": "0Ci1dviuSnEyUZzBUq-_5_nu7MrAAa.mp4",
96
- * "content_type": "video/mp4",
97
- * "num_frames": 145
96
+ * "num_frames": 145,
97
+ * "content_type": "video/mp4"
98
98
  * }
99
99
  */
100
100
  video: Components.VideoFile;
@@ -133,8 +133,8 @@ export interface XaiGrokImagineVideoEditVideoOutput {
133
133
  * "width": 1280,
134
134
  * "fps": 24,
135
135
  * "file_name": "EuDrZuQTW9m1phBXOsauz_EpJH3s8X.mp4",
136
- * "content_type": "video/mp4",
137
- * "num_frames": 121
136
+ * "num_frames": 121,
137
+ * "content_type": "video/mp4"
138
138
  * }
139
139
  */
140
140
  video: Components.VideoFile;
@@ -2104,6 +2104,59 @@ export interface SharedType_f5e {
2104
2104
  seed?: number;
2105
2105
  }
2106
2106
 
2107
+ export interface SharedType_f57 {
2108
+ /**
2109
+ * Aspect Ratio
2110
+ * @description The aspect ratio of the generated image.
2111
+ * @default 1:1
2112
+ * @enum {string}
2113
+ */
2114
+ aspect_ratio?: '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16';
2115
+ /**
2116
+ * Limit Generations
2117
+ * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
2118
+ * @default false
2119
+ */
2120
+ limit_generations?: boolean;
2121
+ /**
2122
+ * Number of Images
2123
+ * @description The number of images to generate.
2124
+ * @default 1
2125
+ */
2126
+ num_images?: number;
2127
+ /**
2128
+ * Output Format
2129
+ * @description The format of the generated image.
2130
+ * @default png
2131
+ * @enum {string}
2132
+ */
2133
+ output_format?: 'jpeg' | 'png' | 'webp';
2134
+ /**
2135
+ * Prompt
2136
+ * @description The text prompt to generate an image from.
2137
+ * @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
2138
+ */
2139
+ prompt: string;
2140
+ /**
2141
+ * Safety Tolerance
2142
+ * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
2143
+ * @default 4
2144
+ * @enum {string}
2145
+ */
2146
+ safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
2147
+ /**
2148
+ * Seed
2149
+ * @description The seed for the random number generator.
2150
+ */
2151
+ seed?: number;
2152
+ /**
2153
+ * Sync Mode
2154
+ * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
2155
+ * @default false
2156
+ */
2157
+ sync_mode?: boolean;
2158
+ }
2159
+
2107
2160
  export interface SharedType_f51 {
2108
2161
  /**
2109
2162
  * Image Url
@@ -6064,26 +6117,6 @@ export interface SharedType_9af {
6064
6117
  topology?: 'quad' | 'triangle';
6065
6118
  }
6066
6119
 
6067
- export interface SharedType_98c {
6068
- /**
6069
- * Description
6070
- * @description The description of the generated images.
6071
- */
6072
- description: string;
6073
- /**
6074
- * Images
6075
- * @description The edited images.
6076
- * @example [
6077
- * {
6078
- * "file_name": "nano-banana-multi-edit-output.png",
6079
- * "content_type": "image/png",
6080
- * "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-multi-edit-output.png"
6081
- * }
6082
- * ]
6083
- */
6084
- images: Components.ImageFile[];
6085
- }
6086
-
6087
6120
  export interface SharedType_97f {
6088
6121
  /**
6089
6122
  * Values
@@ -6098,47 +6131,6 @@ export interface SharedType_97f {
6098
6131
  }[];
6099
6132
  }
6100
6133
 
6101
- export interface SharedType_97e {
6102
- /**
6103
- * Aspect Ratio
6104
- * @description The aspect ratio of the generated image.
6105
- * @default 1:1
6106
- * @enum {string}
6107
- */
6108
- aspect_ratio?: '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16';
6109
- /**
6110
- * Limit Generations
6111
- * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
6112
- * @default false
6113
- */
6114
- limit_generations?: boolean;
6115
- /**
6116
- * Number of Images
6117
- * @description The number of images to generate.
6118
- * @default 1
6119
- */
6120
- num_images?: number;
6121
- /**
6122
- * Output Format
6123
- * @description The format of the generated image.
6124
- * @default png
6125
- * @enum {string}
6126
- */
6127
- output_format?: 'jpeg' | 'png' | 'webp';
6128
- /**
6129
- * Prompt
6130
- * @description The text prompt to generate an image from.
6131
- * @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
6132
- */
6133
- prompt: string;
6134
- /**
6135
- * Sync Mode
6136
- * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
6137
- * @default false
6138
- */
6139
- sync_mode?: boolean;
6140
- }
6141
-
6142
6134
  export interface SharedType_977 {
6143
6135
  /**
6144
6136
  * Aspect Ratio
@@ -6735,6 +6727,82 @@ export interface SharedType_8c5 {
6735
6727
  seed: number;
6736
6728
  }
6737
6729
 
6730
+ export interface SharedType_8c2 {
6731
+ /**
6732
+ * Aspect Ratio
6733
+ * @description The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.
6734
+ * @default 1:1
6735
+ */
6736
+ aspect_ratio?:
6737
+ | 'auto'
6738
+ | '21:9'
6739
+ | '16:9'
6740
+ | '3:2'
6741
+ | '4:3'
6742
+ | '5:4'
6743
+ | '1:1'
6744
+ | '4:5'
6745
+ | '3:4'
6746
+ | '2:3'
6747
+ | '9:16';
6748
+ /**
6749
+ * Enable Web Search
6750
+ * @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
6751
+ * @default false
6752
+ */
6753
+ enable_web_search?: boolean;
6754
+ /**
6755
+ * Limit Generations
6756
+ * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
6757
+ * @default false
6758
+ */
6759
+ limit_generations?: boolean;
6760
+ /**
6761
+ * Number of Images
6762
+ * @description The number of images to generate.
6763
+ * @default 1
6764
+ */
6765
+ num_images?: number;
6766
+ /**
6767
+ * Output Format
6768
+ * @description The format of the generated image.
6769
+ * @default png
6770
+ * @enum {string}
6771
+ */
6772
+ output_format?: 'jpeg' | 'png' | 'webp';
6773
+ /**
6774
+ * Prompt
6775
+ * @description The text prompt to generate an image from.
6776
+ * @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
6777
+ */
6778
+ prompt: string;
6779
+ /**
6780
+ * Resolution
6781
+ * @description The resolution of the image to generate.
6782
+ * @default 1K
6783
+ * @enum {string}
6784
+ */
6785
+ resolution?: '1K' | '2K' | '4K';
6786
+ /**
6787
+ * Safety Tolerance
6788
+ * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
6789
+ * @default 4
6790
+ * @enum {string}
6791
+ */
6792
+ safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
6793
+ /**
6794
+ * Seed
6795
+ * @description The seed for the random number generator.
6796
+ */
6797
+ seed?: number;
6798
+ /**
6799
+ * Sync Mode
6800
+ * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
6801
+ * @default false
6802
+ */
6803
+ sync_mode?: boolean;
6804
+ }
6805
+
6738
6806
  export interface SharedType_8c0 {
6739
6807
  /**
6740
6808
  * Seed
@@ -6803,6 +6871,26 @@ export interface SharedType_87d {
6803
6871
  video: Components.File;
6804
6872
  }
6805
6873
 
6874
+ export interface SharedType_876 {
6875
+ /**
6876
+ * Description
6877
+ * @description The description of the generated images.
6878
+ */
6879
+ description: string;
6880
+ /**
6881
+ * Images
6882
+ * @description The edited images.
6883
+ * @example [
6884
+ * {
6885
+ * "file_name": "nano-banana-multi-edit-output.png",
6886
+ * "content_type": "image/png",
6887
+ * "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-multi-edit-output.png"
6888
+ * }
6889
+ * ]
6890
+ */
6891
+ images: Components.ImageFile_1[];
6892
+ }
6893
+
6806
6894
  export interface SharedType_86b {
6807
6895
  /**
6808
6896
  * Audio Path
@@ -6870,6 +6958,78 @@ export interface SharedType_868 {
6870
6958
  sync_mode?: boolean;
6871
6959
  }
6872
6960
 
6961
+ export interface SharedType_85d {
6962
+ /**
6963
+ * Aspect Ratio
6964
+ * @description The aspect ratio of the generated image.
6965
+ * @default auto
6966
+ */
6967
+ aspect_ratio?:
6968
+ | 'auto'
6969
+ | '21:9'
6970
+ | '16:9'
6971
+ | '3:2'
6972
+ | '4:3'
6973
+ | '5:4'
6974
+ | '1:1'
6975
+ | '4:5'
6976
+ | '3:4'
6977
+ | '2:3'
6978
+ | '9:16';
6979
+ /**
6980
+ * Image URLs
6981
+ * @description The URLs of the images to use for image-to-image generation or image editing.
6982
+ * @example [
6983
+ * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
6984
+ * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
6985
+ * ]
6986
+ */
6987
+ image_urls: string[];
6988
+ /**
6989
+ * Limit Generations
6990
+ * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
6991
+ * @default false
6992
+ */
6993
+ limit_generations?: boolean;
6994
+ /**
6995
+ * Number of Images
6996
+ * @description The number of images to generate.
6997
+ * @default 1
6998
+ */
6999
+ num_images?: number;
7000
+ /**
7001
+ * Output Format
7002
+ * @description The format of the generated image.
7003
+ * @default png
7004
+ * @enum {string}
7005
+ */
7006
+ output_format?: 'jpeg' | 'png' | 'webp';
7007
+ /**
7008
+ * Prompt
7009
+ * @description The prompt for image editing.
7010
+ * @example make a photo of the man driving the car down the california coastline
7011
+ */
7012
+ prompt: string;
7013
+ /**
7014
+ * Safety Tolerance
7015
+ * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
7016
+ * @default 4
7017
+ * @enum {string}
7018
+ */
7019
+ safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
7020
+ /**
7021
+ * Seed
7022
+ * @description The seed for the random number generator.
7023
+ */
7024
+ seed?: number;
7025
+ /**
7026
+ * Sync Mode
7027
+ * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
7028
+ * @default false
7029
+ */
7030
+ sync_mode?: boolean;
7031
+ }
7032
+
6873
7033
  export interface SharedType_82a {
6874
7034
  /**
6875
7035
  * Aspect Ratio (W:H)
@@ -7110,67 +7270,6 @@ export interface SharedType_815 {
7110
7270
  video: Components.File;
7111
7271
  }
7112
7272
 
7113
- export interface SharedType_813 {
7114
- /**
7115
- * Aspect Ratio
7116
- * @description The aspect ratio of the generated image.
7117
- * @default auto
7118
- * @enum {string}
7119
- */
7120
- aspect_ratio?:
7121
- | 'auto'
7122
- | '21:9'
7123
- | '16:9'
7124
- | '3:2'
7125
- | '4:3'
7126
- | '5:4'
7127
- | '1:1'
7128
- | '4:5'
7129
- | '3:4'
7130
- | '2:3'
7131
- | '9:16';
7132
- /**
7133
- * Image URLs
7134
- * @description The URLs of the images to use for image-to-image generation or image editing.
7135
- * @example [
7136
- * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
7137
- * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
7138
- * ]
7139
- */
7140
- image_urls: string[];
7141
- /**
7142
- * Limit Generations
7143
- * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
7144
- * @default false
7145
- */
7146
- limit_generations?: boolean;
7147
- /**
7148
- * Number of Images
7149
- * @description The number of images to generate.
7150
- * @default 1
7151
- */
7152
- num_images?: number;
7153
- /**
7154
- * Output Format
7155
- * @description The format of the generated image.
7156
- * @default png
7157
- * @enum {string}
7158
- */
7159
- output_format?: 'jpeg' | 'png' | 'webp';
7160
- /**
7161
- * Prompt
7162
- * @description The prompt for image editing.
7163
- * @example make a photo of the man driving the car down the california coastline
7164
- */
7165
- prompt: string;
7166
- /**
7167
- * Sync Mode
7168
- * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
7169
- * @default false
7170
- */
7171
- sync_mode?: boolean;
7172
- }
7173
-
7174
7273
  export interface SharedType_812 {
7175
7274
  /**
7176
7275
  * Video
@@ -7380,6 +7479,26 @@ export interface SharedType_7e9 {
7380
7479
  video?: Components.File;
7381
7480
  }
7382
7481
 
7482
+ export interface SharedType_7b9 {
7483
+ /**
7484
+ * Description
7485
+ * @description The description of the generated images.
7486
+ */
7487
+ description: string;
7488
+ /**
7489
+ * Images
7490
+ * @description The generated images.
7491
+ * @example [
7492
+ * {
7493
+ * "file_name": "nano-banana-t2i-output.png",
7494
+ * "content_type": "image/png",
7495
+ * "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-t2i-output.png"
7496
+ * }
7497
+ * ]
7498
+ */
7499
+ images: Components.ImageFile_1[];
7500
+ }
7501
+
7383
7502
  export interface SharedType_7a3 {
7384
7503
  /**
7385
7504
  * Aspect Ratio
@@ -8252,26 +8371,6 @@ export interface SharedType_663 {
8252
8371
  sync_mode?: boolean;
8253
8372
  }
8254
8373
 
8255
- export interface SharedType_662 {
8256
- /**
8257
- * Description
8258
- * @description The description of the generated images.
8259
- */
8260
- description: string;
8261
- /**
8262
- * Images
8263
- * @description The generated images.
8264
- * @example [
8265
- * {
8266
- * "file_name": "nano-banana-t2i-output.png",
8267
- * "content_type": "image/png",
8268
- * "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-t2i-output.png"
8269
- * }
8270
- * ]
8271
- */
8272
- images: Components.ImageFile[];
8273
- }
8274
-
8275
8374
  export interface SharedType_659 {
8276
8375
  /** @description Image with depth map */
8277
8376
  image: Components.Image_2;
@@ -10192,6 +10291,91 @@ export interface SharedType_368 {
10192
10291
  };
10193
10292
  }
10194
10293
 
10294
+ export interface SharedType_367 {
10295
+ /**
10296
+ * Aspect Ratio
10297
+ * @description The aspect ratio of the generated image.
10298
+ * @default auto
10299
+ */
10300
+ aspect_ratio?:
10301
+ | 'auto'
10302
+ | '21:9'
10303
+ | '16:9'
10304
+ | '3:2'
10305
+ | '4:3'
10306
+ | '5:4'
10307
+ | '1:1'
10308
+ | '4:5'
10309
+ | '3:4'
10310
+ | '2:3'
10311
+ | '9:16';
10312
+ /**
10313
+ * Enable Web Search
10314
+ * @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
10315
+ * @default false
10316
+ */
10317
+ enable_web_search?: boolean;
10318
+ /**
10319
+ * Image URLs
10320
+ * @description The URLs of the images to use for image-to-image generation or image editing.
10321
+ * @example [
10322
+ * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
10323
+ * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
10324
+ * ]
10325
+ */
10326
+ image_urls: string[];
10327
+ /**
10328
+ * Limit Generations
10329
+ * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
10330
+ * @default false
10331
+ */
10332
+ limit_generations?: boolean;
10333
+ /**
10334
+ * Number of Images
10335
+ * @description The number of images to generate.
10336
+ * @default 1
10337
+ */
10338
+ num_images?: number;
10339
+ /**
10340
+ * Output Format
10341
+ * @description The format of the generated image.
10342
+ * @default png
10343
+ * @enum {string}
10344
+ */
10345
+ output_format?: 'jpeg' | 'png' | 'webp';
10346
+ /**
10347
+ * Prompt
10348
+ * @description The prompt for image editing.
10349
+ * @example make a photo of the man driving the car down the california coastline
10350
+ */
10351
+ prompt: string;
10352
+ /**
10353
+ * Resolution
10354
+ * @description The resolution of the image to generate.
10355
+ * @default 1K
10356
+ * @enum {string}
10357
+ */
10358
+ resolution?: '1K' | '2K' | '4K';
10359
+ /**
10360
+ * Safety Tolerance
10361
+ * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
10362
+ * @default 4
10363
+ * @enum {string}
10364
+ */
10365
+ safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
10366
+ /**
10367
+ * Seed
10368
+ * @description The seed for the random number generator.
10369
+ */
10370
+ seed?: number;
10371
+ /**
10372
+ * Sync Mode
10373
+ * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
10374
+ * @default false
10375
+ */
10376
+ sync_mode?: boolean;
10377
+ }
10378
+
10195
10379
  export interface SharedType_35f {
10196
10380
  /**
10197
10381
  * Has Nsfw Concepts
@@ -13804,66 +13988,6 @@ export interface HalfmoonaiAiHomeEditOutput {
13804
13988
  status: string;
13805
13989
  }
13806
13990
 
13807
- export interface HalfmoonaiAiFaceSwapFaceswapvideomultiInput {
13808
- /**
13809
- * Enable Occlusion Prevention
13810
- * @description Enable occlusion prevention for handling faces covered by hands/objects. Warning: Enabling this runs an occlusion-aware model which costs 2x more.
13811
- * @default false
13812
- */
13813
- enable_occlusion_prevention?: boolean;
13814
- /**
13815
- * Source Face Url 1
13816
- * @description First source face image (will be mapped to faces matching source_gender_1). Allowed items: bmp, jpeg, png, tiff, webp
13817
- * @example https://images.pexels.com/photos/1642228/pexels-photo-1642228.jpeg
13818
- */
13819
- source_face_url_1: string;
13820
- /**
13821
- * Source Face Url 2
13822
- * @description Second source face image (optional, will be mapped to faces matching source_gender_2). If provided, source_gender_2 must also be specified. Allowed items: bmp, jpeg, png, tiff, webp
13823
- * @example https://images.pexels.com/photos/6066877/pexels-photo-6066877.jpeg
13824
- */
13825
- source_face_url_2?: string;
13826
- /**
13827
- * Source Gender 1
13828
- * @description Gender of source 1 face - faces matching this gender in target will be swapped with source_face_url_1
13829
- * @enum {string}
13830
- */
13831
- source_gender_1: 'female' | 'male';
13832
- /**
13833
- * Source Gender 2
13834
- * @description Gender of source 2 face - required when source_face_url_2 is provided. Faces matching this gender in target will be swapped with source_face_url_2
13835
- * @default male
13836
- */
13837
- source_gender_2?: 'female' | 'male';
13838
- /**
13839
- * Target Video Url
13840
- * @description Target video URL (max 25 minutes, will be truncated if longer; FPS capped at 25). Allowed items: avi, m4v, mkv, mp4, mpeg, mov, mxf, webm, wmv
13841
- * @example https://www.pexels.com/download/video/5686255/
13842
- */
13843
- target_video_url: string;
13844
- }
13845
-
13846
- export interface HalfmoonaiAiFaceSwapFaceswapvideomultiOutput {
13847
- /**
13848
- * Processing Time Ms
13849
- * @description Optional processing duration in milliseconds
13850
- */
13851
- processing_time_ms?: number;
13852
- /**
13853
- * @description Generated video result
13854
- * @example {
13855
- * "content_type": "video/mp4",
13856
- * "url": "https://v3b.fal.media/files/b/0a8c13e7/TI9qpBqF8L_9nuOajc55C_swapped_with_audio.mp4"
13857
- * }
13858
- */
13859
- video: Components.File_1;
13860
- /**
13861
- * Warning
13862
- * @description Warning message if video was modified (e.g., truncated or FPS reduced)
13863
- */
13864
- warning?: string;
13865
- }
13866
-
13867
13991
  export interface HalfmoonaiAiFaceSwapFaceswapvideoInput {
13868
13992
  /**
13869
13993
  * Enable Occlusion Prevention
@@ -13906,63 +14030,6 @@ export interface HalfmoonaiAiFaceSwapFaceswapvideoOutput {
13906
14030
  warning?: string;
13907
14031
  }
13908
14032
 
13909
- export interface HalfmoonaiAiFaceSwapFaceswapimagemultiInput {
13910
- /**
13911
- * Enable Occlusion Prevention
13912
- * @description Enable occlusion prevention for handling faces covered by hands/objects. Warning: Enabling this runs an occlusion-aware model which costs 2x more.
13913
- * @default false
13914
- */
13915
- enable_occlusion_prevention?: boolean;
13916
- /**
13917
- * Source Face Url 1
13918
- * @description First source face image (will be mapped to faces matching source_gender_1). Allowed items: bmp, jpeg, png, tiff, webp
13919
- * @example https://images.pexels.com/photos/1642228/pexels-photo-1642228.jpeg
13920
- */
13921
- source_face_url_1: string;
13922
- /**
13923
- * Source Face Url 2
13924
- * @description Second source face image (optional, will be mapped to faces matching source_gender_2). If provided, source_gender_2 must also be specified. Allowed items: bmp, jpeg, png, tiff, webp
13925
- * @example https://images.pexels.com/photos/6066877/pexels-photo-6066877.jpeg
13926
- */
13927
- source_face_url_2?: string;
13928
- /**
13929
- * Source Gender 1
13930
- * @description Gender of source 1 face - faces matching this gender in target will be swapped with source_face_url_1
13931
- * @enum {string}
13932
- */
13933
- source_gender_1: 'female' | 'male';
13934
- /**
13935
- * Source Gender 2
13936
- * @description Gender of source 2 face - required when source_face_url_2 is provided. Faces matching this gender in target will be swapped with source_face_url_2
13937
- * @default male
13938
- */
13939
- source_gender_2?: 'female' | 'male';
13940
- /**
13941
- * Target Image Url
13942
- * @description Target image URL. Allowed items: bmp, jpeg, png, tiff, webp
13943
- * @example https://images.pexels.com/photos/16280336/pexels-photo-16280336.jpeg
13944
- */
13945
- target_image_url: string;
13946
- }
13947
-
13948
- export interface HalfmoonaiAiFaceSwapFaceswapimagemultiOutput {
13949
- /**
13950
- * @description Generated image result
13951
- * @example {
13952
- * "height": 742,
13953
- * "content_type": "image/jpeg",
13954
- * "url": "https://v3b.fal.media/files/b/0a8c136c/B7HMnRi-GNwIhlRBwaHrU_b41c39d877904258903121452d9668ab.jpg",
13955
- * "width": 520
13956
- * }
13957
- */
13958
- image: Components.Image_2;
13959
- /**
13960
- * Processing Time Ms
13961
- * @description Optional processing duration in milliseconds
13962
- */
13963
- processing_time_ms?: number;
13964
- }
13965
-
13966
14033
  export interface HalfmoonaiAiFaceSwapFaceswapimageInput {
13967
14034
  /**
13968
14035
  * Enable Occlusion Prevention
@@ -15393,6 +15460,61 @@ export interface XAilabNsfwOutput {
15393
15460
  has_nsfw_concepts: boolean[];
15394
15461
  }
15395
15462
 
15463
+ export interface WorkflowUtilitiesTrimVideoInput {
15464
+ /**
15465
+ * Duration
15466
+ * @description Duration in seconds from start_time. Ignored if end_time is provided.
15467
+ * @default 2
15468
+ */
15469
+ duration?: number;
15470
+ /**
15471
+ * End Time
15472
+ * @description End time in seconds. If not provided, uses duration instead.
15473
+ * @example 3
15474
+ */
15475
+ end_time?: number;
15476
+ /**
15477
+ * Start Time
15478
+ * @description Start time in seconds
15479
+ * @default 1
15480
+ */
15481
+ start_time?: number;
15482
+ /**
15483
+ * Video Url
15484
+ * @description URL of the video file to trim
15485
+ *
15486
+ * Max file size: 476.8MB, Timeout: 30.0s
15487
+ * @example https://storage.googleapis.com/falserverless/example_outputs/wan-25-i2v-output.mp4
15488
+ */
15489
+ video_url: string;
15490
+ }
15491
+
15492
+ export interface WorkflowUtilitiesTrimVideoOutput {
15493
+ /**
15494
+ * Original Duration
15495
+ * @description Duration of the original video in seconds
15496
+ * @example 5.041667
15497
+ */
15498
+ original_duration: number;
15499
+ /**
15500
+ * Trimmed Duration
15501
+ * @description Duration of the trimmed video in seconds
15502
+ * @example 2
15503
+ */
15504
+ trimmed_duration: number;
15505
+ /**
15506
+ * Video
15507
+ * @description The trimmed video
15508
+ * @example {
15509
+ * "file_size": 2550671,
15510
+ * "file_name": "output.mp4",
15511
+ * "content_type": "application/octet-stream",
15512
+ * "url": "https://v3b.fal.media/files/b/0a8dcc60/sIg2GuYYYrmYAa2lUVgum_output.mp4"
15513
+ * }
15514
+ */
15515
+ video: Components.File;
15516
+ }
15517
+
15396
15518
  export interface WorkflowUtilitiesInterleaveVideoInput {
15397
15519
  /**
15398
15520
  * Video Urls
@@ -23069,13 +23191,12 @@ export interface TopazUpscaleVideoInput {
23069
23191
 
23070
23192
  export interface TopazUpscaleVideoOutput {
23071
23193
  /**
23072
- * Video
23073
23194
  * @description The upscaled video file
23074
23195
  * @example {
23075
23196
  * "url": "https://v3.fal.media/files/penguin/ztj_LB4gQlW6HIfVs8zX4_upscaled.mp4"
23076
23197
  * }
23077
23198
  */
23078
- video: Components.File;
23199
+ video: Components.File_1;
23079
23200
  }
23080
23201
 
23081
23202
  export interface TopazUpscaleImageInput {
@@ -23145,7 +23266,10 @@ export interface TopazUpscaleImageInput {
23145
23266
  upscale_factor?: number;
23146
23267
  }
23147
23268
 
23148
- export interface TopazUpscaleImageOutput extends SharedType_df4 {}
23269
+ export interface TopazUpscaleImageOutput {
23270
+ /** @description The upscaled image. */
23271
+ image: Components.File_1;
23272
+ }
23149
23273
 
23150
23274
  export interface ThinksoundAudioInput extends SharedType_4bc {}
23151
23275
 
@@ -32914,7 +33038,7 @@ export interface PixverseSwapInput {
32914
33038
  image_url: string;
32915
33039
  /**
32916
33040
  * Keyframe Id
32917
- * @description The keyframe ID (from 1 to the last frame position)
33041
+ * @description The keyframe ID to use for face/object mapping. The input video is normalized to 24 FPS before processing, so keyframe 1 = first frame, keyframe 24 = 1 second in, etc. Valid range: 1 to (duration_seconds * 24).
32918
33042
  * @default 1
32919
33043
  */
32920
33044
  keyframe_id?: number;
@@ -32938,6 +33062,11 @@ export interface PixverseSwapInput {
32938
33062
  * @enum {string}
32939
33063
  */
32940
33064
  resolution?: '360p' | '540p' | '720p';
33065
+ /**
33066
+ * Seed
33067
+ * @description Random seed for generation
33068
+ */
33069
+ seed?: number;
32941
33070
  /**
32942
33071
  * Video Url
32943
33072
  * @description URL of the external video to swap
@@ -34007,6 +34136,103 @@ export interface PhotomakerOutput {
34007
34136
  seed: number;
34008
34137
  }
34009
34138
 
34139
+ export interface PersonaplexInput {
34140
+ /**
34141
+ * Audio Url
34142
+ * @description URL to the input audio file (user's speech).
34143
+ * @example https://v3b.fal.media/files/b/0a8dd5a2/hS140ygvRuxn-eY_qPhlv_assets_test_input_service.wav
34144
+ */
34145
+ audio_url: string;
34146
+ /**
34147
+ * Prompt
34148
+ * @description Text prompt describing the AI persona and conversation context.
34149
+ * @default You are a wise and friendly teacher. Answer questions or provide advice in a clear and engaging way.
34150
+ * @example You work for SwiftPlex Appliances which is a appliance repair company and your name is Farhod Toshmatov. Information: The dishwasher model is out of stock for replacement parts; we can use an alternative part with a 3-day delay. Labor cost remains $60 per hour.
34151
+ */
34152
+ prompt?: string;
34153
+ /**
34154
+ * Seed
34155
+ * @description Random seed for reproducibility.
34156
+ */
34157
+ seed?: number;
34158
+ /**
34159
+ * Temperature Audio
34160
+ * @description Audio sampling temperature. Higher values produce more diverse outputs.
34161
+ * @default 0.8
34162
+ */
34163
+ temperature_audio?: number;
34164
+ /**
34165
+ * Temperature Text
34166
+ * @description Text sampling temperature. Higher values produce more diverse outputs.
34167
+ * @default 0.7
34168
+ */
34169
+ temperature_text?: number;
34170
+ /**
34171
+ * Top K Audio
34172
+ * @description Top-K sampling for audio tokens.
34173
+ * @default 250
34174
+ */
34175
+ top_k_audio?: number;
34176
+ /**
34177
+ * Top K Text
34178
+ * @description Top-K sampling for text tokens.
34179
+ * @default 25
34180
+ */
34181
+ top_k_text?: number;
34182
+ /**
34183
+ * Voice
34184
+ * @description Voice ID for the AI response. NAT = natural, VAR = variety. F = female, M = male.
34185
+ * @default NATF2
34186
+ * @enum {string}
34187
+ */
34188
+ voice?:
34189
+ | 'NATF0'
34190
+ | 'NATF1'
34191
+ | 'NATF2'
34192
+ | 'NATF3'
34193
+ | 'NATM0'
34194
+ | 'NATM1'
34195
+ | 'NATM2'
34196
+ | 'NATM3'
34197
+ | 'VARF0'
34198
+ | 'VARF1'
34199
+ | 'VARF2'
34200
+ | 'VARF3'
34201
+ | 'VARF4'
34202
+ | 'VARM0'
34203
+ | 'VARM1'
34204
+ | 'VARM2'
34205
+ | 'VARM3'
34206
+ | 'VARM4';
34207
+ }
34208
+
34209
+ export interface PersonaplexOutput {
34210
+ /**
34211
+ * Audio
34212
+ * @description The generated AI response audio (WAV, 24kHz).
34213
+ * @example https://v3b.fal.media/files/b/0a8dd5a4/9vFUMdauY7vobpLtXq4Np_output.wav
34214
+ */
34215
+ audio: Components.File;
34216
+ /**
34217
+ * Duration
34218
+ * @description Duration of the generated audio in seconds.
34219
+ * @example 20
34220
+ */
34221
+ duration: number;
34222
+ /**
34223
+ * Seed
34224
+ * @description The seed used for generation.
34225
+ * @example 60112277
34226
+ */
34227
+ seed: number;
34228
+ /**
34229
+ * Text
34230
+ * @description Transcribed text of the AI's response.
34231
+ * @example Thank you for calling SwiftPlex Appliances. This is Farhod, how can I help you today? I understand your concern. The replacement part is out of stock, so we can't ship it right away. We can use an alternative part that will arrive in 3 days. Would you like to proceed with that?
34232
+ */
34233
+ text: string;
34234
+ }
34235
+
34010
34236
  export interface PasdInput {
34011
34237
  /**
34012
34238
  * Conditioning Scale
@@ -34616,9 +34842,7 @@ export interface OmnigenV1Input {
34616
34842
  seed?: number;
34617
34843
  /**
34618
34844
  * Sync Mode
34619
- * @description If set to true, the function will wait for the image to be generated and uploaded
34620
- * before returning the response. This will increase the latency of the function but
34621
- * it allows you to get the image directly in the response without going through the CDN.
34845
+ * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
34622
34846
  * @default false
34623
34847
  */
34624
34848
  sync_mode?: boolean;
@@ -34985,180 +35209,21 @@ export interface NemotronAsrOutput {
34985
35209
  partial?: boolean;
34986
35210
  }
34987
35211
 
34988
- export interface NanoBananaEditInput extends SharedType_813 {}
35212
+ export interface NanoBananaEditInput extends SharedType_85d {}
34989
35213
 
34990
- export interface NanoBananaEditOutput extends SharedType_98c {}
35214
+ export interface NanoBananaEditOutput extends SharedType_876 {}
34991
35215
 
34992
- export interface NanoBananaProEditInput {
34993
- /**
34994
- * Aspect Ratio
34995
- * @description The aspect ratio of the generated image.
34996
- * @default auto
34997
- * @enum {string}
34998
- */
34999
- aspect_ratio?:
35000
- | 'auto'
35001
- | '21:9'
35002
- | '16:9'
35003
- | '3:2'
35004
- | '4:3'
35005
- | '5:4'
35006
- | '1:1'
35007
- | '4:5'
35008
- | '3:4'
35009
- | '2:3'
35010
- | '9:16';
35011
- /**
35012
- * Enable Web Search
35013
- * @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
35014
- * @default false
35015
- */
35016
- enable_web_search?: boolean;
35017
- /**
35018
- * Image URLs
35019
- * @description The URLs of the images to use for image-to-image generation or image editing.
35020
- * @example [
35021
- * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
35022
- * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
35023
- * ]
35024
- */
35025
- image_urls: string[];
35026
- /**
35027
- * Limit Generations
35028
- * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
35029
- * @default false
35030
- */
35031
- limit_generations?: boolean;
35032
- /**
35033
- * Number of Images
35034
- * @description The number of images to generate.
35035
- * @default 1
35036
- */
35037
- num_images?: number;
35038
- /**
35039
- * Output Format
35040
- * @description The format of the generated image.
35041
- * @default png
35042
- * @enum {string}
35043
- */
35044
- output_format?: 'jpeg' | 'png' | 'webp';
35045
- /**
35046
- * Prompt
35047
- * @description The prompt for image editing.
35048
- * @example make a photo of the man driving the car down the california coastline
35049
- */
35050
- prompt: string;
35051
- /**
35052
- * Resolution
35053
- * @description The resolution of the image to generate.
35054
- * @default 1K
35055
- * @enum {string}
35056
- */
35057
- resolution?: '1K' | '2K' | '4K';
35058
- /**
35059
- * Safety Tolerance
35060
- * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
35061
- * @default 4
35062
- * @enum {string}
35063
- */
35064
- safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
35065
- /**
35066
- * Seed
35067
- * @description The seed for the random number generator.
35068
- */
35069
- seed?: number;
35070
- /**
35071
- * Sync Mode
35072
- * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
35073
- * @default false
35074
- */
35075
- sync_mode?: boolean;
35076
- }
35216
+ export interface NanoBananaProEditInput extends SharedType_367 {}
35077
35217
 
35078
- export interface NanoBananaProEditOutput extends SharedType_98c {}
35218
+ export interface NanoBananaProEditOutput extends SharedType_876 {}
35079
35219
 
35080
- export interface NanoBananaProInput {
35081
- /**
35082
- * Aspect Ratio
35083
- * @description The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.
35084
- * @default 1:1
35085
- * @enum {string}
35086
- */
35087
- aspect_ratio?:
35088
- | 'auto'
35089
- | '21:9'
35090
- | '16:9'
35091
- | '3:2'
35092
- | '4:3'
35093
- | '5:4'
35094
- | '1:1'
35095
- | '4:5'
35096
- | '3:4'
35097
- | '2:3'
35098
- | '9:16';
35099
- /**
35100
- * Enable Web Search
35101
- * @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
35102
- * @default false
35103
- */
35104
- enable_web_search?: boolean;
35105
- /**
35106
- * Limit Generations
35107
- * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
35108
- * @default false
35109
- */
35110
- limit_generations?: boolean;
35111
- /**
35112
- * Number of Images
35113
- * @description The number of images to generate.
35114
- * @default 1
35115
- */
35116
- num_images?: number;
35117
- /**
35118
- * Output Format
35119
- * @description The format of the generated image.
35120
- * @default png
35121
- * @enum {string}
35122
- */
35123
- output_format?: 'jpeg' | 'png' | 'webp';
35124
- /**
35125
- * Prompt
35126
- * @description The text prompt to generate an image from.
35127
- * @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
35128
- */
35129
- prompt: string;
35130
- /**
35131
- * Resolution
35132
- * @description The resolution of the image to generate.
35133
- * @default 1K
35134
- * @enum {string}
35135
- */
35136
- resolution?: '1K' | '2K' | '4K';
35137
- /**
35138
- * Safety Tolerance
35139
- * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
35140
- * @default 4
35141
- * @enum {string}
35142
- */
35143
- safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
35144
- /**
35145
- * Seed
35146
- * @description The seed for the random number generator.
35147
- */
35148
- seed?: number;
35149
- /**
35150
- * Sync Mode
35151
- * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
35152
- * @default false
35153
- */
35154
- sync_mode?: boolean;
35155
- }
35220
+ export interface NanoBananaProInput extends SharedType_8c2 {}
35156
35221
 
35157
- export interface NanoBananaProOutput extends SharedType_662 {}
35222
+ export interface NanoBananaProOutput extends SharedType_7b9 {}
35158
35223
 
35159
- export interface NanoBananaInput extends SharedType_97e {}
35224
+ export interface NanoBananaInput extends SharedType_f57 {}
35160
35225
 
35161
- export interface NanoBananaOutput extends SharedType_662 {}
35226
+ export interface NanoBananaOutput extends SharedType_7b9 {}
35162
35227
 
35163
35228
  export interface NafnetDenoiseInput {
35164
35229
  /**
@@ -59373,7 +59438,7 @@ export interface GptImage15EditOutput {
59373
59438
  * }
59374
59439
  * ]
59375
59440
  */
59376
- images: Components.ImageFile[];
59441
+ images: Components.ImageFile_1[];
59377
59442
  }
59378
59443
 
59379
59444
  export interface GptImage15Input {
@@ -59440,7 +59505,7 @@ export interface GptImage15Output {
59440
59505
  * }
59441
59506
  * ]
59442
59507
  */
59443
- images: Components.ImageFile[];
59508
+ images: Components.ImageFile_1[];
59444
59509
  }
59445
59510
 
59446
59511
  export interface GptImage1MiniEditInput {
@@ -59931,214 +59996,21 @@ export interface GeminiFlashEditInput {
59931
59996
 
59932
59997
  export interface GeminiFlashEditOutput extends SharedType_1b2 {}
59933
59998
 
59934
- export interface Gemini3ProImagePreviewEditInput {
59935
- /**
59936
- * Aspect Ratio
59937
- * @description The aspect ratio of the generated image.
59938
- * @default auto
59939
- */
59940
- aspect_ratio?:
59941
- | 'auto'
59942
- | '21:9'
59943
- | '16:9'
59944
- | '3:2'
59945
- | '4:3'
59946
- | '5:4'
59947
- | '1:1'
59948
- | '4:5'
59949
- | '3:4'
59950
- | '2:3'
59951
- | '9:16';
59952
- /**
59953
- * Enable Web Search
59954
- * @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
59955
- * @default false
59956
- */
59957
- enable_web_search?: boolean;
59958
- /**
59959
- * Image URLs
59960
- * @description The URLs of the images to use for image-to-image generation or image editing.
59961
- * @example [
59962
- * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
59963
- * "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
59964
- * ]
59965
- */
59966
- image_urls: string[];
59967
- /**
59968
- * Limit Generations
59969
- * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
59970
- * @default false
59971
- */
59972
- limit_generations?: boolean;
59973
- /**
59974
- * Number of Images
59975
- * @description The number of images to generate.
59976
- * @default 1
59977
- */
59978
- num_images?: number;
59979
- /**
59980
- * Output Format
59981
- * @description The format of the generated image.
59982
- * @default png
59983
- * @enum {string}
59984
- */
59985
- output_format?: 'jpeg' | 'png' | 'webp';
59986
- /**
59987
- * Prompt
59988
- * @description The prompt for image editing.
59989
- * @example make a photo of the man driving the car down the california coastline
59990
- */
59991
- prompt: string;
59992
- /**
59993
- * Resolution
59994
- * @description The resolution of the image to generate.
59995
- * @default 1K
59996
- * @enum {string}
59997
- */
59998
- resolution?: '1K' | '2K' | '4K';
59999
- /**
60000
- * Safety Tolerance
60001
- * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
60002
- * @default 4
60003
- * @enum {string}
60004
- */
60005
- safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
60006
- /**
60007
- * Seed
60008
- * @description The seed for the random number generator.
60009
- */
60010
- seed?: number;
60011
- /**
60012
- * Sync Mode
60013
- * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
60014
- * @default false
60015
- */
60016
- sync_mode?: boolean;
60017
- }
59999
+ export interface Gemini3ProImagePreviewEditInput extends SharedType_367 {}
60018
60000
 
60019
- export interface Gemini3ProImagePreviewEditOutput {
60020
- /**
60021
- * Description
60022
- * @description The description of the generated images.
60023
- */
60024
- description: string;
60025
- /**
60026
- * Images
60027
- * @description The edited images.
60028
- * @example [
60029
- * {
60030
- * "file_name": "nano-banana-multi-edit-output.png",
60031
- * "content_type": "image/png",
60032
- * "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-multi-edit-output.png"
60033
- * }
60034
- * ]
60035
- */
60036
- images: Components.ImageFile_1[];
60037
- }
60001
+ export interface Gemini3ProImagePreviewEditOutput extends SharedType_876 {}
60038
60002
 
60039
- export interface Gemini3ProImagePreviewInput {
60040
- /**
60041
- * Aspect Ratio
60042
- * @description The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.
60043
- * @default 1:1
60044
- */
60045
- aspect_ratio?:
60046
- | 'auto'
60047
- | '21:9'
60048
- | '16:9'
60049
- | '3:2'
60050
- | '4:3'
60051
- | '5:4'
60052
- | '1:1'
60053
- | '4:5'
60054
- | '3:4'
60055
- | '2:3'
60056
- | '9:16';
60057
- /**
60058
- * Enable Web Search
60059
- * @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
60060
- * @default false
60061
- */
60062
- enable_web_search?: boolean;
60063
- /**
60064
- * Limit Generations
60065
- * @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
60066
- * @default false
60067
- */
60068
- limit_generations?: boolean;
60069
- /**
60070
- * Number of Images
60071
- * @description The number of images to generate.
60072
- * @default 1
60073
- */
60074
- num_images?: number;
60075
- /**
60076
- * Output Format
60077
- * @description The format of the generated image.
60078
- * @default png
60079
- * @enum {string}
60080
- */
60081
- output_format?: 'jpeg' | 'png' | 'webp';
60082
- /**
60083
- * Prompt
60084
- * @description The text prompt to generate an image from.
60085
- * @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
60086
- */
60087
- prompt: string;
60088
- /**
60089
- * Resolution
60090
- * @description The resolution of the image to generate.
60091
- * @default 1K
60092
- * @enum {string}
60093
- */
60094
- resolution?: '1K' | '2K' | '4K';
60095
- /**
60096
- * Safety Tolerance
60097
- * @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
60098
- * @default 4
60099
- * @enum {string}
60100
- */
60101
- safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
60102
- /**
60103
- * Seed
60104
- * @description The seed for the random number generator.
60105
- */
60106
- seed?: number;
60107
- /**
60108
- * Sync Mode
60109
- * @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
60110
- * @default false
60111
- */
60112
- sync_mode?: boolean;
60113
- }
60003
+ export interface Gemini3ProImagePreviewInput extends SharedType_8c2 {}
60114
60004
 
60115
- export interface Gemini3ProImagePreviewOutput {
60116
- /**
60117
- * Description
60118
- * @description The description of the generated images.
60119
- */
60120
- description: string;
60121
- /**
60122
- * Images
60123
- * @description The generated images.
60124
- * @example [
60125
- * {
60126
- * "file_name": "nano-banana-t2i-output.png",
60127
- * "content_type": "image/png",
60128
- * "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-t2i-output.png"
60129
- * }
60130
- * ]
60131
- */
60132
- images: Components.ImageFile_1[];
60133
- }
60005
+ export interface Gemini3ProImagePreviewOutput extends SharedType_7b9 {}
60134
60006
 
60135
- export interface Gemini25FlashImageEditInput extends SharedType_813 {}
60007
+ export interface Gemini25FlashImageEditInput extends SharedType_85d {}
60136
60008
 
60137
- export interface Gemini25FlashImageEditOutput extends SharedType_98c {}
60009
+ export interface Gemini25FlashImageEditOutput extends SharedType_876 {}
60138
60010
 
60139
- export interface Gemini25FlashImageInput extends SharedType_97e {}
60011
+ export interface Gemini25FlashImageInput extends SharedType_f57 {}
60140
60012
 
60141
- export interface Gemini25FlashImageOutput extends SharedType_662 {}
60013
+ export interface Gemini25FlashImageOutput extends SharedType_7b9 {}
60142
60014
 
60143
60015
  export interface FramepackFlf2vInput {
60144
60016
  /**
@@ -79825,8 +79697,8 @@ export interface BagelEditOutput {
79825
79697
  * @description The edited images.
79826
79698
  * @example [
79827
79699
  * {
79828
- * "file_size": 423052,
79829
79700
  * "height": 1024,
79701
+ * "file_size": 423052,
79830
79702
  * "file_name": "hQnndOMvGSt2UsYAiV3vs.jpeg",
79831
79703
  * "content_type": "image/jpeg",
79832
79704
  * "url": "https://storage.googleapis.com/falserverless/bagel/hQnndOMvGSt2UsYAiV3vs.jpeg",
@@ -79889,8 +79761,8 @@ export interface BagelOutput {
79889
79761
  * @description The generated images.
79890
79762
  * @example [
79891
79763
  * {
79892
- * "file_size": 423052,
79893
79764
  * "height": 1024,
79765
+ * "file_size": 423052,
79894
79766
  * "file_name": "wRhCPSyiKTiLnnWvUpGIl.jpeg",
79895
79767
  * "content_type": "image/jpeg",
79896
79768
  * "url": "https://storage.googleapis.com/falserverless/bagel/wRhCPSyiKTiLnnWvUpGIl.jpeg",
@@ -80007,7 +79879,7 @@ export interface AuraSrInput {
80007
79879
  * @example 4
80008
79880
  * @enum {integer}
80009
79881
  */
80010
- upscaling_factor?: 4;
79882
+ upscale_factor?: 4;
80011
79883
  }
80012
79884
 
80013
79885
  export interface AuraSrOutput {