@apteva/integrations 0.15.10 → 0.15.12
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/dist/http-executor.d.ts.map +1 -1
- package/dist/http-executor.js +144 -8
- package/dist/http-executor.js.map +1 -1
- package/dist/mcp-generator.js +24 -0
- package/dist/mcp-generator.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apps/anthropic-admin.json +183 -0
- package/src/apps/aws-ses.json +1 -1
- package/src/apps/braintree.json +53 -0
- package/src/apps/bunny-stream.json +50 -28
- package/src/apps/ccbill.json +142 -0
- package/src/apps/close.json +238 -301
- package/src/apps/craftcloud.json +251 -202
- package/src/apps/dataforseo.json +1700 -2
- package/src/apps/deepgram.json +288 -1
- package/src/apps/elevenlabs.json +9 -0
- package/src/apps/fal-ai.json +278 -290
- package/src/apps/gladia.json +158 -0
- package/src/apps/gmail.json +2 -5
- package/src/apps/gumroad.json +569 -0
- package/src/apps/imaterialise.json +171 -262
- package/src/apps/jlcpcb.json +43 -0
- package/src/apps/jungle-scout.json +166 -0
- package/src/apps/kling-ai.json +197 -161
- package/src/apps/ko-fi.json +34 -0
- package/src/apps/leadbyte.json +16 -54
- package/src/apps/lemon-squeezy.json +270 -0
- package/src/apps/mollie.json +219 -0
- package/src/apps/paddle.json +199 -9
- package/src/apps/payhip.json +162 -0
- package/src/apps/paystack.json +207 -0
- package/src/apps/pipedrive.json +221 -212
- package/src/apps/razorpay.json +207 -0
- package/src/apps/replicate.json +315 -61
- package/src/apps/ringover.json +69 -0
- package/src/apps/runpod.json +727 -0
- package/src/apps/runway.json +386 -0
- package/src/apps/salesforce-crm.json +192 -233
- package/src/apps/sculpteo.json +98 -180
- package/src/apps/segpay.json +215 -0
- package/src/apps/shapeways.json +114 -136
- package/src/apps/slant3d.json +260 -168
- package/src/apps/soniox.json +194 -0
- package/src/apps/speechmatics.json +167 -0
- package/src/apps/stability-ai.json +356 -0
- package/src/apps/stripe.json +1 -0
- package/src/apps/surfer.json +511 -0
- package/src/apps/twitter-api.json +19 -21
- package/src/apps/verotel.json +124 -0
- package/src/apps/whop.json +364 -0
- package/src/apps/zendesk-sell.json +248 -0
- package/src/apps/zendesk.json +190 -259
package/src/apps/fal-ai.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "fal-ai",
|
|
3
3
|
"name": "fal.ai",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "fal.ai generative media and inference API. Supports synchronous model calls, async queue calls, model discovery, pricing estimates, usage, billing events, request payload deletion, serverless files, logs, metrics, and compute instances.",
|
|
5
5
|
"logo": "https://fal.ai/favicon.png",
|
|
6
6
|
"categories": [
|
|
7
7
|
"ai",
|
|
8
8
|
"inference",
|
|
9
9
|
"image-generation",
|
|
10
|
-
"video",
|
|
10
|
+
"video-generation",
|
|
11
11
|
"audio",
|
|
12
12
|
"3d",
|
|
13
13
|
"llm",
|
|
@@ -15,386 +15,374 @@
|
|
|
15
15
|
],
|
|
16
16
|
"base_url": "https://fal.run",
|
|
17
17
|
"auth": {
|
|
18
|
-
"types": [
|
|
19
|
-
"bearer"
|
|
20
|
-
],
|
|
18
|
+
"types": ["bearer"],
|
|
21
19
|
"headers": {
|
|
22
|
-
"Authorization": "Key {{token}}"
|
|
20
|
+
"Authorization": "Key {{token}}",
|
|
21
|
+
"Content-Type": "application/json"
|
|
23
22
|
},
|
|
24
23
|
"credential_fields": [
|
|
25
24
|
{
|
|
26
25
|
"name": "token",
|
|
27
|
-
"label": "
|
|
28
|
-
"
|
|
26
|
+
"label": "API Key",
|
|
27
|
+
"type": "password",
|
|
28
|
+
"description": "fal.ai API key from https://fal.ai/dashboard/keys."
|
|
29
29
|
}
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
+
"health_check": {
|
|
33
|
+
"tool": "list_models"
|
|
34
|
+
},
|
|
32
35
|
"tools": [
|
|
33
36
|
{
|
|
34
37
|
"name": "run",
|
|
35
|
-
"description": "Run a fal
|
|
38
|
+
"description": "Run a fal model synchronously via POST https://fal.run/{model_id}. Use for fast models. Pass the model's common inputs directly; model-specific inputs can be included as extra top-level fields if the model schema requires them.",
|
|
36
39
|
"method": "POST",
|
|
37
40
|
"path": "/{model_id}",
|
|
41
|
+
"timeout_ms": 600000,
|
|
38
42
|
"input_schema": {
|
|
39
43
|
"type": "object",
|
|
44
|
+
"additionalProperties": true,
|
|
40
45
|
"properties": {
|
|
41
|
-
"model_id": {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
"
|
|
46
|
-
"type": "string",
|
|
47
|
-
"description": "Text prompt for generation (for image/video/audio models)"
|
|
48
|
-
},
|
|
49
|
-
"image_url": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"description": "Input image URL (for image-to-image, upscaling, or vision models)"
|
|
52
|
-
},
|
|
53
|
-
"audio_url": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"description": "Input audio URL (for transcription or audio processing models)"
|
|
56
|
-
},
|
|
46
|
+
"model_id": { "type": "string", "description": "fal endpoint id, e.g. fal-ai/flux/dev, fal-ai/fast-sdxl, fal-ai/whisper." },
|
|
47
|
+
"prompt": { "type": "string", "description": "Text prompt for image, video, audio, 3D, or LLM models." },
|
|
48
|
+
"image_url": { "type": "string", "description": "Input image URL for image-to-image, video, vision, or upscaling models." },
|
|
49
|
+
"audio_url": { "type": "string", "description": "Input audio URL for speech, transcription, or audio processing models." },
|
|
50
|
+
"video_url": { "type": "string", "description": "Input video URL for video-to-video or video analysis models." },
|
|
57
51
|
"image_size": {
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"type": "
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"type": "integer",
|
|
67
|
-
"description": "Image height in pixels"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"num_images": {
|
|
72
|
-
"type": "integer",
|
|
73
|
-
"description": "Number of images to generate",
|
|
74
|
-
"minimum": 1,
|
|
75
|
-
"maximum": 4,
|
|
76
|
-
"default": 1
|
|
77
|
-
},
|
|
78
|
-
"num_inference_steps": {
|
|
79
|
-
"type": "integer",
|
|
80
|
-
"description": "Number of inference steps (higher = better quality, slower)"
|
|
81
|
-
},
|
|
82
|
-
"guidance_scale": {
|
|
83
|
-
"type": "number",
|
|
84
|
-
"description": "Guidance scale for diffusion models (higher = more prompt adherence)"
|
|
85
|
-
},
|
|
86
|
-
"seed": {
|
|
87
|
-
"type": "integer",
|
|
88
|
-
"description": "Random seed for reproducible results"
|
|
89
|
-
},
|
|
90
|
-
"negative_prompt": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"description": "Negative prompt to avoid certain features in generation"
|
|
93
|
-
},
|
|
94
|
-
"loras": {
|
|
95
|
-
"type": "array",
|
|
96
|
-
"description": "LoRA weights to apply [{path, scale}]",
|
|
97
|
-
"items": {
|
|
98
|
-
"type": "object",
|
|
99
|
-
"properties": {
|
|
100
|
-
"path": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"description": "LoRA model path or URL"
|
|
52
|
+
"description": "Image dimensions or preset. Common values include square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9, or {width,height}.",
|
|
53
|
+
"oneOf": [
|
|
54
|
+
{ "type": "string" },
|
|
55
|
+
{
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"width": { "type": "integer" },
|
|
59
|
+
"height": { "type": "integer" }
|
|
103
60
|
},
|
|
104
|
-
"
|
|
105
|
-
"type": "number",
|
|
106
|
-
"description": "LoRA weight scale",
|
|
107
|
-
"default": 1
|
|
108
|
-
}
|
|
61
|
+
"required": ["width", "height"]
|
|
109
62
|
}
|
|
110
|
-
|
|
63
|
+
]
|
|
111
64
|
},
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
65
|
+
"num_images": { "type": "integer", "description": "Number of images to generate.", "minimum": 1, "maximum": 16 },
|
|
66
|
+
"num_inference_steps": { "type": "integer", "description": "Diffusion steps, when supported by the model." },
|
|
67
|
+
"guidance_scale": { "type": "number", "description": "Prompt guidance scale, when supported by the model." },
|
|
68
|
+
"negative_prompt": { "type": "string", "description": "Negative prompt, when supported by the model." },
|
|
69
|
+
"seed": { "type": "integer", "description": "Seed for reproducible generation." },
|
|
70
|
+
"enable_safety_checker": { "type": "boolean", "description": "Enable the model safety checker, when supported." },
|
|
71
|
+
"sync_mode": { "type": "boolean", "description": "Ask supported image models to return data directly instead of hosted URLs." }
|
|
117
72
|
},
|
|
118
|
-
"required": [
|
|
119
|
-
"model_id"
|
|
120
|
-
]
|
|
73
|
+
"required": ["model_id"]
|
|
121
74
|
}
|
|
122
75
|
},
|
|
123
76
|
{
|
|
124
77
|
"name": "queue_submit",
|
|
125
|
-
"description": "Submit a model request to the
|
|
78
|
+
"description": "Submit a fal model request to the async queue via POST https://queue.fal.run/{model_id}. Use for video generation, long audio, training, and other slow jobs.",
|
|
79
|
+
"base_url": "https://queue.fal.run",
|
|
126
80
|
"method": "POST",
|
|
127
81
|
"path": "/{model_id}",
|
|
82
|
+
"timeout_ms": 120000,
|
|
128
83
|
"input_schema": {
|
|
129
84
|
"type": "object",
|
|
85
|
+
"additionalProperties": true,
|
|
130
86
|
"properties": {
|
|
131
|
-
"model_id": {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
},
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
},
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
"audio_url": {
|
|
144
|
-
"type": "string",
|
|
145
|
-
"description": "Input audio URL"
|
|
146
|
-
},
|
|
147
|
-
"image_size": {
|
|
148
|
-
"type": "object",
|
|
149
|
-
"description": "Image dimensions {width, height}",
|
|
150
|
-
"properties": {
|
|
151
|
-
"width": {
|
|
152
|
-
"type": "integer"
|
|
153
|
-
},
|
|
154
|
-
"height": {
|
|
155
|
-
"type": "integer"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"num_images": {
|
|
160
|
-
"type": "integer",
|
|
161
|
-
"description": "Number of images to generate",
|
|
162
|
-
"minimum": 1,
|
|
163
|
-
"maximum": 4,
|
|
164
|
-
"default": 1
|
|
165
|
-
},
|
|
166
|
-
"num_inference_steps": {
|
|
167
|
-
"type": "integer",
|
|
168
|
-
"description": "Number of inference steps"
|
|
169
|
-
},
|
|
170
|
-
"guidance_scale": {
|
|
171
|
-
"type": "number",
|
|
172
|
-
"description": "Guidance scale for diffusion models"
|
|
173
|
-
},
|
|
174
|
-
"seed": {
|
|
175
|
-
"type": "integer",
|
|
176
|
-
"description": "Random seed for reproducibility"
|
|
177
|
-
},
|
|
178
|
-
"negative_prompt": {
|
|
179
|
-
"type": "string",
|
|
180
|
-
"description": "Negative prompt"
|
|
181
|
-
},
|
|
182
|
-
"loras": {
|
|
183
|
-
"type": "array",
|
|
184
|
-
"description": "LoRA weights [{path, scale}]",
|
|
185
|
-
"items": {
|
|
186
|
-
"type": "object",
|
|
187
|
-
"properties": {
|
|
188
|
-
"path": {
|
|
189
|
-
"type": "string"
|
|
190
|
-
},
|
|
191
|
-
"scale": {
|
|
192
|
-
"type": "number",
|
|
193
|
-
"default": 1
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"webhook_url": {
|
|
199
|
-
"type": "string",
|
|
200
|
-
"description": "Webhook URL to receive completion notification instead of polling"
|
|
201
|
-
}
|
|
87
|
+
"model_id": { "type": "string", "description": "fal endpoint id, e.g. fal-ai/kling-video/v2.1/master/text-to-video or fal-ai/minimax/video-01." },
|
|
88
|
+
"prompt": { "type": "string", "description": "Text prompt." },
|
|
89
|
+
"image_url": { "type": "string", "description": "Input image URL." },
|
|
90
|
+
"audio_url": { "type": "string", "description": "Input audio URL." },
|
|
91
|
+
"video_url": { "type": "string", "description": "Input video URL." },
|
|
92
|
+
"image_size": { "type": ["string", "object"], "description": "Model-supported image size preset or {width,height}." },
|
|
93
|
+
"num_images": { "type": "integer", "minimum": 1, "maximum": 16 },
|
|
94
|
+
"num_inference_steps": { "type": "integer" },
|
|
95
|
+
"guidance_scale": { "type": "number" },
|
|
96
|
+
"negative_prompt": { "type": "string" },
|
|
97
|
+
"seed": { "type": "integer" },
|
|
98
|
+
"webhook_url": { "type": "string", "description": "Optional webhook URL for completion callbacks." }
|
|
202
99
|
},
|
|
203
|
-
"required": [
|
|
204
|
-
"model_id"
|
|
205
|
-
]
|
|
100
|
+
"required": ["model_id"]
|
|
206
101
|
}
|
|
207
102
|
},
|
|
208
103
|
{
|
|
209
104
|
"name": "queue_status",
|
|
210
|
-
"description": "Check
|
|
105
|
+
"description": "Check a fal queue request status via GET /{model_id}/requests/{request_id}/status.",
|
|
106
|
+
"base_url": "https://queue.fal.run",
|
|
211
107
|
"method": "GET",
|
|
212
108
|
"path": "/{model_id}/requests/{request_id}/status",
|
|
213
109
|
"input_schema": {
|
|
214
110
|
"type": "object",
|
|
215
111
|
"properties": {
|
|
216
|
-
"model_id": {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
},
|
|
220
|
-
"request_id": {
|
|
221
|
-
"type": "string",
|
|
222
|
-
"description": "Request ID returned from queue submission"
|
|
223
|
-
}
|
|
112
|
+
"model_id": { "type": "string" },
|
|
113
|
+
"request_id": { "type": "string" },
|
|
114
|
+
"logs": { "type": "integer", "description": "Set to 1 to include logs in the status response.", "enum": [0, 1] }
|
|
224
115
|
},
|
|
225
|
-
"required": [
|
|
226
|
-
"model_id",
|
|
227
|
-
"request_id"
|
|
228
|
-
]
|
|
116
|
+
"required": ["model_id", "request_id"]
|
|
229
117
|
}
|
|
230
118
|
},
|
|
231
119
|
{
|
|
232
120
|
"name": "queue_result",
|
|
233
|
-
"description": "
|
|
121
|
+
"description": "Fetch a completed fal queue response via GET /{model_id}/requests/{request_id}/response.",
|
|
122
|
+
"base_url": "https://queue.fal.run",
|
|
234
123
|
"method": "GET",
|
|
235
|
-
"path": "/{model_id}/requests/{request_id}",
|
|
124
|
+
"path": "/{model_id}/requests/{request_id}/response",
|
|
236
125
|
"input_schema": {
|
|
237
126
|
"type": "object",
|
|
238
127
|
"properties": {
|
|
239
|
-
"model_id": {
|
|
240
|
-
|
|
241
|
-
"description": "Model endpoint ID used in the original request"
|
|
242
|
-
},
|
|
243
|
-
"request_id": {
|
|
244
|
-
"type": "string",
|
|
245
|
-
"description": "Request ID returned from queue submission"
|
|
246
|
-
}
|
|
128
|
+
"model_id": { "type": "string" },
|
|
129
|
+
"request_id": { "type": "string" }
|
|
247
130
|
},
|
|
248
|
-
"required": [
|
|
249
|
-
"model_id",
|
|
250
|
-
"request_id"
|
|
251
|
-
]
|
|
131
|
+
"required": ["model_id", "request_id"]
|
|
252
132
|
}
|
|
253
133
|
},
|
|
254
134
|
{
|
|
255
135
|
"name": "queue_cancel",
|
|
256
|
-
"description": "Cancel a pending or
|
|
136
|
+
"description": "Cancel a pending or running fal queue request.",
|
|
137
|
+
"base_url": "https://queue.fal.run",
|
|
257
138
|
"method": "PUT",
|
|
258
139
|
"path": "/{model_id}/requests/{request_id}/cancel",
|
|
259
140
|
"input_schema": {
|
|
260
141
|
"type": "object",
|
|
261
142
|
"properties": {
|
|
262
|
-
"model_id": {
|
|
263
|
-
|
|
264
|
-
"description": "Model endpoint ID"
|
|
265
|
-
},
|
|
266
|
-
"request_id": {
|
|
267
|
-
"type": "string",
|
|
268
|
-
"description": "Request ID to cancel"
|
|
269
|
-
}
|
|
143
|
+
"model_id": { "type": "string" },
|
|
144
|
+
"request_id": { "type": "string" }
|
|
270
145
|
},
|
|
271
|
-
"required": [
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
146
|
+
"required": ["model_id", "request_id"]
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "list_models",
|
|
151
|
+
"description": "List or search fal model endpoints from the platform API.",
|
|
152
|
+
"base_url": "https://api.fal.ai/v1",
|
|
153
|
+
"method": "GET",
|
|
154
|
+
"path": "/models",
|
|
155
|
+
"input_schema": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"properties": {
|
|
158
|
+
"q": { "type": "string", "description": "Search query." },
|
|
159
|
+
"endpoint_id": { "type": "string", "description": "Filter by exact endpoint id." },
|
|
160
|
+
"category": { "type": "string", "description": "Filter by category such as text-to-image, image-to-video, speech-to-text, or llm." },
|
|
161
|
+
"status": { "type": "string", "description": "Filter by model status." },
|
|
162
|
+
"expand": { "type": "string", "description": "Use openapi-3.0 to include endpoint OpenAPI schemas when available.", "enum": ["openapi-3.0"] },
|
|
163
|
+
"limit": { "type": "integer", "minimum": 1, "maximum": 100 },
|
|
164
|
+
"cursor": { "type": "string" }
|
|
165
|
+
}
|
|
275
166
|
}
|
|
276
167
|
},
|
|
277
168
|
{
|
|
278
|
-
"name": "
|
|
279
|
-
"description": "
|
|
169
|
+
"name": "get_model_pricing",
|
|
170
|
+
"description": "Get unit pricing for fal model endpoints.",
|
|
171
|
+
"base_url": "https://api.fal.ai/v1",
|
|
172
|
+
"method": "GET",
|
|
173
|
+
"path": "/models/pricing",
|
|
174
|
+
"input_schema": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"endpoint_id": { "type": "string", "description": "Optional endpoint id to filter pricing." }
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "estimate_model_cost",
|
|
183
|
+
"description": "Estimate fal model cost before running. Pass endpoint_id plus the same common generation fields you plan to submit.",
|
|
184
|
+
"base_url": "https://api.fal.ai/v1",
|
|
280
185
|
"method": "POST",
|
|
281
|
-
"path": "/
|
|
186
|
+
"path": "/models/pricing/estimate",
|
|
282
187
|
"input_schema": {
|
|
283
188
|
"type": "object",
|
|
189
|
+
"additionalProperties": true,
|
|
284
190
|
"properties": {
|
|
285
|
-
"
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
},
|
|
289
|
-
"
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
}
|
|
191
|
+
"endpoint_id": { "type": "string", "description": "fal model endpoint id." },
|
|
192
|
+
"prompt": { "type": "string" },
|
|
193
|
+
"image_url": { "type": "string" },
|
|
194
|
+
"audio_url": { "type": "string" },
|
|
195
|
+
"video_url": { "type": "string" },
|
|
196
|
+
"num_images": { "type": "integer" },
|
|
197
|
+
"duration": { "type": "number", "description": "Generation or media duration in seconds, when applicable." }
|
|
293
198
|
},
|
|
294
|
-
"required": [
|
|
295
|
-
"file_url"
|
|
296
|
-
]
|
|
199
|
+
"required": ["endpoint_id"]
|
|
297
200
|
}
|
|
298
201
|
},
|
|
299
202
|
{
|
|
300
|
-
"name": "
|
|
301
|
-
"description": "
|
|
203
|
+
"name": "get_usage",
|
|
204
|
+
"description": "Get fal model usage records for the account.",
|
|
205
|
+
"base_url": "https://api.fal.ai/v1",
|
|
302
206
|
"method": "GET",
|
|
303
|
-
"path": "/
|
|
207
|
+
"path": "/models/usage",
|
|
304
208
|
"input_schema": {
|
|
305
209
|
"type": "object",
|
|
306
210
|
"properties": {
|
|
307
|
-
"
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
},
|
|
311
|
-
"
|
|
312
|
-
"type": "string",
|
|
313
|
-
"description": "Filter by category",
|
|
314
|
-
"enum": [
|
|
315
|
-
"text-to-image",
|
|
316
|
-
"image-to-image",
|
|
317
|
-
"text-to-video",
|
|
318
|
-
"image-to-video",
|
|
319
|
-
"text-to-speech",
|
|
320
|
-
"speech-to-text",
|
|
321
|
-
"text-to-music",
|
|
322
|
-
"text-to-3d",
|
|
323
|
-
"llm",
|
|
324
|
-
"embedding",
|
|
325
|
-
"upscaler"
|
|
326
|
-
]
|
|
327
|
-
},
|
|
328
|
-
"limit": {
|
|
329
|
-
"type": "integer",
|
|
330
|
-
"description": "Max results to return",
|
|
331
|
-
"default": 20,
|
|
332
|
-
"maximum": 100
|
|
333
|
-
},
|
|
334
|
-
"offset": {
|
|
335
|
-
"type": "integer",
|
|
336
|
-
"description": "Offset for pagination",
|
|
337
|
-
"default": 0
|
|
338
|
-
}
|
|
211
|
+
"endpoint_id": { "type": "string" },
|
|
212
|
+
"from_date": { "type": "string", "description": "Start date/time filter." },
|
|
213
|
+
"to_date": { "type": "string", "description": "End date/time filter." },
|
|
214
|
+
"limit": { "type": "integer", "minimum": 1, "maximum": 100 },
|
|
215
|
+
"cursor": { "type": "string" }
|
|
339
216
|
}
|
|
340
217
|
}
|
|
341
218
|
},
|
|
342
219
|
{
|
|
343
|
-
"name": "
|
|
344
|
-
"description": "Get
|
|
220
|
+
"name": "get_model_analytics",
|
|
221
|
+
"description": "Get fal model analytics for endpoints and time ranges.",
|
|
222
|
+
"base_url": "https://api.fal.ai/v1",
|
|
345
223
|
"method": "GET",
|
|
346
|
-
"path": "/
|
|
224
|
+
"path": "/models/analytics",
|
|
347
225
|
"input_schema": {
|
|
348
226
|
"type": "object",
|
|
349
227
|
"properties": {
|
|
350
|
-
"endpoint_id": {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
},
|
|
354
|
-
"start_date": {
|
|
355
|
-
"type": "string",
|
|
356
|
-
"description": "Start date filter (ISO 8601 format)"
|
|
357
|
-
},
|
|
358
|
-
"end_date": {
|
|
359
|
-
"type": "string",
|
|
360
|
-
"description": "End date filter (ISO 8601 format)"
|
|
361
|
-
},
|
|
362
|
-
"limit": {
|
|
363
|
-
"type": "integer",
|
|
364
|
-
"description": "Max records to return",
|
|
365
|
-
"default": 50
|
|
366
|
-
}
|
|
228
|
+
"endpoint_id": { "type": "string" },
|
|
229
|
+
"from_date": { "type": "string" },
|
|
230
|
+
"to_date": { "type": "string" }
|
|
367
231
|
}
|
|
368
232
|
}
|
|
369
233
|
},
|
|
370
234
|
{
|
|
371
|
-
"name": "
|
|
372
|
-
"description": "
|
|
235
|
+
"name": "list_billing_events",
|
|
236
|
+
"description": "List fal billing events for cost/audit analysis.",
|
|
237
|
+
"base_url": "https://api.fal.ai/v1",
|
|
373
238
|
"method": "GET",
|
|
374
|
-
"path": "/
|
|
239
|
+
"path": "/models/billing-events",
|
|
375
240
|
"input_schema": {
|
|
376
241
|
"type": "object",
|
|
377
242
|
"properties": {
|
|
378
|
-
"endpoint_id": {
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
},
|
|
382
|
-
"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
}
|
|
243
|
+
"endpoint_id": { "type": "string" },
|
|
244
|
+
"from_date": { "type": "string" },
|
|
245
|
+
"to_date": { "type": "string" },
|
|
246
|
+
"limit": { "type": "integer", "minimum": 1, "maximum": 100 },
|
|
247
|
+
"cursor": { "type": "string" }
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "delete_request_payloads",
|
|
253
|
+
"description": "Delete stored payloads for a fal model request.",
|
|
254
|
+
"base_url": "https://api.fal.ai/v1",
|
|
255
|
+
"method": "DELETE",
|
|
256
|
+
"path": "/models/requests/{request_id}/payloads",
|
|
257
|
+
"input_schema": {
|
|
258
|
+
"type": "object",
|
|
259
|
+
"properties": {
|
|
260
|
+
"request_id": { "type": "string" }
|
|
261
|
+
},
|
|
262
|
+
"required": ["request_id"]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "list_compute_instances",
|
|
267
|
+
"description": "List fal compute instances.",
|
|
268
|
+
"base_url": "https://api.fal.ai/v1",
|
|
269
|
+
"method": "GET",
|
|
270
|
+
"path": "/compute/instances",
|
|
271
|
+
"input_schema": {
|
|
272
|
+
"type": "object",
|
|
273
|
+
"properties": {
|
|
274
|
+
"limit": { "type": "integer" },
|
|
275
|
+
"cursor": { "type": "string" }
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "get_compute_instance",
|
|
281
|
+
"description": "Get one fal compute instance.",
|
|
282
|
+
"base_url": "https://api.fal.ai/v1",
|
|
283
|
+
"method": "GET",
|
|
284
|
+
"path": "/compute/instances/{id}",
|
|
285
|
+
"input_schema": {
|
|
286
|
+
"type": "object",
|
|
287
|
+
"properties": {
|
|
288
|
+
"id": { "type": "string" }
|
|
289
|
+
},
|
|
290
|
+
"required": ["id"]
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "list_serverless_files",
|
|
295
|
+
"description": "List files in fal serverless storage.",
|
|
296
|
+
"base_url": "https://api.fal.ai/v1",
|
|
297
|
+
"method": "GET",
|
|
298
|
+
"path": "/serverless/files/list/{dir}",
|
|
299
|
+
"input_schema": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"dir": { "type": "string", "description": "Directory path. Use / for root." }
|
|
303
|
+
},
|
|
304
|
+
"required": ["dir"]
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "get_serverless_file",
|
|
309
|
+
"description": "Get a fal serverless file by path.",
|
|
310
|
+
"base_url": "https://api.fal.ai/v1",
|
|
311
|
+
"method": "GET",
|
|
312
|
+
"path": "/serverless/files/file/{file}",
|
|
313
|
+
"input_schema": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"properties": {
|
|
316
|
+
"file": { "type": "string", "description": "File path." }
|
|
317
|
+
},
|
|
318
|
+
"required": ["file"]
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "upload_serverless_file_from_url",
|
|
323
|
+
"description": "Upload a fal serverless file from a source URL.",
|
|
324
|
+
"base_url": "https://api.fal.ai/v1",
|
|
325
|
+
"method": "POST",
|
|
326
|
+
"path": "/serverless/files/file/url/{file}",
|
|
327
|
+
"input_schema": {
|
|
328
|
+
"type": "object",
|
|
329
|
+
"properties": {
|
|
330
|
+
"file": { "type": "string", "description": "Destination file path." },
|
|
331
|
+
"url": { "type": "string", "description": "Source URL to fetch." }
|
|
332
|
+
},
|
|
333
|
+
"required": ["file", "url"]
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "delete_serverless_file",
|
|
338
|
+
"description": "Delete a fal serverless file by path.",
|
|
339
|
+
"base_url": "https://api.fal.ai/v1",
|
|
340
|
+
"method": "DELETE",
|
|
341
|
+
"path": "/serverless/files/file/{file}",
|
|
342
|
+
"input_schema": {
|
|
343
|
+
"type": "object",
|
|
344
|
+
"properties": {
|
|
345
|
+
"file": { "type": "string", "description": "File path." }
|
|
346
|
+
},
|
|
347
|
+
"required": ["file"]
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "get_serverless_metrics",
|
|
352
|
+
"description": "Get fal serverless metrics.",
|
|
353
|
+
"base_url": "https://api.fal.ai/v1",
|
|
354
|
+
"method": "GET",
|
|
355
|
+
"path": "/serverless/metrics",
|
|
356
|
+
"input_schema": {
|
|
357
|
+
"type": "object",
|
|
358
|
+
"properties": {
|
|
359
|
+
"app": { "type": "string" },
|
|
360
|
+
"from_date": { "type": "string" },
|
|
361
|
+
"to_date": { "type": "string" }
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "get_serverless_log_history",
|
|
367
|
+
"description": "Get fal serverless log history.",
|
|
368
|
+
"base_url": "https://api.fal.ai/v1",
|
|
369
|
+
"method": "GET",
|
|
370
|
+
"path": "/serverless/logs/history",
|
|
371
|
+
"input_schema": {
|
|
372
|
+
"type": "object",
|
|
373
|
+
"properties": {
|
|
374
|
+
"app": { "type": "string" },
|
|
375
|
+
"from_date": { "type": "string" },
|
|
376
|
+
"to_date": { "type": "string" },
|
|
377
|
+
"limit": { "type": "integer" }
|
|
396
378
|
}
|
|
397
379
|
}
|
|
398
380
|
}
|
|
399
|
-
]
|
|
381
|
+
],
|
|
382
|
+
"webhooks": {
|
|
383
|
+
"registrar": {
|
|
384
|
+
"manual_setup": "fal queue requests can pass webhook_url in queue_submit. The callback is registered per request rather than as a durable account-level webhook."
|
|
385
|
+
},
|
|
386
|
+
"events": ["completed", "failed"]
|
|
387
|
+
}
|
|
400
388
|
}
|