fal-endpoint-types 1.3.44 → 1.3.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fal-endpoint-types",
3
- "version": "1.3.44",
3
+ "version": "1.3.46",
4
4
  "description": "TypeScript types for Fal AI endpoints generated from the OpenAPI schemas.",
5
5
  "homepage": "https://github.com/rawpixel-vincent/fal-endpoint-types#readme",
6
6
  "bugs": {
@@ -1745,6 +1745,19 @@ export interface Validation {
1745
1745
  prompt: string;
1746
1746
  }
1747
1747
 
1748
+ export interface V2VValidation {
1749
+ /**
1750
+ * Prompt
1751
+ * @description The prompt to use for validation.
1752
+ */
1753
+ prompt: string;
1754
+ /**
1755
+ * Reference Video Url
1756
+ * @description URL to reference video for IC-LoRA validation. This is the input video that will be transformed.
1757
+ */
1758
+ reference_video_url: string;
1759
+ }
1760
+
1748
1761
  export interface UsageInfo_1 {
1749
1762
  /**
1750
1763
  * Decode Time Ms
@@ -1777,6 +1790,7 @@ export interface UsageInfo {
1777
1790
  completion_tokens?: number;
1778
1791
  cost: number;
1779
1792
  prompt_tokens?: number;
1793
+ prompt_tokens_details?: PromptTokensDetails;
1780
1794
  /**
1781
1795
  * Total Tokens
1782
1796
  * @default 0
@@ -2661,6 +2675,19 @@ export interface PronunciationDict {
2661
2675
  tone_list?: string[];
2662
2676
  }
2663
2677
 
2678
+ export interface PromptTokensDetails {
2679
+ /**
2680
+ * Cache Write Tokens
2681
+ * @default 0
2682
+ */
2683
+ cache_write_tokens?: number;
2684
+ /**
2685
+ * Cached Tokens
2686
+ * @default 0
2687
+ */
2688
+ cached_tokens?: number;
2689
+ }
2690
+
2664
2691
  export interface PromptObject_1 {
2665
2692
  /**
2666
2693
  * Action
@@ -3283,6 +3310,48 @@ export interface MaskMetadata {
3283
3310
  score?: number;
3284
3311
  }
3285
3312
 
3313
+ export interface MapImageFile {
3314
+ /**
3315
+ * Content Type
3316
+ * @description The mime type of the file.
3317
+ * @example image/png
3318
+ */
3319
+ content_type?: string;
3320
+ /**
3321
+ * File Name
3322
+ * @description The name of the file. It will be auto-generated if not provided.
3323
+ * @example z9RV14K95DvU.png
3324
+ */
3325
+ file_name?: string;
3326
+ /**
3327
+ * File Size
3328
+ * @description The size of the file in bytes.
3329
+ * @example 4404019
3330
+ */
3331
+ file_size?: number;
3332
+ /**
3333
+ * Height
3334
+ * @description The height of the image
3335
+ */
3336
+ height?: number;
3337
+ /**
3338
+ * Map Type
3339
+ * @description Which PBR map this image represents.
3340
+ * @enum {string}
3341
+ */
3342
+ map_type: 'basecolor' | 'normal' | 'roughness' | 'metalness' | 'height';
3343
+ /**
3344
+ * Url
3345
+ * @description The URL where the file can be downloaded from.
3346
+ */
3347
+ url: string;
3348
+ /**
3349
+ * Width
3350
+ * @description The width of the image
3351
+ */
3352
+ width?: number;
3353
+ }
3354
+
3286
3355
  export interface LoudnormSummary {
3287
3356
  /**
3288
3357
  * Input Integrated
@@ -3555,7 +3624,7 @@ export interface LoRAInput_2 {
3555
3624
  export interface LoRAInput_1 {
3556
3625
  /**
3557
3626
  * Path
3558
- * @description URL, HuggingFace repo ID (owner/repo) to lora weights.
3627
+ * @description URL, HuggingFace repo ID (owner/repo), or local path to LoRA weights.
3559
3628
  */
3560
3629
  path: string;
3561
3630
  /**
@@ -3564,17 +3633,12 @@ export interface LoRAInput_1 {
3564
3633
  * @default 1
3565
3634
  */
3566
3635
  scale?: number;
3567
- /**
3568
- * Weight Name
3569
- * @description Name of the LoRA weight. Only used if `path` is a HuggingFace repository, and is only required when the repository contains multiple LoRA weights.
3570
- */
3571
- weight_name?: string;
3572
3636
  }
3573
3637
 
3574
3638
  export interface LoRAInput {
3575
3639
  /**
3576
3640
  * Path
3577
- * @description URL, HuggingFace repo ID (owner/repo), or local path to LoRA weights.
3641
+ * @description URL, HuggingFace repo ID (owner/repo) to lora weights.
3578
3642
  */
3579
3643
  path: string;
3580
3644
  /**
@@ -3583,6 +3647,11 @@ export interface LoRAInput {
3583
3647
  * @default 1
3584
3648
  */
3585
3649
  scale?: number;
3650
+ /**
3651
+ * Weight Name
3652
+ * @description Name of the LoRA weight. Only used if `path` is a HuggingFace repository, and is only required when the repository contains multiple LoRA weights.
3653
+ */
3654
+ weight_name?: string;
3586
3655
  }
3587
3656
 
3588
3657
  export interface LightingDetails {
@@ -3902,6 +3971,30 @@ export interface ImageSize {
3902
3971
  width?: number;
3903
3972
  }
3904
3973
 
3974
+ export interface ImageReference {
3975
+ /**
3976
+ * Image Url
3977
+ * @description URL of the reference image
3978
+ * @example https://v3.fal.media/files/zebra/qL93Je8ezvzQgDOEzTjKF_KhGKZTEebZcDw6T5rwQPK_output.png
3979
+ */
3980
+ image_url: string;
3981
+ /**
3982
+ * Ref Name
3983
+ * @description A short name for this reference. Use @ref_name in the prompt to refer to this image.
3984
+ * @example character
3985
+ * @example dog
3986
+ * @example room
3987
+ */
3988
+ ref_name: string;
3989
+ /**
3990
+ * Type
3991
+ * @description Type of reference: 'subject' for character/object references, 'background' for scene/environment references
3992
+ * @default subject
3993
+ * @enum {string}
3994
+ */
3995
+ type?: 'subject' | 'background';
3996
+ }
3997
+
3905
3998
  export interface ImagePrompt {
3906
3999
  image_url?: string;
3907
4000
  /**
@@ -6507,6 +6600,30 @@ export interface AudioTimeSpan {
6507
6600
  start: number;
6508
6601
  }
6509
6602
 
6603
+ export interface AudioSetting25 {
6604
+ /**
6605
+ * Bitrate
6606
+ * @description Bitrate of generated audio
6607
+ * @default 256000
6608
+ * @enum {integer}
6609
+ */
6610
+ bitrate?: 32000 | 64000 | 128000 | 256000;
6611
+ /**
6612
+ * Format
6613
+ * @description Audio format
6614
+ * @default mp3
6615
+ * @enum {string}
6616
+ */
6617
+ format?: 'mp3' | 'wav' | 'pcm';
6618
+ /**
6619
+ * Sample Rate
6620
+ * @description Sample rate of generated audio
6621
+ * @default 44100
6622
+ * @enum {integer}
6623
+ */
6624
+ sample_rate?: 16000 | 24000 | 32000 | 44100;
6625
+ }
6626
+
6510
6627
  export interface AudioSetting_1 {
6511
6628
  /**
6512
6629
  * Bitrate
@@ -2154,6 +2154,26 @@ declare global {
2154
2154
  output: falEndpoints.PixverseExtendOutput;
2155
2155
  };
2156
2156
 
2157
+ 'fal-ai/pixverse/c1/transition': {
2158
+ input: falEndpoints.PixverseC1TransitionInput;
2159
+ output: falEndpoints.PixverseC1TransitionOutput;
2160
+ };
2161
+
2162
+ 'fal-ai/pixverse/c1/text-to-video': {
2163
+ input: falEndpoints.PixverseC1TextToVideoInput;
2164
+ output: falEndpoints.PixverseC1TextToVideoOutput;
2165
+ };
2166
+
2167
+ 'fal-ai/pixverse/c1/reference-to-video': {
2168
+ input: falEndpoints.PixverseC1ReferenceToVideoInput;
2169
+ output: falEndpoints.PixverseC1ReferenceToVideoOutput;
2170
+ };
2171
+
2172
+ 'fal-ai/pixverse/c1/image-to-video': {
2173
+ input: falEndpoints.PixverseC1ImageToVideoInput;
2174
+ output: falEndpoints.PixverseC1ImageToVideoOutput;
2175
+ };
2176
+
2157
2177
  'fal-ai/pixart-sigma': {
2158
2178
  input: falEndpoints.PixartSigmaInput;
2159
2179
  output: falEndpoints.PixartSigmaOutput;
@@ -2254,6 +2274,21 @@ declare global {
2254
2274
  output: falEndpoints.PersonaplexOutput;
2255
2275
  };
2256
2276
 
2277
+ 'fal-ai/patina/material/extract': {
2278
+ input: { [x in string]: any };
2279
+ output: { [x in string]: any };
2280
+ };
2281
+
2282
+ 'fal-ai/patina/material': {
2283
+ input: { [x in string]: any };
2284
+ output: { [x in string]: any };
2285
+ };
2286
+
2287
+ 'fal-ai/patina': {
2288
+ input: falEndpoints.PatinaInput;
2289
+ output: falEndpoints.PatinaOutput;
2290
+ };
2291
+
2257
2292
  'fal-ai/pasd': {
2258
2293
  input: falEndpoints.PasdInput;
2259
2294
  output: falEndpoints.PasdOutput;
@@ -2649,6 +2684,16 @@ declare global {
2649
2684
  output: falEndpoints.MinimaxHailuo02FastImageToVideoOutput;
2650
2685
  };
2651
2686
 
2687
+ 'fal-ai/minimax-music/v2.6': {
2688
+ input: falEndpoints.MinimaxMusicV26Input;
2689
+ output: falEndpoints.MinimaxMusicV26Output;
2690
+ };
2691
+
2692
+ 'fal-ai/minimax-music/v2.5': {
2693
+ input: falEndpoints.MinimaxMusicV25Input;
2694
+ output: falEndpoints.MinimaxMusicV25Output;
2695
+ };
2696
+
2652
2697
  'fal-ai/minimax-music/v2': {
2653
2698
  input: falEndpoints.MinimaxMusicV2Input;
2654
2699
  output: falEndpoints.MinimaxMusicV2Output;
@@ -2854,6 +2899,16 @@ declare global {
2854
2899
  output: falEndpoints.Ltxv13b098DistilledOutput;
2855
2900
  };
2856
2901
 
2902
+ 'fal-ai/ltx23-video-trainer': {
2903
+ input: falEndpoints.Ltx23VideoTrainerInput;
2904
+ output: falEndpoints.Ltx23VideoTrainerOutput;
2905
+ };
2906
+
2907
+ 'fal-ai/ltx23-v2v-trainer': {
2908
+ input: falEndpoints.Ltx23V2vTrainerInput;
2909
+ output: falEndpoints.Ltx23V2vTrainerOutput;
2910
+ };
2911
+
2857
2912
  'fal-ai/ltx2-video-trainer': {
2858
2913
  input: falEndpoints.Ltx2VideoTrainerInput;
2859
2914
  output: falEndpoints.Ltx2VideoTrainerOutput;
@@ -3014,6 +3069,116 @@ declare global {
3014
3069
  output: falEndpoints.Ltx23AudioToVideoOutput;
3015
3070
  };
3016
3071
 
3072
+ 'fal-ai/ltx-2.3-22b/video-to-video/lora': {
3073
+ input: falEndpoints.Ltx2322bVideoToVideoLoraInput;
3074
+ output: falEndpoints.Ltx2322bVideoToVideoLoraOutput;
3075
+ };
3076
+
3077
+ 'fal-ai/ltx-2.3-22b/video-to-video': {
3078
+ input: falEndpoints.Ltx2322bVideoToVideoInput;
3079
+ output: falEndpoints.Ltx2322bVideoToVideoOutput;
3080
+ };
3081
+
3082
+ 'fal-ai/ltx-2.3-22b/text-to-video/lora': {
3083
+ input: falEndpoints.Ltx2322bTextToVideoLoraInput;
3084
+ output: falEndpoints.Ltx2322bTextToVideoLoraOutput;
3085
+ };
3086
+
3087
+ 'fal-ai/ltx-2.3-22b/text-to-video': {
3088
+ input: falEndpoints.Ltx2322bTextToVideoInput;
3089
+ output: falEndpoints.Ltx2322bTextToVideoOutput;
3090
+ };
3091
+
3092
+ 'fal-ai/ltx-2.3-22b/reference-video-to-video/lora': {
3093
+ input: falEndpoints.Ltx2322bReferenceVideoToVideoLoraInput;
3094
+ output: falEndpoints.Ltx2322bReferenceVideoToVideoLoraOutput;
3095
+ };
3096
+
3097
+ 'fal-ai/ltx-2.3-22b/reference-video-to-video': {
3098
+ input: falEndpoints.Ltx2322bReferenceVideoToVideoInput;
3099
+ output: falEndpoints.Ltx2322bReferenceVideoToVideoOutput;
3100
+ };
3101
+
3102
+ 'fal-ai/ltx-2.3-22b/image-to-video/lora': {
3103
+ input: falEndpoints.Ltx2322bImageToVideoLoraInput;
3104
+ output: falEndpoints.Ltx2322bImageToVideoLoraOutput;
3105
+ };
3106
+
3107
+ 'fal-ai/ltx-2.3-22b/image-to-video': {
3108
+ input: falEndpoints.Ltx2322bImageToVideoInput;
3109
+ output: falEndpoints.Ltx2322bImageToVideoOutput;
3110
+ };
3111
+
3112
+ 'fal-ai/ltx-2.3-22b/extend-video/lora': {
3113
+ input: falEndpoints.Ltx2322bExtendVideoLoraInput;
3114
+ output: falEndpoints.Ltx2322bExtendVideoLoraOutput;
3115
+ };
3116
+
3117
+ 'fal-ai/ltx-2.3-22b/extend-video': {
3118
+ input: falEndpoints.Ltx2322bExtendVideoInput;
3119
+ output: falEndpoints.Ltx2322bExtendVideoOutput;
3120
+ };
3121
+
3122
+ 'fal-ai/ltx-2.3-22b/distilled/video-to-video/lora': {
3123
+ input: falEndpoints.Ltx2322bDistilledVideoToVideoLoraInput;
3124
+ output: falEndpoints.Ltx2322bDistilledVideoToVideoLoraOutput;
3125
+ };
3126
+
3127
+ 'fal-ai/ltx-2.3-22b/distilled/video-to-video': {
3128
+ input: falEndpoints.Ltx2322bDistilledVideoToVideoInput;
3129
+ output: falEndpoints.Ltx2322bDistilledVideoToVideoOutput;
3130
+ };
3131
+
3132
+ 'fal-ai/ltx-2.3-22b/distilled/text-to-video/lora': {
3133
+ input: falEndpoints.Ltx2322bDistilledTextToVideoLoraInput;
3134
+ output: falEndpoints.Ltx2322bDistilledTextToVideoLoraOutput;
3135
+ };
3136
+
3137
+ 'fal-ai/ltx-2.3-22b/distilled/text-to-video': {
3138
+ input: falEndpoints.Ltx2322bDistilledTextToVideoInput;
3139
+ output: falEndpoints.Ltx2322bDistilledTextToVideoOutput;
3140
+ };
3141
+
3142
+ 'fal-ai/ltx-2.3-22b/distilled/reference-video-to-video/lora': {
3143
+ input: falEndpoints.Ltx2322bDistilledReferenceVideoToVideoLoraInput;
3144
+ output: falEndpoints.Ltx2322bDistilledReferenceVideoToVideoLoraOutput;
3145
+ };
3146
+
3147
+ 'fal-ai/ltx-2.3-22b/distilled/reference-video-to-video': {
3148
+ input: falEndpoints.Ltx2322bDistilledReferenceVideoToVideoInput;
3149
+ output: falEndpoints.Ltx2322bDistilledReferenceVideoToVideoOutput;
3150
+ };
3151
+
3152
+ 'fal-ai/ltx-2.3-22b/distilled/image-to-video/lora': {
3153
+ input: falEndpoints.Ltx2322bDistilledImageToVideoLoraInput;
3154
+ output: falEndpoints.Ltx2322bDistilledImageToVideoLoraOutput;
3155
+ };
3156
+
3157
+ 'fal-ai/ltx-2.3-22b/distilled/image-to-video': {
3158
+ input: falEndpoints.Ltx2322bDistilledImageToVideoInput;
3159
+ output: falEndpoints.Ltx2322bDistilledImageToVideoOutput;
3160
+ };
3161
+
3162
+ 'fal-ai/ltx-2.3-22b/distilled/audio-to-video/lora': {
3163
+ input: falEndpoints.Ltx2322bDistilledAudioToVideoLoraInput;
3164
+ output: falEndpoints.Ltx2322bDistilledAudioToVideoLoraOutput;
3165
+ };
3166
+
3167
+ 'fal-ai/ltx-2.3-22b/distilled/audio-to-video': {
3168
+ input: falEndpoints.Ltx2322bDistilledAudioToVideoInput;
3169
+ output: falEndpoints.Ltx2322bDistilledAudioToVideoOutput;
3170
+ };
3171
+
3172
+ 'fal-ai/ltx-2.3-22b/audio-to-video/lora': {
3173
+ input: falEndpoints.Ltx2322bAudioToVideoLoraInput;
3174
+ output: falEndpoints.Ltx2322bAudioToVideoLoraOutput;
3175
+ };
3176
+
3177
+ 'fal-ai/ltx-2.3-22b/audio-to-video': {
3178
+ input: falEndpoints.Ltx2322bAudioToVideoInput;
3179
+ output: falEndpoints.Ltx2322bAudioToVideoOutput;
3180
+ };
3181
+
3017
3182
  'fal-ai/ltx-2-19b/video-to-video/lora': {
3018
3183
  input: falEndpoints.Ltx219bVideoToVideoLoraInput;
3019
3184
  output: falEndpoints.Ltx219bVideoToVideoLoraOutput;
@@ -5469,6 +5634,16 @@ declare global {
5469
5634
  output: falEndpoints.EsrganOutput;
5470
5635
  };
5471
5636
 
5637
+ 'fal-ai/ernie-image/turbo': {
5638
+ input: falEndpoints.ErnieImageTurboInput;
5639
+ output: falEndpoints.ErnieImageTurboOutput;
5640
+ };
5641
+
5642
+ 'fal-ai/ernie-image': {
5643
+ input: falEndpoints.ErnieImageInput;
5644
+ output: falEndpoints.ErnieImageOutput;
5645
+ };
5646
+
5472
5647
  'fal-ai/era-3d': {
5473
5648
  input: falEndpoints.Era3dInput;
5474
5649
  output: falEndpoints.Era3dOutput;
@@ -6094,16 +6269,6 @@ declare global {
6094
6269
  output: falEndpoints.DecartLucyEditProOutput;
6095
6270
  };
6096
6271
 
6097
- 'decart/lucy-edit/fast': {
6098
- input: falEndpoints.DecartLucyEditFastInput;
6099
- output: falEndpoints.DecartLucyEditFastOutput;
6100
- };
6101
-
6102
- 'decart/lucy-edit/dev': {
6103
- input: falEndpoints.DecartLucyEditDevInput;
6104
- output: falEndpoints.DecartLucyEditDevOutput;
6105
- };
6106
-
6107
6272
  'clarityai/crystal-video-upscaler': {
6108
6273
  input: falEndpoints.ClarityaiCrystalVideoUpscalerInput;
6109
6274
  output: falEndpoints.ClarityaiCrystalVideoUpscalerOutput;