fal-endpoint-types 1.3.44 → 1.3.45

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.45",
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": {
@@ -1777,6 +1777,7 @@ export interface UsageInfo {
1777
1777
  completion_tokens?: number;
1778
1778
  cost: number;
1779
1779
  prompt_tokens?: number;
1780
+ prompt_tokens_details?: PromptTokensDetails;
1780
1781
  /**
1781
1782
  * Total Tokens
1782
1783
  * @default 0
@@ -2661,6 +2662,19 @@ export interface PronunciationDict {
2661
2662
  tone_list?: string[];
2662
2663
  }
2663
2664
 
2665
+ export interface PromptTokensDetails {
2666
+ /**
2667
+ * Cache Write Tokens
2668
+ * @default 0
2669
+ */
2670
+ cache_write_tokens?: number;
2671
+ /**
2672
+ * Cached Tokens
2673
+ * @default 0
2674
+ */
2675
+ cached_tokens?: number;
2676
+ }
2677
+
2664
2678
  export interface PromptObject_1 {
2665
2679
  /**
2666
2680
  * Action
@@ -3283,6 +3297,48 @@ export interface MaskMetadata {
3283
3297
  score?: number;
3284
3298
  }
3285
3299
 
3300
+ export interface MapImageFile {
3301
+ /**
3302
+ * Content Type
3303
+ * @description The mime type of the file.
3304
+ * @example image/png
3305
+ */
3306
+ content_type?: string;
3307
+ /**
3308
+ * File Name
3309
+ * @description The name of the file. It will be auto-generated if not provided.
3310
+ * @example z9RV14K95DvU.png
3311
+ */
3312
+ file_name?: string;
3313
+ /**
3314
+ * File Size
3315
+ * @description The size of the file in bytes.
3316
+ * @example 4404019
3317
+ */
3318
+ file_size?: number;
3319
+ /**
3320
+ * Height
3321
+ * @description The height of the image
3322
+ */
3323
+ height?: number;
3324
+ /**
3325
+ * Map Type
3326
+ * @description Which PBR map this image represents.
3327
+ * @enum {string}
3328
+ */
3329
+ map_type: 'basecolor' | 'normal' | 'roughness' | 'metalness' | 'height';
3330
+ /**
3331
+ * Url
3332
+ * @description The URL where the file can be downloaded from.
3333
+ */
3334
+ url: string;
3335
+ /**
3336
+ * Width
3337
+ * @description The width of the image
3338
+ */
3339
+ width?: number;
3340
+ }
3341
+
3286
3342
  export interface LoudnormSummary {
3287
3343
  /**
3288
3344
  * Input Integrated
@@ -3902,6 +3958,30 @@ export interface ImageSize {
3902
3958
  width?: number;
3903
3959
  }
3904
3960
 
3961
+ export interface ImageReference {
3962
+ /**
3963
+ * Image Url
3964
+ * @description URL of the reference image
3965
+ * @example https://v3.fal.media/files/zebra/qL93Je8ezvzQgDOEzTjKF_KhGKZTEebZcDw6T5rwQPK_output.png
3966
+ */
3967
+ image_url: string;
3968
+ /**
3969
+ * Ref Name
3970
+ * @description A short name for this reference. Use @ref_name in the prompt to refer to this image.
3971
+ * @example character
3972
+ * @example dog
3973
+ * @example room
3974
+ */
3975
+ ref_name: string;
3976
+ /**
3977
+ * Type
3978
+ * @description Type of reference: 'subject' for character/object references, 'background' for scene/environment references
3979
+ * @default subject
3980
+ * @enum {string}
3981
+ */
3982
+ type?: 'subject' | 'background';
3983
+ }
3984
+
3905
3985
  export interface ImagePrompt {
3906
3986
  image_url?: string;
3907
3987
  /**
@@ -6507,6 +6587,30 @@ export interface AudioTimeSpan {
6507
6587
  start: number;
6508
6588
  }
6509
6589
 
6590
+ export interface AudioSetting25 {
6591
+ /**
6592
+ * Bitrate
6593
+ * @description Bitrate of generated audio
6594
+ * @default 256000
6595
+ * @enum {integer}
6596
+ */
6597
+ bitrate?: 32000 | 64000 | 128000 | 256000;
6598
+ /**
6599
+ * Format
6600
+ * @description Audio format
6601
+ * @default mp3
6602
+ * @enum {string}
6603
+ */
6604
+ format?: 'mp3' | 'wav' | 'pcm';
6605
+ /**
6606
+ * Sample Rate
6607
+ * @description Sample rate of generated audio
6608
+ * @default 44100
6609
+ * @enum {integer}
6610
+ */
6611
+ sample_rate?: 16000 | 24000 | 32000 | 44100;
6612
+ }
6613
+
6510
6614
  export interface AudioSetting_1 {
6511
6615
  /**
6512
6616
  * 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;