@runwayml/sdk 4.25.0 → 4.27.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 +21 -0
- package/client.d.mts +12 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -0
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/image-to-vector.d.mts +60 -0
- package/resources/image-to-vector.d.mts.map +1 -0
- package/resources/image-to-vector.d.ts +60 -0
- package/resources/image-to-vector.d.ts.map +1 -0
- package/resources/image-to-vector.js +27 -0
- package/resources/image-to-vector.js.map +1 -0
- package/resources/image-to-vector.mjs +23 -0
- package/resources/image-to-vector.mjs.map +1 -0
- 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/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.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/text-to-music.d.mts +58 -0
- package/resources/text-to-music.d.mts.map +1 -0
- package/resources/text-to-music.d.ts +58 -0
- package/resources/text-to-music.d.ts.map +1 -0
- package/resources/text-to-music.js +20 -0
- package/resources/text-to-music.js.map +1 -0
- package/resources/text-to-music.mjs +16 -0
- package/resources/text-to-music.mjs.map +1 -0
- package/resources/text-to-speech.d.mts +42 -10
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +42 -10
- 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 +104 -3
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +104 -3
- package/resources/video-to-video.d.ts.map +1 -1
- package/src/client.ts +28 -0
- package/src/resources/image-to-vector.ts +79 -0
- package/src/resources/image-to-video.ts +162 -3
- package/src/resources/index.ts +6 -0
- package/src/resources/organization/organization.ts +4 -0
- package/src/resources/text-to-music.ts +78 -0
- package/src/resources/text-to-speech.ts +48 -10
- package/src/resources/text-to-video.ts +126 -4
- package/src/resources/video-to-video.ts +140 -3
- 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
|
@@ -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
|
|
@@ -1332,6 +1341,134 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1332
1341
|
uri: string;
|
|
1333
1342
|
}
|
|
1334
1343
|
}
|
|
1344
|
+
|
|
1345
|
+
export interface Hailuo3Highspeed {
|
|
1346
|
+
model: 'hailuo3_highspeed';
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* The text prompt describing the output video.
|
|
1350
|
+
*/
|
|
1351
|
+
promptText: string;
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1355
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1356
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1357
|
+
*/
|
|
1358
|
+
promptVideo: string;
|
|
1359
|
+
|
|
1360
|
+
duration?: number;
|
|
1361
|
+
|
|
1362
|
+
ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
1363
|
+
|
|
1364
|
+
referenceAudio?: Array<Hailuo3Highspeed.ReferenceAudio>;
|
|
1365
|
+
|
|
1366
|
+
references?: Array<Hailuo3Highspeed.Reference>;
|
|
1367
|
+
|
|
1368
|
+
referenceVideos?: Array<Hailuo3Highspeed.ReferenceVideo>;
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* The output video resolution.
|
|
1372
|
+
*/
|
|
1373
|
+
resolution?: '480p' | '768p';
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
export namespace Hailuo3Highspeed {
|
|
1377
|
+
export interface ReferenceAudio {
|
|
1378
|
+
type: 'audio';
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1382
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
1383
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
1384
|
+
*/
|
|
1385
|
+
uri: string;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
export interface Reference {
|
|
1389
|
+
/**
|
|
1390
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1391
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1392
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1393
|
+
*/
|
|
1394
|
+
uri: string;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
export interface ReferenceVideo {
|
|
1398
|
+
type: 'video';
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1402
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1403
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1404
|
+
*/
|
|
1405
|
+
uri: string;
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
export interface Hailuo3Lite {
|
|
1410
|
+
model: 'hailuo3_lite';
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* The text prompt describing the output video.
|
|
1414
|
+
*/
|
|
1415
|
+
promptText: string;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1419
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1420
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1421
|
+
*/
|
|
1422
|
+
promptVideo: string;
|
|
1423
|
+
|
|
1424
|
+
duration?: number;
|
|
1425
|
+
|
|
1426
|
+
ratio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
1427
|
+
|
|
1428
|
+
referenceAudio?: Array<Hailuo3Lite.ReferenceAudio>;
|
|
1429
|
+
|
|
1430
|
+
references?: Array<Hailuo3Lite.Reference>;
|
|
1431
|
+
|
|
1432
|
+
referenceVideos?: Array<Hailuo3Lite.ReferenceVideo>;
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* The output video resolution.
|
|
1436
|
+
*/
|
|
1437
|
+
resolution?: '480p' | '768p';
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
export namespace Hailuo3Lite {
|
|
1441
|
+
export interface ReferenceAudio {
|
|
1442
|
+
type: 'audio';
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1446
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
1447
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
1448
|
+
*/
|
|
1449
|
+
uri: string;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
export interface Reference {
|
|
1453
|
+
/**
|
|
1454
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1455
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1456
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1457
|
+
*/
|
|
1458
|
+
uri: string;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
export interface ReferenceVideo {
|
|
1462
|
+
type: 'video';
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1466
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1467
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1468
|
+
*/
|
|
1469
|
+
uri: string;
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1335
1472
|
}
|
|
1336
1473
|
|
|
1337
1474
|
export declare namespace VideoToVideo {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.27.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.27.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.27.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.27.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|