fal-endpoint-types 1.3.35 → 1.3.37
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 +1 -1
- package/types/fal/endpoints/components.d.ts +68 -14
- package/types/fal/endpoints/index.d.ts +31 -6
- package/types/fal/endpoints/schema.d.ts +1169 -1084
package/package.json
CHANGED
|
@@ -1745,19 +1745,6 @@ 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
|
-
|
|
1761
1748
|
export interface UsageInfo_1 {
|
|
1762
1749
|
/**
|
|
1763
1750
|
* Decode Time Ms
|
|
@@ -2305,6 +2292,53 @@ export interface SpeechTimestamp {
|
|
|
2305
2292
|
start: number;
|
|
2306
2293
|
}
|
|
2307
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
|
+
|
|
2308
2342
|
export interface Speaker {
|
|
2309
2343
|
audio_url: string;
|
|
2310
2344
|
prompt: string;
|
|
@@ -3609,7 +3643,22 @@ export interface KlingV3MultiPromptElement {
|
|
|
3609
3643
|
* @default 5
|
|
3610
3644
|
* @enum {string}
|
|
3611
3645
|
*/
|
|
3612
|
-
duration?:
|
|
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';
|
|
3613
3662
|
/**
|
|
3614
3663
|
* Prompt
|
|
3615
3664
|
* @description The prompt for this shot.
|
|
@@ -3646,6 +3695,11 @@ export interface KlingV3ComboElementInput {
|
|
|
3646
3695
|
* @description The video URL of the element. A request can only have one element with a video.
|
|
3647
3696
|
*/
|
|
3648
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;
|
|
3649
3703
|
}
|
|
3650
3704
|
|
|
3651
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;
|
|
@@ -2715,8 +2730,8 @@ declare global {
|
|
|
2715
2730
|
};
|
|
2716
2731
|
|
|
2717
2732
|
'fal-ai/ltx2-v2v-trainer': {
|
|
2718
|
-
input:
|
|
2719
|
-
output:
|
|
2733
|
+
input: { [x in string]: any };
|
|
2734
|
+
output: { [x in string]: any };
|
|
2720
2735
|
};
|
|
2721
2736
|
|
|
2722
2737
|
'fal-ai/ltx-video/image-to-video': {
|
|
@@ -3559,6 +3574,11 @@ declare global {
|
|
|
3559
3574
|
output: falEndpoints.IpAdapterFaceIdOutput;
|
|
3560
3575
|
};
|
|
3561
3576
|
|
|
3577
|
+
'fal-ai/inworld-tts': {
|
|
3578
|
+
input: falEndpoints.InworldTtsInput;
|
|
3579
|
+
output: falEndpoints.InworldTtsOutput;
|
|
3580
|
+
};
|
|
3581
|
+
|
|
3562
3582
|
'fal-ai/invisible-watermark': {
|
|
3563
3583
|
input: falEndpoints.InvisibleWatermarkInput;
|
|
3564
3584
|
output: falEndpoints.InvisibleWatermarkOutput;
|
|
@@ -4349,6 +4369,11 @@ declare global {
|
|
|
4349
4369
|
output: falEndpoints.GenfocusOutput;
|
|
4350
4370
|
};
|
|
4351
4371
|
|
|
4372
|
+
'fal-ai/gemini-tts': {
|
|
4373
|
+
input: falEndpoints.GeminiTtsInput;
|
|
4374
|
+
output: falEndpoints.GeminiTtsOutput;
|
|
4375
|
+
};
|
|
4376
|
+
|
|
4352
4377
|
'fal-ai/gemini-flash-edit/multi': {
|
|
4353
4378
|
input: falEndpoints.GeminiFlashEditMultiInput;
|
|
4354
4379
|
output: falEndpoints.GeminiFlashEditMultiOutput;
|
|
@@ -5460,8 +5485,8 @@ declare global {
|
|
|
5460
5485
|
};
|
|
5461
5486
|
|
|
5462
5487
|
'fal-ai/decart/lucy-5b/image-to-video': {
|
|
5463
|
-
input:
|
|
5464
|
-
output:
|
|
5488
|
+
input: { [x in string]: any };
|
|
5489
|
+
output: { [x in string]: any };
|
|
5465
5490
|
};
|
|
5466
5491
|
|
|
5467
5492
|
'fal-ai/ddcolor': {
|
|
@@ -5595,8 +5620,8 @@ declare global {
|
|
|
5595
5620
|
};
|
|
5596
5621
|
|
|
5597
5622
|
'fal-ai/calligrapher': {
|
|
5598
|
-
input:
|
|
5599
|
-
output:
|
|
5623
|
+
input: { [x in string]: any };
|
|
5624
|
+
output: { [x in string]: any };
|
|
5600
5625
|
};
|
|
5601
5626
|
|
|
5602
5627
|
'fal-ai/bytedance/video-stylize': {
|