@apicity/fal 0.11.0 → 0.11.1
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 +319 -1
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +207 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +114 -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 +258 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +784 -0
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +558 -0
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ console.log(result.spritesheet?.url);
|
|
|
121
121
|
|
|
122
122
|
## API Reference
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
100 endpoints across 27 groups. Each method mirrors an upstream URL path.
|
|
125
125
|
|
|
126
126
|
### alibaba
|
|
127
127
|
|
|
@@ -567,6 +567,57 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
567
567
|
|
|
568
568
|
</details>
|
|
569
569
|
|
|
570
|
+
<details>
|
|
571
|
+
<summary><code>POST</code> <b><code>fal.bytedance.seedream.v5.pro.edit</code></b></summary>
|
|
572
|
+
|
|
573
|
+
<code>POST https://fal.run/bytedance/seedream/v5/pro/edit</code>
|
|
574
|
+
|
|
575
|
+
Cost tier: <code>prohibitive</code>
|
|
576
|
+
|
|
577
|
+
[Upstream docs ↗](https://fal.ai/models/bytedance/seedream/v5/pro/edit/api)
|
|
578
|
+
|
|
579
|
+
```typescript
|
|
580
|
+
const res = await fal.run.bytedance.seedream.v5.pro.edit({ /* ... */ });
|
|
581
|
+
```
|
|
582
|
+
|
|
583
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
584
|
+
|
|
585
|
+
</details>
|
|
586
|
+
|
|
587
|
+
<details>
|
|
588
|
+
<summary><code>POST</code> <b><code>fal.bytedance.seedream.v5.pro.layerize</code></b></summary>
|
|
589
|
+
|
|
590
|
+
<code>POST https://fal.run/bytedance/seedream/v5/pro/layerize</code>
|
|
591
|
+
|
|
592
|
+
Cost tier: <code>prohibitive</code>
|
|
593
|
+
|
|
594
|
+
[Upstream docs ↗](https://fal.ai/models/bytedance/seedream/v5/pro/layerize/api)
|
|
595
|
+
|
|
596
|
+
```typescript
|
|
597
|
+
const res = await fal.run.bytedance.seedream.v5.pro.layerize({ /* ... */ });
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
601
|
+
|
|
602
|
+
</details>
|
|
603
|
+
|
|
604
|
+
<details>
|
|
605
|
+
<summary><code>POST</code> <b><code>fal.bytedance.seedream.v5.pro.textToImage</code></b></summary>
|
|
606
|
+
|
|
607
|
+
<code>POST https://fal.run/bytedance/seedream/v5/pro/text-to-image</code>
|
|
608
|
+
|
|
609
|
+
Cost tier: <code>prohibitive</code>
|
|
610
|
+
|
|
611
|
+
[Upstream docs ↗](https://fal.ai/models/bytedance/seedream/v5/pro/text-to-image/api)
|
|
612
|
+
|
|
613
|
+
```typescript
|
|
614
|
+
const res = await fal.run.bytedance.seedream.v5.pro.textToImage({ /* ... */ });
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
618
|
+
|
|
619
|
+
</details>
|
|
620
|
+
|
|
570
621
|
### falAi
|
|
571
622
|
|
|
572
623
|
<details>
|
|
@@ -586,6 +637,76 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
586
637
|
|
|
587
638
|
</details>
|
|
588
639
|
|
|
640
|
+
### geminiOmniFlash
|
|
641
|
+
|
|
642
|
+
<details>
|
|
643
|
+
<summary><code>POST</code> <b><code>fal.geminiOmniFlash</code></b></summary>
|
|
644
|
+
|
|
645
|
+
<code>POST https://fal.run/google/gemini-omni-flash</code>
|
|
646
|
+
|
|
647
|
+
Cost tier: <code>prohibitive</code>
|
|
648
|
+
|
|
649
|
+
[Upstream docs ↗](https://fal.ai/models/google/gemini-omni-flash/api)
|
|
650
|
+
|
|
651
|
+
```typescript
|
|
652
|
+
const res = await fal.run.geminiOmniFlash({ /* ... */ });
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
656
|
+
|
|
657
|
+
</details>
|
|
658
|
+
|
|
659
|
+
<details>
|
|
660
|
+
<summary><code>POST</code> <b><code>fal.geminiOmniFlash.edit</code></b></summary>
|
|
661
|
+
|
|
662
|
+
<code>POST https://fal.run/google/gemini-omni-flash/edit</code>
|
|
663
|
+
|
|
664
|
+
Cost tier: <code>prohibitive</code>
|
|
665
|
+
|
|
666
|
+
[Upstream docs ↗](https://fal.ai/models/google/gemini-omni-flash/edit/api)
|
|
667
|
+
|
|
668
|
+
```typescript
|
|
669
|
+
const res = await fal.run.geminiOmniFlash.edit({ /* ... */ });
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
673
|
+
|
|
674
|
+
</details>
|
|
675
|
+
|
|
676
|
+
<details>
|
|
677
|
+
<summary><code>POST</code> <b><code>fal.geminiOmniFlash.imageToVideo</code></b></summary>
|
|
678
|
+
|
|
679
|
+
<code>POST https://fal.run/google/gemini-omni-flash/image-to-video</code>
|
|
680
|
+
|
|
681
|
+
Cost tier: <code>prohibitive</code>
|
|
682
|
+
|
|
683
|
+
[Upstream docs ↗](https://fal.ai/models/google/gemini-omni-flash/image-to-video/api)
|
|
684
|
+
|
|
685
|
+
```typescript
|
|
686
|
+
const res = await fal.run.geminiOmniFlash.imageToVideo({ /* ... */ });
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
690
|
+
|
|
691
|
+
</details>
|
|
692
|
+
|
|
693
|
+
<details>
|
|
694
|
+
<summary><code>POST</code> <b><code>fal.geminiOmniFlash.referenceToVideo</code></b></summary>
|
|
695
|
+
|
|
696
|
+
<code>POST https://fal.run/google/gemini-omni-flash/reference-to-video</code>
|
|
697
|
+
|
|
698
|
+
Cost tier: <code>prohibitive</code>
|
|
699
|
+
|
|
700
|
+
[Upstream docs ↗](https://fal.ai/models/google/gemini-omni-flash/reference-to-video/api)
|
|
701
|
+
|
|
702
|
+
```typescript
|
|
703
|
+
const res = await fal.run.geminiOmniFlash.referenceToVideo({ /* ... */ });
|
|
704
|
+
```
|
|
705
|
+
|
|
706
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
707
|
+
|
|
708
|
+
</details>
|
|
709
|
+
|
|
589
710
|
### gptImage1p5
|
|
590
711
|
|
|
591
712
|
<details>
|
|
@@ -762,6 +883,131 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
762
883
|
|
|
763
884
|
</details>
|
|
764
885
|
|
|
886
|
+
### lightricks
|
|
887
|
+
|
|
888
|
+
<details>
|
|
889
|
+
<summary><code>POST</code> <b><code>fal.lightricks.ltx2p5.imageToVideo.fast</code></b></summary>
|
|
890
|
+
|
|
891
|
+
<code>POST https://fal.run/lightricks/ltx-2.5/image-to-video/fast</code>
|
|
892
|
+
|
|
893
|
+
Cost tier: <code>prohibitive</code>
|
|
894
|
+
|
|
895
|
+
[Upstream docs ↗](https://fal.ai/models/lightricks/ltx-2.5/image-to-video/fast/api)
|
|
896
|
+
|
|
897
|
+
```typescript
|
|
898
|
+
const res = await fal.run.lightricks.ltx2p5.imageToVideo.fast({ /* ... */ });
|
|
899
|
+
```
|
|
900
|
+
|
|
901
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
902
|
+
|
|
903
|
+
</details>
|
|
904
|
+
|
|
905
|
+
<details>
|
|
906
|
+
<summary><code>POST</code> <b><code>fal.lightricks.ltx2p5.imageToVideo.pro</code></b></summary>
|
|
907
|
+
|
|
908
|
+
<code>POST https://fal.run/lightricks/ltx-2.5/image-to-video/pro</code>
|
|
909
|
+
|
|
910
|
+
Cost tier: <code>prohibitive</code>
|
|
911
|
+
|
|
912
|
+
[Upstream docs ↗](https://fal.ai/models/lightricks/ltx-2.5/image-to-video/pro/api)
|
|
913
|
+
|
|
914
|
+
```typescript
|
|
915
|
+
const res = await fal.run.lightricks.ltx2p5.imageToVideo.pro({ /* ... */ });
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
919
|
+
|
|
920
|
+
</details>
|
|
921
|
+
|
|
922
|
+
### meshy
|
|
923
|
+
|
|
924
|
+
<details>
|
|
925
|
+
<summary><code>POST</code> <b><code>fal.meshy.v7.imageTo3d</code></b></summary>
|
|
926
|
+
|
|
927
|
+
<code>POST https://fal.run/meshy/v7/image-to-3d</code>
|
|
928
|
+
|
|
929
|
+
Cost tier: <code>prohibitive</code>
|
|
930
|
+
|
|
931
|
+
[Upstream docs ↗](https://fal.ai/models/meshy/v7/image-to-3d/api)
|
|
932
|
+
|
|
933
|
+
```typescript
|
|
934
|
+
const res = await fal.run.meshy.v7.imageTo3d({ /* ... */ });
|
|
935
|
+
```
|
|
936
|
+
|
|
937
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
938
|
+
|
|
939
|
+
</details>
|
|
940
|
+
|
|
941
|
+
### minimax
|
|
942
|
+
|
|
943
|
+
<details>
|
|
944
|
+
<summary><code>POST</code> <b><code>fal.minimax.h3.imageToVideo</code></b></summary>
|
|
945
|
+
|
|
946
|
+
<code>POST https://fal.run/minimax/h3/image-to-video</code>
|
|
947
|
+
|
|
948
|
+
Cost tier: <code>prohibitive</code>
|
|
949
|
+
|
|
950
|
+
[Upstream docs ↗](https://fal.ai/models/minimax/h3/image-to-video/api)
|
|
951
|
+
|
|
952
|
+
```typescript
|
|
953
|
+
const res = await fal.run.minimax.h3.imageToVideo({ /* ... */ });
|
|
954
|
+
```
|
|
955
|
+
|
|
956
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
957
|
+
|
|
958
|
+
</details>
|
|
959
|
+
|
|
960
|
+
<details>
|
|
961
|
+
<summary><code>POST</code> <b><code>fal.minimax.h3.referenceToVideo</code></b></summary>
|
|
962
|
+
|
|
963
|
+
<code>POST https://fal.run/minimax/h3/reference-to-video</code>
|
|
964
|
+
|
|
965
|
+
Cost tier: <code>prohibitive</code>
|
|
966
|
+
|
|
967
|
+
[Upstream docs ↗](https://fal.ai/models/minimax/h3/reference-to-video/api)
|
|
968
|
+
|
|
969
|
+
```typescript
|
|
970
|
+
const res = await fal.run.minimax.h3.referenceToVideo({ /* ... */ });
|
|
971
|
+
```
|
|
972
|
+
|
|
973
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
974
|
+
|
|
975
|
+
</details>
|
|
976
|
+
|
|
977
|
+
<details>
|
|
978
|
+
<summary><code>POST</code> <b><code>fal.minimax.h3.textToVideo</code></b></summary>
|
|
979
|
+
|
|
980
|
+
<code>POST https://fal.run/minimax/h3/text-to-video</code>
|
|
981
|
+
|
|
982
|
+
Cost tier: <code>prohibitive</code>
|
|
983
|
+
|
|
984
|
+
[Upstream docs ↗](https://fal.ai/models/minimax/h3/text-to-video/api)
|
|
985
|
+
|
|
986
|
+
```typescript
|
|
987
|
+
const res = await fal.run.minimax.h3.textToVideo({ /* ... */ });
|
|
988
|
+
```
|
|
989
|
+
|
|
990
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
991
|
+
|
|
992
|
+
</details>
|
|
993
|
+
|
|
994
|
+
<details>
|
|
995
|
+
<summary><code>POST</code> <b><code>fal.minimax.music3</code></b></summary>
|
|
996
|
+
|
|
997
|
+
<code>POST https://fal.run/minimax/music-3</code>
|
|
998
|
+
|
|
999
|
+
Cost tier: <code>prohibitive</code>
|
|
1000
|
+
|
|
1001
|
+
[Upstream docs ↗](https://fal.ai/models/minimax/music-3/api)
|
|
1002
|
+
|
|
1003
|
+
```typescript
|
|
1004
|
+
const res = await fal.run.minimax.music3({ /* ... */ });
|
|
1005
|
+
```
|
|
1006
|
+
|
|
1007
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1008
|
+
|
|
1009
|
+
</details>
|
|
1010
|
+
|
|
765
1011
|
### models
|
|
766
1012
|
|
|
767
1013
|
<details>
|
|
@@ -1224,6 +1470,42 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
1224
1470
|
|
|
1225
1471
|
</details>
|
|
1226
1472
|
|
|
1473
|
+
### topaz
|
|
1474
|
+
|
|
1475
|
+
<details>
|
|
1476
|
+
<summary><code>POST</code> <b><code>fal.topaz.upscale.image.precision</code></b></summary>
|
|
1477
|
+
|
|
1478
|
+
<code>POST https://fal.run/topaz/upscale/image/precision</code>
|
|
1479
|
+
|
|
1480
|
+
Cost tier: <code>prohibitive</code>
|
|
1481
|
+
|
|
1482
|
+
[Upstream docs ↗](https://fal.ai/models/topaz/upscale/image/precision/api)
|
|
1483
|
+
|
|
1484
|
+
```typescript
|
|
1485
|
+
const res = await fal.run.topaz.upscale.image.precision({ /* ... */ });
|
|
1486
|
+
```
|
|
1487
|
+
|
|
1488
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1489
|
+
|
|
1490
|
+
</details>
|
|
1491
|
+
|
|
1492
|
+
<details>
|
|
1493
|
+
<summary><code>POST</code> <b><code>fal.topaz.upscale.video.precision</code></b></summary>
|
|
1494
|
+
|
|
1495
|
+
<code>POST https://fal.run/topaz/upscale/video/precision</code>
|
|
1496
|
+
|
|
1497
|
+
Cost tier: <code>prohibitive</code>
|
|
1498
|
+
|
|
1499
|
+
[Upstream docs ↗](https://fal.ai/models/topaz/upscale/video/precision/api)
|
|
1500
|
+
|
|
1501
|
+
```typescript
|
|
1502
|
+
const res = await fal.run.topaz.upscale.video.precision({ /* ... */ });
|
|
1503
|
+
```
|
|
1504
|
+
|
|
1505
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1506
|
+
|
|
1507
|
+
</details>
|
|
1508
|
+
|
|
1227
1509
|
### veo3p1
|
|
1228
1510
|
|
|
1229
1511
|
<details>
|
|
@@ -1260,6 +1542,25 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
1260
1542
|
|
|
1261
1543
|
</details>
|
|
1262
1544
|
|
|
1545
|
+
### virtualTryOn
|
|
1546
|
+
|
|
1547
|
+
<details>
|
|
1548
|
+
<summary><code>POST</code> <b><code>fal.virtualTryOn</code></b></summary>
|
|
1549
|
+
|
|
1550
|
+
<code>POST https://fal.run/google/virtual-try-on</code>
|
|
1551
|
+
|
|
1552
|
+
Cost tier: <code>prohibitive</code>
|
|
1553
|
+
|
|
1554
|
+
[Upstream docs ↗](https://fal.ai/models/google/virtual-try-on/api)
|
|
1555
|
+
|
|
1556
|
+
```typescript
|
|
1557
|
+
const res = await fal.run.virtualTryOn({ /* ... */ });
|
|
1558
|
+
```
|
|
1559
|
+
|
|
1560
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1561
|
+
|
|
1562
|
+
</details>
|
|
1563
|
+
|
|
1263
1564
|
### wan
|
|
1264
1565
|
|
|
1265
1566
|
<details>
|
|
@@ -1551,6 +1852,23 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
1551
1852
|
|
|
1552
1853
|
</details>
|
|
1553
1854
|
|
|
1855
|
+
<details>
|
|
1856
|
+
<summary><code>POST</code> <b><code>fal.xai.grokImagineVideo.v1p5.referenceToVideo</code></b></summary>
|
|
1857
|
+
|
|
1858
|
+
<code>POST https://fal.run/xai/grok-imagine-video/v1.5/reference-to-video</code>
|
|
1859
|
+
|
|
1860
|
+
Cost tier: <code>prohibitive</code>
|
|
1861
|
+
|
|
1862
|
+
[Upstream docs ↗](https://fal.ai/models/xai/grok-imagine-video/v1.5/reference-to-video/api)
|
|
1863
|
+
|
|
1864
|
+
```typescript
|
|
1865
|
+
const res = await fal.run.xai.grokImagineVideo.v1p5.referenceToVideo({ /* ... */ });
|
|
1866
|
+
```
|
|
1867
|
+
|
|
1868
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1869
|
+
|
|
1870
|
+
</details>
|
|
1871
|
+
|
|
1554
1872
|
## Middleware
|
|
1555
1873
|
|
|
1556
1874
|
```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../src/example.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,IAAI,EAAE,OAAO,GAAG,WAAW,GAAG,aAAa,CAAC;IAC5C,0EAA0E;IAC1E,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,QAAA,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../src/example.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,IAAI,EAAE,OAAO,GAAG,WAAW,GAAG,aAAa,CAAC;IAC5C,0EAA0E;IAC1E,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,QAAA,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CA4hC7C,CAAC;AAEF,eAAe,QAAQ,CAAC;AAOxB,wBAAgB,cAAc,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,CA6ChD"}
|
package/dist/src/example.js
CHANGED
|
@@ -372,6 +372,41 @@ const EXAMPLES = {
|
|
|
372
372
|
"tier": "prohibitive",
|
|
373
373
|
"runByDefault": false
|
|
374
374
|
},
|
|
375
|
+
"POST bytedance.seedream.v5.pro.edit": {
|
|
376
|
+
"source": "fal/bytedance-seedream-v5-pro-edit",
|
|
377
|
+
"payload": {
|
|
378
|
+
"prompt": "Change the background to a snowy forest clearing at golden hour",
|
|
379
|
+
"image_urls": [
|
|
380
|
+
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_1.png"
|
|
381
|
+
],
|
|
382
|
+
"image_size": "square_hd",
|
|
383
|
+
"num_images": 1,
|
|
384
|
+
"output_format": "jpeg"
|
|
385
|
+
},
|
|
386
|
+
"tier": "prohibitive",
|
|
387
|
+
"runByDefault": false
|
|
388
|
+
},
|
|
389
|
+
"POST bytedance.seedream.v5.pro.layerize": {
|
|
390
|
+
"source": "fal/bytedance-seedream-v5-pro-layerize",
|
|
391
|
+
"payload": {
|
|
392
|
+
"image_url": "https://storage.googleapis.com/falserverless/example_inputs/kontext_example_input.webp",
|
|
393
|
+
"image_size": "auto_1K",
|
|
394
|
+
"enhance_prompt_mode": "fast"
|
|
395
|
+
},
|
|
396
|
+
"tier": "prohibitive",
|
|
397
|
+
"runByDefault": false
|
|
398
|
+
},
|
|
399
|
+
"POST bytedance.seedream.v5.pro.textToImage": {
|
|
400
|
+
"source": "fal/bytedance-seedream-v5-pro-text-to-image",
|
|
401
|
+
"payload": {
|
|
402
|
+
"prompt": "A photorealistic red fox sitting in a snowy forest clearing at golden hour",
|
|
403
|
+
"image_size": "square_hd",
|
|
404
|
+
"num_images": 1,
|
|
405
|
+
"output_format": "jpeg"
|
|
406
|
+
},
|
|
407
|
+
"tier": "prohibitive",
|
|
408
|
+
"runByDefault": false
|
|
409
|
+
},
|
|
375
410
|
"POST falAi.elevenlabs.speechToText.scribeV2": {
|
|
376
411
|
"source": "fal/elevenlabs-speech-to-text-scribe-v2",
|
|
377
412
|
"payload": {
|
|
@@ -383,6 +418,48 @@ const EXAMPLES = {
|
|
|
383
418
|
"tier": "prohibitive",
|
|
384
419
|
"runByDefault": false
|
|
385
420
|
},
|
|
421
|
+
"POST geminiOmniFlash": {
|
|
422
|
+
"source": "fal/google-gemini-omni-flash",
|
|
423
|
+
"payload": {
|
|
424
|
+
"prompt": "A calico cat naps on a sunlit windowsill, purring softly.",
|
|
425
|
+
"duration": 3
|
|
426
|
+
},
|
|
427
|
+
"tier": "prohibitive",
|
|
428
|
+
"runByDefault": false
|
|
429
|
+
},
|
|
430
|
+
"POST geminiOmniFlash.edit": {
|
|
431
|
+
"source": "fal/google-gemini-omni-flash-edit",
|
|
432
|
+
"payload": {
|
|
433
|
+
"prompt": "Make this video anime. Keep everything else the same.",
|
|
434
|
+
"video_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/mmaudio_input.mp4"
|
|
435
|
+
},
|
|
436
|
+
"tier": "prohibitive",
|
|
437
|
+
"runByDefault": false
|
|
438
|
+
},
|
|
439
|
+
"POST geminiOmniFlash.imageToVideo": {
|
|
440
|
+
"source": "fal/google-gemini-omni-flash-image-to-video",
|
|
441
|
+
"payload": {
|
|
442
|
+
"prompt": "The dog turns its head and wags its tail in warm sunlight.",
|
|
443
|
+
"image_url": "https://storage.googleapis.com/falserverless/example_inputs/dog.png",
|
|
444
|
+
"aspect_ratio": "16:9",
|
|
445
|
+
"duration": 3
|
|
446
|
+
},
|
|
447
|
+
"tier": "prohibitive",
|
|
448
|
+
"runByDefault": false
|
|
449
|
+
},
|
|
450
|
+
"POST geminiOmniFlash.referenceToVideo": {
|
|
451
|
+
"source": "fal/google-gemini-omni-flash-reference-to-video",
|
|
452
|
+
"payload": {
|
|
453
|
+
"prompt": "<IMAGE_REF_0> walks slowly through a sunlit meadow, camera holding still.",
|
|
454
|
+
"image_urls": [
|
|
455
|
+
"https://storage.googleapis.com/falserverless/example_inputs/veo31-r2v-input-1.png"
|
|
456
|
+
],
|
|
457
|
+
"aspect_ratio": "16:9",
|
|
458
|
+
"duration": 3
|
|
459
|
+
},
|
|
460
|
+
"tier": "prohibitive",
|
|
461
|
+
"runByDefault": false
|
|
462
|
+
},
|
|
386
463
|
"POST gptImage1p5": {
|
|
387
464
|
"source": "fal/gpt-image-1.5",
|
|
388
465
|
"payload": {
|
|
@@ -500,6 +577,91 @@ const EXAMPLES = {
|
|
|
500
577
|
"tier": "prohibitive",
|
|
501
578
|
"runByDefault": false
|
|
502
579
|
},
|
|
580
|
+
"POST lightricks.ltx2p5.imageToVideo.fast": {
|
|
581
|
+
"source": "fal/lightricks-ltx2p5-image-to-video-fast",
|
|
582
|
+
"payload": {
|
|
583
|
+
"image_url": "<inline image/jpeg data URL — replace with a real URL or upload>",
|
|
584
|
+
"prompt": "the man smiles and turns his head slowly toward the camera",
|
|
585
|
+
"duration": 6,
|
|
586
|
+
"resolution": "720p",
|
|
587
|
+
"fps": 24,
|
|
588
|
+
"generate_audio": false
|
|
589
|
+
},
|
|
590
|
+
"tier": "prohibitive",
|
|
591
|
+
"runByDefault": false
|
|
592
|
+
},
|
|
593
|
+
"POST lightricks.ltx2p5.imageToVideo.pro": {
|
|
594
|
+
"source": "fal/lightricks-ltx2p5-image-to-video-pro",
|
|
595
|
+
"payload": {
|
|
596
|
+
"image_url": "<inline image/jpeg data URL — replace with a real URL or upload>",
|
|
597
|
+
"prompt": "the man smiles and turns his head slowly toward the camera",
|
|
598
|
+
"duration": 6,
|
|
599
|
+
"resolution": "720p",
|
|
600
|
+
"fps": 24,
|
|
601
|
+
"generate_audio": false
|
|
602
|
+
},
|
|
603
|
+
"tier": "prohibitive",
|
|
604
|
+
"runByDefault": false
|
|
605
|
+
},
|
|
606
|
+
"POST meshy.v7.imageTo3d": {
|
|
607
|
+
"source": "fal/meshy-v7-image-to-3d",
|
|
608
|
+
"payload": {
|
|
609
|
+
"image_url": "https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png",
|
|
610
|
+
"model_type": "standard",
|
|
611
|
+
"should_texture": false
|
|
612
|
+
},
|
|
613
|
+
"tier": "prohibitive",
|
|
614
|
+
"runByDefault": false
|
|
615
|
+
},
|
|
616
|
+
"POST minimax.h3.imageToVideo": {
|
|
617
|
+
"source": "fal/minimax-h3-image-to-video",
|
|
618
|
+
"payload": {
|
|
619
|
+
"prompt": "The camera drifts slowly forward as soft afternoon light moves across the scene.",
|
|
620
|
+
"image_url": "https://storage.googleapis.com/falserverless/example_inputs/hailuo23/pro_i2v_in.jpg",
|
|
621
|
+
"duration": 5,
|
|
622
|
+
"resolution": "480P",
|
|
623
|
+
"prompt_expansion_mode": "disabled"
|
|
624
|
+
},
|
|
625
|
+
"tier": "prohibitive",
|
|
626
|
+
"runByDefault": false
|
|
627
|
+
},
|
|
628
|
+
"POST minimax.h3.referenceToVideo": {
|
|
629
|
+
"source": "fal/minimax-h3-reference-to-video",
|
|
630
|
+
"payload": {
|
|
631
|
+
"prompt": "Image 1 is the subject. Keep it consistent while the camera drifts slowly forward through soft afternoon light.",
|
|
632
|
+
"reference_image_urls": [
|
|
633
|
+
"https://storage.googleapis.com/falserverless/example_inputs/hailuo23/pro_i2v_in.jpg"
|
|
634
|
+
],
|
|
635
|
+
"duration": 5,
|
|
636
|
+
"resolution": "480P",
|
|
637
|
+
"prompt_expansion_mode": "disabled"
|
|
638
|
+
},
|
|
639
|
+
"tier": "prohibitive",
|
|
640
|
+
"runByDefault": false
|
|
641
|
+
},
|
|
642
|
+
"POST minimax.h3.textToVideo": {
|
|
643
|
+
"source": "fal/minimax-h3-text-to-video",
|
|
644
|
+
"payload": {
|
|
645
|
+
"prompt": "A white kitten chases a butterfly across a sunlit garden. Gentle camera tracking, natural movement, soft afternoon light.",
|
|
646
|
+
"duration": 5,
|
|
647
|
+
"resolution": "480P",
|
|
648
|
+
"prompt_expansion_mode": "disabled"
|
|
649
|
+
},
|
|
650
|
+
"tier": "prohibitive",
|
|
651
|
+
"runByDefault": false
|
|
652
|
+
},
|
|
653
|
+
"POST minimax.music3": {
|
|
654
|
+
"source": "fal/minimax-music-3",
|
|
655
|
+
"payload": {
|
|
656
|
+
"prompt": "Genre: acoustic pop. BPM: 96. Key: C major. Warm and intimate. Vocals: soft female lead. Arrangement: fingerpicked guitar and soft piano.",
|
|
657
|
+
"lyrics": "[verse]\nMorning light filtering through the pine\n",
|
|
658
|
+
"duration": 8,
|
|
659
|
+
"num_inference_steps": 8,
|
|
660
|
+
"seed": 42
|
|
661
|
+
},
|
|
662
|
+
"tier": "prohibitive",
|
|
663
|
+
"runByDefault": false
|
|
664
|
+
},
|
|
503
665
|
"POST nanoBanana.edit": {
|
|
504
666
|
"source": "fal/nano-banana-edit",
|
|
505
667
|
"payload": {
|
|
@@ -652,6 +814,27 @@ const EXAMPLES = {
|
|
|
652
814
|
"tier": "prohibitive",
|
|
653
815
|
"runByDefault": false
|
|
654
816
|
},
|
|
817
|
+
"POST topaz.upscale.image.precision": {
|
|
818
|
+
"source": "fal/topaz-upscale-image-precision",
|
|
819
|
+
"payload": {
|
|
820
|
+
"image_url": "https://storage.googleapis.com/falserverless/model_tests/codeformer/codeformer_poor_1.jpeg",
|
|
821
|
+
"model": "Standard V2",
|
|
822
|
+
"upscale_factor": 2,
|
|
823
|
+
"output_format": "jpeg"
|
|
824
|
+
},
|
|
825
|
+
"tier": "prohibitive",
|
|
826
|
+
"runByDefault": false
|
|
827
|
+
},
|
|
828
|
+
"POST topaz.upscale.video.precision": {
|
|
829
|
+
"source": "fal/topaz-upscale-video-precision",
|
|
830
|
+
"payload": {
|
|
831
|
+
"video_url": "https://v3b.fal.media/files/b/0aa81cc4/YSFz_9f2qby6PzwOC6CMz_topaz-precision-source.mp4",
|
|
832
|
+
"model": "Proteus",
|
|
833
|
+
"upscale_factor": 1.25
|
|
834
|
+
},
|
|
835
|
+
"tier": "prohibitive",
|
|
836
|
+
"runByDefault": false
|
|
837
|
+
},
|
|
655
838
|
"POST v1.models.pricing.estimate": {
|
|
656
839
|
"source": "fal/estimate-cost",
|
|
657
840
|
"payload": {
|
|
@@ -690,6 +873,16 @@ const EXAMPLES = {
|
|
|
690
873
|
"tier": "prohibitive",
|
|
691
874
|
"runByDefault": false
|
|
692
875
|
},
|
|
876
|
+
"POST virtualTryOn": {
|
|
877
|
+
"source": "fal/google-virtual-try-on",
|
|
878
|
+
"payload": {
|
|
879
|
+
"person_image_url": "https://storage.googleapis.com/falserverless/model_tests/leffa/person_image.jpg",
|
|
880
|
+
"product_image_url": "https://storage.googleapis.com/falserverless/model_tests/leffa/tshirt_image.jpg",
|
|
881
|
+
"num_images": 1
|
|
882
|
+
},
|
|
883
|
+
"tier": "prohibitive",
|
|
884
|
+
"runByDefault": false
|
|
885
|
+
},
|
|
693
886
|
"POST wan.v2p7.edit": {
|
|
694
887
|
"source": "fal/wan-v2p7-edit",
|
|
695
888
|
"payload": {
|
|
@@ -848,6 +1041,20 @@ const EXAMPLES = {
|
|
|
848
1041
|
},
|
|
849
1042
|
"tier": "prohibitive",
|
|
850
1043
|
"runByDefault": false
|
|
1044
|
+
},
|
|
1045
|
+
"POST xai.grokImagineVideo.v1p5.referenceToVideo": {
|
|
1046
|
+
"source": "fal/xai-grok-imagine-video-v1-5-reference-to-video",
|
|
1047
|
+
"payload": {
|
|
1048
|
+
"prompt": "The person from <IMAGE_0> walks through a rainy neon-lit street",
|
|
1049
|
+
"reference_image_urls": [
|
|
1050
|
+
"<inline image/jpeg data URL — replace with a real URL or upload>"
|
|
1051
|
+
],
|
|
1052
|
+
"duration": 4,
|
|
1053
|
+
"resolution": "480p",
|
|
1054
|
+
"aspect_ratio": "16:9"
|
|
1055
|
+
},
|
|
1056
|
+
"tier": "prohibitive",
|
|
1057
|
+
"runByDefault": false
|
|
851
1058
|
}
|
|
852
1059
|
};
|
|
853
1060
|
export default EXAMPLES;
|