@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.
- package/CHANGELOG.md +21 -0
- package/client.d.mts +7 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -4
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/avatar-conversations.d.mts +648 -0
- package/resources/avatar-conversations.d.mts.map +1 -0
- package/resources/avatar-conversations.d.ts +648 -0
- package/resources/avatar-conversations.d.ts.map +1 -0
- package/resources/avatar-conversations.js +41 -0
- package/resources/avatar-conversations.js.map +1 -0
- package/resources/avatar-conversations.mjs +37 -0
- package/resources/avatar-conversations.mjs.map +1 -0
- package/resources/avatars.d.mts +63 -1
- package/resources/avatars.d.mts.map +1 -1
- package/resources/avatars.d.ts +63 -1
- package/resources/avatars.d.ts.map +1 -1
- package/resources/avatars.js +16 -0
- package/resources/avatars.js.map +1 -1
- package/resources/avatars.mjs +16 -0
- package/resources/avatars.mjs.map +1 -1
- package/resources/image-to-video.d.mts +58 -66
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +58 -66
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/image-to-video.js +0 -9
- package/resources/image-to-video.js.map +1 -1
- package/resources/image-to-video.mjs +0 -9
- package/resources/image-to-video.mjs.map +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization.d.mts +2 -2
- package/resources/organization.d.mts.map +1 -1
- package/resources/organization.d.ts +2 -2
- package/resources/organization.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +75 -3
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +75 -3
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +81 -93
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +81 -93
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/video-to-video.js +1 -1
- package/resources/video-to-video.mjs +1 -1
- package/resources/voices.d.mts +97 -1
- package/resources/voices.d.mts.map +1 -1
- package/resources/voices.d.ts +97 -1
- package/resources/voices.d.ts.map +1 -1
- package/resources/voices.js +6 -0
- package/resources/voices.js.map +1 -1
- package/resources/voices.mjs +6 -0
- package/resources/voices.mjs.map +1 -1
- package/src/client.ts +25 -0
- package/src/resources/avatar-conversations.ts +787 -0
- package/src/resources/avatars.ts +76 -0
- package/src/resources/image-to-video.ts +81 -76
- package/src/resources/index.ts +11 -0
- package/src/resources/organization.ts +5 -1
- package/src/resources/text-to-video.ts +101 -2
- package/src/resources/video-to-video.ts +106 -116
- package/src/resources/voices.ts +128 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- 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
|
};
|