@apicity/fal 0.10.2 → 0.10.3
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/README.md +359 -49
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +233 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +107 -1
- package/dist/src/fal.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +141 -3
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +1082 -49
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +358 -0
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,7 +121,232 @@ console.log(result.spritesheet?.url);
|
|
|
121
121
|
|
|
122
122
|
## API Reference
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
81 endpoints across 21 groups. Each method mirrors an upstream URL path.
|
|
125
|
+
|
|
126
|
+
### alibaba
|
|
127
|
+
|
|
128
|
+
<details>
|
|
129
|
+
<summary><code>POST</code> <b><code>fal.alibaba.qwenImage3.textToImage</code></b></summary>
|
|
130
|
+
|
|
131
|
+
<code>POST https://api.fal.ai/v1/alibaba/qwen-image-3/text-to-image</code>
|
|
132
|
+
|
|
133
|
+
Cost tier: <code>prohibitive</code>
|
|
134
|
+
|
|
135
|
+
[Upstream docs ↗](https://fal.ai/models/alibaba/qwen-image-3/text-to-image/api)
|
|
136
|
+
|
|
137
|
+
```typescript
|
|
138
|
+
const res = await fal.run.alibaba.qwenImage3.textToImage({ /* ... */ });
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
142
|
+
|
|
143
|
+
</details>
|
|
144
|
+
|
|
145
|
+
<details>
|
|
146
|
+
<summary><code>POST</code> <b><code>fal.alibaba.wan3p0.imageToVideo</code></b></summary>
|
|
147
|
+
|
|
148
|
+
<code>POST https://api.fal.ai/v1/alibaba/wan-3.0/image-to-video</code>
|
|
149
|
+
|
|
150
|
+
Cost tier: <code>prohibitive</code>
|
|
151
|
+
|
|
152
|
+
[Upstream docs ↗](https://fal.ai/models/alibaba/wan-3.0/image-to-video/api)
|
|
153
|
+
|
|
154
|
+
```typescript
|
|
155
|
+
const res = await fal.run.alibaba.wan3p0.imageToVideo({ /* ... */ });
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
159
|
+
|
|
160
|
+
</details>
|
|
161
|
+
|
|
162
|
+
<details>
|
|
163
|
+
<summary><code>POST</code> <b><code>fal.alibaba.wan3p0.referenceToVideo</code></b></summary>
|
|
164
|
+
|
|
165
|
+
<code>POST https://api.fal.ai/v1/alibaba/wan-3.0/reference-to-video</code>
|
|
166
|
+
|
|
167
|
+
Cost tier: <code>prohibitive</code>
|
|
168
|
+
|
|
169
|
+
[Upstream docs ↗](https://fal.ai/models/alibaba/wan-3.0/reference-to-video/api)
|
|
170
|
+
|
|
171
|
+
```typescript
|
|
172
|
+
const res = await fal.run.alibaba.wan3p0.referenceToVideo({ /* ... */ });
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
176
|
+
|
|
177
|
+
</details>
|
|
178
|
+
|
|
179
|
+
<details>
|
|
180
|
+
<summary><code>POST</code> <b><code>fal.alibaba.wan3p0.textToVideo</code></b></summary>
|
|
181
|
+
|
|
182
|
+
<code>POST https://api.fal.ai/v1/alibaba/wan-3.0/text-to-video</code>
|
|
183
|
+
|
|
184
|
+
Cost tier: <code>prohibitive</code>
|
|
185
|
+
|
|
186
|
+
[Upstream docs ↗](https://fal.ai/models/alibaba/wan-3.0/text-to-video/api)
|
|
187
|
+
|
|
188
|
+
```typescript
|
|
189
|
+
const res = await fal.run.alibaba.wan3p0.textToVideo({ /* ... */ });
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
193
|
+
|
|
194
|
+
</details>
|
|
195
|
+
|
|
196
|
+
<details>
|
|
197
|
+
<summary><code>POST</code> <b><code>fal.alibaba.wan3p0Prime.imageToVideo</code></b></summary>
|
|
198
|
+
|
|
199
|
+
<code>POST https://api.fal.ai/v1/alibaba/wan-3.0-prime/image-to-video</code>
|
|
200
|
+
|
|
201
|
+
Cost tier: <code>prohibitive</code>
|
|
202
|
+
|
|
203
|
+
[Upstream docs ↗](https://fal.ai/models/alibaba/wan-3.0-prime/image-to-video/api)
|
|
204
|
+
|
|
205
|
+
```typescript
|
|
206
|
+
const res = await fal.run.alibaba.wan3p0Prime.imageToVideo({ /* ... */ });
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
210
|
+
|
|
211
|
+
</details>
|
|
212
|
+
|
|
213
|
+
<details>
|
|
214
|
+
<summary><code>POST</code> <b><code>fal.alibaba.wan3p0Prime.referenceToVideo</code></b></summary>
|
|
215
|
+
|
|
216
|
+
<code>POST https://api.fal.ai/v1/alibaba/wan-3.0-prime/reference-to-video</code>
|
|
217
|
+
|
|
218
|
+
Cost tier: <code>prohibitive</code>
|
|
219
|
+
|
|
220
|
+
[Upstream docs ↗](https://fal.ai/models/alibaba/wan-3.0-prime/reference-to-video/api)
|
|
221
|
+
|
|
222
|
+
```typescript
|
|
223
|
+
const res = await fal.run.alibaba.wan3p0Prime.referenceToVideo({ /* ... */ });
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
227
|
+
|
|
228
|
+
</details>
|
|
229
|
+
|
|
230
|
+
<details>
|
|
231
|
+
<summary><code>POST</code> <b><code>fal.alibaba.wan3p0Prime.textToVideo</code></b></summary>
|
|
232
|
+
|
|
233
|
+
<code>POST https://api.fal.ai/v1/alibaba/wan-3.0-prime/text-to-video</code>
|
|
234
|
+
|
|
235
|
+
Cost tier: <code>prohibitive</code>
|
|
236
|
+
|
|
237
|
+
[Upstream docs ↗](https://fal.ai/models/alibaba/wan-3.0-prime/text-to-video/api)
|
|
238
|
+
|
|
239
|
+
```typescript
|
|
240
|
+
const res = await fal.run.alibaba.wan3p0Prime.textToVideo({ /* ... */ });
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
244
|
+
|
|
245
|
+
</details>
|
|
246
|
+
|
|
247
|
+
### blackforestlabs
|
|
248
|
+
|
|
249
|
+
<details>
|
|
250
|
+
<summary><code>POST</code> <b><code>fal.blackforestlabs.flux3.extendVideo</code></b></summary>
|
|
251
|
+
|
|
252
|
+
<code>POST https://api.fal.ai/v1/blackforestlabs/flux-3/extend-video</code>
|
|
253
|
+
|
|
254
|
+
Cost tier: <code>prohibitive</code>
|
|
255
|
+
|
|
256
|
+
[Upstream docs ↗](https://fal.ai/models/blackforestlabs/flux-3/extend-video/api)
|
|
257
|
+
|
|
258
|
+
```typescript
|
|
259
|
+
const res = await fal.run.blackforestlabs.flux3.extendVideo({ /* ... */ });
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
263
|
+
|
|
264
|
+
</details>
|
|
265
|
+
|
|
266
|
+
<details>
|
|
267
|
+
<summary><code>POST</code> <b><code>fal.blackforestlabs.flux3.firstLastFrameToVideo</code></b></summary>
|
|
268
|
+
|
|
269
|
+
<code>POST https://api.fal.ai/v1/blackforestlabs/flux-3/first-last-frame-to-video</code>
|
|
270
|
+
|
|
271
|
+
Cost tier: <code>prohibitive</code>
|
|
272
|
+
|
|
273
|
+
[Upstream docs ↗](https://fal.ai/models/blackforestlabs/flux-3/first-last-frame-to-video/api)
|
|
274
|
+
|
|
275
|
+
```typescript
|
|
276
|
+
const res = await fal.run.blackforestlabs.flux3.firstLastFrameToVideo({ /* ... */ });
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
280
|
+
|
|
281
|
+
</details>
|
|
282
|
+
|
|
283
|
+
<details>
|
|
284
|
+
<summary><code>POST</code> <b><code>fal.blackforestlabs.flux3.imageToVideo</code></b></summary>
|
|
285
|
+
|
|
286
|
+
<code>POST https://api.fal.ai/v1/blackforestlabs/flux-3/image-to-video</code>
|
|
287
|
+
|
|
288
|
+
Cost tier: <code>prohibitive</code>
|
|
289
|
+
|
|
290
|
+
[Upstream docs ↗](https://fal.ai/models/blackforestlabs/flux-3/image-to-video/api)
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
const res = await fal.run.blackforestlabs.flux3.imageToVideo({ /* ... */ });
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
297
|
+
|
|
298
|
+
</details>
|
|
299
|
+
|
|
300
|
+
<details>
|
|
301
|
+
<summary><code>POST</code> <b><code>fal.blackforestlabs.flux3.keyframesToVideo</code></b></summary>
|
|
302
|
+
|
|
303
|
+
<code>POST https://api.fal.ai/v1/blackforestlabs/flux-3/keyframes-to-video</code>
|
|
304
|
+
|
|
305
|
+
Cost tier: <code>prohibitive</code>
|
|
306
|
+
|
|
307
|
+
[Upstream docs ↗](https://fal.ai/models/blackforestlabs/flux-3/keyframes-to-video/api)
|
|
308
|
+
|
|
309
|
+
```typescript
|
|
310
|
+
const res = await fal.run.blackforestlabs.flux3.keyframesToVideo({ /* ... */ });
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
314
|
+
|
|
315
|
+
</details>
|
|
316
|
+
|
|
317
|
+
<details>
|
|
318
|
+
<summary><code>POST</code> <b><code>fal.blackforestlabs.flux3.textToVideo</code></b></summary>
|
|
319
|
+
|
|
320
|
+
<code>POST https://api.fal.ai/v1/blackforestlabs/flux-3/text-to-video</code>
|
|
321
|
+
|
|
322
|
+
Cost tier: <code>prohibitive</code>
|
|
323
|
+
|
|
324
|
+
[Upstream docs ↗](https://fal.ai/models/blackforestlabs/flux-3/text-to-video/api)
|
|
325
|
+
|
|
326
|
+
```typescript
|
|
327
|
+
const res = await fal.run.blackforestlabs.flux3.textToVideo({ /* ... */ });
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
331
|
+
|
|
332
|
+
</details>
|
|
333
|
+
|
|
334
|
+
<details>
|
|
335
|
+
<summary><code>POST</code> <b><code>fal.blackforestlabs.fluxVideoUpscale</code></b></summary>
|
|
336
|
+
|
|
337
|
+
<code>POST https://api.fal.ai/v1/blackforestlabs/flux-video-upscale</code>
|
|
338
|
+
|
|
339
|
+
Cost tier: <code>prohibitive</code>
|
|
340
|
+
|
|
341
|
+
[Upstream docs ↗](https://fal.ai/models/blackforestlabs/flux-video-upscale/api)
|
|
342
|
+
|
|
343
|
+
```typescript
|
|
344
|
+
const res = await fal.run.blackforestlabs.fluxVideoUpscale({ /* ... */ });
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
348
|
+
|
|
349
|
+
</details>
|
|
125
350
|
|
|
126
351
|
### bytedance
|
|
127
352
|
|
|
@@ -135,7 +360,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
135
360
|
[Upstream docs ↗](https://fal.ai/models/fal-ai/bytedance/seed-speech/tts/v2/api)
|
|
136
361
|
|
|
137
362
|
```typescript
|
|
138
|
-
const res = await fal.bytedance.seedSpeech.tts.v2({ /* ... */ });
|
|
363
|
+
const res = await fal.run.bytedance.seedSpeech.tts.v2({ /* ... */ });
|
|
139
364
|
```
|
|
140
365
|
|
|
141
366
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -152,7 +377,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
152
377
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
153
378
|
|
|
154
379
|
```typescript
|
|
155
|
-
const res = await fal.bytedance.seedance2p0.fast.imageToVideo({ /* ... */ });
|
|
380
|
+
const res = await fal.run.bytedance.seedance2p0.fast.imageToVideo({ /* ... */ });
|
|
156
381
|
```
|
|
157
382
|
|
|
158
383
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -167,7 +392,7 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
167
392
|
Cost tier: <code>prohibitive</code>
|
|
168
393
|
|
|
169
394
|
```typescript
|
|
170
|
-
const res = await fal.bytedance.seedance2p0.fast.referenceToVideo({ /* ... */ });
|
|
395
|
+
const res = await fal.run.bytedance.seedance2p0.fast.referenceToVideo({ /* ... */ });
|
|
171
396
|
```
|
|
172
397
|
|
|
173
398
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -184,7 +409,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
184
409
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
185
410
|
|
|
186
411
|
```typescript
|
|
187
|
-
const res = await fal.bytedance.seedance2p0.fast.textToVideo({ /* ... */ });
|
|
412
|
+
const res = await fal.run.bytedance.seedance2p0.fast.textToVideo({ /* ... */ });
|
|
188
413
|
```
|
|
189
414
|
|
|
190
415
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -201,7 +426,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
201
426
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
202
427
|
|
|
203
428
|
```typescript
|
|
204
|
-
const res = await fal.bytedance.seedance2p0.imageToVideo({ /* ... */ });
|
|
429
|
+
const res = await fal.run.bytedance.seedance2p0.imageToVideo({ /* ... */ });
|
|
205
430
|
```
|
|
206
431
|
|
|
207
432
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -216,7 +441,7 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
216
441
|
Cost tier: <code>prohibitive</code>
|
|
217
442
|
|
|
218
443
|
```typescript
|
|
219
|
-
const res = await fal.bytedance.seedance2p0.referenceToVideo({ /* ... */ });
|
|
444
|
+
const res = await fal.run.bytedance.seedance2p0.referenceToVideo({ /* ... */ });
|
|
220
445
|
```
|
|
221
446
|
|
|
222
447
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -233,7 +458,58 @@ Cost tier: <code>prohibitive</code>
|
|
|
233
458
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
234
459
|
|
|
235
460
|
```typescript
|
|
236
|
-
const res = await fal.bytedance.seedance2p0.textToVideo({ /* ... */ });
|
|
461
|
+
const res = await fal.run.bytedance.seedance2p0.textToVideo({ /* ... */ });
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
465
|
+
|
|
466
|
+
</details>
|
|
467
|
+
|
|
468
|
+
<details>
|
|
469
|
+
<summary><code>POST</code> <b><code>fal.bytedance.seedance2p5.imageToVideo</code></b></summary>
|
|
470
|
+
|
|
471
|
+
<code>POST https://api.fal.ai/v1/bytedance/seedance-2.5/image-to-video</code>
|
|
472
|
+
|
|
473
|
+
Cost tier: <code>prohibitive</code>
|
|
474
|
+
|
|
475
|
+
[Upstream docs ↗](https://fal.ai/models/bytedance/seedance-2.5/image-to-video/api)
|
|
476
|
+
|
|
477
|
+
```typescript
|
|
478
|
+
const res = await fal.run.bytedance.seedance2p5.imageToVideo({ /* ... */ });
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
482
|
+
|
|
483
|
+
</details>
|
|
484
|
+
|
|
485
|
+
<details>
|
|
486
|
+
<summary><code>POST</code> <b><code>fal.bytedance.seedance2p5.referenceToVideo</code></b></summary>
|
|
487
|
+
|
|
488
|
+
<code>POST https://api.fal.ai/v1/bytedance/seedance-2.5/reference-to-video</code>
|
|
489
|
+
|
|
490
|
+
Cost tier: <code>prohibitive</code>
|
|
491
|
+
|
|
492
|
+
[Upstream docs ↗](https://fal.ai/models/bytedance/seedance-2.5/reference-to-video/api)
|
|
493
|
+
|
|
494
|
+
```typescript
|
|
495
|
+
const res = await fal.run.bytedance.seedance2p5.referenceToVideo({ /* ... */ });
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
499
|
+
|
|
500
|
+
</details>
|
|
501
|
+
|
|
502
|
+
<details>
|
|
503
|
+
<summary><code>POST</code> <b><code>fal.bytedance.seedance2p5.textToVideo</code></b></summary>
|
|
504
|
+
|
|
505
|
+
<code>POST https://api.fal.ai/v1/bytedance/seedance-2.5/text-to-video</code>
|
|
506
|
+
|
|
507
|
+
Cost tier: <code>prohibitive</code>
|
|
508
|
+
|
|
509
|
+
[Upstream docs ↗](https://fal.ai/models/bytedance/seedance-2.5/text-to-video/api)
|
|
510
|
+
|
|
511
|
+
```typescript
|
|
512
|
+
const res = await fal.run.bytedance.seedance2p5.textToVideo({ /* ... */ });
|
|
237
513
|
```
|
|
238
514
|
|
|
239
515
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -250,7 +526,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
250
526
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
251
527
|
|
|
252
528
|
```typescript
|
|
253
|
-
const res = await fal.bytedance.seedream.v5.lite.edit({ /* ... */ });
|
|
529
|
+
const res = await fal.run.bytedance.seedream.v5.lite.edit({ /* ... */ });
|
|
254
530
|
```
|
|
255
531
|
|
|
256
532
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -267,7 +543,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
267
543
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
268
544
|
|
|
269
545
|
```typescript
|
|
270
|
-
const res = await fal.bytedance.seedream.v5.lite.textToImage({ /* ... */ });
|
|
546
|
+
const res = await fal.run.bytedance.seedream.v5.lite.textToImage({ /* ... */ });
|
|
271
547
|
```
|
|
272
548
|
|
|
273
549
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -286,7 +562,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
286
562
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
287
563
|
|
|
288
564
|
```typescript
|
|
289
|
-
const res = await fal.falAi.elevenlabs.speechToText.scribeV2({ /* ... */ });
|
|
565
|
+
const res = await fal.run.falAi.elevenlabs.speechToText.scribeV2({ /* ... */ });
|
|
290
566
|
```
|
|
291
567
|
|
|
292
568
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -305,7 +581,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
305
581
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
306
582
|
|
|
307
583
|
```typescript
|
|
308
|
-
const res = await fal.gptImage1p5({ /* ... */ });
|
|
584
|
+
const res = await fal.run.gptImage1p5({ /* ... */ });
|
|
309
585
|
```
|
|
310
586
|
|
|
311
587
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -322,7 +598,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
322
598
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
323
599
|
|
|
324
600
|
```typescript
|
|
325
|
-
const res = await fal.gptImage1p5.edit({ /* ... */ });
|
|
601
|
+
const res = await fal.run.gptImage1p5.edit({ /* ... */ });
|
|
326
602
|
```
|
|
327
603
|
|
|
328
604
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -341,7 +617,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
341
617
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
342
618
|
|
|
343
619
|
```typescript
|
|
344
|
-
const res = await fal.hunyuan.v3.instructEdit({ /* ... */ });
|
|
620
|
+
const res = await fal.run.hunyuan.v3.instructEdit({ /* ... */ });
|
|
345
621
|
```
|
|
346
622
|
|
|
347
623
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -360,7 +636,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
360
636
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
361
637
|
|
|
362
638
|
```typescript
|
|
363
|
-
const res = await fal.klingVideo.o3p4k.imageToVideo({ /* ... */ });
|
|
639
|
+
const res = await fal.run.klingVideo.o3p4k.imageToVideo({ /* ... */ });
|
|
364
640
|
```
|
|
365
641
|
|
|
366
642
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -377,7 +653,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
377
653
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
378
654
|
|
|
379
655
|
```typescript
|
|
380
|
-
const res = await fal.klingVideo.o3p4k.referenceToVideo({ /* ... */ });
|
|
656
|
+
const res = await fal.run.klingVideo.o3p4k.referenceToVideo({ /* ... */ });
|
|
381
657
|
```
|
|
382
658
|
|
|
383
659
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -394,7 +670,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
394
670
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
395
671
|
|
|
396
672
|
```typescript
|
|
397
|
-
const res = await fal.klingVideo.o3p4k.textToVideo({ /* ... */ });
|
|
673
|
+
const res = await fal.run.klingVideo.o3p4k.textToVideo({ /* ... */ });
|
|
398
674
|
```
|
|
399
675
|
|
|
400
676
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -411,7 +687,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
411
687
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
412
688
|
|
|
413
689
|
```typescript
|
|
414
|
-
const res = await fal.klingVideo.v3.pro.imageToVideo({ /* ... */ });
|
|
690
|
+
const res = await fal.run.klingVideo.v3.pro.imageToVideo({ /* ... */ });
|
|
415
691
|
```
|
|
416
692
|
|
|
417
693
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -428,7 +704,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
428
704
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
429
705
|
|
|
430
706
|
```typescript
|
|
431
|
-
const res = await fal.klingVideo.v3.pro.textToVideo({ /* ... */ });
|
|
707
|
+
const res = await fal.run.klingVideo.v3.pro.textToVideo({ /* ... */ });
|
|
432
708
|
```
|
|
433
709
|
|
|
434
710
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -445,7 +721,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
445
721
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
446
722
|
|
|
447
723
|
```typescript
|
|
448
|
-
const res = await fal.klingVideo.v3.standard.imageToVideo({ /* ... */ });
|
|
724
|
+
const res = await fal.run.klingVideo.v3.standard.imageToVideo({ /* ... */ });
|
|
449
725
|
```
|
|
450
726
|
|
|
451
727
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -462,7 +738,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
462
738
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
463
739
|
|
|
464
740
|
```typescript
|
|
465
|
-
const res = await fal.klingVideo.v3.standard.textToVideo({ /* ... */ });
|
|
741
|
+
const res = await fal.run.klingVideo.v3.standard.textToVideo({ /* ... */ });
|
|
466
742
|
```
|
|
467
743
|
|
|
468
744
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -585,7 +861,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
585
861
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
586
862
|
|
|
587
863
|
```typescript
|
|
588
|
-
const res = await fal.nanoBanana.edit({ /* ... */ });
|
|
864
|
+
const res = await fal.run.nanoBanana.edit({ /* ... */ });
|
|
589
865
|
```
|
|
590
866
|
|
|
591
867
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -602,7 +878,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
602
878
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
603
879
|
|
|
604
880
|
```typescript
|
|
605
|
-
const res = await fal.nanoBanana.textToImage({ /* ... */ });
|
|
881
|
+
const res = await fal.run.nanoBanana.textToImage({ /* ... */ });
|
|
606
882
|
```
|
|
607
883
|
|
|
608
884
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -621,7 +897,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
621
897
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
622
898
|
|
|
623
899
|
```typescript
|
|
624
|
-
const res = await fal.nanoBanana2.edit({ /* ... */ });
|
|
900
|
+
const res = await fal.run.nanoBanana2.edit({ /* ... */ });
|
|
625
901
|
```
|
|
626
902
|
|
|
627
903
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -638,7 +914,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
638
914
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
639
915
|
|
|
640
916
|
```typescript
|
|
641
|
-
const res = await fal.nanoBanana2.textToImage({ /* ... */ });
|
|
917
|
+
const res = await fal.run.nanoBanana2.textToImage({ /* ... */ });
|
|
642
918
|
```
|
|
643
919
|
|
|
644
920
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -657,7 +933,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
657
933
|
[Upstream docs ↗](https://fal.ai/models/google/nano-banana-lite/edit/api)
|
|
658
934
|
|
|
659
935
|
```typescript
|
|
660
|
-
const res = await fal.nanoBanana2Lite.edit({ /* ... */ });
|
|
936
|
+
const res = await fal.run.nanoBanana2Lite.edit({ /* ... */ });
|
|
661
937
|
```
|
|
662
938
|
|
|
663
939
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -674,7 +950,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
674
950
|
[Upstream docs ↗](https://fal.ai/models/google/nano-banana-2-lite/api)
|
|
675
951
|
|
|
676
952
|
```typescript
|
|
677
|
-
const res = await fal.nanoBanana2Lite.textToImage({ /* ... */ });
|
|
953
|
+
const res = await fal.run.nanoBanana2Lite.textToImage({ /* ... */ });
|
|
678
954
|
```
|
|
679
955
|
|
|
680
956
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -693,7 +969,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
693
969
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
694
970
|
|
|
695
971
|
```typescript
|
|
696
|
-
const res = await fal.nanoBananaPro.edit({ /* ... */ });
|
|
972
|
+
const res = await fal.run.nanoBananaPro.edit({ /* ... */ });
|
|
697
973
|
```
|
|
698
974
|
|
|
699
975
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -710,7 +986,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
710
986
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
711
987
|
|
|
712
988
|
```typescript
|
|
713
|
-
const res = await fal.nanoBananaPro.textToImage({ /* ... */ });
|
|
989
|
+
const res = await fal.run.nanoBananaPro.textToImage({ /* ... */ });
|
|
714
990
|
```
|
|
715
991
|
|
|
716
992
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -748,7 +1024,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
748
1024
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
749
1025
|
|
|
750
1026
|
```typescript
|
|
751
|
-
const res = await fal.qwenImage({ /* ... */ });
|
|
1027
|
+
const res = await fal.run.qwenImage({ /* ... */ });
|
|
752
1028
|
```
|
|
753
1029
|
|
|
754
1030
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -765,7 +1041,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
765
1041
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
766
1042
|
|
|
767
1043
|
```typescript
|
|
768
|
-
const res = await fal.qwenImage.edit({ /* ... */ });
|
|
1044
|
+
const res = await fal.run.qwenImage.edit({ /* ... */ });
|
|
769
1045
|
```
|
|
770
1046
|
|
|
771
1047
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -854,7 +1130,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
854
1130
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
855
1131
|
|
|
856
1132
|
```typescript
|
|
857
|
-
const res = await fal.sora2.imageToVideo({ /* ... */ });
|
|
1133
|
+
const res = await fal.run.sora2.imageToVideo({ /* ... */ });
|
|
858
1134
|
```
|
|
859
1135
|
|
|
860
1136
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -871,7 +1147,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
871
1147
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
872
1148
|
|
|
873
1149
|
```typescript
|
|
874
|
-
const res = await fal.sora2.textToVideo({ /* ... */ });
|
|
1150
|
+
const res = await fal.run.sora2.textToVideo({ /* ... */ });
|
|
875
1151
|
```
|
|
876
1152
|
|
|
877
1153
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -943,7 +1219,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
943
1219
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
944
1220
|
|
|
945
1221
|
```typescript
|
|
946
|
-
const res = await fal.veo3p1.imageToVideo({ /* ... */ });
|
|
1222
|
+
const res = await fal.run.veo3p1.imageToVideo({ /* ... */ });
|
|
947
1223
|
```
|
|
948
1224
|
|
|
949
1225
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -960,7 +1236,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
960
1236
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
961
1237
|
|
|
962
1238
|
```typescript
|
|
963
|
-
const res = await fal.veo3p1.textToVideo({ /* ... */ });
|
|
1239
|
+
const res = await fal.run.veo3p1.textToVideo({ /* ... */ });
|
|
964
1240
|
```
|
|
965
1241
|
|
|
966
1242
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -979,7 +1255,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
979
1255
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
980
1256
|
|
|
981
1257
|
```typescript
|
|
982
|
-
const res = await fal.wan.v2p7.edit({ /* ... */ });
|
|
1258
|
+
const res = await fal.run.wan.v2p7.edit({ /* ... */ });
|
|
983
1259
|
```
|
|
984
1260
|
|
|
985
1261
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -994,7 +1270,7 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
994
1270
|
Cost tier: <code>prohibitive</code>
|
|
995
1271
|
|
|
996
1272
|
```typescript
|
|
997
|
-
const res = await fal.wan.v2p7.editVideo({ /* ... */ });
|
|
1273
|
+
const res = await fal.run.wan.v2p7.editVideo({ /* ... */ });
|
|
998
1274
|
```
|
|
999
1275
|
|
|
1000
1276
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1011,7 +1287,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1011
1287
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1012
1288
|
|
|
1013
1289
|
```typescript
|
|
1014
|
-
const res = await fal.wan.v2p7.imageToVideo({ /* ... */ });
|
|
1290
|
+
const res = await fal.run.wan.v2p7.imageToVideo({ /* ... */ });
|
|
1015
1291
|
```
|
|
1016
1292
|
|
|
1017
1293
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1028,7 +1304,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1028
1304
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1029
1305
|
|
|
1030
1306
|
```typescript
|
|
1031
|
-
const res = await fal.wan.v2p7.pro.edit({ /* ... */ });
|
|
1307
|
+
const res = await fal.run.wan.v2p7.pro.edit({ /* ... */ });
|
|
1032
1308
|
```
|
|
1033
1309
|
|
|
1034
1310
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1045,7 +1321,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1045
1321
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1046
1322
|
|
|
1047
1323
|
```typescript
|
|
1048
|
-
const res = await fal.wan.v2p7.pro.textToImage({ /* ... */ });
|
|
1324
|
+
const res = await fal.run.wan.v2p7.pro.textToImage({ /* ... */ });
|
|
1049
1325
|
```
|
|
1050
1326
|
|
|
1051
1327
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1060,7 +1336,7 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
1060
1336
|
Cost tier: <code>prohibitive</code>
|
|
1061
1337
|
|
|
1062
1338
|
```typescript
|
|
1063
|
-
const res = await fal.wan.v2p7.referenceToVideo({ /* ... */ });
|
|
1339
|
+
const res = await fal.run.wan.v2p7.referenceToVideo({ /* ... */ });
|
|
1064
1340
|
```
|
|
1065
1341
|
|
|
1066
1342
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1077,7 +1353,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1077
1353
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1078
1354
|
|
|
1079
1355
|
```typescript
|
|
1080
|
-
const res = await fal.wan.v2p7.textToImage({ /* ... */ });
|
|
1356
|
+
const res = await fal.run.wan.v2p7.textToImage({ /* ... */ });
|
|
1081
1357
|
```
|
|
1082
1358
|
|
|
1083
1359
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1094,7 +1370,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1094
1370
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1095
1371
|
|
|
1096
1372
|
```typescript
|
|
1097
|
-
const res = await fal.wan.v2p7.textToVideo({ /* ... */ });
|
|
1373
|
+
const res = await fal.run.wan.v2p7.textToVideo({ /* ... */ });
|
|
1098
1374
|
```
|
|
1099
1375
|
|
|
1100
1376
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1132,7 +1408,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1132
1408
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1133
1409
|
|
|
1134
1410
|
```typescript
|
|
1135
|
-
const res = await fal.xai.grokImagineImage({ /* ... */ });
|
|
1411
|
+
const res = await fal.run.xai.grokImagineImage({ /* ... */ });
|
|
1136
1412
|
```
|
|
1137
1413
|
|
|
1138
1414
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1149,7 +1425,41 @@ Cost tier: <code>prohibitive</code>
|
|
|
1149
1425
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1150
1426
|
|
|
1151
1427
|
```typescript
|
|
1152
|
-
const res = await fal.xai.grokImagineImage.edit({ /* ... */ });
|
|
1428
|
+
const res = await fal.run.xai.grokImagineImage.edit({ /* ... */ });
|
|
1429
|
+
```
|
|
1430
|
+
|
|
1431
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1432
|
+
|
|
1433
|
+
</details>
|
|
1434
|
+
|
|
1435
|
+
<details>
|
|
1436
|
+
<summary><code>POST</code> <b><code>fal.xai.grokImagineImage.v2p0.edit</code></b></summary>
|
|
1437
|
+
|
|
1438
|
+
<code>POST https://api.fal.ai/v1/xai/grok-imagine-image/v2.0/edit</code>
|
|
1439
|
+
|
|
1440
|
+
Cost tier: <code>prohibitive</code>
|
|
1441
|
+
|
|
1442
|
+
[Upstream docs ↗](https://fal.ai/models/xai/grok-imagine-image/v2.0/edit/api)
|
|
1443
|
+
|
|
1444
|
+
```typescript
|
|
1445
|
+
const res = await fal.run.xai.grokImagineImage.v2p0.edit({ /* ... */ });
|
|
1446
|
+
```
|
|
1447
|
+
|
|
1448
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1449
|
+
|
|
1450
|
+
</details>
|
|
1451
|
+
|
|
1452
|
+
<details>
|
|
1453
|
+
<summary><code>POST</code> <b><code>fal.xai.grokImagineImage.v2p0.textToImage</code></b></summary>
|
|
1454
|
+
|
|
1455
|
+
<code>POST https://api.fal.ai/v1/xai/grok-imagine-image/v2.0/text-to-image</code>
|
|
1456
|
+
|
|
1457
|
+
Cost tier: <code>prohibitive</code>
|
|
1458
|
+
|
|
1459
|
+
[Upstream docs ↗](https://fal.ai/models/xai/grok-imagine-image/v2.0/text-to-image/api)
|
|
1460
|
+
|
|
1461
|
+
```typescript
|
|
1462
|
+
const res = await fal.run.xai.grokImagineImage.v2p0.textToImage({ /* ... */ });
|
|
1153
1463
|
```
|
|
1154
1464
|
|
|
1155
1465
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1166,7 +1476,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1166
1476
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1167
1477
|
|
|
1168
1478
|
```typescript
|
|
1169
|
-
const res = await fal.xai.grokImagineVideo.editVideo({ /* ... */ });
|
|
1479
|
+
const res = await fal.run.xai.grokImagineVideo.editVideo({ /* ... */ });
|
|
1170
1480
|
```
|
|
1171
1481
|
|
|
1172
1482
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1183,7 +1493,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1183
1493
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1184
1494
|
|
|
1185
1495
|
```typescript
|
|
1186
|
-
const res = await fal.xai.grokImagineVideo.extendVideo({ /* ... */ });
|
|
1496
|
+
const res = await fal.run.xai.grokImagineVideo.extendVideo({ /* ... */ });
|
|
1187
1497
|
```
|
|
1188
1498
|
|
|
1189
1499
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1200,7 +1510,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1200
1510
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1201
1511
|
|
|
1202
1512
|
```typescript
|
|
1203
|
-
const res = await fal.xai.grokImagineVideo.imageToVideo({ /* ... */ });
|
|
1513
|
+
const res = await fal.run.xai.grokImagineVideo.imageToVideo({ /* ... */ });
|
|
1204
1514
|
```
|
|
1205
1515
|
|
|
1206
1516
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
@@ -1217,7 +1527,7 @@ Cost tier: <code>prohibitive</code>
|
|
|
1217
1527
|
[Upstream docs ↗](https://docs.fal.ai)
|
|
1218
1528
|
|
|
1219
1529
|
```typescript
|
|
1220
|
-
const res = await fal.xai.grokImagineVideo.referenceToVideo({ /* ... */ });
|
|
1530
|
+
const res = await fal.run.xai.grokImagineVideo.referenceToVideo({ /* ... */ });
|
|
1221
1531
|
```
|
|
1222
1532
|
|
|
1223
1533
|
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|