@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
package/src/client.ts CHANGED
@@ -19,10 +19,19 @@ import { AbstractPage, type CursorPageParams, CursorPageResponse } from './core/
19
19
  import * as UploadsCore from './core/uploads';
20
20
  import * as API from './resources/index';
21
21
  import { APIPromise } from './core/api-promise';
22
+ import {
23
+ AvatarConversationListParams,
24
+ AvatarConversationListResponse,
25
+ AvatarConversationListResponsesCursorPage,
26
+ AvatarConversationRetrieveResponse,
27
+ AvatarConversations,
28
+ } from './resources/avatar-conversations';
22
29
  import { AvatarVideoCreateParams, AvatarVideoCreateResponse, AvatarVideos } from './resources/avatar-videos';
23
30
  import {
24
31
  AvatarCreateParams,
25
32
  AvatarCreateResponse,
33
+ AvatarGetUsageParams,
34
+ AvatarGetUsageResponse,
26
35
  AvatarListParams,
27
36
  AvatarListResponse,
28
37
  AvatarListResponsesCursorPage,
@@ -107,6 +116,8 @@ import {
107
116
  VoicePreviewParams,
108
117
  VoicePreviewResponse,
109
118
  VoiceRetrieveResponse,
119
+ VoiceUpdateParams,
120
+ VoiceUpdateResponse,
110
121
  Voices,
111
122
  } from './resources/voices';
112
123
  import { WorkflowInvocationRetrieveResponse, WorkflowInvocations } from './resources/workflow-invocations';
@@ -919,6 +930,7 @@ export class RunwayML {
919
930
  imageUpscale: API.ImageUpscale = new API.ImageUpscale(this);
920
931
  organization: API.Organization = new API.Organization(this);
921
932
  avatars: API.Avatars = new API.Avatars(this);
933
+ avatarConversations: API.AvatarConversations = new API.AvatarConversations(this);
922
934
  avatarVideos: API.AvatarVideos = new API.AvatarVideos(this);
923
935
  documents: API.Documents = new API.Documents(this);
924
936
  realtimeSessions: API.RealtimeSessions = new API.RealtimeSessions(this);
@@ -942,6 +954,7 @@ RunwayML.SpeechToSpeech = SpeechToSpeech;
942
954
  RunwayML.ImageUpscale = ImageUpscale;
943
955
  RunwayML.Organization = Organization;
944
956
  RunwayML.Avatars = Avatars;
957
+ RunwayML.AvatarConversations = AvatarConversations;
945
958
  RunwayML.AvatarVideos = AvatarVideos;
946
959
  RunwayML.Documents = Documents;
947
960
  RunwayML.RealtimeSessions = RealtimeSessions;
@@ -1037,10 +1050,20 @@ export declare namespace RunwayML {
1037
1050
  type AvatarRetrieveResponse as AvatarRetrieveResponse,
1038
1051
  type AvatarUpdateResponse as AvatarUpdateResponse,
1039
1052
  type AvatarListResponse as AvatarListResponse,
1053
+ type AvatarGetUsageResponse as AvatarGetUsageResponse,
1040
1054
  type AvatarListResponsesCursorPage as AvatarListResponsesCursorPage,
1041
1055
  type AvatarCreateParams as AvatarCreateParams,
1042
1056
  type AvatarUpdateParams as AvatarUpdateParams,
1043
1057
  type AvatarListParams as AvatarListParams,
1058
+ type AvatarGetUsageParams as AvatarGetUsageParams,
1059
+ };
1060
+
1061
+ export {
1062
+ AvatarConversations as AvatarConversations,
1063
+ type AvatarConversationRetrieveResponse as AvatarConversationRetrieveResponse,
1064
+ type AvatarConversationListResponse as AvatarConversationListResponse,
1065
+ type AvatarConversationListResponsesCursorPage as AvatarConversationListResponsesCursorPage,
1066
+ type AvatarConversationListParams as AvatarConversationListParams,
1044
1067
  };
1045
1068
 
1046
1069
  export {
@@ -1071,10 +1094,12 @@ export declare namespace RunwayML {
1071
1094
  Voices as Voices,
1072
1095
  type VoiceCreateResponse as VoiceCreateResponse,
1073
1096
  type VoiceRetrieveResponse as VoiceRetrieveResponse,
1097
+ type VoiceUpdateResponse as VoiceUpdateResponse,
1074
1098
  type VoiceListResponse as VoiceListResponse,
1075
1099
  type VoicePreviewResponse as VoicePreviewResponse,
1076
1100
  type VoiceListResponsesCursorPage as VoiceListResponsesCursorPage,
1077
1101
  type VoiceCreateParams as VoiceCreateParams,
1102
+ type VoiceUpdateParams as VoiceUpdateParams,
1078
1103
  type VoiceListParams as VoiceListParams,
1079
1104
  type VoicePreviewParams as VoicePreviewParams,
1080
1105
  };