@runwayml/sdk 4.22.0 → 4.24.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 (102) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/client.d.mts +6 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/avatar-conversations.d.mts +1 -1
  12. package/resources/avatar-conversations.d.ts +1 -1
  13. package/resources/avatar-conversations.js +1 -1
  14. package/resources/avatar-conversations.mjs +1 -1
  15. package/resources/generate/image.d.mts +6 -4
  16. package/resources/generate/image.d.mts.map +1 -1
  17. package/resources/generate/image.d.ts +6 -4
  18. package/resources/generate/image.d.ts.map +1 -1
  19. package/resources/image-to-video.d.mts +683 -73
  20. package/resources/image-to-video.d.mts.map +1 -1
  21. package/resources/image-to-video.d.ts +683 -73
  22. package/resources/image-to-video.d.ts.map +1 -1
  23. package/resources/index.d.mts +1 -0
  24. package/resources/index.d.mts.map +1 -1
  25. package/resources/index.d.ts +1 -0
  26. package/resources/index.d.ts.map +1 -1
  27. package/resources/index.js +3 -1
  28. package/resources/index.js.map +1 -1
  29. package/resources/index.mjs +1 -0
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/organization/organization.d.mts +2 -2
  32. package/resources/organization/organization.d.mts.map +1 -1
  33. package/resources/organization/organization.d.ts +2 -2
  34. package/resources/organization/organization.d.ts.map +1 -1
  35. package/resources/organization/organization.js.map +1 -1
  36. package/resources/organization/organization.mjs.map +1 -1
  37. package/resources/organization/webapp/audit-logs.d.mts +105 -80
  38. package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
  39. package/resources/organization/webapp/audit-logs.d.ts +105 -80
  40. package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
  41. package/resources/organization/webapp/webapp.d.mts +6 -4
  42. package/resources/organization/webapp/webapp.d.mts.map +1 -1
  43. package/resources/organization/webapp/webapp.d.ts +6 -4
  44. package/resources/organization/webapp/webapp.d.ts.map +1 -1
  45. package/resources/organization/webapp/webapp.js.map +1 -1
  46. package/resources/organization/webapp/webapp.mjs.map +1 -1
  47. package/resources/routers.d.mts +14 -10
  48. package/resources/routers.d.mts.map +1 -1
  49. package/resources/routers.d.ts +14 -10
  50. package/resources/routers.d.ts.map +1 -1
  51. package/resources/sound-effect.d.mts +28 -1
  52. package/resources/sound-effect.d.mts.map +1 -1
  53. package/resources/sound-effect.d.ts +28 -1
  54. package/resources/sound-effect.d.ts.map +1 -1
  55. package/resources/tasks.d.mts +7 -0
  56. package/resources/tasks.d.mts.map +1 -1
  57. package/resources/tasks.d.ts +7 -0
  58. package/resources/tasks.d.ts.map +1 -1
  59. package/resources/tasks.js +7 -0
  60. package/resources/tasks.js.map +1 -1
  61. package/resources/tasks.mjs +7 -0
  62. package/resources/tasks.mjs.map +1 -1
  63. package/resources/text-to-image.d.mts +238 -1
  64. package/resources/text-to-image.d.mts.map +1 -1
  65. package/resources/text-to-image.d.ts +238 -1
  66. package/resources/text-to-image.d.ts.map +1 -1
  67. package/resources/text-to-video.d.mts +492 -81
  68. package/resources/text-to-video.d.mts.map +1 -1
  69. package/resources/text-to-video.d.ts +492 -81
  70. package/resources/text-to-video.d.ts.map +1 -1
  71. package/resources/video-to-audio.d.mts +84 -0
  72. package/resources/video-to-audio.d.mts.map +1 -0
  73. package/resources/video-to-audio.d.ts +84 -0
  74. package/resources/video-to-audio.d.ts.map +1 -0
  75. package/resources/video-to-audio.js +29 -0
  76. package/resources/video-to-audio.js.map +1 -0
  77. package/resources/video-to-audio.mjs +25 -0
  78. package/resources/video-to-audio.mjs.map +1 -0
  79. package/resources/video-to-video.d.mts +277 -20
  80. package/resources/video-to-video.d.mts.map +1 -1
  81. package/resources/video-to-video.d.ts +277 -20
  82. package/resources/video-to-video.d.ts.map +1 -1
  83. package/src/client.ts +16 -0
  84. package/src/resources/avatar-conversations.ts +1 -1
  85. package/src/resources/generate/image.ts +6 -4
  86. package/src/resources/image-to-video.ts +836 -111
  87. package/src/resources/index.ts +5 -0
  88. package/src/resources/organization/organization.ts +20 -0
  89. package/src/resources/organization/webapp/audit-logs.ts +142 -78
  90. package/src/resources/organization/webapp/webapp.ts +6 -4
  91. package/src/resources/routers.ts +14 -10
  92. package/src/resources/sound-effect.ts +35 -0
  93. package/src/resources/tasks.ts +7 -0
  94. package/src/resources/text-to-image.ts +406 -0
  95. package/src/resources/text-to-video.ts +621 -114
  96. package/src/resources/video-to-audio.ts +109 -0
  97. package/src/resources/video-to-video.ts +335 -30
  98. package/src/version.ts +1 -1
  99. package/version.d.mts +1 -1
  100. package/version.d.ts +1 -1
  101. package/version.js +1 -1
  102. package/version.mjs +1 -1
