@runwayml/sdk 4.27.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/resources/organization/organization.d.mts +2 -2
  4. package/resources/organization/organization.d.mts.map +1 -1
  5. package/resources/organization/organization.d.ts +2 -2
  6. package/resources/organization/organization.d.ts.map +1 -1
  7. package/resources/organization/organization.js.map +1 -1
  8. package/resources/organization/organization.mjs.map +1 -1
  9. package/resources/organization/webapp/audit-logs.d.mts +62 -0
  10. package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
  11. package/resources/organization/webapp/audit-logs.d.ts +62 -0
  12. package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
  13. package/resources/organization/webapp/webapp.d.mts +20 -0
  14. package/resources/organization/webapp/webapp.d.mts.map +1 -1
  15. package/resources/organization/webapp/webapp.d.ts +20 -0
  16. package/resources/organization/webapp/webapp.d.ts.map +1 -1
  17. package/resources/organization/webapp/webapp.js.map +1 -1
  18. package/resources/organization/webapp/webapp.mjs.map +1 -1
  19. package/resources/tasks.d.mts +2 -2
  20. package/resources/tasks.d.ts +2 -2
  21. package/resources/text-to-speech.d.mts +71 -1
  22. package/resources/text-to-speech.d.mts.map +1 -1
  23. package/resources/text-to-speech.d.ts +71 -1
  24. package/resources/text-to-speech.d.ts.map +1 -1
  25. package/resources/video-to-video.d.mts +17 -2
  26. package/resources/video-to-video.d.mts.map +1 -1
  27. package/resources/video-to-video.d.ts +17 -2
  28. package/resources/video-to-video.d.ts.map +1 -1
  29. package/src/resources/organization/organization.ts +4 -0
  30. package/src/resources/organization/webapp/audit-logs.ts +124 -0
  31. package/src/resources/organization/webapp/webapp.ts +35 -0
  32. package/src/resources/tasks.ts +2 -2
  33. package/src/resources/text-to-speech.ts +86 -0
  34. package/src/resources/video-to-video.ts +30 -2
  35. package/src/version.ts +1 -1
  36. package/version.d.mts +1 -1
  37. package/version.d.ts +1 -1
  38. package/version.js +1 -1
  39. package/version.mjs +1 -1
@@ -52,6 +52,8 @@ export namespace TextToSpeechCreateResponse {
52
52
  export type TextToSpeechCreateParams =
53
53
  | TextToSpeechCreateParams.SeedAudio
54
54
  | TextToSpeechCreateParams.ElevenV4
55
+ | TextToSpeechCreateParams.Gemini3_8FlashTts
56
+ | TextToSpeechCreateParams.Gemini3_8FlashLiteTts
55
57
  | TextToSpeechCreateParams.ElevenMultilingualV2
56
58
  | TextToSpeechCreateParams.ElevenV3;
57
59
 
@@ -256,6 +258,90 @@ export declare namespace TextToSpeechCreateParams {
256
258
  }
257
259
  }
258
260
 
261
+ export interface Gemini3_8FlashTts {
262
+ model: 'gemini_3.8_flash_tts';
263
+
264
+ /**
265
+ * The script, in the order it is spoken. Use one turn for a single speaker, or
266
+ * alternate speakers across turns for a dialogue.
267
+ */
268
+ turns: Array<Gemini3_8FlashTts.Turn>;
269
+
270
+ /**
271
+ * The Google voice for each speaker, such as "Kore" or "Puck". Pass one voice for
272
+ * a single speaker, or two for a dialogue.
273
+ */
274
+ voiceIds: Array<string>;
275
+
276
+ /**
277
+ * The language of the script, such as "en-US". When omitted, the model detects it.
278
+ */
279
+ languageCode?: string;
280
+ }
281
+
282
+ export namespace Gemini3_8FlashTts {
283
+ export interface Turn {
284
+ /**
285
+ * The words to speak in this turn.
286
+ */
287
+ text: string;
288
+
289
+ /**
290
+ * The position in `voiceIds` of the voice that speaks this turn. Defaults to the
291
+ * first voice.
292
+ */
293
+ speaker?: number;
294
+
295
+ /**
296
+ * How this turn should be delivered, such as "calm and reassuring". It guides the
297
+ * delivery and is not read aloud.
298
+ */
299
+ style?: string;
300
+ }
301
+ }
302
+
303
+ export interface Gemini3_8FlashLiteTts {
304
+ model: 'gemini_3.8_flash_lite_tts';
305
+
306
+ /**
307
+ * The script, in the order it is spoken. Use one turn for a single speaker, or
308
+ * alternate speakers across turns for a dialogue.
309
+ */
310
+ turns: Array<Gemini3_8FlashLiteTts.Turn>;
311
+
312
+ /**
313
+ * The Google voice for each speaker, such as "Kore" or "Puck". Pass one voice for
314
+ * a single speaker, or two for a dialogue.
315
+ */
316
+ voiceIds: Array<string>;
317
+
318
+ /**
319
+ * The language of the script, such as "en-US". When omitted, the model detects it.
320
+ */
321
+ languageCode?: string;
322
+ }
323
+
324
+ export namespace Gemini3_8FlashLiteTts {
325
+ export interface Turn {
326
+ /**
327
+ * The words to speak in this turn.
328
+ */
329
+ text: string;
330
+
331
+ /**
332
+ * The position in `voiceIds` of the voice that speaks this turn. Defaults to the
333
+ * first voice.
334
+ */
335
+ speaker?: number;
336
+
337
+ /**
338
+ * How this turn should be delivered, such as "calm and reassuring". It guides the
339
+ * delivery and is not read aloud.
340
+ */
341
+ style?: string;
342
+ }
343
+ }
344
+
259
345
  export interface ElevenMultilingualV2 {
260
346
  model: 'eleven_multilingual_v2';
261
347
 
@@ -1205,15 +1205,43 @@ export declare namespace VideoToVideoCreateParams {
1205
1205
  videoUri: string;
1206
1206
 
1207
1207
  /**
1208
- * Output quality tier. The video keeps the input media framing.
1208
+ * The duration of the edited video in seconds.
1209
1209
  */
1210
- ratio?: 'auto_720p' | 'auto_1080p';
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';
1211
1233
 
1212
1234
  /**
1213
1235
  * Images of characters, objects or styles to use in the video. Up to 10 images in
1214
1236
  * total, frames included.
1215
1237
  */
1216
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>;
1217
1245
  }
1218
1246
 
1219
1247
  export namespace Kling4 {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '4.27.0'; // x-release-please-version
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.27.0";
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.27.0";
1
+ export declare const VERSION = "4.28.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '4.27.0'; // x-release-please-version
4
+ exports.VERSION = '4.28.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.27.0'; // x-release-please-version
1
+ export const VERSION = '4.28.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map