@runwayml/sdk 3.23.0 → 4.0.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/client.d.mts +7 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +7 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/avatar-conversations.d.mts +648 -0
  12. package/resources/avatar-conversations.d.mts.map +1 -0
  13. package/resources/avatar-conversations.d.ts +648 -0
  14. package/resources/avatar-conversations.d.ts.map +1 -0
  15. package/resources/avatar-conversations.js +41 -0
  16. package/resources/avatar-conversations.js.map +1 -0
  17. package/resources/avatar-conversations.mjs +37 -0
  18. package/resources/avatar-conversations.mjs.map +1 -0
  19. package/resources/avatars.d.mts +63 -1
  20. package/resources/avatars.d.mts.map +1 -1
  21. package/resources/avatars.d.ts +63 -1
  22. package/resources/avatars.d.ts.map +1 -1
  23. package/resources/avatars.js +16 -0
  24. package/resources/avatars.js.map +1 -1
  25. package/resources/avatars.mjs +16 -0
  26. package/resources/avatars.mjs.map +1 -1
  27. package/resources/image-to-video.d.mts +58 -66
  28. package/resources/image-to-video.d.mts.map +1 -1
  29. package/resources/image-to-video.d.ts +58 -66
  30. package/resources/image-to-video.d.ts.map +1 -1
  31. package/resources/image-to-video.js +0 -9
  32. package/resources/image-to-video.js.map +1 -1
  33. package/resources/image-to-video.mjs +0 -9
  34. package/resources/image-to-video.mjs.map +1 -1
  35. package/resources/index.d.mts +3 -2
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +3 -2
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +3 -1
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +1 -0
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/organization.d.mts +2 -2
  44. package/resources/organization.d.mts.map +1 -1
  45. package/resources/organization.d.ts +2 -2
  46. package/resources/organization.d.ts.map +1 -1
  47. package/resources/text-to-video.d.mts +75 -3
  48. package/resources/text-to-video.d.mts.map +1 -1
  49. package/resources/text-to-video.d.ts +75 -3
  50. package/resources/text-to-video.d.ts.map +1 -1
  51. package/resources/video-to-video.d.mts +81 -93
  52. package/resources/video-to-video.d.mts.map +1 -1
  53. package/resources/video-to-video.d.ts +81 -93
  54. package/resources/video-to-video.d.ts.map +1 -1
  55. package/resources/video-to-video.js +1 -1
  56. package/resources/video-to-video.mjs +1 -1
  57. package/resources/voices.d.mts +97 -1
  58. package/resources/voices.d.mts.map +1 -1
  59. package/resources/voices.d.ts +97 -1
  60. package/resources/voices.d.ts.map +1 -1
  61. package/resources/voices.js +6 -0
  62. package/resources/voices.js.map +1 -1
  63. package/resources/voices.mjs +6 -0
  64. package/resources/voices.mjs.map +1 -1
  65. package/src/client.ts +25 -0
  66. package/src/resources/avatar-conversations.ts +787 -0
  67. package/src/resources/avatars.ts +76 -0
  68. package/src/resources/image-to-video.ts +81 -76
  69. package/src/resources/index.ts +11 -0
  70. package/src/resources/organization.ts +5 -1
  71. package/src/resources/text-to-video.ts +101 -2
  72. package/src/resources/video-to-video.ts +106 -116
  73. package/src/resources/voices.ts +128 -0
  74. package/src/version.ts +1 -1
  75. package/version.d.mts +1 -1
  76. package/version.d.mts.map +1 -1
  77. package/version.d.ts +1 -1
  78. package/version.d.ts.map +1 -1
  79. package/version.js +1 -1
  80. package/version.js.map +1 -1
  81. package/version.mjs +1 -1
  82. package/version.mjs.map +1 -1
@@ -16,7 +16,7 @@ export interface TextToVideoCreateResponse {
16
16
  */
17
17
  id: string;
18
18
  }
