@shotstack/schemas 1.5.7 → 1.5.9
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/api.bundled.json +100 -5
- package/dist/schema.d.ts +11 -2
- package/dist/zod/zod.gen.cjs +174 -173
- package/dist/zod/zod.gen.d.ts +3812 -3727
- package/dist/zod/zod.gen.js +174 -173
- package/dist/zod/zod.gen.ts +174 -173
- package/package.json +1 -1
package/dist/api.bundled.json
CHANGED
|
@@ -910,8 +910,19 @@
|
|
|
910
910
|
"mount"
|
|
911
911
|
],
|
|
912
912
|
"deprecated": true
|
|
913
|
+
},
|
|
914
|
+
"instance": {
|
|
915
|
+
"description": "The render instance type to use for processing the edit. <ul>\n <li>`s1` - standard instance (default)</li>\n <li>`s2` - standard instance with more resources</li>\n <li>`a1` - accelerated instance for faster rendering</li>\n</ul>",
|
|
916
|
+
"type": "string",
|
|
917
|
+
"enum": [
|
|
918
|
+
"s1",
|
|
919
|
+
"s2",
|
|
920
|
+
"a1"
|
|
921
|
+
],
|
|
922
|
+
"default": "s1"
|
|
913
923
|
}
|
|
914
924
|
},
|
|
925
|
+
"additionalProperties": false,
|
|
915
926
|
"required": [
|
|
916
927
|
"timeline",
|
|
917
928
|
"output"
|
|
@@ -949,6 +960,7 @@
|
|
|
949
960
|
"type": "boolean"
|
|
950
961
|
}
|
|
951
962
|
},
|
|
963
|
+
"additionalProperties": false,
|
|
952
964
|
"required": [
|
|
953
965
|
"tracks"
|
|
954
966
|
],
|
|
@@ -978,6 +990,7 @@
|
|
|
978
990
|
"type": "number"
|
|
979
991
|
}
|
|
980
992
|
},
|
|
993
|
+
"additionalProperties": false,
|
|
981
994
|
"required": [
|
|
982
995
|
"src"
|
|
983
996
|
],
|
|
@@ -992,6 +1005,7 @@
|
|
|
992
1005
|
"example": "https://s3-ap-northeast-1.amazonaws.com/my-bucket/open-sans.ttf"
|
|
993
1006
|
}
|
|
994
1007
|
},
|
|
1008
|
+
"additionalProperties": false,
|
|
995
1009
|
"required": [
|
|
996
1010
|
"src"
|
|
997
1011
|
],
|
|
@@ -1009,6 +1023,7 @@
|
|
|
1009
1023
|
}
|
|
1010
1024
|
}
|
|
1011
1025
|
},
|
|
1026
|
+
"additionalProperties": false,
|
|
1012
1027
|
"required": [
|
|
1013
1028
|
"clips"
|
|
1014
1029
|
],
|
|
@@ -1188,6 +1203,7 @@
|
|
|
1188
1203
|
"example": "MY_VIDEO_CLIP"
|
|
1189
1204
|
}
|
|
1190
1205
|
},
|
|
1206
|
+
"additionalProperties": false,
|
|
1191
1207
|
"required": [
|
|
1192
1208
|
"asset",
|
|
1193
1209
|
"start",
|
|
@@ -1341,6 +1357,7 @@
|
|
|
1341
1357
|
"$ref": "#/components/schemas/ChromaKey"
|
|
1342
1358
|
}
|
|
1343
1359
|
},
|
|
1360
|
+
"additionalProperties": false,
|
|
1344
1361
|
"required": [
|
|
1345
1362
|
"type",
|
|
1346
1363
|
"src"
|
|
@@ -1369,6 +1386,7 @@
|
|
|
1369
1386
|
"$ref": "#/components/schemas/Crop"
|
|
1370
1387
|
}
|
|
1371
1388
|
},
|
|
1389
|
+
"additionalProperties": false,
|
|
1372
1390
|
"required": [
|
|
1373
1391
|
"type",
|
|
1374
1392
|
"src"
|
|
@@ -1430,6 +1448,7 @@
|
|
|
1430
1448
|
"example": "#000000"
|
|
1431
1449
|
}
|
|
1432
1450
|
},
|
|
1451
|
+
"additionalProperties": false,
|
|
1433
1452
|
"type": "object"
|
|
1434
1453
|
},
|
|
1435
1454
|
"animation": {
|
|
@@ -1451,6 +1470,7 @@
|
|
|
1451
1470
|
"example": 2
|
|
1452
1471
|
}
|
|
1453
1472
|
},
|
|
1473
|
+
"additionalProperties": false,
|
|
1454
1474
|
"required": [
|
|
1455
1475
|
"preset"
|
|
1456
1476
|
],
|
|
@@ -1462,6 +1482,7 @@
|
|
|
1462
1482
|
"example": "..."
|
|
1463
1483
|
}
|
|
1464
1484
|
},
|
|
1485
|
+
"additionalProperties": false,
|
|
1465
1486
|
"required": [
|
|
1466
1487
|
"type",
|
|
1467
1488
|
"text"
|
|
@@ -1538,6 +1559,7 @@
|
|
|
1538
1559
|
"example": 10
|
|
1539
1560
|
}
|
|
1540
1561
|
},
|
|
1562
|
+
"additionalProperties": false,
|
|
1541
1563
|
"type": "object"
|
|
1542
1564
|
},
|
|
1543
1565
|
"padding": {
|
|
@@ -1581,6 +1603,7 @@
|
|
|
1581
1603
|
"example": 10
|
|
1582
1604
|
}
|
|
1583
1605
|
},
|
|
1606
|
+
"additionalProperties": false,
|
|
1584
1607
|
"type": "object"
|
|
1585
1608
|
}
|
|
1586
1609
|
]
|
|
@@ -1594,6 +1617,7 @@
|
|
|
1594
1617
|
"$ref": "#/components/schemas/RichTextAnimation"
|
|
1595
1618
|
}
|
|
1596
1619
|
},
|
|
1620
|
+
"additionalProperties": false,
|
|
1597
1621
|
"required": [
|
|
1598
1622
|
"type",
|
|
1599
1623
|
"text"
|
|
@@ -1661,6 +1685,7 @@
|
|
|
1661
1685
|
"type": "string"
|
|
1662
1686
|
}
|
|
1663
1687
|
},
|
|
1688
|
+
"additionalProperties": false,
|
|
1664
1689
|
"required": [
|
|
1665
1690
|
"type",
|
|
1666
1691
|
"src"
|
|
@@ -1711,7 +1736,8 @@
|
|
|
1711
1736
|
"type": "number",
|
|
1712
1737
|
"example": 1
|
|
1713
1738
|
}
|
|
1714
|
-
}
|
|
1739
|
+
},
|
|
1740
|
+
"additionalProperties": false
|
|
1715
1741
|
},
|
|
1716
1742
|
"stroke": {
|
|
1717
1743
|
"description": "Specifies the stroke style of the shape.",
|
|
@@ -1727,7 +1753,8 @@
|
|
|
1727
1753
|
"type": "number",
|
|
1728
1754
|
"example": 0.8
|
|
1729
1755
|
}
|
|
1730
|
-
}
|
|
1756
|
+
},
|
|
1757
|
+
"additionalProperties": false
|
|
1731
1758
|
},
|
|
1732
1759
|
"rectangle": {
|
|
1733
1760
|
"description": "Configuration settings for the rectangle shape. Required when `shape` is set to `rectangle`.",
|
|
@@ -1749,6 +1776,7 @@
|
|
|
1749
1776
|
"example": 20
|
|
1750
1777
|
}
|
|
1751
1778
|
},
|
|
1779
|
+
"additionalProperties": false,
|
|
1752
1780
|
"required": [
|
|
1753
1781
|
"width",
|
|
1754
1782
|
"height"
|
|
@@ -1764,6 +1792,7 @@
|
|
|
1764
1792
|
"example": 800
|
|
1765
1793
|
}
|
|
1766
1794
|
},
|
|
1795
|
+
"additionalProperties": false,
|
|
1767
1796
|
"required": [
|
|
1768
1797
|
"radius"
|
|
1769
1798
|
]
|
|
@@ -1783,12 +1812,14 @@
|
|
|
1783
1812
|
"example": 4
|
|
1784
1813
|
}
|
|
1785
1814
|
},
|
|
1815
|
+
"additionalProperties": false,
|
|
1786
1816
|
"required": [
|
|
1787
1817
|
"length",
|
|
1788
1818
|
"thickness"
|
|
1789
1819
|
]
|
|
1790
1820
|
}
|
|
1791
1821
|
},
|
|
1822
|
+
"additionalProperties": false,
|
|
1792
1823
|
"required": [
|
|
1793
1824
|
"type",
|
|
1794
1825
|
"shape"
|
|
@@ -1818,6 +1849,7 @@
|
|
|
1818
1849
|
"type": "number"
|
|
1819
1850
|
}
|
|
1820
1851
|
},
|
|
1852
|
+
"additionalProperties": false,
|
|
1821
1853
|
"required": [
|
|
1822
1854
|
"type",
|
|
1823
1855
|
"src"
|
|
@@ -1868,6 +1900,7 @@
|
|
|
1868
1900
|
"example": 1
|
|
1869
1901
|
}
|
|
1870
1902
|
},
|
|
1903
|
+
"additionalProperties": false,
|
|
1871
1904
|
"required": [
|
|
1872
1905
|
"type",
|
|
1873
1906
|
"src"
|
|
@@ -1973,6 +2006,7 @@
|
|
|
1973
2006
|
"example": 2
|
|
1974
2007
|
}
|
|
1975
2008
|
},
|
|
2009
|
+
"additionalProperties": false,
|
|
1976
2010
|
"required": [
|
|
1977
2011
|
"type"
|
|
1978
2012
|
]
|
|
@@ -2007,6 +2041,7 @@
|
|
|
2007
2041
|
"example": 0.98
|
|
2008
2042
|
}
|
|
2009
2043
|
},
|
|
2044
|
+
"additionalProperties": false,
|
|
2010
2045
|
"required": [
|
|
2011
2046
|
"text",
|
|
2012
2047
|
"start",
|
|
@@ -2038,7 +2073,8 @@
|
|
|
2038
2073
|
"default": 1,
|
|
2039
2074
|
"example": 1
|
|
2040
2075
|
}
|
|
2041
|
-
}
|
|
2076
|
+
},
|
|
2077
|
+
"additionalProperties": false
|
|
2042
2078
|
},
|
|
2043
2079
|
"RichCaptionActive": {
|
|
2044
2080
|
"description": "Styling properties for the active/highlighted word.",
|
|
@@ -2060,7 +2096,8 @@
|
|
|
2060
2096
|
"default": 1,
|
|
2061
2097
|
"example": 1.2
|
|
2062
2098
|
}
|
|
2063
|
-
}
|
|
2099
|
+
},
|
|
2100
|
+
"additionalProperties": false
|
|
2064
2101
|
},
|
|
2065
2102
|
"RichCaptionWordAnimation": {
|
|
2066
2103
|
"description": "Word-level animation properties for caption effects.",
|
|
@@ -2103,6 +2140,7 @@
|
|
|
2103
2140
|
"example": "up"
|
|
2104
2141
|
}
|
|
2105
2142
|
},
|
|
2143
|
+
"additionalProperties": false,
|
|
2106
2144
|
"required": [
|
|
2107
2145
|
"style"
|
|
2108
2146
|
]
|
|
@@ -2137,6 +2175,8 @@
|
|
|
2137
2175
|
"$ref": "#/components/schemas/Crop"
|
|
2138
2176
|
}
|
|
2139
2177
|
},
|
|
2178
|
+
"additionalProperties": false,
|
|
2179
|
+
"type": "object",
|
|
2140
2180
|
"required": [
|
|
2141
2181
|
"type",
|
|
2142
2182
|
"prompt"
|
|
@@ -2190,6 +2230,7 @@
|
|
|
2190
2230
|
"$ref": "#/components/schemas/Crop"
|
|
2191
2231
|
}
|
|
2192
2232
|
},
|
|
2233
|
+
"additionalProperties": false,
|
|
2193
2234
|
"type": "object",
|
|
2194
2235
|
"required": [
|
|
2195
2236
|
"type",
|
|
@@ -2271,6 +2312,7 @@
|
|
|
2271
2312
|
"type": "string"
|
|
2272
2313
|
}
|
|
2273
2314
|
},
|
|
2315
|
+
"additionalProperties": false,
|
|
2274
2316
|
"required": [
|
|
2275
2317
|
"type",
|
|
2276
2318
|
"text",
|
|
@@ -2330,6 +2372,7 @@
|
|
|
2330
2372
|
"type": "string"
|
|
2331
2373
|
}
|
|
2332
2374
|
},
|
|
2375
|
+
"additionalProperties": false,
|
|
2333
2376
|
"required": [
|
|
2334
2377
|
"type",
|
|
2335
2378
|
"html"
|
|
@@ -2411,6 +2454,7 @@
|
|
|
2411
2454
|
"$ref": "#/components/schemas/Offset"
|
|
2412
2455
|
}
|
|
2413
2456
|
},
|
|
2457
|
+
"additionalProperties": false,
|
|
2414
2458
|
"required": [
|
|
2415
2459
|
"type",
|
|
2416
2460
|
"text"
|
|
@@ -2479,6 +2523,7 @@
|
|
|
2479
2523
|
"example": 300
|
|
2480
2524
|
}
|
|
2481
2525
|
},
|
|
2526
|
+
"additionalProperties": false,
|
|
2482
2527
|
"required": [
|
|
2483
2528
|
"type"
|
|
2484
2529
|
],
|
|
@@ -2578,6 +2623,7 @@
|
|
|
2578
2623
|
"SvgRectangleShape": {
|
|
2579
2624
|
"description": "A rectangle shape with optional rounded corners.\nThe rectangle is defined by its width and height dimensions.\n",
|
|
2580
2625
|
"type": "object",
|
|
2626
|
+
"additionalProperties": false,
|
|
2581
2627
|
"properties": {
|
|
2582
2628
|
"type": {
|
|
2583
2629
|
"description": "The shape type - set to `rectangle`.",
|
|
@@ -2618,6 +2664,7 @@
|
|
|
2618
2664
|
"SvgCircleShape": {
|
|
2619
2665
|
"description": "A perfect circle shape defined by its radius.\nThe circle is centered at the shape's position.\n",
|
|
2620
2666
|
"type": "object",
|
|
2667
|
+
"additionalProperties": false,
|
|
2621
2668
|
"properties": {
|
|
2622
2669
|
"type": {
|
|
2623
2670
|
"description": "The shape type - set to `circle`.",
|
|
@@ -2642,6 +2689,7 @@
|
|
|
2642
2689
|
"SvgEllipseShape": {
|
|
2643
2690
|
"description": "An ellipse (oval) shape with separate horizontal and vertical radii.\nThe ellipse is centered at the shape's position.\n",
|
|
2644
2691
|
"type": "object",
|
|
2692
|
+
"additionalProperties": false,
|
|
2645
2693
|
"properties": {
|
|
2646
2694
|
"type": {
|
|
2647
2695
|
"description": "The shape type - set to `ellipse`.",
|
|
@@ -2674,6 +2722,7 @@
|
|
|
2674
2722
|
"SvgLineShape": {
|
|
2675
2723
|
"description": "A straight line shape with a specified length and thickness.\nThe line is drawn horizontally by default and can be rotated using transform.\n",
|
|
2676
2724
|
"type": "object",
|
|
2725
|
+
"additionalProperties": false,
|
|
2677
2726
|
"properties": {
|
|
2678
2727
|
"type": {
|
|
2679
2728
|
"description": "The shape type - set to `line`.",
|
|
@@ -2706,6 +2755,7 @@
|
|
|
2706
2755
|
"SvgPolygonShape": {
|
|
2707
2756
|
"description": "A regular polygon shape with a specified number of sides.\nExamples: triangle (3), square (4), pentagon (5), hexagon (6), etc.\nThe polygon is inscribed in a circle of the given radius.\n",
|
|
2708
2757
|
"type": "object",
|
|
2758
|
+
"additionalProperties": false,
|
|
2709
2759
|
"properties": {
|
|
2710
2760
|
"type": {
|
|
2711
2761
|
"description": "The shape type - set to `polygon`.",
|
|
@@ -2738,6 +2788,7 @@
|
|
|
2738
2788
|
"SvgStarShape": {
|
|
2739
2789
|
"description": "A star shape with a specified number of points.\nThe star is defined by outer and inner radii, creating the characteristic\npointed appearance.\n",
|
|
2740
2790
|
"type": "object",
|
|
2791
|
+
"additionalProperties": false,
|
|
2741
2792
|
"properties": {
|
|
2742
2793
|
"type": {
|
|
2743
2794
|
"description": "The shape type - set to `star`.",
|
|
@@ -2778,6 +2829,7 @@
|
|
|
2778
2829
|
"SvgArrowShape": {
|
|
2779
2830
|
"description": "An arrow shape pointing to the right by default.\nUse transform rotation to change direction.\n",
|
|
2780
2831
|
"type": "object",
|
|
2832
|
+
"additionalProperties": false,
|
|
2781
2833
|
"properties": {
|
|
2782
2834
|
"type": {
|
|
2783
2835
|
"description": "The shape type - set to `arrow`.",
|
|
@@ -2826,6 +2878,7 @@
|
|
|
2826
2878
|
"SvgHeartShape": {
|
|
2827
2879
|
"description": "A heart shape commonly used for love/like icons.\nThe heart is defined by a single size parameter.\n",
|
|
2828
2880
|
"type": "object",
|
|
2881
|
+
"additionalProperties": false,
|
|
2829
2882
|
"properties": {
|
|
2830
2883
|
"type": {
|
|
2831
2884
|
"description": "The shape type - set to `heart`.",
|
|
@@ -2850,6 +2903,7 @@
|
|
|
2850
2903
|
"SvgCrossShape": {
|
|
2851
2904
|
"description": "A cross or plus shape with equal or different arm lengths.\nCan be styled as a plus sign (+) or a cross (x with rotation).\n",
|
|
2852
2905
|
"type": "object",
|
|
2906
|
+
"additionalProperties": false,
|
|
2853
2907
|
"properties": {
|
|
2854
2908
|
"type": {
|
|
2855
2909
|
"description": "The shape type - set to `cross`.",
|
|
@@ -2890,6 +2944,7 @@
|
|
|
2890
2944
|
"SvgRingShape": {
|
|
2891
2945
|
"description": "A ring (donut/annulus) shape - a circle with a circular hole in the center.\nThe ring is defined by outer and inner radii.\n",
|
|
2892
2946
|
"type": "object",
|
|
2947
|
+
"additionalProperties": false,
|
|
2893
2948
|
"properties": {
|
|
2894
2949
|
"type": {
|
|
2895
2950
|
"description": "The shape type - set to `ring`.",
|
|
@@ -2922,6 +2977,7 @@
|
|
|
2922
2977
|
"SvgPathShape": {
|
|
2923
2978
|
"description": "A custom shape defined by SVG path data.\nSupports all standard SVG path commands for creating complex shapes.\n\n**Path Commands:**\n- `M x y` / `m dx dy` - Move to (absolute/relative)\n- `L x y` / `l dx dy` - Line to\n- `H x` / `h dx` - Horizontal line to\n- `V y` / `v dy` - Vertical line to\n- `C x1 y1 x2 y2 x y` / `c` - Cubic Bezier curve\n- `S x2 y2 x y` / `s` - Smooth cubic Bezier\n- `Q x1 y1 x y` / `q` - Quadratic Bezier curve\n- `T x y` / `t` - Smooth quadratic Bezier\n- `A rx ry angle large-arc sweep x y` / `a` - Elliptical arc\n- `Z` / `z` - Close path\n",
|
|
2924
2979
|
"type": "object",
|
|
2980
|
+
"additionalProperties": false,
|
|
2925
2981
|
"properties": {
|
|
2926
2982
|
"type": {
|
|
2927
2983
|
"description": "The shape type - set to `path`.",
|
|
@@ -2968,6 +3024,7 @@
|
|
|
2968
3024
|
"SvgSolidFill": {
|
|
2969
3025
|
"description": "A solid color fill for SVG shapes.",
|
|
2970
3026
|
"type": "object",
|
|
3027
|
+
"additionalProperties": false,
|
|
2971
3028
|
"properties": {
|
|
2972
3029
|
"type": {
|
|
2973
3030
|
"description": "The fill type - set to `solid` for a single color fill.",
|
|
@@ -3001,6 +3058,7 @@
|
|
|
3001
3058
|
"SvgLinearGradientFill": {
|
|
3002
3059
|
"description": "A linear gradient fill that transitions colors along a straight line.\nThe gradient direction is controlled by the `angle` property.\n",
|
|
3003
3060
|
"type": "object",
|
|
3061
|
+
"additionalProperties": false,
|
|
3004
3062
|
"properties": {
|
|
3005
3063
|
"type": {
|
|
3006
3064
|
"description": "The fill type - set to `linear` for a linear gradient fill.",
|
|
@@ -3042,6 +3100,7 @@
|
|
|
3042
3100
|
"SvgRadialGradientFill": {
|
|
3043
3101
|
"description": "A radial gradient fill that transitions colors radiating outward from a center point.\nThe gradient creates a circular or elliptical color transition.\n",
|
|
3044
3102
|
"type": "object",
|
|
3103
|
+
"additionalProperties": false,
|
|
3045
3104
|
"properties": {
|
|
3046
3105
|
"type": {
|
|
3047
3106
|
"description": "The fill type - set to `radial` for a radial gradient fill.",
|
|
@@ -3075,6 +3134,7 @@
|
|
|
3075
3134
|
"SvgGradientStop": {
|
|
3076
3135
|
"description": "A color stop in a gradient. Each stop defines a color at a specific position\nalong the gradient vector. Gradients require at least 2 stops.\n",
|
|
3077
3136
|
"type": "object",
|
|
3137
|
+
"additionalProperties": false,
|
|
3078
3138
|
"properties": {
|
|
3079
3139
|
"offset": {
|
|
3080
3140
|
"description": "Position of the color stop along the gradient vector.\n`0` represents the start and `1` represents the end of the gradient.\n",
|
|
@@ -3098,6 +3158,7 @@
|
|
|
3098
3158
|
"SvgStroke": {
|
|
3099
3159
|
"description": "Stroke (outline) properties for SVG shapes. The stroke defines how the outline\nof a shape is painted, including its color, width, and line style.\n",
|
|
3100
3160
|
"type": "object",
|
|
3161
|
+
"additionalProperties": false,
|
|
3101
3162
|
"properties": {
|
|
3102
3163
|
"color": {
|
|
3103
3164
|
"description": "The stroke color using hexadecimal color notation.",
|
|
@@ -3167,6 +3228,7 @@
|
|
|
3167
3228
|
"SvgShadow": {
|
|
3168
3229
|
"description": "Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape.\n",
|
|
3169
3230
|
"type": "object",
|
|
3231
|
+
"additionalProperties": false,
|
|
3170
3232
|
"properties": {
|
|
3171
3233
|
"offsetX": {
|
|
3172
3234
|
"description": "Horizontal offset of the shadow in pixels.\nPositive values move the shadow to the right, negative to the left.\n",
|
|
@@ -3207,6 +3269,7 @@
|
|
|
3207
3269
|
"SvgTransform": {
|
|
3208
3270
|
"description": "Transformation properties for positioning, rotating, and scaling SVG shapes.\n",
|
|
3209
3271
|
"type": "object",
|
|
3272
|
+
"additionalProperties": false,
|
|
3210
3273
|
"properties": {
|
|
3211
3274
|
"x": {
|
|
3212
3275
|
"description": "The x-coordinate position of the shape in pixels.\nRelative to the top-left corner of the viewport.\n",
|
|
@@ -3394,6 +3457,7 @@
|
|
|
3394
3457
|
"type": "string"
|
|
3395
3458
|
}
|
|
3396
3459
|
},
|
|
3460
|
+
"additionalProperties": false,
|
|
3397
3461
|
"type": "object"
|
|
3398
3462
|
},
|
|
3399
3463
|
"Offset": {
|
|
@@ -3440,6 +3504,7 @@
|
|
|
3440
3504
|
]
|
|
3441
3505
|
}
|
|
3442
3506
|
},
|
|
3507
|
+
"additionalProperties": false,
|
|
3443
3508
|
"type": "object"
|
|
3444
3509
|
},
|
|
3445
3510
|
"Crop": {
|
|
@@ -3476,11 +3541,13 @@
|
|
|
3476
3541
|
"maximum": 1
|
|
3477
3542
|
}
|
|
3478
3543
|
},
|
|
3544
|
+
"additionalProperties": false,
|
|
3479
3545
|
"type": "object"
|
|
3480
3546
|
},
|
|
3481
3547
|
"Transformation": {
|
|
3482
3548
|
"description": "Apply one or more transformations to a clip. Transformations alter the visual properties of a clip and can be combined to create new shapes and effects.",
|
|
3483
3549
|
"type": "object",
|
|
3550
|
+
"additionalProperties": false,
|
|
3484
3551
|
"properties": {
|
|
3485
3552
|
"rotate": {
|
|
3486
3553
|
"$ref": "#/components/schemas/RotateTransformation"
|
|
@@ -3496,6 +3563,7 @@
|
|
|
3496
3563
|
"RotateTransformation": {
|
|
3497
3564
|
"description": "Rotate a clip by the specified angle in degrees. Rotation origin is set based on the clips `position`.",
|
|
3498
3565
|
"type": "object",
|
|
3566
|
+
"additionalProperties": false,
|
|
3499
3567
|
"properties": {
|
|
3500
3568
|
"angle": {
|
|
3501
3569
|
"description": "Rotate a clip by the specified angle in degrees. Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation.",
|
|
@@ -3522,6 +3590,7 @@
|
|
|
3522
3590
|
"SkewTransformation": {
|
|
3523
3591
|
"description": "Skew a clip so its edges are sheared at an angle. Use values between -100 and 100. Values over 3 or under -3 will skew the clip almost flat.",
|
|
3524
3592
|
"type": "object",
|
|
3593
|
+
"additionalProperties": false,
|
|
3525
3594
|
"properties": {
|
|
3526
3595
|
"x": {
|
|
3527
3596
|
"description": "Skew the clip along it's x axis.",
|
|
@@ -3568,6 +3637,7 @@
|
|
|
3568
3637
|
"FlipTransformation": {
|
|
3569
3638
|
"description": "Flip a clip vertically or horizontally. Acts as a mirror effect of the clip along the selected plane.",
|
|
3570
3639
|
"type": "object",
|
|
3640
|
+
"additionalProperties": false,
|
|
3571
3641
|
"properties": {
|
|
3572
3642
|
"horizontal": {
|
|
3573
3643
|
"description": "Flip a clip horizontally.",
|
|
@@ -3615,6 +3685,7 @@
|
|
|
3615
3685
|
"example": 0.85
|
|
3616
3686
|
}
|
|
3617
3687
|
},
|
|
3688
|
+
"additionalProperties": false,
|
|
3618
3689
|
"type": "object"
|
|
3619
3690
|
},
|
|
3620
3691
|
"TextBackground": {
|
|
@@ -3647,6 +3718,7 @@
|
|
|
3647
3718
|
"example": 5
|
|
3648
3719
|
}
|
|
3649
3720
|
},
|
|
3721
|
+
"additionalProperties": false,
|
|
3650
3722
|
"type": "object"
|
|
3651
3723
|
},
|
|
3652
3724
|
"TextAlignment": {
|
|
@@ -3673,6 +3745,7 @@
|
|
|
3673
3745
|
]
|
|
3674
3746
|
}
|
|
3675
3747
|
},
|
|
3748
|
+
"additionalProperties": false,
|
|
3676
3749
|
"type": "object"
|
|
3677
3750
|
},
|
|
3678
3751
|
"RichTextFont": {
|
|
@@ -3722,6 +3795,7 @@
|
|
|
3722
3795
|
"$ref": "#/components/schemas/RichTextStroke"
|
|
3723
3796
|
}
|
|
3724
3797
|
},
|
|
3798
|
+
"additionalProperties": false,
|
|
3725
3799
|
"type": "object"
|
|
3726
3800
|
},
|
|
3727
3801
|
"RichTextStyle": {
|
|
@@ -3776,6 +3850,7 @@
|
|
|
3776
3850
|
"$ref": "#/components/schemas/RichTextGradient"
|
|
3777
3851
|
}
|
|
3778
3852
|
},
|
|
3853
|
+
"additionalProperties": false,
|
|
3779
3854
|
"type": "object"
|
|
3780
3855
|
},
|
|
3781
3856
|
"RichTextGradient": {
|
|
@@ -3823,13 +3898,15 @@
|
|
|
3823
3898
|
"required": [
|
|
3824
3899
|
"offset",
|
|
3825
3900
|
"color"
|
|
3826
|
-
]
|
|
3901
|
+
],
|
|
3902
|
+
"additionalProperties": false
|
|
3827
3903
|
}
|
|
3828
3904
|
}
|
|
3829
3905
|
},
|
|
3830
3906
|
"required": [
|
|
3831
3907
|
"stops"
|
|
3832
3908
|
],
|
|
3909
|
+
"additionalProperties": false,
|
|
3833
3910
|
"type": "object"
|
|
3834
3911
|
},
|
|
3835
3912
|
"RichTextStroke": {
|
|
@@ -3858,6 +3935,7 @@
|
|
|
3858
3935
|
"example": 0.8
|
|
3859
3936
|
}
|
|
3860
3937
|
},
|
|
3938
|
+
"additionalProperties": false,
|
|
3861
3939
|
"type": "object"
|
|
3862
3940
|
},
|
|
3863
3941
|
"RichTextShadow": {
|
|
@@ -3898,6 +3976,7 @@
|
|
|
3898
3976
|
"example": 0.7
|
|
3899
3977
|
}
|
|
3900
3978
|
},
|
|
3979
|
+
"additionalProperties": false,
|
|
3901
3980
|
"type": "object"
|
|
3902
3981
|
},
|
|
3903
3982
|
"RichTextBackground": {
|
|
@@ -3925,6 +4004,7 @@
|
|
|
3925
4004
|
"example": 10
|
|
3926
4005
|
}
|
|
3927
4006
|
},
|
|
4007
|
+
"additionalProperties": false,
|
|
3928
4008
|
"type": "object"
|
|
3929
4009
|
},
|
|
3930
4010
|
"RichTextAlignment": {
|
|
@@ -3953,6 +4033,7 @@
|
|
|
3953
4033
|
"example": "middle"
|
|
3954
4034
|
}
|
|
3955
4035
|
},
|
|
4036
|
+
"additionalProperties": false,
|
|
3956
4037
|
"type": "object"
|
|
3957
4038
|
},
|
|
3958
4039
|
"RichTextAnimation": {
|
|
@@ -4002,6 +4083,7 @@
|
|
|
4002
4083
|
"required": [
|
|
4003
4084
|
"preset"
|
|
4004
4085
|
],
|
|
4086
|
+
"additionalProperties": false,
|
|
4005
4087
|
"type": "object"
|
|
4006
4088
|
},
|
|
4007
4089
|
"CaptionFont": {
|
|
@@ -4043,6 +4125,7 @@
|
|
|
4043
4125
|
"example": 0.8
|
|
4044
4126
|
}
|
|
4045
4127
|
},
|
|
4128
|
+
"additionalProperties": false,
|
|
4046
4129
|
"type": "object"
|
|
4047
4130
|
},
|
|
4048
4131
|
"CaptionBackground": {
|
|
@@ -4069,6 +4152,7 @@
|
|
|
4069
4152
|
"example": 18
|
|
4070
4153
|
}
|
|
4071
4154
|
},
|
|
4155
|
+
"additionalProperties": false,
|
|
4072
4156
|
"type": "object"
|
|
4073
4157
|
},
|
|
4074
4158
|
"CaptionMargin": {
|
|
@@ -4090,6 +4174,7 @@
|
|
|
4090
4174
|
"example": 0.45
|
|
4091
4175
|
}
|
|
4092
4176
|
},
|
|
4177
|
+
"additionalProperties": false,
|
|
4093
4178
|
"type": "object"
|
|
4094
4179
|
},
|
|
4095
4180
|
"ChromaKey": {
|
|
@@ -4116,6 +4201,7 @@
|
|
|
4116
4201
|
"example": 100
|
|
4117
4202
|
}
|
|
4118
4203
|
},
|
|
4204
|
+
"additionalProperties": false,
|
|
4119
4205
|
"required": [
|
|
4120
4206
|
"color"
|
|
4121
4207
|
],
|
|
@@ -4187,6 +4273,7 @@
|
|
|
4187
4273
|
]
|
|
4188
4274
|
}
|
|
4189
4275
|
},
|
|
4276
|
+
"additionalProperties": false,
|
|
4190
4277
|
"type": "object"
|
|
4191
4278
|
},
|
|
4192
4279
|
"MergeField": {
|
|
@@ -4203,6 +4290,7 @@
|
|
|
4203
4290
|
"example": "Jane"
|
|
4204
4291
|
}
|
|
4205
4292
|
},
|
|
4293
|
+
"additionalProperties": false,
|
|
4206
4294
|
"required": [
|
|
4207
4295
|
"find",
|
|
4208
4296
|
"replace"
|
|
@@ -4323,6 +4411,7 @@
|
|
|
4323
4411
|
}
|
|
4324
4412
|
}
|
|
4325
4413
|
},
|
|
4414
|
+
"additionalProperties": false,
|
|
4326
4415
|
"required": [
|
|
4327
4416
|
"format"
|
|
4328
4417
|
],
|
|
@@ -4346,6 +4435,7 @@
|
|
|
4346
4435
|
"example": 800
|
|
4347
4436
|
}
|
|
4348
4437
|
},
|
|
4438
|
+
"additionalProperties": false,
|
|
4349
4439
|
"type": "object"
|
|
4350
4440
|
},
|
|
4351
4441
|
"Range": {
|
|
@@ -4366,6 +4456,7 @@
|
|
|
4366
4456
|
"example": 6
|
|
4367
4457
|
}
|
|
4368
4458
|
},
|
|
4459
|
+
"additionalProperties": false,
|
|
4369
4460
|
"type": "object"
|
|
4370
4461
|
},
|
|
4371
4462
|
"Poster": {
|
|
@@ -4377,6 +4468,7 @@
|
|
|
4377
4468
|
"example": 1
|
|
4378
4469
|
}
|
|
4379
4470
|
},
|
|
4471
|
+
"additionalProperties": false,
|
|
4380
4472
|
"required": [
|
|
4381
4473
|
"capture"
|
|
4382
4474
|
],
|
|
@@ -4398,6 +4490,7 @@
|
|
|
4398
4490
|
"example": 0.3
|
|
4399
4491
|
}
|
|
4400
4492
|
},
|
|
4493
|
+
"additionalProperties": false,
|
|
4401
4494
|
"required": [
|
|
4402
4495
|
"capture",
|
|
4403
4496
|
"scale"
|
|
@@ -4772,6 +4865,7 @@
|
|
|
4772
4865
|
"$ref": "#/components/schemas/Edit"
|
|
4773
4866
|
}
|
|
4774
4867
|
},
|
|
4868
|
+
"additionalProperties": false,
|
|
4775
4869
|
"required": [
|
|
4776
4870
|
"name"
|
|
4777
4871
|
],
|
|
@@ -4793,6 +4887,7 @@
|
|
|
4793
4887
|
}
|
|
4794
4888
|
}
|
|
4795
4889
|
},
|
|
4890
|
+
"additionalProperties": false,
|
|
4796
4891
|
"required": [
|
|
4797
4892
|
"id"
|
|
4798
4893
|
],
|
package/dist/schema.d.ts
CHANGED
|
@@ -448,6 +448,16 @@ export interface components {
|
|
|
448
448
|
* @enum {string}
|
|
449
449
|
*/
|
|
450
450
|
disk?: "local" | "mount";
|
|
451
|
+
/**
|
|
452
|
+
* @description The render instance type to use for processing the edit. <ul>
|
|
453
|
+
* <li>`s1` - standard instance (default)</li>
|
|
454
|
+
* <li>`s2` - standard instance with more resources</li>
|
|
455
|
+
* <li>`a1` - accelerated instance for faster rendering</li>
|
|
456
|
+
* </ul>
|
|
457
|
+
* @default s1
|
|
458
|
+
* @enum {string}
|
|
459
|
+
*/
|
|
460
|
+
instance: "s1" | "s2" | "a1";
|
|
451
461
|
};
|
|
452
462
|
/** @description A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. */
|
|
453
463
|
Timeline: {
|
|
@@ -1115,8 +1125,7 @@ export interface components {
|
|
|
1115
1125
|
/** @description The TextToImageAsset lets you create a dynamic image from a text prompt. */
|
|
1116
1126
|
TextToImageAsset: {
|
|
1117
1127
|
/**
|
|
1118
|
-
* @description The type of asset to generate - set to `text-to-image` for text-to-image.
|
|
1119
|
-
* @default text-to-image
|
|
1128
|
+
* @description The type of asset to generate - set to `text-to-image` for text-to-image. (enum property replaced by openapi-typescript)
|
|
1120
1129
|
* @enum {string}
|
|
1121
1130
|
*/
|
|
1122
1131
|
type: "text-to-image";
|