@apicity/fal 0.16.3 → 0.17.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 +379 -1
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +227 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +166 -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 +402 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +13341 -107
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +2549 -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
|
+
241 endpoints across 55 groups. Each method mirrors an upstream URL path.
|
|
125
125
|
|
|
126
126
|
### alibaba
|
|
127
127
|
|
|
@@ -1452,6 +1452,280 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
1452
1452
|
|
|
1453
1453
|
</details>
|
|
1454
1454
|
|
|
1455
|
+
### heygen
|
|
1456
|
+
|
|
1457
|
+
<details>
|
|
1458
|
+
<summary><code>POST</code> <b><code>fal.heygen.avatar3.digitalTwin</code></b></summary>
|
|
1459
|
+
|
|
1460
|
+
<code>POST https://fal.run/fal-ai/heygen/avatar3/digital-twin</code>
|
|
1461
|
+
|
|
1462
|
+
Cost tier: <code>prohibitive</code>
|
|
1463
|
+
|
|
1464
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/avatar3/digital-twin/api)
|
|
1465
|
+
|
|
1466
|
+
```typescript
|
|
1467
|
+
const res = await fal.run.heygen.avatar3.digitalTwin({ /* ... */ });
|
|
1468
|
+
```
|
|
1469
|
+
|
|
1470
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1471
|
+
|
|
1472
|
+
</details>
|
|
1473
|
+
|
|
1474
|
+
<details>
|
|
1475
|
+
<summary><code>POST</code> <b><code>fal.heygen.avatar4.digitalTwin</code></b></summary>
|
|
1476
|
+
|
|
1477
|
+
<code>POST https://fal.run/fal-ai/heygen/avatar4/digital-twin</code>
|
|
1478
|
+
|
|
1479
|
+
Cost tier: <code>prohibitive</code>
|
|
1480
|
+
|
|
1481
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/avatar4/digital-twin/api)
|
|
1482
|
+
|
|
1483
|
+
```typescript
|
|
1484
|
+
const res = await fal.run.heygen.avatar4.digitalTwin({ /* ... */ });
|
|
1485
|
+
```
|
|
1486
|
+
|
|
1487
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1488
|
+
|
|
1489
|
+
</details>
|
|
1490
|
+
|
|
1491
|
+
<details>
|
|
1492
|
+
<summary><code>POST</code> <b><code>fal.heygen.avatar4.imageToVideo</code></b></summary>
|
|
1493
|
+
|
|
1494
|
+
<code>POST https://fal.run/fal-ai/heygen/avatar4/image-to-video</code>
|
|
1495
|
+
|
|
1496
|
+
Cost tier: <code>prohibitive</code>
|
|
1497
|
+
|
|
1498
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/avatar4/image-to-video/api)
|
|
1499
|
+
|
|
1500
|
+
```typescript
|
|
1501
|
+
const res = await fal.run.heygen.avatar4.imageToVideo({ /* ... */ });
|
|
1502
|
+
```
|
|
1503
|
+
|
|
1504
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1505
|
+
|
|
1506
|
+
</details>
|
|
1507
|
+
|
|
1508
|
+
<details>
|
|
1509
|
+
<summary><code>POST</code> <b><code>fal.heygen.avatar5.digitalTwin</code></b></summary>
|
|
1510
|
+
|
|
1511
|
+
<code>POST https://fal.run/fal-ai/heygen/avatar5/digital-twin</code>
|
|
1512
|
+
|
|
1513
|
+
Cost tier: <code>prohibitive</code>
|
|
1514
|
+
|
|
1515
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/avatar5/digital-twin/api)
|
|
1516
|
+
|
|
1517
|
+
```typescript
|
|
1518
|
+
const res = await fal.run.heygen.avatar5.digitalTwin({ /* ... */ });
|
|
1519
|
+
```
|
|
1520
|
+
|
|
1521
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1522
|
+
|
|
1523
|
+
</details>
|
|
1524
|
+
|
|
1525
|
+
<details>
|
|
1526
|
+
<summary><code>POST</code> <b><code>fal.heygen.heygenVideo.imageToVideo</code></b></summary>
|
|
1527
|
+
|
|
1528
|
+
<code>POST https://fal.run/heygen/heygen-video/image-to-video</code>
|
|
1529
|
+
|
|
1530
|
+
Cost tier: <code>prohibitive</code>
|
|
1531
|
+
|
|
1532
|
+
[Upstream docs ↗](https://fal.ai/models/heygen/heygen-video/image-to-video/api)
|
|
1533
|
+
|
|
1534
|
+
```typescript
|
|
1535
|
+
const res = await fal.run.heygen.heygenVideo.imageToVideo({ /* ... */ });
|
|
1536
|
+
```
|
|
1537
|
+
|
|
1538
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1539
|
+
|
|
1540
|
+
</details>
|
|
1541
|
+
|
|
1542
|
+
<details>
|
|
1543
|
+
<summary><code>POST</code> <b><code>fal.heygen.heygenVideo.referenceToVideo</code></b></summary>
|
|
1544
|
+
|
|
1545
|
+
<code>POST https://fal.run/heygen/heygen-video/reference-to-video</code>
|
|
1546
|
+
|
|
1547
|
+
Cost tier: <code>prohibitive</code>
|
|
1548
|
+
|
|
1549
|
+
[Upstream docs ↗](https://fal.ai/models/heygen/heygen-video/reference-to-video/api)
|
|
1550
|
+
|
|
1551
|
+
```typescript
|
|
1552
|
+
const res = await fal.run.heygen.heygenVideo.referenceToVideo({ /* ... */ });
|
|
1553
|
+
```
|
|
1554
|
+
|
|
1555
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1556
|
+
|
|
1557
|
+
</details>
|
|
1558
|
+
|
|
1559
|
+
<details>
|
|
1560
|
+
<summary><code>POST</code> <b><code>fal.heygen.heygenVideo.textToVideo</code></b></summary>
|
|
1561
|
+
|
|
1562
|
+
<code>POST https://fal.run/heygen/heygen-video/text-to-video</code>
|
|
1563
|
+
|
|
1564
|
+
Cost tier: <code>prohibitive</code>
|
|
1565
|
+
|
|
1566
|
+
[Upstream docs ↗](https://fal.ai/models/heygen/heygen-video/text-to-video/api)
|
|
1567
|
+
|
|
1568
|
+
```typescript
|
|
1569
|
+
const res = await fal.run.heygen.heygenVideo.textToVideo({ /* ... */ });
|
|
1570
|
+
```
|
|
1571
|
+
|
|
1572
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1573
|
+
|
|
1574
|
+
</details>
|
|
1575
|
+
|
|
1576
|
+
<details>
|
|
1577
|
+
<summary><code>POST</code> <b><code>fal.heygen.heygenVoice</code></b></summary>
|
|
1578
|
+
|
|
1579
|
+
<code>POST https://fal.run/heygen/heygen-voice</code>
|
|
1580
|
+
|
|
1581
|
+
Cost tier: <code>prohibitive</code>
|
|
1582
|
+
|
|
1583
|
+
[Upstream docs ↗](https://fal.ai/models/heygen/heygen-voice/api)
|
|
1584
|
+
|
|
1585
|
+
```typescript
|
|
1586
|
+
const res = await fal.run.heygen.heygenVoice({ /* ... */ });
|
|
1587
|
+
```
|
|
1588
|
+
|
|
1589
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1590
|
+
|
|
1591
|
+
</details>
|
|
1592
|
+
|
|
1593
|
+
<details>
|
|
1594
|
+
<summary><code>POST</code> <b><code>fal.heygen.heygenVoice.turbo</code></b></summary>
|
|
1595
|
+
|
|
1596
|
+
<code>POST https://fal.run/heygen/heygen-voice/turbo</code>
|
|
1597
|
+
|
|
1598
|
+
Cost tier: <code>prohibitive</code>
|
|
1599
|
+
|
|
1600
|
+
[Upstream docs ↗](https://fal.ai/models/heygen/heygen-voice/turbo/api)
|
|
1601
|
+
|
|
1602
|
+
```typescript
|
|
1603
|
+
const res = await fal.run.heygen.heygenVoice.turbo({ /* ... */ });
|
|
1604
|
+
```
|
|
1605
|
+
|
|
1606
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1607
|
+
|
|
1608
|
+
</details>
|
|
1609
|
+
|
|
1610
|
+
<details>
|
|
1611
|
+
<summary><code>POST</code> <b><code>fal.heygen.v2.translate.precision</code></b></summary>
|
|
1612
|
+
|
|
1613
|
+
<code>POST https://fal.run/fal-ai/heygen/v2/translate/precision</code>
|
|
1614
|
+
|
|
1615
|
+
Cost tier: <code>prohibitive</code>
|
|
1616
|
+
|
|
1617
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/v2/translate/precision/api)
|
|
1618
|
+
|
|
1619
|
+
```typescript
|
|
1620
|
+
const res = await fal.run.heygen.v2.translate.precision({ /* ... */ });
|
|
1621
|
+
```
|
|
1622
|
+
|
|
1623
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1624
|
+
|
|
1625
|
+
</details>
|
|
1626
|
+
|
|
1627
|
+
<details>
|
|
1628
|
+
<summary><code>POST</code> <b><code>fal.heygen.v2.translate.speed</code></b></summary>
|
|
1629
|
+
|
|
1630
|
+
<code>POST https://fal.run/fal-ai/heygen/v2/translate/speed</code>
|
|
1631
|
+
|
|
1632
|
+
Cost tier: <code>prohibitive</code>
|
|
1633
|
+
|
|
1634
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/v2/translate/speed/api)
|
|
1635
|
+
|
|
1636
|
+
```typescript
|
|
1637
|
+
const res = await fal.run.heygen.v2.translate.speed({ /* ... */ });
|
|
1638
|
+
```
|
|
1639
|
+
|
|
1640
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1641
|
+
|
|
1642
|
+
</details>
|
|
1643
|
+
|
|
1644
|
+
<details>
|
|
1645
|
+
<summary><code>POST</code> <b><code>fal.heygen.v2.videoAgent</code></b></summary>
|
|
1646
|
+
|
|
1647
|
+
<code>POST https://fal.run/fal-ai/heygen/v2/video-agent</code>
|
|
1648
|
+
|
|
1649
|
+
Cost tier: <code>prohibitive</code>
|
|
1650
|
+
|
|
1651
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/v2/video-agent/api)
|
|
1652
|
+
|
|
1653
|
+
```typescript
|
|
1654
|
+
const res = await fal.run.heygen.v2.videoAgent({ /* ... */ });
|
|
1655
|
+
```
|
|
1656
|
+
|
|
1657
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1658
|
+
|
|
1659
|
+
</details>
|
|
1660
|
+
|
|
1661
|
+
<details>
|
|
1662
|
+
<summary><code>POST</code> <b><code>fal.heygen.v3.fillerWordRemoval</code></b></summary>
|
|
1663
|
+
|
|
1664
|
+
<code>POST https://fal.run/fal-ai/heygen/v3/filler-word-removal</code>
|
|
1665
|
+
|
|
1666
|
+
Cost tier: <code>prohibitive</code>
|
|
1667
|
+
|
|
1668
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/v3/filler-word-removal/api)
|
|
1669
|
+
|
|
1670
|
+
```typescript
|
|
1671
|
+
const res = await fal.run.heygen.v3.fillerWordRemoval({ /* ... */ });
|
|
1672
|
+
```
|
|
1673
|
+
|
|
1674
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1675
|
+
|
|
1676
|
+
</details>
|
|
1677
|
+
|
|
1678
|
+
<details>
|
|
1679
|
+
<summary><code>POST</code> <b><code>fal.heygen.v3.lipsync.precision</code></b></summary>
|
|
1680
|
+
|
|
1681
|
+
<code>POST https://fal.run/fal-ai/heygen/v3/lipsync/precision</code>
|
|
1682
|
+
|
|
1683
|
+
Cost tier: <code>prohibitive</code>
|
|
1684
|
+
|
|
1685
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/v3/lipsync/precision/api)
|
|
1686
|
+
|
|
1687
|
+
```typescript
|
|
1688
|
+
const res = await fal.run.heygen.v3.lipsync.precision({ /* ... */ });
|
|
1689
|
+
```
|
|
1690
|
+
|
|
1691
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1692
|
+
|
|
1693
|
+
</details>
|
|
1694
|
+
|
|
1695
|
+
<details>
|
|
1696
|
+
<summary><code>POST</code> <b><code>fal.heygen.v3.lipsync.speed</code></b></summary>
|
|
1697
|
+
|
|
1698
|
+
<code>POST https://fal.run/fal-ai/heygen/v3/lipsync/speed</code>
|
|
1699
|
+
|
|
1700
|
+
Cost tier: <code>prohibitive</code>
|
|
1701
|
+
|
|
1702
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/v3/lipsync/speed/api)
|
|
1703
|
+
|
|
1704
|
+
```typescript
|
|
1705
|
+
const res = await fal.run.heygen.v3.lipsync.speed({ /* ... */ });
|
|
1706
|
+
```
|
|
1707
|
+
|
|
1708
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1709
|
+
|
|
1710
|
+
</details>
|
|
1711
|
+
|
|
1712
|
+
<details>
|
|
1713
|
+
<summary><code>POST</code> <b><code>fal.heygen.v3.videoAgent</code></b></summary>
|
|
1714
|
+
|
|
1715
|
+
<code>POST https://fal.run/fal-ai/heygen/v3/video-agent</code>
|
|
1716
|
+
|
|
1717
|
+
Cost tier: <code>prohibitive</code>
|
|
1718
|
+
|
|
1719
|
+
[Upstream docs ↗](https://fal.ai/models/fal-ai/heygen/v3/video-agent/api)
|
|
1720
|
+
|
|
1721
|
+
```typescript
|
|
1722
|
+
const res = await fal.run.heygen.v3.videoAgent({ /* ... */ });
|
|
1723
|
+
```
|
|
1724
|
+
|
|
1725
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1726
|
+
|
|
1727
|
+
</details>
|
|
1728
|
+
|
|
1455
1729
|
### hunyuan
|
|
1456
1730
|
|
|
1457
1731
|
<details>
|
|
@@ -1507,6 +1781,40 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
1507
1781
|
|
|
1508
1782
|
</details>
|
|
1509
1783
|
|
|
1784
|
+
<details>
|
|
1785
|
+
<summary><code>POST</code> <b><code>fal.ideogram.vector.imageToVector</code></b></summary>
|
|
1786
|
+
|
|
1787
|
+
<code>POST https://fal.run/ideogram/vector/image-to-vector</code>
|
|
1788
|
+
|
|
1789
|
+
Cost tier: <code>prohibitive</code>
|
|
1790
|
+
|
|
1791
|
+
[Upstream docs ↗](https://fal.ai/models/ideogram/vector/image-to-vector/api)
|
|
1792
|
+
|
|
1793
|
+
```typescript
|
|
1794
|
+
const res = await fal.run.ideogram.vector.imageToVector({ /* ... */ });
|
|
1795
|
+
```
|
|
1796
|
+
|
|
1797
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1798
|
+
|
|
1799
|
+
</details>
|
|
1800
|
+
|
|
1801
|
+
<details>
|
|
1802
|
+
<summary><code>POST</code> <b><code>fal.ideogram.vector.textToVector</code></b></summary>
|
|
1803
|
+
|
|
1804
|
+
<code>POST https://fal.run/ideogram/vector/text-to-vector</code>
|
|
1805
|
+
|
|
1806
|
+
Cost tier: <code>prohibitive</code>
|
|
1807
|
+
|
|
1808
|
+
[Upstream docs ↗](https://fal.ai/models/ideogram/vector/text-to-vector/api)
|
|
1809
|
+
|
|
1810
|
+
```typescript
|
|
1811
|
+
const res = await fal.run.ideogram.vector.textToVector({ /* ... */ });
|
|
1812
|
+
```
|
|
1813
|
+
|
|
1814
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1815
|
+
|
|
1816
|
+
</details>
|
|
1817
|
+
|
|
1510
1818
|
### kandinsky6Lite
|
|
1511
1819
|
|
|
1512
1820
|
<details>
|
|
@@ -1615,6 +1923,76 @@ Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
|
1615
1923
|
|
|
1616
1924
|
</details>
|
|
1617
1925
|
|
|
1926
|
+
### kling
|
|
1927
|
+
|
|
1928
|
+
<details>
|
|
1929
|
+
<summary><code>POST</code> <b><code>fal.kling.v4.imageToVideo</code></b></summary>
|
|
1930
|
+
|
|
1931
|
+
<code>POST https://fal.run/kling/v4/image-to-video</code>
|
|
1932
|
+
|
|
1933
|
+
Cost tier: <code>prohibitive</code>
|
|
1934
|
+
|
|
1935
|
+
[Upstream docs ↗](https://fal.ai/models/kling/v4/image-to-video/api)
|
|
1936
|
+
|
|
1937
|
+
```typescript
|
|
1938
|
+
const res = await fal.run.kling.v4.imageToVideo({ /* ... */ });
|
|
1939
|
+
```
|
|
1940
|
+
|
|
1941
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1942
|
+
|
|
1943
|
+
</details>
|
|
1944
|
+
|
|
1945
|
+
<details>
|
|
1946
|
+
<summary><code>POST</code> <b><code>fal.kling.v4.referenceToVideo</code></b></summary>
|
|
1947
|
+
|
|
1948
|
+
<code>POST https://fal.run/kling/v4/reference-to-video</code>
|
|
1949
|
+
|
|
1950
|
+
Cost tier: <code>prohibitive</code>
|
|
1951
|
+
|
|
1952
|
+
[Upstream docs ↗](https://fal.ai/models/kling/v4/reference-to-video/api)
|
|
1953
|
+
|
|
1954
|
+
```typescript
|
|
1955
|
+
const res = await fal.run.kling.v4.referenceToVideo({ /* ... */ });
|
|
1956
|
+
```
|
|
1957
|
+
|
|
1958
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1959
|
+
|
|
1960
|
+
</details>
|
|
1961
|
+
|
|
1962
|
+
<details>
|
|
1963
|
+
<summary><code>POST</code> <b><code>fal.kling.v4.textToVideo</code></b></summary>
|
|
1964
|
+
|
|
1965
|
+
<code>POST https://fal.run/kling/v4/text-to-video</code>
|
|
1966
|
+
|
|
1967
|
+
Cost tier: <code>prohibitive</code>
|
|
1968
|
+
|
|
1969
|
+
[Upstream docs ↗](https://fal.ai/models/kling/v4/text-to-video/api)
|
|
1970
|
+
|
|
1971
|
+
```typescript
|
|
1972
|
+
const res = await fal.run.kling.v4.textToVideo({ /* ... */ });
|
|
1973
|
+
```
|
|
1974
|
+
|
|
1975
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1976
|
+
|
|
1977
|
+
</details>
|
|
1978
|
+
|
|
1979
|
+
<details>
|
|
1980
|
+
<summary><code>POST</code> <b><code>fal.kling.v4.videoToVideo.edit</code></b></summary>
|
|
1981
|
+
|
|
1982
|
+
<code>POST https://fal.run/kling/v4/video-to-video/edit</code>
|
|
1983
|
+
|
|
1984
|
+
Cost tier: <code>prohibitive</code>
|
|
1985
|
+
|
|
1986
|
+
[Upstream docs ↗](https://fal.ai/models/kling/v4/video-to-video/edit/api)
|
|
1987
|
+
|
|
1988
|
+
```typescript
|
|
1989
|
+
const res = await fal.run.kling.v4.videoToVideo.edit({ /* ... */ });
|
|
1990
|
+
```
|
|
1991
|
+
|
|
1992
|
+
Source: [`packages/provider/fal/src/fal.ts`](src/fal.ts)
|
|
1993
|
+
|
|
1994
|
+
</details>
|
|
1995
|
+
|
|
1618
1996
|
### klingVideo
|
|
1619
1997
|
|
|
1620
1998
|
<details>
|
|
@@ -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,CA4/E7C,CAAC;AAEF,eAAe,QAAQ,CAAC;AAOxB,wBAAgB,cAAc,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,CA6ChD"}
|
package/dist/src/example.js
CHANGED
|
@@ -938,6 +938,172 @@ const EXAMPLES = {
|
|
|
938
938
|
"tier": "prohibitive",
|
|
939
939
|
"runByDefault": false
|
|
940
940
|
},
|
|
941
|
+
"POST heygen.avatar3.digitalTwin": {
|
|
942
|
+
"source": "fal/heygen-avatar3-digital-twin",
|
|
943
|
+
"payload": {
|
|
944
|
+
"character": {
|
|
945
|
+
"avatar": "Abigail Office Front"
|
|
946
|
+
},
|
|
947
|
+
"voice": {
|
|
948
|
+
"prompt": "A red panda waves once, then holds still.",
|
|
949
|
+
"voice": "Ivy"
|
|
950
|
+
},
|
|
951
|
+
"resolution": "360p"
|
|
952
|
+
},
|
|
953
|
+
"tier": "prohibitive",
|
|
954
|
+
"runByDefault": false
|
|
955
|
+
},
|
|
956
|
+
"POST heygen.avatar4.digitalTwin": {
|
|
957
|
+
"source": "fal/heygen-avatar4-digital-twin",
|
|
958
|
+
"payload": {
|
|
959
|
+
"character": {
|
|
960
|
+
"avatar": "Abigail Office Front"
|
|
961
|
+
},
|
|
962
|
+
"voice": {
|
|
963
|
+
"prompt": "A red panda waves once, then holds still.",
|
|
964
|
+
"voice": "Ivy"
|
|
965
|
+
},
|
|
966
|
+
"resolution": "360p"
|
|
967
|
+
},
|
|
968
|
+
"tier": "prohibitive",
|
|
969
|
+
"runByDefault": false
|
|
970
|
+
},
|
|
971
|
+
"POST heygen.avatar4.imageToVideo": {
|
|
972
|
+
"source": "fal/heygen-avatar4-image-to-video",
|
|
973
|
+
"payload": {
|
|
974
|
+
"image_url": "<inline image/jpeg data URL — replace with a real URL or upload>",
|
|
975
|
+
"prompt": "A red panda waves once, then holds still.",
|
|
976
|
+
"voice": "Ivy",
|
|
977
|
+
"resolution": "360p"
|
|
978
|
+
},
|
|
979
|
+
"tier": "prohibitive",
|
|
980
|
+
"runByDefault": false
|
|
981
|
+
},
|
|
982
|
+
"POST heygen.avatar5.digitalTwin": {
|
|
983
|
+
"source": "fal/heygen-avatar5-digital-twin",
|
|
984
|
+
"payload": {
|
|
985
|
+
"prompt": "A red panda waves once, then holds still."
|
|
986
|
+
},
|
|
987
|
+
"tier": "prohibitive",
|
|
988
|
+
"runByDefault": false
|
|
989
|
+
},
|
|
990
|
+
"POST heygen.heygenVideo.imageToVideo": {
|
|
991
|
+
"source": "fal/heygen-heygen-video-image-to-video",
|
|
992
|
+
"payload": {
|
|
993
|
+
"prompt": "The cat waves once, then holds still.",
|
|
994
|
+
"image_url": "<inline image/jpeg data URL — replace with a real URL or upload>",
|
|
995
|
+
"duration": 5,
|
|
996
|
+
"resolution": "480p",
|
|
997
|
+
"prompt_enhancement": "disabled"
|
|
998
|
+
},
|
|
999
|
+
"tier": "prohibitive",
|
|
1000
|
+
"runByDefault": false
|
|
1001
|
+
},
|
|
1002
|
+
"POST heygen.heygenVideo.referenceToVideo": {
|
|
1003
|
+
"source": "fal/heygen-heygen-video-reference-to-video",
|
|
1004
|
+
"payload": {
|
|
1005
|
+
"prompt": "The cat from the reference image waves once, then holds still.",
|
|
1006
|
+
"reference_image_urls": [
|
|
1007
|
+
"<inline image/jpeg data URL — replace with a real URL or upload>"
|
|
1008
|
+
],
|
|
1009
|
+
"duration": 5,
|
|
1010
|
+
"resolution": "480p",
|
|
1011
|
+
"prompt_enhancement": "disabled"
|
|
1012
|
+
},
|
|
1013
|
+
"tier": "prohibitive",
|
|
1014
|
+
"runByDefault": false
|
|
1015
|
+
},
|
|
1016
|
+
"POST heygen.heygenVideo.textToVideo": {
|
|
1017
|
+
"source": "fal/heygen-heygen-video-text-to-video",
|
|
1018
|
+
"payload": {
|
|
1019
|
+
"prompt": "A red panda waves once, then holds still.",
|
|
1020
|
+
"duration": 5,
|
|
1021
|
+
"resolution": "480p",
|
|
1022
|
+
"prompt_enhancement": "disabled"
|
|
1023
|
+
},
|
|
1024
|
+
"tier": "prohibitive",
|
|
1025
|
+
"runByDefault": false
|
|
1026
|
+
},
|
|
1027
|
+
"POST heygen.heygenVoice": {
|
|
1028
|
+
"source": "fal/heygen-heygen-voice",
|
|
1029
|
+
"payload": {
|
|
1030
|
+
"text": "A red panda waves once, then holds still."
|
|
1031
|
+
},
|
|
1032
|
+
"tier": "prohibitive",
|
|
1033
|
+
"runByDefault": false
|
|
1034
|
+
},
|
|
1035
|
+
"POST heygen.heygenVoice.turbo": {
|
|
1036
|
+
"source": "fal/heygen-heygen-voice-turbo",
|
|
1037
|
+
"payload": {
|
|
1038
|
+
"text": "A red panda waves once, then holds still."
|
|
1039
|
+
},
|
|
1040
|
+
"tier": "prohibitive",
|
|
1041
|
+
"runByDefault": false
|
|
1042
|
+
},
|
|
1043
|
+
"POST heygen.v2.translate.precision": {
|
|
1044
|
+
"source": "fal/heygen-v2-translate-precision",
|
|
1045
|
+
"payload": {
|
|
1046
|
+
"video_url": "https://v3b.fal.media/files/b/0aaf8622/62FTWTu-9SFpD5P1Vh3Bm_0IjiKdRc.mp4",
|
|
1047
|
+
"output_language": "Spanish"
|
|
1048
|
+
},
|
|
1049
|
+
"tier": "prohibitive",
|
|
1050
|
+
"runByDefault": false
|
|
1051
|
+
},
|
|
1052
|
+
"POST heygen.v2.translate.speed": {
|
|
1053
|
+
"source": "fal/heygen-v2-translate-speed",
|
|
1054
|
+
"payload": {
|
|
1055
|
+
"video_url": "https://v3b.fal.media/files/b/0aaf8622/62FTWTu-9SFpD5P1Vh3Bm_0IjiKdRc.mp4",
|
|
1056
|
+
"output_language": "Spanish"
|
|
1057
|
+
},
|
|
1058
|
+
"tier": "prohibitive",
|
|
1059
|
+
"runByDefault": false
|
|
1060
|
+
},
|
|
1061
|
+
"POST heygen.v2.videoAgent": {
|
|
1062
|
+
"source": "fal/heygen-v2-video-agent",
|
|
1063
|
+
"payload": {
|
|
1064
|
+
"prompt": "A five-second clip in which a presenter says: A red panda waves once, then holds still.",
|
|
1065
|
+
"config": {
|
|
1066
|
+
"duration": 5
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"tier": "prohibitive",
|
|
1070
|
+
"runByDefault": false
|
|
1071
|
+
},
|
|
1072
|
+
"POST heygen.v3.fillerWordRemoval": {
|
|
1073
|
+
"source": "fal/heygen-v3-filler-word-removal",
|
|
1074
|
+
"payload": {
|
|
1075
|
+
"video_url": "https://v3b.fal.media/files/b/0aaf8622/62FTWTu-9SFpD5P1Vh3Bm_0IjiKdRc.mp4"
|
|
1076
|
+
},
|
|
1077
|
+
"tier": "prohibitive",
|
|
1078
|
+
"runByDefault": false
|
|
1079
|
+
},
|
|
1080
|
+
"POST heygen.v3.lipsync.precision": {
|
|
1081
|
+
"source": "fal/heygen-v3-lipsync-precision",
|
|
1082
|
+
"payload": {
|
|
1083
|
+
"video_url": "https://v3b.fal.media/files/b/0aaf8622/62FTWTu-9SFpD5P1Vh3Bm_0IjiKdRc.mp4",
|
|
1084
|
+
"audio_url": "https://v3b.fal.media/files/b/0aaf7c7f/k4ZZrI81q1gsEsdnPUCWC_v3lOq760.wav"
|
|
1085
|
+
},
|
|
1086
|
+
"tier": "prohibitive",
|
|
1087
|
+
"runByDefault": false
|
|
1088
|
+
},
|
|
1089
|
+
"POST heygen.v3.lipsync.speed": {
|
|
1090
|
+
"source": "fal/heygen-v3-lipsync-speed",
|
|
1091
|
+
"payload": {
|
|
1092
|
+
"video_url": "https://v3b.fal.media/files/b/0aaf8622/62FTWTu-9SFpD5P1Vh3Bm_0IjiKdRc.mp4",
|
|
1093
|
+
"audio_url": "https://v3b.fal.media/files/b/0aaf7c7f/k4ZZrI81q1gsEsdnPUCWC_v3lOq760.wav"
|
|
1094
|
+
},
|
|
1095
|
+
"tier": "prohibitive",
|
|
1096
|
+
"runByDefault": false
|
|
1097
|
+
},
|
|
1098
|
+
"POST heygen.v3.videoAgent": {
|
|
1099
|
+
"source": "fal/heygen-v3-video-agent",
|
|
1100
|
+
"payload": {
|
|
1101
|
+
"prompt": "A five-second clip in which a presenter says: A red panda waves once, then holds still. Keep it under ten seconds.",
|
|
1102
|
+
"orientation": "landscape"
|
|
1103
|
+
},
|
|
1104
|
+
"tier": "prohibitive",
|
|
1105
|
+
"runByDefault": false
|
|
1106
|
+
},
|
|
941
1107
|
"POST hunyuan.v3.instructEdit": {
|
|
942
1108
|
"source": "fal/hunyuan-image-v3-instruct-edit",
|
|
943
1109
|
"payload": {
|
|
@@ -972,6 +1138,23 @@ const EXAMPLES = {
|
|
|
972
1138
|
"tier": "prohibitive",
|
|
973
1139
|
"runByDefault": false
|
|
974
1140
|
},
|
|
1141
|
+
"POST ideogram.vector.imageToVector": {
|
|
1142
|
+
"source": "fal/ideogram-vector-image-to-vector",
|
|
1143
|
+
"payload": {
|
|
1144
|
+
"image_url": "https://v3b.fal.media/files/b/0aaf7eca/YdKOoA8T48QoJMIc7Sflb_apicity-cat1.jpg"
|
|
1145
|
+
},
|
|
1146
|
+
"tier": "prohibitive",
|
|
1147
|
+
"runByDefault": false
|
|
1148
|
+
},
|
|
1149
|
+
"POST ideogram.vector.textToVector": {
|
|
1150
|
+
"source": "fal/ideogram-vector-text-to-vector",
|
|
1151
|
+
"payload": {
|
|
1152
|
+
"prompt": "A red panda waves once, then holds still.",
|
|
1153
|
+
"quality": "low"
|
|
1154
|
+
},
|
|
1155
|
+
"tier": "prohibitive",
|
|
1156
|
+
"runByDefault": false
|
|
1157
|
+
},
|
|
975
1158
|
"POST kandinsky6Lite.imageToVideo": {
|
|
976
1159
|
"source": "fal/kandinsky6-lite-image-to-video",
|
|
977
1160
|
"payload": {
|
|
@@ -1028,6 +1211,50 @@ const EXAMPLES = {
|
|
|
1028
1211
|
"tier": "prohibitive",
|
|
1029
1212
|
"runByDefault": false
|
|
1030
1213
|
},
|
|
1214
|
+
"POST kling.v4.imageToVideo": {
|
|
1215
|
+
"source": "fal/kling-v4-image-to-video",
|
|
1216
|
+
"payload": {
|
|
1217
|
+
"prompt": "The cat waves once, then holds still.",
|
|
1218
|
+
"start_image_url": "<inline image/jpeg data URL — replace with a real URL or upload>",
|
|
1219
|
+
"duration": 3,
|
|
1220
|
+
"resolution": "720p"
|
|
1221
|
+
},
|
|
1222
|
+
"tier": "prohibitive",
|
|
1223
|
+
"runByDefault": false
|
|
1224
|
+
},
|
|
1225
|
+
"POST kling.v4.referenceToVideo": {
|
|
1226
|
+
"source": "fal/kling-v4-reference-to-video",
|
|
1227
|
+
"payload": {
|
|
1228
|
+
"prompt": "@Image1 waves once, then holds still.",
|
|
1229
|
+
"image_urls": [
|
|
1230
|
+
"<inline image/jpeg data URL — replace with a real URL or upload>"
|
|
1231
|
+
],
|
|
1232
|
+
"duration": 3,
|
|
1233
|
+
"resolution": "720p"
|
|
1234
|
+
},
|
|
1235
|
+
"tier": "prohibitive",
|
|
1236
|
+
"runByDefault": false
|
|
1237
|
+
},
|
|
1238
|
+
"POST kling.v4.textToVideo": {
|
|
1239
|
+
"source": "fal/kling-v4-text-to-video",
|
|
1240
|
+
"payload": {
|
|
1241
|
+
"prompt": "A red panda waves once, then holds still.",
|
|
1242
|
+
"duration": 3,
|
|
1243
|
+
"resolution": "720p"
|
|
1244
|
+
},
|
|
1245
|
+
"tier": "prohibitive",
|
|
1246
|
+
"runByDefault": false
|
|
1247
|
+
},
|
|
1248
|
+
"POST kling.v4.videoToVideo.edit": {
|
|
1249
|
+
"source": "fal/kling-v4-video-to-video-edit",
|
|
1250
|
+
"payload": {
|
|
1251
|
+
"prompt": "Make it snow in @Video1.",
|
|
1252
|
+
"video_url": "https://v3b.fal.media/files/b/0aaf8d10/7yl5MsJnBrE_BfOVG-ntX_output.mp4",
|
|
1253
|
+
"resolution": "720p"
|
|
1254
|
+
},
|
|
1255
|
+
"tier": "prohibitive",
|
|
1256
|
+
"runByDefault": false
|
|
1257
|
+
},
|
|
1031
1258
|
"POST klingVideo.o3.standard.imageToVideo": {
|
|
1032
1259
|
"source": "fal/kling-video-o3-standard-image-to-video",
|
|
1033
1260
|
"payload": {
|