@runwayml/sdk 4.28.0 → 4.30.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 +26 -0
- package/README.md +2 -2
- package/package.json +1 -1
- package/resources/avatar-conversations.d.mts +1 -1
- package/resources/avatar-conversations.d.mts.map +1 -1
- package/resources/avatar-conversations.d.ts +1 -1
- package/resources/avatar-conversations.d.ts.map +1 -1
- package/resources/avatar-conversations.js +1 -1
- package/resources/avatar-conversations.js.map +1 -1
- package/resources/avatar-conversations.mjs +1 -1
- package/resources/avatar-conversations.mjs.map +1 -1
- package/resources/avatars.d.mts +2 -4
- package/resources/avatars.d.mts.map +1 -1
- package/resources/avatars.d.ts +2 -4
- package/resources/avatars.d.ts.map +1 -1
- package/resources/avatars.js +2 -4
- package/resources/avatars.js.map +1 -1
- package/resources/avatars.mjs +2 -4
- package/resources/avatars.mjs.map +1 -1
- package/resources/documents.d.mts +4 -10
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +4 -10
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +2 -8
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -8
- package/resources/documents.mjs.map +1 -1
- package/resources/generate/image.d.mts +2 -2
- package/resources/generate/image.d.ts +2 -2
- package/resources/generate/video.d.mts +5 -0
- package/resources/generate/video.d.mts.map +1 -1
- package/resources/generate/video.d.ts +5 -0
- package/resources/generate/video.d.ts.map +1 -1
- package/resources/image-to-video.d.mts +78 -2
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +78 -2
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/organization/index.d.mts +1 -1
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +1 -1
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/index.js.map +1 -1
- package/resources/organization/index.mjs.map +1 -1
- package/resources/organization/organization.d.mts +54 -5
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +54 -5
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +64 -12
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +64 -12
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/audit-logs.js +1 -1
- package/resources/organization/webapp/audit-logs.js.map +1 -1
- package/resources/organization/webapp/audit-logs.mjs +1 -1
- package/resources/organization/webapp/audit-logs.mjs.map +1 -1
- package/resources/organization/webapp/index.d.mts +1 -1
- package/resources/organization/webapp/index.d.mts.map +1 -1
- package/resources/organization/webapp/index.d.ts +1 -1
- package/resources/organization/webapp/index.d.ts.map +1 -1
- package/resources/organization/webapp/index.js.map +1 -1
- package/resources/organization/webapp/index.mjs.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +95 -2
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +95 -2
- package/resources/organization/webapp/webapp.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.js +12 -0
- package/resources/organization/webapp/webapp.js.map +1 -1
- package/resources/organization/webapp/webapp.mjs +12 -0
- package/resources/organization/webapp/webapp.mjs.map +1 -1
- package/resources/routers.d.mts +32 -26
- package/resources/routers.d.mts.map +1 -1
- package/resources/routers.d.ts +32 -26
- package/resources/routers.d.ts.map +1 -1
- package/resources/routers.js +2 -2
- package/resources/routers.js.map +1 -1
- package/resources/routers.mjs +2 -2
- package/resources/routers.mjs.map +1 -1
- package/resources/tasks.d.mts +25 -2
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +25 -2
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +204 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +204 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +77 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +77 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +94 -3
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +94 -3
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +107 -3
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +107 -3
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/voices.d.mts +1 -1
- package/resources/voices.d.mts.map +1 -1
- package/resources/voices.d.ts +1 -1
- package/resources/voices.d.ts.map +1 -1
- package/resources/voices.js +1 -1
- package/resources/voices.js.map +1 -1
- package/resources/voices.mjs +1 -1
- package/resources/voices.mjs.map +1 -1
- package/src/resources/avatar-conversations.ts +1 -1
- package/src/resources/avatars.ts +2 -4
- package/src/resources/documents.ts +4 -10
- package/src/resources/generate/image.ts +2 -2
- package/src/resources/generate/video.ts +6 -0
- package/src/resources/image-to-video.ts +105 -2
- package/src/resources/organization/index.ts +3 -0
- package/src/resources/organization/organization.ts +82 -3
- package/src/resources/organization/webapp/audit-logs.ts +144 -10
- package/src/resources/organization/webapp/index.ts +3 -0
- package/src/resources/organization/webapp/webapp.ts +122 -1
- package/src/resources/routers.ts +38 -26
- package/src/resources/tasks.ts +33 -2
- package/src/resources/text-to-image.ts +350 -1
- package/src/resources/text-to-speech.ts +143 -1
- package/src/resources/text-to-video.ts +128 -3
- package/src/resources/video-to-video.ts +143 -3
- package/src/resources/voices.ts +1 -1
- 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
|
@@ -71,7 +71,8 @@ export type VideoToVideoCreateParams =
|
|
|
71
71
|
| VideoToVideoCreateParams.GeminiOmniFlash1_2
|
|
72
72
|
| VideoToVideoCreateParams.Kling4Flash
|
|
73
73
|
| VideoToVideoCreateParams.Hailuo3Highspeed
|
|
74
|
-
| VideoToVideoCreateParams.Hailuo3Lite
|
|
74
|
+
| VideoToVideoCreateParams.Hailuo3Lite
|
|
75
|
+
| VideoToVideoCreateParams.Seedance2_5Flash;
|
|
75
76
|
|
|
76
77
|
export declare namespace VideoToVideoCreateParams {
|
|
77
78
|
export interface Variant0 {
|
|
@@ -1209,6 +1210,12 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1209
1210
|
*/
|
|
1210
1211
|
duration?: number;
|
|
1211
1212
|
|
|
1213
|
+
/**
|
|
1214
|
+
* Generate 10-bit HDR output. Requires a 1080p or 4K ratio. Additional charges
|
|
1215
|
+
* apply per output second. Defaults to false.
|
|
1216
|
+
*/
|
|
1217
|
+
hdr?: boolean;
|
|
1218
|
+
|
|
1212
1219
|
/**
|
|
1213
1220
|
* Optional first, middle, and last frames guiding the edit. Middle or last frames
|
|
1214
1221
|
* can be provided without a first frame.
|
|
@@ -1217,7 +1224,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1217
1224
|
|
|
1218
1225
|
/**
|
|
1219
1226
|
* The target output size. Use a pixel ratio such as `1280:720` or `auto_720p` /
|
|
1220
|
-
* `auto_1080p` for adaptive framing.
|
|
1227
|
+
* `auto_1080p` / `auto_4k` for adaptive framing.
|
|
1221
1228
|
*/
|
|
1222
1229
|
ratio?:
|
|
1223
1230
|
| '1280:720'
|
|
@@ -1228,8 +1235,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1228
1235
|
| '1080:1920'
|
|
1229
1236
|
| '1440:1440'
|
|
1230
1237
|
| '2200:940'
|
|
1238
|
+
| '3840:2160'
|
|
1239
|
+
| '2160:3840'
|
|
1240
|
+
| '2880:2880'
|
|
1241
|
+
| '4396:1884'
|
|
1231
1242
|
| 'auto_720p'
|
|
1232
|
-
| 'auto_1080p'
|
|
1243
|
+
| 'auto_1080p'
|
|
1244
|
+
| 'auto_4k';
|
|
1233
1245
|
|
|
1234
1246
|
/**
|
|
1235
1247
|
* Images of characters, objects or styles to use in the video. Up to 10 images in
|
|
@@ -1497,6 +1509,134 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
1497
1509
|
uri: string;
|
|
1498
1510
|
}
|
|
1499
1511
|
}
|
|
1512
|
+
|
|
1513
|
+
export interface Seedance2_5Flash {
|
|
1514
|
+
model: 'seedance2_5_flash';
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1518
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1519
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1520
|
+
*/
|
|
1521
|
+
promptVideo: string;
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* Whether to generate audio for the video.
|
|
1525
|
+
*/
|
|
1526
|
+
audio?: boolean;
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
1530
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
1531
|
+
* generation finishes. Defaults to 5.
|
|
1532
|
+
*/
|
|
1533
|
+
duration?: number | 'auto';
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* How the input video is used. `reference` (the default) generates a new video
|
|
1537
|
+
* conditioned on the input video and accepts `duration` and `ratio`. `extend`
|
|
1538
|
+
* continues the input video, requires `promptText`, and matches the input aspect
|
|
1539
|
+
* ratio, so `ratio` may not be provided. `edit` modifies the input video in place,
|
|
1540
|
+
* requires `promptText`, requires `duration: "auto"`, and does not accept `ratio`.
|
|
1541
|
+
*/
|
|
1542
|
+
mode?: 'reference' | 'extend' | 'edit';
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* Container for the output video. `mov` keeps high colour precision for grading
|
|
1546
|
+
* and compositing. Defaults to `mp4`.
|
|
1547
|
+
*/
|
|
1548
|
+
outputFormat?: 'mp4' | 'mov';
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* An optional text prompt up to 15000 characters describing what should appear in
|
|
1552
|
+
* the output.
|
|
1553
|
+
*/
|
|
1554
|
+
promptText?: string;
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* The resolution of the output video. Seedance 2.5 Flash supports 480p and 720p.
|
|
1558
|
+
*/
|
|
1559
|
+
ratio?:
|
|
1560
|
+
| '992:432'
|
|
1561
|
+
| '854:480'
|
|
1562
|
+
| '752:560'
|
|
1563
|
+
| '640:640'
|
|
1564
|
+
| '560:752'
|
|
1565
|
+
| '480:854'
|
|
1566
|
+
| '1470:630'
|
|
1567
|
+
| '1280:720'
|
|
1568
|
+
| '1112:834'
|
|
1569
|
+
| '960:960'
|
|
1570
|
+
| '834:1112'
|
|
1571
|
+
| '720:1280';
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* An optional array of audio references. The total combined duration must be less
|
|
1575
|
+
* than 30 seconds.
|
|
1576
|
+
*/
|
|
1577
|
+
referenceAudio?: Array<Seedance2_5Flash.ReferenceAudio>;
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* An optional array of image references (up to 10). See
|
|
1581
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1582
|
+
*/
|
|
1583
|
+
references?: Array<Seedance2_5Flash.Reference>;
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* An optional array of video references. The combined duration across all video
|
|
1587
|
+
* references must not exceed 30 seconds. See [our docs](/assets/inputs#videos) on
|
|
1588
|
+
* video inputs for more information.
|
|
1589
|
+
*/
|
|
1590
|
+
referenceVideos?: Array<Seedance2_5Flash.ReferenceVideo>;
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
1594
|
+
* get different results for the same other request parameters. Using the same seed
|
|
1595
|
+
* integer for an identical request will produce similar results.
|
|
1596
|
+
*/
|
|
1597
|
+
seed?: number;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
export namespace Seedance2_5Flash {
|
|
1601
|
+
/**
|
|
1602
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
1603
|
+
* the output.
|
|
1604
|
+
*/
|
|
1605
|
+
export interface ReferenceAudio {
|
|
1606
|
+
type: 'audio';
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1610
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
1611
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
1612
|
+
*/
|
|
1613
|
+
uri: string;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
export interface Reference {
|
|
1617
|
+
/**
|
|
1618
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1619
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1620
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1621
|
+
*/
|
|
1622
|
+
uri: string;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* A video reference allows the model to use the video as additional context for
|
|
1627
|
+
* the output.
|
|
1628
|
+
*/
|
|
1629
|
+
export interface ReferenceVideo {
|
|
1630
|
+
type: 'video';
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1634
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1635
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1636
|
+
*/
|
|
1637
|
+
uri: string;
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1500
1640
|
}
|
|
1501
1641
|
|
|
1502
1642
|
export declare namespace VideoToVideo {
|
package/src/resources/voices.ts
CHANGED
|
@@ -39,7 +39,7 @@ export class Voices extends APIResource {
|
|
|
39
39
|
* pagination.
|
|
40
40
|
*/
|
|
41
41
|
list(
|
|
42
|
-
query: VoiceListParams,
|
|
42
|
+
query: VoiceListParams | null | undefined = {},
|
|
43
43
|
options?: RequestOptions,
|
|
44
44
|
): PagePromise<VoiceListResponsesCursorPage, VoiceListResponse> {
|
|
45
45
|
return this._client.getAPIList('/v1/voices', CursorPage<VoiceListResponse>, { query, ...options });
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.30.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.30.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.30.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.30.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|