@runwayml/sdk 4.26.0 → 4.28.0
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/CHANGELOG.md +17 -0
- package/package.json +1 -1
- package/resources/image-to-video.d.mts +122 -3
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +122 -3
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +2 -2
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +2 -2
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +62 -0
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +62 -0
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +20 -0
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +20 -0
- package/resources/organization/webapp/webapp.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.js.map +1 -1
- package/resources/organization/webapp/webapp.mjs.map +1 -1
- package/resources/tasks.d.mts +2 -2
- package/resources/tasks.d.ts +2 -2
- package/resources/text-to-speech.d.mts +113 -11
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +113 -11
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech.js +3 -1
- package/resources/text-to-speech.js.map +1 -1
- package/resources/text-to-speech.mjs +3 -1
- package/resources/text-to-speech.mjs.map +1 -1
- package/resources/text-to-video.d.mts +92 -4
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +92 -4
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +121 -5
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +121 -5
- package/resources/video-to-video.d.ts.map +1 -1
- package/src/resources/image-to-video.ts +162 -3
- package/src/resources/organization/organization.ts +8 -0
- package/src/resources/organization/webapp/audit-logs.ts +124 -0
- package/src/resources/organization/webapp/webapp.ts +35 -0
- package/src/resources/tasks.ts +2 -2
- package/src/resources/text-to-speech.ts +134 -10
- package/src/resources/text-to-video.ts +126 -4
- package/src/resources/video-to-video.ts +170 -5
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -81,7 +81,9 @@ export type TextToVideoCreateParams =
|
|
|
81
81
|
| TextToVideoCreateParams.GrokImagine1_5Lite
|
|
82
82
|
| TextToVideoCreateParams.Kling4
|
|
83
83
|
| TextToVideoCreateParams.GeminiOmniFlash1_2
|
|
84
|
-
| TextToVideoCreateParams.Kling4Flash
|
|
84
|
+
| TextToVideoCreateParams.Kling4Flash
|
|
85
|
+
| TextToVideoCreateParams.Hailuo3Highspeed
|
|
86
|
+
| TextToVideoCreateParams.Hailuo3Lite;
|
|
85
87
|
|
|
86
88
|
export declare namespace TextToVideoCreateParams {
|
|
87
89
|
export interface Gen4_5 {
|
|
@@ -1563,8 +1565,8 @@ export declare namespace TextToVideoCreateParams {
|
|
|
1563
1565
|
promptText?: string;
|
|
1564
1566
|
|
|
1565
1567
|
/**
|
|
1566
|
-
* The resolution of the output video. Seedance 2.5 supports 480p, 720p, and
|
|
1567
|
-
* Defaults to `1280:720`.
|
|
1568
|
+
* The resolution of the output video. Seedance 2.5 supports 480p, 720p, 1080p, and
|
|
1569
|
+
* 4K. Defaults to `1280:720`.
|
|
1568
1570
|
*/
|
|
1569
1571
|
ratio?:
|
|
1570
1572
|
| '992:432'
|
|
@@ -1584,7 +1586,13 @@ export declare namespace TextToVideoCreateParams {
|
|
|
1584
1586
|
| '1664:1248'
|
|
1585
1587
|
| '1440:1440'
|
|
1586
1588
|
| '1248:1664'
|
|
1587
|
-
| '1080:1920'
|
|
1589
|
+
| '1080:1920'
|
|
1590
|
+
| '3840:1646'
|
|
1591
|
+
| '3840:2160'
|
|
1592
|
+
| '3840:2880'
|
|
1593
|
+
| '3840:3840'
|
|
1594
|
+
| '2880:3840'
|
|
1595
|
+
| '2160:3840';
|
|
1588
1596
|
|
|
1589
1597
|
/**
|
|
1590
1598
|
* An optional array of audio references. The total combined duration must be less
|
|
@@ -1843,6 +1851,120 @@ export declare namespace TextToVideoCreateParams {
|
|
|
1843
1851
|
uri: string;
|
|
1844
1852
|
}
|
|
1845
1853
|
}
|
|
1854
|
+
|
|
1855
|
+
export interface Hailuo3Highspeed {
|
|
1856
|
+
model: 'hailuo3_highspeed';
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* The text prompt describing the output video.
|
|
1860
|
+
*/
|
|
1861
|
+
promptText: string;
|
|
1862
|
+
|
|
1863
|
+
duration?: number;
|
|
1864
|
+
|
|
1865
|
+
ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
1866
|
+
|
|
1867
|
+
referenceAudio?: Array<Hailuo3Highspeed.ReferenceAudio>;
|
|
1868
|
+
|
|
1869
|
+
references?: Array<Hailuo3Highspeed.Reference>;
|
|
1870
|
+
|
|
1871
|
+
referenceVideos?: Array<Hailuo3Highspeed.ReferenceVideo>;
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* The output video resolution.
|
|
1875
|
+
*/
|
|
1876
|
+
resolution?: '480p' | '768p';
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
export namespace Hailuo3Highspeed {
|
|
1880
|
+
export interface ReferenceAudio {
|
|
1881
|
+
type: 'audio';
|
|
1882
|
+
|
|
1883
|
+
/**
|
|
1884
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1885
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
1886
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
1887
|
+
*/
|
|
1888
|
+
uri: string;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
export interface Reference {
|
|
1892
|
+
/**
|
|
1893
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1894
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1895
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1896
|
+
*/
|
|
1897
|
+
uri: string;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
export interface ReferenceVideo {
|
|
1901
|
+
type: 'video';
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1905
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1906
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1907
|
+
*/
|
|
1908
|
+
uri: string;
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
export interface Hailuo3Lite {
|
|
1913
|
+
model: 'hailuo3_lite';
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* The text prompt describing the output video.
|
|
1917
|
+
*/
|
|
1918
|
+
promptText: string;
|
|
1919
|
+
|
|
1920
|
+
duration?: number;
|
|
1921
|
+
|
|
1922
|
+
ratio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
1923
|
+
|
|
1924
|
+
referenceAudio?: Array<Hailuo3Lite.ReferenceAudio>;
|
|
1925
|
+
|
|
1926
|
+
references?: Array<Hailuo3Lite.Reference>;
|
|
1927
|
+
|
|
1928
|
+
referenceVideos?: Array<Hailuo3Lite.ReferenceVideo>;
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* The output video resolution.
|
|
1932
|
+
*/
|
|
1933
|
+
resolution?: '480p' | '768p';
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
export namespace Hailuo3Lite {
|
|
1937
|
+
export interface ReferenceAudio {
|
|
1938
|
+
type: 'audio';
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1942
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
1943
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
1944
|
+
*/
|
|
1945
|
+
uri: string;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
export interface Reference {
|
|
1949
|
+
/**
|
|
1950
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1951
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1952
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1953
|
+
*/
|
|
1954
|
+
uri: string;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
export interface ReferenceVideo {
|
|
1958
|
+
type: 'video';
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1962
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1963
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1964
|
+
*/
|
|
1965
|
+
uri: string;
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1846
1968
|
}
|
|
1847
1969
|
|
|
1848
1970
|
export declare namespace TextToVideo {
|
|
@@ -69,7 +69,9 @@ export type VideoToVideoCreateParams =
|
|
|
69
69
|
| VideoToVideoCreateParams.Seedance2_5
|
|
70
70
|
| VideoToVideoCreateParams.Kling4
|
|
71
71
|
| VideoToVideoCreateParams.GeminiOmniFlash1_2
|
|
72
|
-
| VideoToVideoCreateParams.Kling4Flash
|
|
72
|
+
| VideoToVideoCreateParams.Kling4Flash
|
|
73
|
+
| VideoToVideoCreateParams.Hailuo3Highspeed
|
|
74
|
+
| VideoToVideoCreateParams.Hailuo3Lite;
|
|
73
75
|
|
|
74
76
|
export declare namespace VideoToVideoCreateParams {
|
|
75
77
|
export interface Variant0 {
|
|
@@ -1090,7 +1092,8 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1090
1092
|
promptText?: string;
|
|
1091
1093
|
|
|
1092
1094
|
/**
|
|
1093
|
-
* The resolution of the output video. Seedance 2.5 supports 480p, 720p, and
|
|
1095
|
+
* The resolution of the output video. Seedance 2.5 supports 480p, 720p, 1080p, and
|
|
1096
|
+
* 4K.
|
|
1094
1097
|
*/
|
|
1095
1098
|
ratio?:
|
|
1096
1099
|
| '992:432'
|
|
@@ -1110,7 +1113,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1110
1113
|
| '1664:1248'
|
|
1111
1114
|
| '1440:1440'
|
|
1112
1115
|
| '1248:1664'
|
|
1113
|
-
| '1080:1920'
|
|
1116
|
+
| '1080:1920'
|
|
1117
|
+
| '3840:1646'
|
|
1118
|
+
| '3840:2160'
|
|
1119
|
+
| '3840:2880'
|
|
1120
|
+
| '3840:3840'
|
|
1121
|
+
| '2880:3840'
|
|
1122
|
+
| '2160:3840';
|
|
1114
1123
|
|
|
1115
1124
|
/**
|
|
1116
1125
|
* An optional array of audio references. The total combined duration must be less
|
|
@@ -1196,15 +1205,43 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1196
1205
|
videoUri: string;
|
|
1197
1206
|
|
|
1198
1207
|
/**
|
|
1199
|
-
*
|
|
1208
|
+
* The duration of the edited video in seconds.
|
|
1200
1209
|
*/
|
|
1201
|
-
|
|
1210
|
+
duration?: number;
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Optional first, middle, and last frames guiding the edit. Middle or last frames
|
|
1214
|
+
* can be provided without a first frame.
|
|
1215
|
+
*/
|
|
1216
|
+
promptImage?: string | Array<unknown>;
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* The target output size. Use a pixel ratio such as `1280:720` or `auto_720p` /
|
|
1220
|
+
* `auto_1080p` for adaptive framing.
|
|
1221
|
+
*/
|
|
1222
|
+
ratio?:
|
|
1223
|
+
| '1280:720'
|
|
1224
|
+
| '720:1280'
|
|
1225
|
+
| '940:940'
|
|
1226
|
+
| '1460:624'
|
|
1227
|
+
| '1920:1080'
|
|
1228
|
+
| '1080:1920'
|
|
1229
|
+
| '1440:1440'
|
|
1230
|
+
| '2200:940'
|
|
1231
|
+
| 'auto_720p'
|
|
1232
|
+
| 'auto_1080p';
|
|
1202
1233
|
|
|
1203
1234
|
/**
|
|
1204
1235
|
* Images of characters, objects or styles to use in the video. Up to 10 images in
|
|
1205
1236
|
* total, frames included.
|
|
1206
1237
|
*/
|
|
1207
1238
|
references?: Array<Kling4.Reference>;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Up to 4 videos whose style, motion or camera work should guide the output,
|
|
1242
|
+
* together at most 30 seconds long.
|
|
1243
|
+
*/
|
|
1244
|
+
referenceVideos?: Array<unknown>;
|
|
1208
1245
|
}
|
|
1209
1246
|
|
|
1210
1247
|
export namespace Kling4 {
|
|
@@ -1332,6 +1369,134 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1332
1369
|
uri: string;
|
|
1333
1370
|
}
|
|
1334
1371
|
}
|
|
1372
|
+
|
|
1373
|
+
export interface Hailuo3Highspeed {
|
|
1374
|
+
model: 'hailuo3_highspeed';
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* The text prompt describing the output video.
|
|
1378
|
+
*/
|
|
1379
|
+
promptText: string;
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1383
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1384
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1385
|
+
*/
|
|
1386
|
+
promptVideo: string;
|
|
1387
|
+
|
|
1388
|
+
duration?: number;
|
|
1389
|
+
|
|
1390
|
+
ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
1391
|
+
|
|
1392
|
+
referenceAudio?: Array<Hailuo3Highspeed.ReferenceAudio>;
|
|
1393
|
+
|
|
1394
|
+
references?: Array<Hailuo3Highspeed.Reference>;
|
|
1395
|
+
|
|
1396
|
+
referenceVideos?: Array<Hailuo3Highspeed.ReferenceVideo>;
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* The output video resolution.
|
|
1400
|
+
*/
|
|
1401
|
+
resolution?: '480p' | '768p';
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
export namespace Hailuo3Highspeed {
|
|
1405
|
+
export interface ReferenceAudio {
|
|
1406
|
+
type: 'audio';
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1410
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
1411
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
1412
|
+
*/
|
|
1413
|
+
uri: string;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
export interface Reference {
|
|
1417
|
+
/**
|
|
1418
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1419
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1420
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1421
|
+
*/
|
|
1422
|
+
uri: string;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export interface ReferenceVideo {
|
|
1426
|
+
type: 'video';
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1430
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1431
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1432
|
+
*/
|
|
1433
|
+
uri: string;
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
export interface Hailuo3Lite {
|
|
1438
|
+
model: 'hailuo3_lite';
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* The text prompt describing the output video.
|
|
1442
|
+
*/
|
|
1443
|
+
promptText: string;
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1447
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1448
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1449
|
+
*/
|
|
1450
|
+
promptVideo: string;
|
|
1451
|
+
|
|
1452
|
+
duration?: number;
|
|
1453
|
+
|
|
1454
|
+
ratio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
1455
|
+
|
|
1456
|
+
referenceAudio?: Array<Hailuo3Lite.ReferenceAudio>;
|
|
1457
|
+
|
|
1458
|
+
references?: Array<Hailuo3Lite.Reference>;
|
|
1459
|
+
|
|
1460
|
+
referenceVideos?: Array<Hailuo3Lite.ReferenceVideo>;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* The output video resolution.
|
|
1464
|
+
*/
|
|
1465
|
+
resolution?: '480p' | '768p';
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
export namespace Hailuo3Lite {
|
|
1469
|
+
export interface ReferenceAudio {
|
|
1470
|
+
type: 'audio';
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1474
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
1475
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
1476
|
+
*/
|
|
1477
|
+
uri: string;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
export interface Reference {
|
|
1481
|
+
/**
|
|
1482
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1483
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1484
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1485
|
+
*/
|
|
1486
|
+
uri: string;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
export interface ReferenceVideo {
|
|
1490
|
+
type: 'video';
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1494
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1495
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1496
|
+
*/
|
|
1497
|
+
uri: string;
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1335
1500
|
}
|
|
1336
1501
|
|
|
1337
1502
|
export declare namespace VideoToVideo {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.28.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.28.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.28.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.28.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|