fal-endpoint-types 1.3.55 → 1.3.56
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 +101 -21
- package/types/fal/endpoints/index.d.ts +57 -47
- package/types/fal/endpoints/schema.d.ts +4240 -4260
package/package.json
CHANGED
|
@@ -3490,6 +3490,31 @@ export interface RGBColor {
|
|
|
3490
3490
|
r?: number;
|
|
3491
3491
|
}
|
|
3492
3492
|
|
|
3493
|
+
export interface ReturnedSpeech {
|
|
3494
|
+
audio?: File;
|
|
3495
|
+
/**
|
|
3496
|
+
* Outcome
|
|
3497
|
+
* @description speech when audio holds the file, no_speech when no window of the input has speech (or it has no audio), failed when separating a window or building the file failed. The soundtracks come back either way.
|
|
3498
|
+
* @enum {string}
|
|
3499
|
+
*/
|
|
3500
|
+
outcome: 'speech' | 'no_speech' | 'failed';
|
|
3501
|
+
/**
|
|
3502
|
+
* Windows
|
|
3503
|
+
* @description Windows the input was separated in
|
|
3504
|
+
*/
|
|
3505
|
+
windows: number;
|
|
3506
|
+
/**
|
|
3507
|
+
* Windows Failed
|
|
3508
|
+
* @description Windows whose separation failed, or whose stem could not be read
|
|
3509
|
+
*/
|
|
3510
|
+
windows_failed: number;
|
|
3511
|
+
/**
|
|
3512
|
+
* Windows With Speech
|
|
3513
|
+
* @description Windows that held speech
|
|
3514
|
+
*/
|
|
3515
|
+
windows_with_speech: number;
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3493
3518
|
export interface Resolution {
|
|
3494
3519
|
/**
|
|
3495
3520
|
* Aspect Ratio
|
|
@@ -4214,6 +4239,24 @@ export interface OCRBoundingBox {
|
|
|
4214
4239
|
quad_boxes: BoundingBox[];
|
|
4215
4240
|
}
|
|
4216
4241
|
|
|
4242
|
+
export interface ObjectRLE {
|
|
4243
|
+
/**
|
|
4244
|
+
* Box
|
|
4245
|
+
* @description Bounding box of this object's mask in normalized cxcywh coordinates.
|
|
4246
|
+
*/
|
|
4247
|
+
box?: number[];
|
|
4248
|
+
/**
|
|
4249
|
+
* Object Id
|
|
4250
|
+
* @description The object's id, the same in every frame the object appears in.
|
|
4251
|
+
*/
|
|
4252
|
+
object_id: number;
|
|
4253
|
+
/**
|
|
4254
|
+
* Rle
|
|
4255
|
+
* @description Run Length Encoding of this object's mask.
|
|
4256
|
+
*/
|
|
4257
|
+
rle: string;
|
|
4258
|
+
}
|
|
4259
|
+
|
|
4217
4260
|
export interface ObjectDescription {
|
|
4218
4261
|
/**
|
|
4219
4262
|
* Action
|
|
@@ -5089,6 +5132,58 @@ export interface Lighting {
|
|
|
5089
5132
|
shadows?: string;
|
|
5090
5133
|
}
|
|
5091
5134
|
|
|
5135
|
+
export interface KlingV4Shot {
|
|
5136
|
+
/**
|
|
5137
|
+
* Duration
|
|
5138
|
+
* @description Shot duration in seconds.
|
|
5139
|
+
* @default 5
|
|
5140
|
+
*/
|
|
5141
|
+
duration?: number;
|
|
5142
|
+
/**
|
|
5143
|
+
* Prompt
|
|
5144
|
+
* @description The prompt for this shot.
|
|
5145
|
+
*/
|
|
5146
|
+
prompt: string;
|
|
5147
|
+
}
|
|
5148
|
+
|
|
5149
|
+
export interface KlingV4ImageElement {
|
|
5150
|
+
/**
|
|
5151
|
+
* Frontal Image Url
|
|
5152
|
+
* @description The frontal image of the element (main view).
|
|
5153
|
+
*
|
|
5154
|
+
* Max file size: 30.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s
|
|
5155
|
+
*/
|
|
5156
|
+
frontal_image_url: string;
|
|
5157
|
+
/**
|
|
5158
|
+
* Reference Image Urls
|
|
5159
|
+
* @description Additional views of the element from different angles (1-3).
|
|
5160
|
+
*/
|
|
5161
|
+
reference_image_urls: string[];
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5164
|
+
export interface KlingV4Element {
|
|
5165
|
+
/**
|
|
5166
|
+
* Frontal Image Url
|
|
5167
|
+
* @description The frontal image of the element (main view).
|
|
5168
|
+
*/
|
|
5169
|
+
frontal_image_url?: string;
|
|
5170
|
+
/**
|
|
5171
|
+
* Reference Image Urls
|
|
5172
|
+
* @description Additional views of the element from different angles (1-3).
|
|
5173
|
+
*/
|
|
5174
|
+
reference_image_urls?: string[];
|
|
5175
|
+
/**
|
|
5176
|
+
* Video Url
|
|
5177
|
+
* @description A video of the element, used instead of images (3-30s).
|
|
5178
|
+
*/
|
|
5179
|
+
video_url?: string;
|
|
5180
|
+
/**
|
|
5181
|
+
* Voice Id
|
|
5182
|
+
* @description Voice bound to this element. Create one with https://fal.ai/models/fal-ai/kling-video/create-voice
|
|
5183
|
+
*/
|
|
5184
|
+
voice_id?: string;
|
|
5185
|
+
}
|
|
5186
|
+
|
|
5092
5187
|
export interface KlingV3MultiPromptElement {
|
|
5093
5188
|
/**
|
|
5094
5189
|
* Duration
|
|
@@ -5155,21 +5250,6 @@ export interface KlingV3ComboElementInput {
|
|
|
5155
5250
|
voice_id?: string;
|
|
5156
5251
|
}
|
|
5157
5252
|
|
|
5158
|
-
export interface KeyframeTransition {
|
|
5159
|
-
/**
|
|
5160
|
-
* Duration
|
|
5161
|
-
* @description Duration of this transition in seconds
|
|
5162
|
-
* @default 5
|
|
5163
|
-
*/
|
|
5164
|
-
duration?: number;
|
|
5165
|
-
/**
|
|
5166
|
-
* Prompt
|
|
5167
|
-
* @description Specific prompt for this transition. Overrides the global prompt if provided.
|
|
5168
|
-
* @example null
|
|
5169
|
-
*/
|
|
5170
|
-
prompt?: string;
|
|
5171
|
-
}
|
|
5172
|
-
|
|
5173
5253
|
export interface Keyframe_1 {
|
|
5174
5254
|
/**
|
|
5175
5255
|
* Duration
|
|
@@ -5848,24 +5928,24 @@ export interface GrokToolsConfiguration {
|
|
|
5848
5928
|
/**
|
|
5849
5929
|
* @description xAI-managed web search; off unless enabled is set true.
|
|
5850
5930
|
* @default {
|
|
5851
|
-
* "
|
|
5931
|
+
* "enable_image_understanding": null,
|
|
5852
5932
|
* "allowed_domains": null,
|
|
5853
|
-
* "enabled": false,
|
|
5854
5933
|
* "excluded_domains": null,
|
|
5855
|
-
* "
|
|
5934
|
+
* "location": null,
|
|
5935
|
+
* "enabled": false
|
|
5856
5936
|
* }
|
|
5857
5937
|
*/
|
|
5858
5938
|
web_search?: GrokWebSearchTool;
|
|
5859
5939
|
/**
|
|
5860
5940
|
* @description xAI-managed X search; off unless enabled is set true.
|
|
5861
5941
|
* @default {
|
|
5942
|
+
* "from_date": null,
|
|
5862
5943
|
* "enable_image_understanding": null,
|
|
5863
|
-
* "
|
|
5944
|
+
* "allowed_x_handles": null,
|
|
5864
5945
|
* "to_date": null,
|
|
5865
5946
|
* "excluded_x_handles": null,
|
|
5866
|
-
* "allowed_x_handles": null,
|
|
5867
5947
|
* "enabled": false,
|
|
5868
|
-
* "
|
|
5948
|
+
* "enable_video_understanding": null
|
|
5869
5949
|
* }
|
|
5870
5950
|
*/
|
|
5871
5951
|
x_search?: GrokXSearchTool;
|
|
@@ -1044,6 +1044,36 @@ declare global {
|
|
|
1044
1044
|
output: { [x in string]: any };
|
|
1045
1045
|
};
|
|
1046
1046
|
|
|
1047
|
+
'kling/v4/video-to-video/edit': {
|
|
1048
|
+
input: falEndpoints.KlingV4VideoToVideoEditInput;
|
|
1049
|
+
output: falEndpoints.KlingV4VideoToVideoEditOutput;
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
'kling/v4/text-to-video': {
|
|
1053
|
+
input: falEndpoints.KlingV4TextToVideoInput;
|
|
1054
|
+
output: falEndpoints.KlingV4TextToVideoOutput;
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1057
|
+
'kling/v4/reference-to-video': {
|
|
1058
|
+
input: falEndpoints.KlingV4ReferenceToVideoInput;
|
|
1059
|
+
output: falEndpoints.KlingV4ReferenceToVideoOutput;
|
|
1060
|
+
};
|
|
1061
|
+
|
|
1062
|
+
'kling/v4/image-to-video': {
|
|
1063
|
+
input: falEndpoints.KlingV4ImageToVideoInput;
|
|
1064
|
+
output: falEndpoints.KlingV4ImageToVideoOutput;
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
'ideogram/vector/text-to-vector': {
|
|
1068
|
+
input: falEndpoints.IdeogramVectorTextToVectorInput;
|
|
1069
|
+
output: falEndpoints.IdeogramVectorTextToVectorOutput;
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
'ideogram/vector/image-to-vector': {
|
|
1073
|
+
input: falEndpoints.IdeogramVectorImageToVectorInput;
|
|
1074
|
+
output: falEndpoints.IdeogramVectorImageToVectorOutput;
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1047
1077
|
'ideogram/v4/trainer': {
|
|
1048
1078
|
input: falEndpoints.IdeogramV4TrainerInput;
|
|
1049
1079
|
output: falEndpoints.IdeogramV4TrainerOutput;
|
|
@@ -1139,6 +1169,31 @@ declare global {
|
|
|
1139
1169
|
output: falEndpoints.Hitem3dHi3dImageTo3dOutput;
|
|
1140
1170
|
};
|
|
1141
1171
|
|
|
1172
|
+
'heygen/heygen-voice/turbo': {
|
|
1173
|
+
input: falEndpoints.HeygenHeygenVoiceTurboInput;
|
|
1174
|
+
output: falEndpoints.HeygenHeygenVoiceTurboOutput;
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
'heygen/heygen-voice': {
|
|
1178
|
+
input: falEndpoints.HeygenHeygenVoiceInput;
|
|
1179
|
+
output: falEndpoints.HeygenHeygenVoiceOutput;
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
'heygen/heygen-video/text-to-video': {
|
|
1183
|
+
input: falEndpoints.HeygenHeygenVideoTextToVideoInput;
|
|
1184
|
+
output: falEndpoints.HeygenHeygenVideoTextToVideoOutput;
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
'heygen/heygen-video/reference-to-video': {
|
|
1188
|
+
input: falEndpoints.HeygenHeygenVideoReferenceToVideoInput;
|
|
1189
|
+
output: falEndpoints.HeygenHeygenVideoReferenceToVideoOutput;
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
'heygen/heygen-video/image-to-video': {
|
|
1193
|
+
input: falEndpoints.HeygenHeygenVideoImageToVideoInput;
|
|
1194
|
+
output: falEndpoints.HeygenHeygenVideoImageToVideoOutput;
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1142
1197
|
'google/virtual-try-on': {
|
|
1143
1198
|
input: falEndpoints.GoogleVirtualTryOnInput;
|
|
1144
1199
|
output: falEndpoints.GoogleVirtualTryOnOutput;
|
|
@@ -1589,11 +1644,6 @@ declare global {
|
|
|
1589
1644
|
output: falEndpoints.WanFlf2vOutput;
|
|
1590
1645
|
};
|
|
1591
1646
|
|
|
1592
|
-
'fal-ai/wan-effects': {
|
|
1593
|
-
input: falEndpoints.WanEffectsInput;
|
|
1594
|
-
output: falEndpoints.WanEffectsOutput;
|
|
1595
|
-
};
|
|
1596
|
-
|
|
1597
1647
|
'fal-ai/wan-25-preview/text-to-video': {
|
|
1598
1648
|
input: falEndpoints.Wan25PreviewTextToVideoInput;
|
|
1599
1649
|
output: falEndpoints.Wan25PreviewTextToVideoOutput;
|
|
@@ -2979,46 +3029,6 @@ declare global {
|
|
|
2979
3029
|
output: falEndpoints.Pixal3dOutput;
|
|
2980
3030
|
};
|
|
2981
3031
|
|
|
2982
|
-
'fal-ai/pika/v2/turbo/text-to-video': {
|
|
2983
|
-
input: falEndpoints.PikaV2TurboTextToVideoInput;
|
|
2984
|
-
output: falEndpoints.PikaV2TurboTextToVideoOutput;
|
|
2985
|
-
};
|
|
2986
|
-
|
|
2987
|
-
'fal-ai/pika/v2/turbo/image-to-video': {
|
|
2988
|
-
input: falEndpoints.PikaV2TurboImageToVideoInput;
|
|
2989
|
-
output: falEndpoints.PikaV2TurboImageToVideoOutput;
|
|
2990
|
-
};
|
|
2991
|
-
|
|
2992
|
-
'fal-ai/pika/v2.2/text-to-video': {
|
|
2993
|
-
input: falEndpoints.PikaV22TextToVideoInput;
|
|
2994
|
-
output: falEndpoints.PikaV22TextToVideoOutput;
|
|
2995
|
-
};
|
|
2996
|
-
|
|
2997
|
-
'fal-ai/pika/v2.2/pikascenes': {
|
|
2998
|
-
input: falEndpoints.PikaV22PikascenesInput;
|
|
2999
|
-
output: falEndpoints.PikaV22PikascenesOutput;
|
|
3000
|
-
};
|
|
3001
|
-
|
|
3002
|
-
'fal-ai/pika/v2.2/pikaframes': {
|
|
3003
|
-
input: falEndpoints.PikaV22PikaframesInput;
|
|
3004
|
-
output: falEndpoints.PikaV22PikaframesOutput;
|
|
3005
|
-
};
|
|
3006
|
-
|
|
3007
|
-
'fal-ai/pika/v2.2/image-to-video': {
|
|
3008
|
-
input: falEndpoints.PikaV22ImageToVideoInput;
|
|
3009
|
-
output: falEndpoints.PikaV22ImageToVideoOutput;
|
|
3010
|
-
};
|
|
3011
|
-
|
|
3012
|
-
'fal-ai/pika/v2.1/text-to-video': {
|
|
3013
|
-
input: falEndpoints.PikaV21TextToVideoInput;
|
|
3014
|
-
output: falEndpoints.PikaV21TextToVideoOutput;
|
|
3015
|
-
};
|
|
3016
|
-
|
|
3017
|
-
'fal-ai/pika/v2.1/image-to-video': {
|
|
3018
|
-
input: falEndpoints.PikaV21ImageToVideoInput;
|
|
3019
|
-
output: falEndpoints.PikaV21ImageToVideoOutput;
|
|
3020
|
-
};
|
|
3021
|
-
|
|
3022
3032
|
'fal-ai/photomaker': {
|
|
3023
3033
|
input: falEndpoints.PhotomakerInput;
|
|
3024
3034
|
output: falEndpoints.PhotomakerOutput;
|
|
@@ -6340,8 +6350,8 @@ declare global {
|
|
|
6340
6350
|
};
|
|
6341
6351
|
|
|
6342
6352
|
'fal-ai/fast-fooocus-sdxl/image-to-image': {
|
|
6343
|
-
input:
|
|
6344
|
-
output:
|
|
6353
|
+
input: { [x in string]: any };
|
|
6354
|
+
output: { [x in string]: any };
|
|
6345
6355
|
};
|
|
6346
6356
|
|
|
6347
6357
|
'fal-ai/fast-animatediff/video-to-video': {
|