19
- export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Happyhorse1_0 | TextToVideoCreateParams.Seedance2 | TextToVideoCreateParams.Veo3;
19
+ export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Happyhorse1_0 | TextToVideoCreateParams.Seedance2 | TextToVideoCreateParams.Seedance2Fast | TextToVideoCreateParams.Veo3;
20
20
  export declare namespace TextToVideoCreateParams {
21
21
  interface Gen4_5 {
22
22
  /**
@@ -116,8 +116,8 @@ export declare namespace TextToVideoCreateParams {
116
116
  interface Seedance2 {
117
117
  model: 'seedance2';
118
118
  /**
119
- * A non-empty string up to 3500 characters (measured in UTF-16 code units). This
120
- * should describe in detail what should appear in the output.
119
+ * A non-empty text prompt up to 3500 characters describing what should appear in
120
+ * the output.
121
121
  */
122
122
  promptText: string;
123
123
  /**
@@ -184,6 +184,78 @@ export declare namespace TextToVideoCreateParams {
184
184
  uri: string;
185
185
  }
186
186
  }
187
+ interface Seedance2Fast {
188
+ model: 'seedance2_fast';
189
+ /**
190
+ * A non-empty text prompt up to 3500 characters describing what should appear in
191
+ * the output.
192
+ */
193
+ promptText: string;
194
+ /**
195
+ * Whether to generate audio for the video. Audio inclusion affects pricing.
196
+ */
197
+ audio?: boolean;
198
+ /**
199
+ * The number of seconds of duration for the output video.
200
+ */
201
+ duration?: number;
202
+ /**
203
+ * The resolution of the output video. Seedance 2.0 Fast supports 480p and 720p
204
+ * only.
205
+ */
206
+ ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280';
207
+ /**
208
+ * An optional array of audio references. Audio references require a text prompt,
209
+ * and the total combined duration must not exceed 15 seconds.
210
+ */
211
+ referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
212
+ /**
213
+ * An optional array of image references (up to 9). See
214
+ * [our docs](/assets/inputs#images) on image inputs for more information.
215
+ */
216
+ references?: Array<Seedance2Fast.Reference>;
217
+ /**
218
+ * An optional array of video references. The combined duration across all video
219
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
220
+ * video inputs for more information.
221
+ */
222
+ referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
223
+ }
224
+ namespace Seedance2Fast {
225
+ /**
226
+ * An audio reference allows the model to use the audio as additional context for
227
+ * the output.
228
+ */
229
+ interface ReferenceAudio {
230
+ type: 'audio';
231
+ /**
232
+ * A HTTPS URL.
233
+ */
234
+ uri: string;
235
+ }
236
+ interface Reference {
237
+ /**
238
+ * A HTTPS URL.
239
+ */
240
+ uri: string;
241
+ /**
242
+ * The position of the image in the output video. "first" will use the image as the
243
+ * first frame, "last" as the last frame. Omit for a reference image.
244
+ */
245
+ position?: 'first' | 'last';
246
+ }
247
+ /**
248
+ * A video reference allows the model to use the video as additional context for
249
+ * the output.
250
+ */
251
+ interface ReferenceVideo {
252
+ type: 'video';
253
+ /**
254
+ * A HTTPS URL.
255
+ */
256
+ uri: string;
257
+ }
258
+ }
187
259
  interface Veo3 {
188
260
  /**
189
261
  * The number of seconds of duration for the output video.
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-video.d.ts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,uBAAuB,GAC/B,uBAAuB,CAAC,MAAM,GAC9B,uBAAuB,CAAC,MAAM,GAC9B,uBAAuB,CAAC,UAAU,GAClC,uBAAuB,CAAC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APIResource {
11
11
  * @example
12
12
  * ```ts
13
13
  * const videoToVideo = await client.videoToVideo.create({
14
- * model: 'gen4_aleph',
14
+ * model: 'aleph2',
15
15
  * promptText: 'x',
16
16
  * videoUri: 'https://example.com/video.mp4',
17
17
  * });
@@ -25,13 +25,13 @@ export interface VideoToVideoCreateResponse {
25
25
  */
26
26
  id: string;
27
27
  }
28
- export type VideoToVideoCreateParams = VideoToVideoCreateParams.Gen4Aleph | VideoToVideoCreateParams.Aleph2 | VideoToVideoCreateParams.Seedance2;
28
+ export type VideoToVideoCreateParams = VideoToVideoCreateParams.Variant0 | VideoToVideoCreateParams.Seedance2 | VideoToVideoCreateParams.Seedance2Fast;
29
29
  export declare namespace VideoToVideoCreateParams {
30
- interface Gen4Aleph {
31
- model: 'gen4_aleph';
30
+ interface Variant0 {
31
+ model: 'aleph2';
32
32
  /**
33
- * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
34
- * should describe in detail what should appear in the output.
33
+ * A non-empty string up to 1000 characters describing what should appear in the
34
+ * output.
35
35
  */
36
36
  promptText: string;
37
37
  /**
@@ -41,17 +41,12 @@ export declare namespace VideoToVideoCreateParams {
41
41
  /**
42
42
  * Settings that affect the behavior of the content moderation system.
43
43
  */
44
- contentModeration?: Gen4Aleph.ContentModeration;
45
- /**
46
- * @deprecated Deprecated. This field is ignored. The resolution of the output
47
- * video is determined by the input video.
48
- */
49
- ratio?: '1280:720' | '720:1280' | '1104:832' | '960:960' | '832:1104' | '1584:672' | '848:480' | '640:480';
44
+ contentModeration?: Variant0.ContentModeration;
50
45
  /**
51
- * An array of references. Currently up to one reference is supported. See
52
- * [our docs](/assets/inputs#images) on image inputs for more information.
46
+ * Timed guidance images placed at specific points in the input video. Up to 5
47
+ * keyframes.
53
48
  */
54
- references?: Array<Gen4Aleph.Reference>;
49
+ keyframes?: Array<Variant0.UnionMember0 | Variant0.UnionMember1>;
55
50
  /**
56
51
  * If unspecified, a random number is chosen. Varying the seed integer is a way to
57
52
  * get different results for the same other request parameters. Using the same seed
@@ -59,7 +54,7 @@ export declare namespace VideoToVideoCreateParams {
59
54
  */
60
55
  seed?: number;
61
56
  }
62
- namespace Gen4Aleph {
57
+ namespace Variant0 {
63
58
  /**
64
59
  * Settings that affect the behavior of the content moderation system.
65
60
  */
@@ -70,114 +65,106 @@ export declare namespace VideoToVideoCreateParams {
70
65
  */
71
66
  publicFigureThreshold?: 'auto' | 'low';
72
67
  }
73
- /**
74
- * Passing an image reference allows the model to emulate the style or content of
75
- * the reference in the output.
76
- */
77
- interface Reference {
78
- type: 'image';
68
+ interface UnionMember0 {
69
+ /**
70
+ * Absolute timestamp in seconds from the start of the input video when this
71
+ * guidance image should apply.
72
+ */
73
+ seconds: number;
74
+ /**
75
+ * A HTTPS URL.
76
+ */
77
+ uri: string;
78
+ }
79
+ interface UnionMember1 {
80
+ /**
81
+ * Position as a fraction [0.0, 1.0] of the input video duration when this guidance
82
+ * image should apply.
83
+ */
84
+ at: number;
79
85
  /**
80
86
  * A HTTPS URL.
81
87
  */
82
88
  uri: string;
83
89
  }
84
90
  }
85
- interface Aleph2 {
86
- model: 'aleph2';
91
+ interface Seedance2 {
92
+ model: 'seedance2';
87
93
  /**
88
- * A non-empty string up to 1000 characters describing what should appear in the
89
- * output.
94
+ * A HTTPS URL.
90
95
  */
91
- promptText: string;
96
+ promptVideo: string;
92
97
  /**
93
- * A HTTPS URL.
98
+ * Whether to generate audio for the video. Audio inclusion affects pricing.
94
99
  */
95
- videoUri: string;
100
+ audio?: boolean;
96
101
  /**
97
- * Settings that affect the behavior of the content moderation system.
102
+ * The number of seconds of duration for the output video.
98
103
  */
99
- contentModeration?: Aleph2.ContentModeration;
104
+ duration?: number;
100
105
  /**
101
- * Timed guidance images placed at specific points in the input video. Up to 5
102
- * keyframes.
106
+ * An optional text prompt up to 3500 characters describing what should appear in
107
+ * the output.
103
108
  */
104
- keyframes?: Array<Aleph2.UnionMember0 | Aleph2.UnionMember1>;
109
+ promptText?: string;
105
110
  /**
106
- * A list of up to 5 image keyframes for guiding the edit at specific points in the
107
- * video.
111
+ * The resolution of the output video.
108
112
  */
109
- promptImage?: Array<Aleph2.PromptImage>;
113
+ ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920';
110
114
  /**
111
- * If unspecified, a random number is chosen. Varying the seed integer is a way to
112
- * get different results for the same other request parameters. Using the same seed
113
- * integer for an identical request will produce similar results.
115
+ * An optional array of audio references. Audio references require a text prompt,
116
+ * and the total combined duration must not exceed 15 seconds.
114
117
  */
115
- seed?: number;
118
+ referenceAudio?: Array<Seedance2.ReferenceAudio>;
119
+ /**
120
+ * An optional array of image references (up to 9). See
121
+ * [our docs](/assets/inputs#images) on image inputs for more information.
122
+ */
123
+ references?: Array<Seedance2.Reference>;
124
+ /**
125
+ * An optional array of video references. The combined duration across all video
126
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
127
+ * video inputs for more information.
128
+ */
129
+ referenceVideos?: Array<Seedance2.ReferenceVideo>;
116
130
  }
117
- namespace Aleph2 {
131
+ namespace Seedance2 {
118
132
  /**
119
- * Settings that affect the behavior of the content moderation system.
133
+ * An audio reference allows the model to use the audio as additional context for
134
+ * the output.
120
135
  */
121
- interface ContentModeration {
122
- /**
123
- * When set to `low`, the content moderation system will be less strict about
124
- * preventing generations that include recognizable public figures.
125
- */
126
- publicFigureThreshold?: 'auto' | 'low';
127
- }
128
- interface UnionMember0 {
129
- /**
130
- * Absolute timestamp in seconds from the start of the input video when this
131
- * guidance image should apply.
132
- */
133
- seconds: number;
136
+ interface ReferenceAudio {
137
+ type: 'audio';
134
138
  /**
135
139
  * A HTTPS URL.
136
140
  */
137
141
  uri: string;
138
142
  }
139
- interface UnionMember1 {
140
- /**
141
- * Position as a fraction [0.0, 1.0] of the input video duration when this guidance
142
- * image should apply.
143
- */
144
- at: number;
143
+ interface Reference {
145
144
  /**
146
145
  * A HTTPS URL.
147
146
  */
148
147
  uri: string;
149
- }
150
- interface PromptImage {
151
148
  /**
152
- * - `first` - Places the image at the start of the output video (timestamp 0).
153
- * - `last` - Places the image at the end of the output video (timestamp =
154
- * duration).
149
+ * The position of the image in the output video. "first" will use the image as the
150
+ * first frame, "last" as the last frame. Omit for a reference image.
155
151
  */
156
- position: 'first' | 'last' | PromptImage.TimestampPosition | PromptImage.RelativePosition;
152
+ position?: 'first' | 'last';
153
+ }
154
+ /**
155
+ * A video reference allows the model to use the video as additional context for
156
+ * the output.
157
+ */
158
+ interface ReferenceVideo {
159
+ type: 'video';
157
160
  /**
158
161
  * A HTTPS URL.
159
162
  */
160
163
  uri: string;
161
164
  }
162
- namespace PromptImage {
163
- interface TimestampPosition {
164
- /**
165
- * Absolute timestamp in seconds from the start of the output video.
166
- */
167
- timestampSeconds: number;
168
- type: 'timestamp';
169
- }
170
- interface RelativePosition {
171
- /**
172
- * Position as a fraction [0.0, 1.0] of the total video duration.
173
- */
174
- positionPercentage: number;
175
- type: 'position';
176
- }
177
- }
178
165
  }
179
- interface Seedance2 {
180
- model: 'seedance2';
166
+ interface Seedance2Fast {
167
+ model: 'seedance2_fast';
181
168
  /**
182
169
  * A HTTPS URL.
183
170
  */
@@ -192,31 +179,32 @@ export declare namespace VideoToVideoCreateParams {
192
179
  duration?: number;
193
180
  /**
194
181
  * An optional text prompt up to 3500 characters describing what should appear in
195
- * the output video.
182
+ * the output.
196
183
  */
197
184
  promptText?: string;
198
185
  /**
199
- * The resolution of the output video.
186
+ * The resolution of the output video. Seedance 2.0 Fast supports 480p and 720p
187
+ * only.
200
188
  */
201
- ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920';
189
+ ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280';
202
190
  /**
203
191
  * An optional array of audio references. Audio references require a text prompt,
204
192
  * and the total combined duration must not exceed 15 seconds.
205
193
  */
206
- referenceAudio?: Array<Seedance2.ReferenceAudio>;
194
+ referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
207
195
  /**
208
196
  * An optional array of image references (up to 9). See
209
197
  * [our docs](/assets/inputs#images) on image inputs for more information.
210
198
  */
211
- references?: Array<Seedance2.Reference>;
199
+ references?: Array<Seedance2Fast.Reference>;
212
200
  /**
213
201
  * An optional array of video references. The combined duration across all video
214
202
  * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
215
203
  * video inputs for more information.
216
204
  */
217
- referenceVideos?: Array<Seedance2.ReferenceVideo>;
205
+ referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
218
206
  }
219
- namespace Seedance2 {
207
+ namespace Seedance2Fast {
220
208
  /**
221
209
  * An audio reference allows the model to use the audio as additional context for
222
210
  * the output.
@@ -1 +1 @@
1
- {"version":3,"file":"video-to-video.d.mts","sourceRoot":"","sources":["../src/resources/video-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,wBAAwB,GAChC,wBAAwB,CAAC,SAAS,GAClC,wBAAwB,CAAC,MAAM,GAC/B,wBAAwB,CAAC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