@@ -0,0 +1,109 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { RequestOptions } from '../internal/request-options';
5
+ import { APIPromiseWithAwaitableTask, wrapAsWaitableResource } from '../lib/polling';
6
+
7
+ /**
8
+ * These endpoints all kick off tasks to create generations.
9
+ */
10
+ export class VideoToAudio extends APIResource {
11
+ /**
12
+ * Generate synchronized sound effects for a video, optionally guided by a text
13
+ * description. Returns audio, not a video with a replacement soundtrack.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const videoToAudio = await client.videoToAudio.create({
18
+ * duration: 1,
19
+ * model: 'mirelo_sfx_2_0',
20
+ * videoUri: 'https://example.com/video.mp4',
21
+ * });
22
+ * ```
23
+ */
24
+ create(
25
+ body: VideoToAudioCreateParams,
26
+ options?: RequestOptions,
27
+ ): APIPromiseWithAwaitableTask<VideoToAudioCreateResponse> {
28
+ return wrapAsWaitableResource<VideoToAudioCreateResponse>(this._client)(
29
+ this._client.post('/v1/video_to_audio', { body, ...options }),
30
+ );
31
+ }
32
+ }
33
+
34
+ export interface VideoToAudioCreateResponse {
35
+ /**
36
+ * The ID of the task that was created. Use this to retrieve the task later.
37
+ */
38
+ id: string;
39
+
40
+ /**
41
+ * The maximum credits this task may charge. The final amount may be lower after
42
+ * the task completes.
43
+ */
44
+ estimatedCost: VideoToAudioCreateResponse.EstimatedCost;
45
+ }
46
+
47
+ export namespace VideoToAudioCreateResponse {
48
+ /**
49
+ * The maximum credits this task may charge. The final amount may be lower after
50
+ * the task completes.
51
+ */
52
+ export interface EstimatedCost {
53
+ /**
54
+ * Estimated cost of the generation in credits.
55
+ */
56
+ credits: number;
57
+ }
58
+ }
59
+
60
+ export interface VideoToAudioCreateParams {
61
+ duration: number;
62
+
63
+ model: 'mirelo_sfx_2_0';
64
+
65
+ /**
66
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
67
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
68
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
69
+ */
70
+ videoUri: string;
71
+
72
+ /**
73
+ * The format of the generated audio.
74
+ */
75
+ format?: 'mp3' | 'wav' | 'flac';
76
+
77
+ /**
78
+ * Sounds to avoid in the generated audio.
79
+ */
80
+ negativePrompt?: string;
81
+
82
+ /**
83
+ * The number of audio variations to generate.
84
+ */
85
+ numVariants?: number;
86
+
87
+ /**
88
+ * Whether to preserve dialogue from the input video. Disabling this does not
89
+ * guarantee speech-free output.
90
+ */
91
+ preserveSpeech?: boolean;
92
+
93
+ /**
94
+ * A description of the sound effects to generate.
95
+ */
96
+ promptText?: string;
97
+
98
+ /**
99
+ * A seed for reproducible generation.
100
+ */
101
+ seed?: number;
102
+ }
103
+
104
+ export declare namespace VideoToAudio {
105
+ export {
106
+ type VideoToAudioCreateResponse as VideoToAudioCreateResponse,
107
+ type VideoToAudioCreateParams as VideoToAudioCreateParams,
108
+ };
109
+ }
@@ -57,13 +57,17 @@ export namespace VideoToVideoCreateResponse {
57
57
 
58
58
  export type VideoToVideoCreateParams =
59
59
  | VideoToVideoCreateParams.Variant0
60
+ | VideoToVideoCreateParams.KlingO3_4k
60
61
  | VideoToVideoCreateParams.Hailuo3
62
+ | VideoToVideoCreateParams.KlingO3Pro
63
+ | VideoToVideoCreateParams.KlingO3Standard
61
64
  | VideoToVideoCreateParams.Seedance2
62
65
  | VideoToVideoCreateParams.Seedance2Fast
63
66
  | VideoToVideoCreateParams.Seedance2Mini
64
67
  | VideoToVideoCreateParams.GeminiOmniFlash
68
+ | VideoToVideoCreateParams.GeminiOmniFlash1_1
65
69
  | VideoToVideoCreateParams.Seedance2_5
66
- | VideoToVideoCreateParams.GeminiOmniFlash1_1;
70
+ | VideoToVideoCreateParams.Kling4;
67
71
 
68
72
  export declare namespace VideoToVideoCreateParams {
69
73
  export interface Variant0 {
@@ -227,6 +231,89 @@ export declare namespace VideoToVideoCreateParams {
227
231
  }
228
232
  }
229
233
 
234
+ export interface KlingO3_4k {
235
+ model: 'klingO3_4k';
236
+
237
+ /**
238
+ * A text prompt describing what should appear in the output video.
239
+ */
240
+ promptText: string;
241
+
242
+ /**
243
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
244
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
245
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
246
+ */
247
+ promptVideo: string;
248
+
249
+ /**
250
+ * Provider-specific settings for multishot video generation and video editing.
251
+ */
252
+ providerSettings?: KlingO3_4k.ProviderSettings;
253
+
254
+ /**
255
+ * An optional array of reference images (up to 4). See
256
+ * [our docs](/assets/inputs#images) on image inputs for more information.
257
+ */
258
+ references?: string | Array<KlingO3_4k.PromptImage>;
259
+ }
260
+
261
+ export namespace KlingO3_4k {
262
+ /**
263
+ * Provider-specific settings for multishot video generation and video editing.
264
+ */
265
+ export interface ProviderSettings {
266
+ /**
267
+ * Whether to preserve the original audio when editing a video. Only applicable for
268
+ * video-to-video. Defaults to true.
269
+ */
270
+ keepOriginalSound?: boolean;
271
+
272
+ /**
273
+ * An array of prompt segments for multishot video generation. Each segment has its
274
+ * own prompt and duration. Total duration across all segments must be between 3
275
+ * and 15 seconds. `promptText` is still required when `shotType` is
276
+ * `"intelligence"`.
277
+ */
278
+ multiPrompt?: Array<ProviderSettings.MultiPrompt>;
279
+
280
+ /**
281
+ * Shot transition type for multishot videos. Defaults to "customize" when
282
+ * multiPrompt is provided.
283
+ */
284
+ shotType?: 'intelligence' | 'customize';
285
+ }
286
+
287
+ export namespace ProviderSettings {
288
+ export interface MultiPrompt {
289
+ /**
290
+ * Duration in seconds for this segment.
291
+ */
292
+ duration: number;
293
+
294
+ /**
295
+ * The text prompt for this segment.
296
+ */
297
+ prompt: string;
298
+ }
299
+ }
300
+
301
+ export interface PromptImage {
302
+ /**
303
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
304
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
305
+ * [our docs](/assets/inputs#images) on image inputs for more information.
306
+ */
307
+ uri: string;
308
+
309
+ /**
310
+ * The position of the image in the output video. "first" will use the image as the
311
+ * first frame, "last" as the last frame. Omit for a reference image.
312
+ */
313
+ position?: 'first' | 'last';
314
+ }
315
+ }
316
+
230
317
  export interface Hailuo3 {
231
318
  model: 'hailuo3';
232
319
 
@@ -322,6 +409,172 @@ export declare namespace VideoToVideoCreateParams {
322
409
  }
323
410
  }
324
411
 
412
+ export interface KlingO3Pro {
413
+ model: 'klingO3_pro';
414
+
415
+ /**
416
+ * A text prompt describing what should appear in the output video.
417
+ */
418
+ promptText: string;
419
+
420
+ /**
421
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
422
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
423
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
424
+ */
425
+ promptVideo: string;
426
+
427
+ /**
428
+ * Provider-specific settings for multishot video generation and video editing.
429
+ */
430
+ providerSettings?: KlingO3Pro.ProviderSettings;
431
+
432
+ /**
433
+ * An optional array of reference images (up to 4). See
434
+ * [our docs](/assets/inputs#images) on image inputs for more information.
435
+ */
436
+ references?: string | Array<KlingO3Pro.PromptImage>;
437
+ }
438
+
439
+ export namespace KlingO3Pro {
440
+ /**
441
+ * Provider-specific settings for multishot video generation and video editing.
442
+ */
443
+ export interface ProviderSettings {
444
+ /**
445
+ * Whether to preserve the original audio when editing a video. Only applicable for
446
+ * video-to-video. Defaults to true.
447
+ */
448
+ keepOriginalSound?: boolean;
449
+
450
+ /**
451
+ * An array of prompt segments for multishot video generation. Each segment has its
452
+ * own prompt and duration. Total duration across all segments must be between 3
453
+ * and 15 seconds. `promptText` is still required when `shotType` is
454
+ * `"intelligence"`.
455
+ */
456
+ multiPrompt?: Array<ProviderSettings.MultiPrompt>;
457
+
458
+ /**
459
+ * Shot transition type for multishot videos. Defaults to "customize" when
460
+ * multiPrompt is provided.
461
+ */
462
+ shotType?: 'intelligence' | 'customize';
463
+ }
464
+
465
+ export namespace ProviderSettings {
466
+ export interface MultiPrompt {
467
+ /**
468
+ * Duration in seconds for this segment.
469
+ */
470
+ duration: number;
471
+
472
+ /**
473
+ * The text prompt for this segment.
474
+ */
475
+ prompt: string;
476
+ }
477
+ }
478
+
479
+ export interface PromptImage {
480
+ /**
481
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
482
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
483
+ * [our docs](/assets/inputs#images) on image inputs for more information.
484
+ */
485
+ uri: string;
486
+
487
+ /**
488
+ * The position of the image in the output video. "first" will use the image as the
489
+ * first frame, "last" as the last frame. Omit for a reference image.
490
+ */
491
+ position?: 'first' | 'last';
492
+ }
493
+ }
494
+
495
+ export interface KlingO3Standard {
496
+ model: 'klingO3_standard';
497
+
498
+ /**
499
+ * A text prompt describing what should appear in the output video.
500
+ */
501
+ promptText: string;
502
+
503
+ /**
504
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
505
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
506
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
507
+ */
508
+ promptVideo: string;
509
+
510
+ /**
511
+ * Provider-specific settings for multishot video generation and video editing.
512
+ */
513
+ providerSettings?: KlingO3Standard.ProviderSettings;
514
+
515
+ /**
516
+ * An optional array of reference images (up to 4). See
517
+ * [our docs](/assets/inputs#images) on image inputs for more information.
518
+ */
519
+ references?: string | Array<KlingO3Standard.PromptImage>;
520
+ }
521
+
522
+ export namespace KlingO3Standard {
523
+ /**
524
+ * Provider-specific settings for multishot video generation and video editing.
525
+ */
526
+ export interface ProviderSettings {
527
+ /**
528
+ * Whether to preserve the original audio when editing a video. Only applicable for
529
+ * video-to-video. Defaults to true.
530
+ */
531
+ keepOriginalSound?: boolean;
532
+
533
+ /**
534
+ * An array of prompt segments for multishot video generation. Each segment has its
535
+ * own prompt and duration. Total duration across all segments must be between 3
536
+ * and 15 seconds. `promptText` is still required when `shotType` is
537
+ * `"intelligence"`.
538
+ */
539
+ multiPrompt?: Array<ProviderSettings.MultiPrompt>;
540
+
541
+ /**
542
+ * Shot transition type for multishot videos. Defaults to "customize" when
543
+ * multiPrompt is provided.
544
+ */
545
+ shotType?: 'intelligence' | 'customize';
546
+ }
547
+
548
+ export namespace ProviderSettings {
549
+ export interface MultiPrompt {
550
+ /**
551
+ * Duration in seconds for this segment.
552
+ */
553
+ duration: number;
554
+
555
+ /**
556
+ * The text prompt for this segment.
557
+ */
558
+ prompt: string;
559
+ }
560
+ }
561
+
562
+ export interface PromptImage {
563
+ /**
564
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
565
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
566
+ * [our docs](/assets/inputs#images) on image inputs for more information.
567
+ */
568
+ uri: string;
569
+
570
+ /**
571
+ * The position of the image in the output video. "first" will use the image as the
572
+ * first frame, "last" as the last frame. Omit for a reference image.
573
+ */
574
+ position?: 'first' | 'last';
575
+ }
576
+ }
577
+
325
578
  export interface Seedance2 {
326
579
  model: 'seedance2';
327
580
 
@@ -707,6 +960,64 @@ export declare namespace VideoToVideoCreateParams {
707
960
  }
708
961
  }
709
962
 
963
+ export interface GeminiOmniFlash1_1 {
964
+ model: 'gemini_omni_flash_1.1';
965
+
966
+ /**
967
+ * A non-empty prompt describing the output or extension.
968
+ */
969
+ promptText: string;
970
+
971
+ /**
972
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
973
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
974
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
975
+ */
976
+ videoUri: string;
977
+
978
+ /**
979
+ * The duration in seconds. In reference mode, this is the output video length. In
980
+ * extend mode, this is the amount of footage added to the input video. Use "auto"
981
+ * to let the model choose a duration.
982
+ */
983
+ duration?: 'auto' | number;
984
+
985
+ /**
986
+ * How the input video is used. `reference` generates a new video guided by the
987
+ * input, `extend` continues it, and `edit` transforms it according to the prompt.
988
+ */
989
+ mode?: 'reference' | 'extend' | 'edit';
990
+
991
+ /**
992
+ * The resolution and aspect ratio of the output video.
993
+ */
994
+ ratio?:
995
+ | '640:360'
996
+ | '360:640'
997
+ | '1280:720'
998
+ | '720:1280'
999
+ | '1920:1080'
1000
+ | '1080:1920'
1001
+ | '3840:2160'
1002
+ | '2160:3840';
1003
+
1004
+ /**
1005
+ * An optional array of image references to guide the output.
1006
+ */
1007
+ references?: Array<GeminiOmniFlash1_1.Reference>;
1008
+ }
1009
+
1010
+ export namespace GeminiOmniFlash1_1 {
1011
+ export interface Reference {
1012
+ /**
1013
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
1014
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
1015
+ * [our docs](/assets/inputs#images) on image inputs for more information.
1016
+ */
1017
+ uri: string;
1018
+ }
1019
+ }
1020
+
710
1021
  export interface Seedance2_5 {
711
1022
  model: 'seedance2_5';
712
1023
 
@@ -722,6 +1033,14 @@ export declare namespace VideoToVideoCreateParams {
722
1033
  */
723
1034
  audio?: boolean;
724
1035
 
1036
+ /**
1037
+ * Generate a cheap 480p preview instead of a full-quality video. The returned task
1038
+ * ID can later be enhanced to a 1080p video with the same content by passing it as
1039
+ * `draftTaskId` to `text_to_video`. Drafts can be enhanced within 7 days of
1040
+ * creation. Defaults to false.
1041
+ */
1042
+ draft?: boolean;
1043
+
725
1044
  /**
726
1045
  * Seconds of video to generate, or `auto` to let the model choose. `auto` is
727
1046
  * billed at the variant maximum up front; unused credits are refunded after the
@@ -738,6 +1057,12 @@ export declare namespace VideoToVideoCreateParams {
738
1057
  */
739
1058
  mode?: 'reference' | 'extend' | 'edit';
740
1059
 
1060
+ /**
1061
+ * Container for the output video. `mov` keeps high colour precision for grading
1062
+ * and compositing. Defaults to `mp4`. Draft mode only supports `mp4`.
1063
+ */
1064
+ outputFormat?: 'mp4' | 'mov';
1065
+
741
1066
  /**
742
1067
  * An optional text prompt up to 15000 characters describing what should appear in
743
1068
  * the output.
@@ -835,11 +1160,11 @@ export declare namespace VideoToVideoCreateParams {
835
1160
  }
836
1161
  }
837
1162
 
838
- export interface GeminiOmniFlash1_1 {
839
- model: 'gemini_omni_flash_1.1';
1163
+ export interface Kling4 {
1164
+ model: 'kling_4';
840
1165
 
841
1166
  /**
842
- * A non-empty prompt describing the output or extension.
1167
+ * A text prompt describing how to edit the video.
843
1168
  */
844
1169
  promptText: string;
845
1170
 
@@ -851,38 +1176,18 @@ export declare namespace VideoToVideoCreateParams {
851
1176
  videoUri: string;
852
1177
 
853
1178
  /**
854
- * The duration in seconds. In reference mode, this is the output video length. In
855
- * extend mode, this is the amount of footage added to the input video. Use "auto"
856
- * to let the model choose a duration.
857
- */
858
- duration?: 'auto' | number;
859
-
860
- /**
861
- * How the input video is used. `reference` generates a new video guided by the
862
- * input, `extend` continues it, and `edit` transforms it according to the prompt.
1179
+ * Output quality tier. The video keeps the input media framing.
863
1180
  */
864
- mode?: 'reference' | 'extend' | 'edit';
1181
+ ratio?: 'auto_720p' | 'auto_1080p';
865
1182
 
866
1183
  /**
867
- * The resolution and aspect ratio of the output video.
1184
+ * Images of characters, objects or styles to use in the video. Up to 10 images in
1185
+ * total, frames included.
868
1186
  */
869
- ratio?:
870
- | '640:360'
871
- | '360:640'
872
- | '1280:720'
873
- | '720:1280'
874
- | '1920:1080'
875
- | '1080:1920'
876
- | '3840:2160'
877
- | '2160:3840';
878
-
879
- /**
880
- * An optional array of image references to guide the output.
881
- */
882
- references?: Array<GeminiOmniFlash1_1.Reference>;
1187
+ references?: Array<Kling4.Reference>;
883
1188
  }
884
1189
 
885
- export namespace GeminiOmniFlash1_1 {
1190
+ export namespace Kling4 {
886
1191
  export interface Reference {
887
1192
  /**
888
1193
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '4.22.0'; // x-release-please-version
1
+ export const VERSION = '4.24.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.22.0";
1
+ export declare const VERSION = "4.24.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.22.0";
1
+ export declare const VERSION = "4.24.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.22.0'; // x-release-please-version
4
+ exports.VERSION = '4.24.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.22.0'; // x-release-please-version
1
+ export const VERSION = '4.24.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map