fal-endpoint-types 1.3.36 → 1.3.38

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.36",
3
+ "version": "1.3.38",
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": {
@@ -2292,6 +2292,53 @@ export interface SpeechTimestamp {
2292
2292
  start: number;
2293
2293
  }
2294
2294
 
2295
+ export interface SpeakerConfig {
2296
+ /**
2297
+ * Speaker Id
2298
+ * @description Alias used to identify this speaker in the prompt. Use this alias as a prefix in the prompt field, e.g. 'Alice: Hello! Bob: Hi there!'. Must be alphanumeric with no whitespace.
2299
+ * @example Speaker1
2300
+ * @example Alice
2301
+ * @example Narrator
2302
+ */
2303
+ speaker_id: string;
2304
+ /**
2305
+ * Voice
2306
+ * @description Voice preset for this speaker.
2307
+ * @enum {string}
2308
+ */
2309
+ voice:
2310
+ | 'Achernar'
2311
+ | 'Achird'
2312
+ | 'Algenib'
2313
+ | 'Algieba'
2314
+ | 'Alnilam'
2315
+ | 'Aoede'
2316
+ | 'Autonoe'
2317
+ | 'Callirrhoe'
2318
+ | 'Charon'
2319
+ | 'Despina'
2320
+ | 'Enceladus'
2321
+ | 'Erinome'
2322
+ | 'Fenrir'
2323
+ | 'Gacrux'
2324
+ | 'Iapetus'
2325
+ | 'Kore'
2326
+ | 'Laomedeia'
2327
+ | 'Leda'
2328
+ | 'Orus'
2329
+ | 'Pulcherrima'
2330
+ | 'Puck'
2331
+ | 'Rasalgethi'
2332
+ | 'Sadachbia'
2333
+ | 'Sadaltager'
2334
+ | 'Schedar'
2335
+ | 'Sulafat'
2336
+ | 'Umbriel'
2337
+ | 'Vindemiatrix'
2338
+ | 'Zephyr'
2339
+ | 'Zubenelgenubi';
2340
+ }
2341
+
2295
2342
  export interface Speaker {
2296
2343
  audio_url: string;
2297
2344
  prompt: string;
@@ -3596,7 +3643,22 @@ export interface KlingV3MultiPromptElement {
3596
3643
  * @default 5
3597
3644
  * @enum {string}
3598
3645
  */
3599
- duration?: '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15';
3646
+ duration?:
3647
+ | '1'
3648
+ | '2'
3649
+ | '3'
3650
+ | '4'
3651
+ | '5'
3652
+ | '6'
3653
+ | '7'
3654
+ | '8'
3655
+ | '9'
3656
+ | '10'
3657
+ | '11'
3658
+ | '12'
3659
+ | '13'
3660
+ | '14'
3661
+ | '15';
3600
3662
  /**
3601
3663
  * Prompt
3602
3664
  * @description The prompt for this shot.
@@ -3633,6 +3695,11 @@ export interface KlingV3ComboElementInput {
3633
3695
  * @description The video URL of the element. A request can only have one element with a video.
3634
3696
  */
3635
3697
  video_url?: string;
3698
+ /**
3699
+ * Voice Id
3700
+ * @description The voice ID for this element. The voice will be binded to the element and references to this element will use the binded voice. Voice binding is only supported for video elements, and cannot be used with image elements. Get voice IDs from the following endpoint: https://fal.ai/models/fal-ai/kling-video/create-voice
3701
+ */
3702
+ voice_id?: string;
3636
3703
  }
3637
3704
 
3638
3705
  export interface KeyframeTransition {
@@ -14,11 +14,21 @@ declare global {
14
14
  output: falEndpoints.XaiGrokImagineVideoTextToVideoOutput;
15
15
  };
16
16
 
17
+ 'xai/grok-imagine-video/reference-to-video': {
18
+ input: falEndpoints.XaiGrokImagineVideoReferenceToVideoInput;
19
+ output: falEndpoints.XaiGrokImagineVideoReferenceToVideoOutput;
20
+ };
21
+
17
22
  'xai/grok-imagine-video/image-to-video': {
18
23
  input: falEndpoints.XaiGrokImagineVideoImageToVideoInput;
19
24
  output: falEndpoints.XaiGrokImagineVideoImageToVideoOutput;
20
25
  };
21
26
 
27
+ 'xai/grok-imagine-video/extend-video': {
28
+ input: falEndpoints.XaiGrokImagineVideoExtendVideoInput;
29
+ output: falEndpoints.XaiGrokImagineVideoExtendVideoOutput;
30
+ };
31
+
22
32
  'xai/grok-imagine-video/edit-video': {
23
33
  input: falEndpoints.XaiGrokImagineVideoEditVideoInput;
24
34
  output: falEndpoints.XaiGrokImagineVideoEditVideoOutput;
@@ -1244,6 +1254,11 @@ declare global {
1244
1254
  output: falEndpoints.SeedvrUpscaleVideoOutput;
1245
1255
  };
1246
1256
 
1257
+ 'fal-ai/seedvr/upscale/image/seamless': {
1258
+ input: falEndpoints.SeedvrUpscaleImageSeamlessInput;
1259
+ output: falEndpoints.SeedvrUpscaleImageSeamlessOutput;
1260
+ };
1261
+
1247
1262
  'fal-ai/seedvr/upscale/image': {
1248
1263
  input: falEndpoints.SeedvrUpscaleImageInput;
1249
1264
  output: falEndpoints.SeedvrUpscaleImageOutput;
@@ -2099,6 +2114,26 @@ declare global {
2099
2114
  output: falEndpoints.PhotomakerOutput;
2100
2115
  };
2101
2116
 
2117
+ 'fal-ai/phota/enhance': {
2118
+ input: falEndpoints.PhotaEnhanceInput;
2119
+ output: falEndpoints.PhotaEnhanceOutput;
2120
+ };
2121
+
2122
+ 'fal-ai/phota/edit': {
2123
+ input: falEndpoints.PhotaEditInput;
2124
+ output: falEndpoints.PhotaEditOutput;
2125
+ };
2126
+
2127
+ 'fal-ai/phota/create-profile': {
2128
+ input: falEndpoints.PhotaCreateProfileInput;
2129
+ output: falEndpoints.PhotaCreateProfileOutput;
2130
+ };
2131
+
2132
+ 'fal-ai/phota': {
2133
+ input: falEndpoints.PhotaInput;
2134
+ output: falEndpoints.PhotaOutput;
2135
+ };
2136
+
2102
2137
  'fal-ai/personaplex/realtime': {
2103
2138
  input: falEndpoints.PersonaplexRealtimeInput;
2104
2139
  output: falEndpoints.PersonaplexRealtimeOutput;
@@ -3559,6 +3594,11 @@ declare global {
3559
3594
  output: falEndpoints.IpAdapterFaceIdOutput;
3560
3595
  };
3561
3596
 
3597
+ 'fal-ai/inworld-tts': {
3598
+ input: falEndpoints.InworldTtsInput;
3599
+ output: falEndpoints.InworldTtsOutput;
3600
+ };
3601
+
3562
3602
  'fal-ai/invisible-watermark': {
3563
3603
  input: falEndpoints.InvisibleWatermarkInput;
3564
3604
  output: falEndpoints.InvisibleWatermarkOutput;
@@ -4039,6 +4079,11 @@ declare global {
4039
4079
  output: { [x in string]: any };
4040
4080
  };
4041
4081
 
4082
+ 'fal-ai/hy-wu-edit': {
4083
+ input: falEndpoints.HyWuEditInput;
4084
+ output: falEndpoints.HyWuEditOutput;
4085
+ };
4086
+
4042
4087
  'fal-ai/hunyuan3d/v2/turbo': {
4043
4088
  input: falEndpoints.Hunyuan3dV2TurboInput;
4044
4089
  output: falEndpoints.Hunyuan3dV2TurboOutput;
@@ -4349,6 +4394,11 @@ declare global {
4349
4394
  output: falEndpoints.GenfocusOutput;
4350
4395
  };
4351
4396
 
4397
+ 'fal-ai/gemini-tts': {
4398
+ input: falEndpoints.GeminiTtsInput;
4399
+ output: falEndpoints.GeminiTtsOutput;
4400
+ };
4401
+
4352
4402
  'fal-ai/gemini-flash-edit/multi': {
4353
4403
  input: falEndpoints.GeminiFlashEditMultiInput;
4354
4404
  output: falEndpoints.GeminiFlashEditMultiOutput;