fal-endpoint-types 1.3.13 → 1.3.15
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 +86 -13
- package/types/fal/endpoints/index.d.ts +95 -0
- package/types/fal/endpoints/schema.d.ts +1650 -160
- package/types/fal/index.d.ts +3 -5
package/package.json
CHANGED
|
@@ -85,6 +85,27 @@ export interface VoiceSetting {
|
|
|
85
85
|
vol?: number;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
export interface VoiceModify {
|
|
89
|
+
/**
|
|
90
|
+
* Intensity
|
|
91
|
+
* @description Intensity/energy of the voice. Range: -100 to 100. Higher values create more energetic speech.
|
|
92
|
+
* @default 0
|
|
93
|
+
*/
|
|
94
|
+
intensity?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Pitch
|
|
97
|
+
* @description Pitch adjustment in semitones. Range: -100 to 100. Positive values raise pitch, negative values lower it.
|
|
98
|
+
* @default 0
|
|
99
|
+
*/
|
|
100
|
+
pitch?: number;
|
|
101
|
+
/**
|
|
102
|
+
* Timbre
|
|
103
|
+
* @description Timbre adjustment. Range: -100 to 100. Affects the tonal quality of the voice.
|
|
104
|
+
* @default 0
|
|
105
|
+
*/
|
|
106
|
+
timbre?: number;
|
|
107
|
+
}
|
|
108
|
+
|
|
88
109
|
export interface VideoFormat {
|
|
89
110
|
/**
|
|
90
111
|
* Bitrate
|
|
@@ -1382,19 +1403,6 @@ export interface OmniVideoElementInput {
|
|
|
1382
1403
|
reference_image_urls?: string[];
|
|
1383
1404
|
}
|
|
1384
1405
|
|
|
1385
|
-
export interface OmniImageElementInput {
|
|
1386
|
-
/**
|
|
1387
|
-
* Frontal Image Url
|
|
1388
|
-
* @description The frontal image of the element (main view).
|
|
1389
|
-
*/
|
|
1390
|
-
frontal_image_url: string;
|
|
1391
|
-
/**
|
|
1392
|
-
* Reference Image Urls
|
|
1393
|
-
* @description Additional reference images from different angles. 1-3 images supported. At least one image is required.
|
|
1394
|
-
*/
|
|
1395
|
-
reference_image_urls?: string[];
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
1406
|
export interface OCRBoundingBox {
|
|
1399
1407
|
/**
|
|
1400
1408
|
* Quad Boxes
|
|
@@ -1910,6 +1918,58 @@ export interface Lighting {
|
|
|
1910
1918
|
shadows?: string;
|
|
1911
1919
|
}
|
|
1912
1920
|
|
|
1921
|
+
export interface KlingV3MultiPromptElement {
|
|
1922
|
+
/**
|
|
1923
|
+
* Duration
|
|
1924
|
+
* @description The duration of this shot in seconds
|
|
1925
|
+
* @default 5
|
|
1926
|
+
* @enum {string}
|
|
1927
|
+
*/
|
|
1928
|
+
duration?: '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15';
|
|
1929
|
+
/**
|
|
1930
|
+
* Prompt
|
|
1931
|
+
* @description The prompt for this shot.
|
|
1932
|
+
*/
|
|
1933
|
+
prompt: string;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
export interface KlingV3ImageElementInput {
|
|
1937
|
+
/**
|
|
1938
|
+
* Frontal Image Url
|
|
1939
|
+
* @description The frontal image of the element (main view).
|
|
1940
|
+
*
|
|
1941
|
+
* Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s
|
|
1942
|
+
*/
|
|
1943
|
+
frontal_image_url?: string;
|
|
1944
|
+
/**
|
|
1945
|
+
* Reference Image Urls
|
|
1946
|
+
* @description Additional reference images from different angles. 1-3 images supported. At least one image is required.
|
|
1947
|
+
*/
|
|
1948
|
+
reference_image_urls?: string[];
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
export interface KlingV3ComboElementInput {
|
|
1952
|
+
/**
|
|
1953
|
+
* Frontal Image Url
|
|
1954
|
+
* @description The frontal image of the element (main view).
|
|
1955
|
+
*
|
|
1956
|
+
* Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s
|
|
1957
|
+
*/
|
|
1958
|
+
frontal_image_url?: string;
|
|
1959
|
+
/**
|
|
1960
|
+
* Reference Image Urls
|
|
1961
|
+
* @description Additional reference images from different angles. 1-3 images supported. At least one image is required.
|
|
1962
|
+
*/
|
|
1963
|
+
reference_image_urls?: string[];
|
|
1964
|
+
/**
|
|
1965
|
+
* Video Url
|
|
1966
|
+
* @description The video URL of the element. A request can only have one element with a video.
|
|
1967
|
+
*
|
|
1968
|
+
* Max file size: 200.0MB, Min width: 720px, Min height: 720px, Max width: 2160px, Max height: 2160px, Min duration: 3.0s, Max duration: 10.05s, Min FPS: 24.0, Max FPS: 60.0, Timeout: 30.0s
|
|
1969
|
+
*/
|
|
1970
|
+
video_url?: string;
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1913
1973
|
export interface KeyframeTransition {
|
|
1914
1974
|
/**
|
|
1915
1975
|
* Duration
|
|
@@ -2667,6 +2727,19 @@ export interface Embedding {
|
|
|
2667
2727
|
tokens?: string[];
|
|
2668
2728
|
}
|
|
2669
2729
|
|
|
2730
|
+
export interface ElementInput {
|
|
2731
|
+
/**
|
|
2732
|
+
* Frontal Image Url
|
|
2733
|
+
* @description The frontal image of the element (main view). Optional.
|
|
2734
|
+
*/
|
|
2735
|
+
frontal_image_url?: string;
|
|
2736
|
+
/**
|
|
2737
|
+
* Reference Image Urls
|
|
2738
|
+
* @description Additional reference images from different angles. 0-3 images supported. Optional.
|
|
2739
|
+
*/
|
|
2740
|
+
reference_image_urls?: string[];
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2670
2743
|
export interface EasyControlWeight {
|
|
2671
2744
|
/**
|
|
2672
2745
|
* Control Method Url
|
|
@@ -2259,6 +2259,16 @@ declare global {
|
|
|
2259
2259
|
output: falEndpoints.MinimaxVideo01Output;
|
|
2260
2260
|
};
|
|
2261
2261
|
|
|
2262
|
+
'fal-ai/minimax/speech-2.8-turbo': {
|
|
2263
|
+
input: falEndpoints.MinimaxSpeech28TurboInput;
|
|
2264
|
+
output: falEndpoints.MinimaxSpeech28TurboOutput;
|
|
2265
|
+
};
|
|
2266
|
+
|
|
2267
|
+
'fal-ai/minimax/speech-2.8-hd': {
|
|
2268
|
+
input: falEndpoints.MinimaxSpeech28HdInput;
|
|
2269
|
+
output: falEndpoints.MinimaxSpeech28HdOutput;
|
|
2270
|
+
};
|
|
2271
|
+
|
|
2262
2272
|
'fal-ai/minimax/speech-2.6-turbo': {
|
|
2263
2273
|
input: falEndpoints.MinimaxSpeech26TurboInput;
|
|
2264
2274
|
output: falEndpoints.MinimaxSpeech26TurboOutput;
|
|
@@ -2984,6 +2994,26 @@ declare global {
|
|
|
2984
2994
|
output: falEndpoints.KlingVideoVideoToAudioOutput;
|
|
2985
2995
|
};
|
|
2986
2996
|
|
|
2997
|
+
'fal-ai/kling-video/v3/standard/text-to-video': {
|
|
2998
|
+
input: falEndpoints.KlingVideoV3StandardTextToVideoInput;
|
|
2999
|
+
output: falEndpoints.KlingVideoV3StandardTextToVideoOutput;
|
|
3000
|
+
};
|
|
3001
|
+
|
|
3002
|
+
'fal-ai/kling-video/v3/standard/image-to-video': {
|
|
3003
|
+
input: falEndpoints.KlingVideoV3StandardImageToVideoInput;
|
|
3004
|
+
output: falEndpoints.KlingVideoV3StandardImageToVideoOutput;
|
|
3005
|
+
};
|
|
3006
|
+
|
|
3007
|
+
'fal-ai/kling-video/v3/pro/text-to-video': {
|
|
3008
|
+
input: falEndpoints.KlingVideoV3ProTextToVideoInput;
|
|
3009
|
+
output: falEndpoints.KlingVideoV3ProTextToVideoOutput;
|
|
3010
|
+
};
|
|
3011
|
+
|
|
3012
|
+
'fal-ai/kling-video/v3/pro/image-to-video': {
|
|
3013
|
+
input: falEndpoints.KlingVideoV3ProImageToVideoInput;
|
|
3014
|
+
output: falEndpoints.KlingVideoV3ProImageToVideoOutput;
|
|
3015
|
+
};
|
|
3016
|
+
|
|
2987
3017
|
'fal-ai/kling-video/v2/master/text-to-video': {
|
|
2988
3018
|
input: falEndpoints.KlingVideoV2MasterTextToVideoInput;
|
|
2989
3019
|
output: falEndpoints.KlingVideoV2MasterTextToVideoOutput;
|
|
@@ -3144,6 +3174,51 @@ declare global {
|
|
|
3144
3174
|
output: falEndpoints.KlingVideoV15ProEffectsOutput;
|
|
3145
3175
|
};
|
|
3146
3176
|
|
|
3177
|
+
'fal-ai/kling-video/o3/standard/video-to-video/reference': {
|
|
3178
|
+
input: falEndpoints.KlingVideoO3StandardVideoToVideoReferenceInput;
|
|
3179
|
+
output: falEndpoints.KlingVideoO3StandardVideoToVideoReferenceOutput;
|
|
3180
|
+
};
|
|
3181
|
+
|
|
3182
|
+
'fal-ai/kling-video/o3/standard/video-to-video/edit': {
|
|
3183
|
+
input: falEndpoints.KlingVideoO3StandardVideoToVideoEditInput;
|
|
3184
|
+
output: falEndpoints.KlingVideoO3StandardVideoToVideoEditOutput;
|
|
3185
|
+
};
|
|
3186
|
+
|
|
3187
|
+
'fal-ai/kling-video/o3/standard/reference-to-video': {
|
|
3188
|
+
input: falEndpoints.KlingVideoO3StandardReferenceToVideoInput;
|
|
3189
|
+
output: falEndpoints.KlingVideoO3StandardReferenceToVideoOutput;
|
|
3190
|
+
};
|
|
3191
|
+
|
|
3192
|
+
'fal-ai/kling-video/o3/standard/image-to-video': {
|
|
3193
|
+
input: falEndpoints.KlingVideoO3StandardImageToVideoInput;
|
|
3194
|
+
output: falEndpoints.KlingVideoO3StandardImageToVideoOutput;
|
|
3195
|
+
};
|
|
3196
|
+
|
|
3197
|
+
'fal-ai/kling-video/o3/pro/video-to-video/reference': {
|
|
3198
|
+
input: falEndpoints.KlingVideoO3ProVideoToVideoReferenceInput;
|
|
3199
|
+
output: falEndpoints.KlingVideoO3ProVideoToVideoReferenceOutput;
|
|
3200
|
+
};
|
|
3201
|
+
|
|
3202
|
+
'fal-ai/kling-video/o3/pro/video-to-video/edit': {
|
|
3203
|
+
input: falEndpoints.KlingVideoO3ProVideoToVideoEditInput;
|
|
3204
|
+
output: falEndpoints.KlingVideoO3ProVideoToVideoEditOutput;
|
|
3205
|
+
};
|
|
3206
|
+
|
|
3207
|
+
'fal-ai/kling-video/o3/pro/text-to-video': {
|
|
3208
|
+
input: falEndpoints.KlingVideoO3ProTextToVideoInput;
|
|
3209
|
+
output: falEndpoints.KlingVideoO3ProTextToVideoOutput;
|
|
3210
|
+
};
|
|
3211
|
+
|
|
3212
|
+
'fal-ai/kling-video/o3/pro/reference-to-video': {
|
|
3213
|
+
input: falEndpoints.KlingVideoO3ProReferenceToVideoInput;
|
|
3214
|
+
output: falEndpoints.KlingVideoO3ProReferenceToVideoOutput;
|
|
3215
|
+
};
|
|
3216
|
+
|
|
3217
|
+
'fal-ai/kling-video/o3/pro/image-to-video': {
|
|
3218
|
+
input: falEndpoints.KlingVideoO3ProImageToVideoInput;
|
|
3219
|
+
output: falEndpoints.KlingVideoO3ProImageToVideoOutput;
|
|
3220
|
+
};
|
|
3221
|
+
|
|
3147
3222
|
'fal-ai/kling-video/o1/video-to-video/reference': {
|
|
3148
3223
|
input: falEndpoints.KlingVideoO1VideoToVideoReferenceInput;
|
|
3149
3224
|
output: falEndpoints.KlingVideoO1VideoToVideoReferenceOutput;
|
|
@@ -3209,6 +3284,26 @@ declare global {
|
|
|
3209
3284
|
output: falEndpoints.KlingVideoAiAvatarV2ProOutput;
|
|
3210
3285
|
};
|
|
3211
3286
|
|
|
3287
|
+
'fal-ai/kling-image/v3/text-to-image': {
|
|
3288
|
+
input: falEndpoints.KlingImageV3TextToImageInput;
|
|
3289
|
+
output: falEndpoints.KlingImageV3TextToImageOutput;
|
|
3290
|
+
};
|
|
3291
|
+
|
|
3292
|
+
'fal-ai/kling-image/v3/image-to-image': {
|
|
3293
|
+
input: falEndpoints.KlingImageV3ImageToImageInput;
|
|
3294
|
+
output: falEndpoints.KlingImageV3ImageToImageOutput;
|
|
3295
|
+
};
|
|
3296
|
+
|
|
3297
|
+
'fal-ai/kling-image/o3/text-to-image': {
|
|
3298
|
+
input: falEndpoints.KlingImageO3TextToImageInput;
|
|
3299
|
+
output: falEndpoints.KlingImageO3TextToImageOutput;
|
|
3300
|
+
};
|
|
3301
|
+
|
|
3302
|
+
'fal-ai/kling-image/o3/image-to-image': {
|
|
3303
|
+
input: falEndpoints.KlingImageO3ImageToImageInput;
|
|
3304
|
+
output: falEndpoints.KlingImageO3ImageToImageOutput;
|
|
3305
|
+
};
|
|
3306
|
+
|
|
3212
3307
|
'fal-ai/kling-image/o1': {
|
|
3213
3308
|
input: falEndpoints.KlingImageO1Input;
|
|
3214
3309
|
output: falEndpoints.KlingImageO1Output;
|