@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
|
@@ -14,7 +14,7 @@ export class VideoToVideo extends APIResource {
|
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
16
16
|
* const videoToVideo = await client.videoToVideo.create({
|
|
17
|
-
* model: '
|
|
17
|
+
* model: 'aleph2',
|
|
18
18
|
* promptText: 'x',
|
|
19
19
|
* videoUri: 'https://example.com/video.mp4',
|
|
20
20
|
* });
|
|
@@ -38,17 +38,17 @@ export interface VideoToVideoCreateResponse {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export type VideoToVideoCreateParams =
|
|
41
|
-
| VideoToVideoCreateParams.
|
|
42
|
-
| VideoToVideoCreateParams.
|
|
43
|
-
| VideoToVideoCreateParams.
|
|
41
|
+
| VideoToVideoCreateParams.Variant0
|
|
42
|
+
| VideoToVideoCreateParams.Seedance2
|
|
43
|
+
| VideoToVideoCreateParams.Seedance2Fast;
|
|
44
44
|
|
|
45
45
|
export declare namespace VideoToVideoCreateParams {
|
|
46
|
-
export interface
|
|
47
|
-
model: '
|
|
46
|
+
export interface Variant0 {
|
|
47
|
+
model: 'aleph2';
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* A non-empty string up to 1000 characters
|
|
51
|
-
*
|
|
50
|
+
* A non-empty string up to 1000 characters describing what should appear in the
|
|
51
|
+
* output.
|
|
52
52
|
*/
|
|
53
53
|
promptText: string;
|
|
54
54
|
|
|
@@ -60,27 +60,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
60
60
|
/**
|
|
61
61
|
* Settings that affect the behavior of the content moderation system.
|
|
62
62
|
*/
|
|
63
|
-
contentModeration?:
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated Deprecated. This field is ignored. The resolution of the output
|
|
67
|
-
* video is determined by the input video.
|
|
68
|
-
*/
|
|
69
|
-
ratio?:
|
|
70
|
-
| '1280:720'
|
|
71
|
-
| '720:1280'
|
|
72
|
-
| '1104:832'
|
|
73
|
-
| '960:960'
|
|
74
|
-
| '832:1104'
|
|
75
|
-
| '1584:672'
|
|
76
|
-
| '848:480'
|
|
77
|
-
| '640:480';
|
|
63
|
+
contentModeration?: Variant0.ContentModeration;
|
|
78
64
|
|
|
79
65
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
66
|
+
* Timed guidance images placed at specific points in the input video. Up to 5
|
|
67
|
+
* keyframes.
|
|
82
68
|
*/
|
|
83
|
-
|
|
69
|
+
keyframes?: Array<Variant0.UnionMember0 | Variant0.UnionMember1>;
|
|
84
70
|
|
|
85
71
|
/**
|
|
86
72
|
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
@@ -90,7 +76,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
90
76
|
seed?: number;
|
|
91
77
|
}
|
|
92
78
|
|
|
93
|
-
export namespace
|
|
79
|
+
export namespace Variant0 {
|
|
94
80
|
/**
|
|
95
81
|
* Settings that affect the behavior of the content moderation system.
|
|
96
82
|
*/
|
|
@@ -102,12 +88,25 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
102
88
|
publicFigureThreshold?: 'auto' | 'low';
|
|
103
89
|
}
|
|
104
90
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
91
|
+
export interface UnionMember0 {
|
|
92
|
+
/**
|
|
93
|
+
* Absolute timestamp in seconds from the start of the input video when this
|
|
94
|
+
* guidance image should apply.
|
|
95
|
+
*/
|
|
96
|
+
seconds: number;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* A HTTPS URL.
|
|
100
|
+
*/
|
|
101
|
+
uri: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface UnionMember1 {
|
|
105
|
+
/**
|
|
106
|
+
* Position as a fraction [0.0, 1.0] of the input video duration when this guidance
|
|
107
|
+
* image should apply.
|
|
108
|
+
*/
|
|
109
|
+
at: number;
|
|
111
110
|
|
|
112
111
|
/**
|
|
113
112
|
* A HTTPS URL.
|
|
@@ -116,63 +115,80 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
|
|
119
|
-
export interface
|
|
120
|
-
model: '
|
|
118
|
+
export interface Seedance2 {
|
|
119
|
+
model: 'seedance2';
|
|
121
120
|
|
|
122
121
|
/**
|
|
123
|
-
* A
|
|
124
|
-
* output.
|
|
122
|
+
* A HTTPS URL.
|
|
125
123
|
*/
|
|
126
|
-
|
|
124
|
+
promptVideo: string;
|
|
127
125
|
|
|
128
126
|
/**
|
|
129
|
-
*
|
|
127
|
+
* Whether to generate audio for the video. Audio inclusion affects pricing.
|
|
130
128
|
*/
|
|
131
|
-
|
|
129
|
+
audio?: boolean;
|
|
132
130
|
|
|
133
131
|
/**
|
|
134
|
-
*
|
|
132
|
+
* The number of seconds of duration for the output video.
|
|
135
133
|
*/
|
|
136
|
-
|
|
134
|
+
duration?: number;
|
|
137
135
|
|
|
138
136
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
137
|
+
* An optional text prompt up to 3500 characters describing what should appear in
|
|
138
|
+
* the output.
|
|
141
139
|
*/
|
|
142
|
-
|
|
140
|
+
promptText?: string;
|
|
143
141
|
|
|
144
142
|
/**
|
|
145
|
-
*
|
|
146
|
-
* video.
|
|
143
|
+
* The resolution of the output video.
|
|
147
144
|
*/
|
|
148
|
-
|
|
145
|
+
ratio?:
|
|
146
|
+
| '992:432'
|
|
147
|
+
| '864:496'
|
|
148
|
+
| '752:560'
|
|
149
|
+
| '640:640'
|
|
150
|
+
| '560:752'
|
|
151
|
+
| '496:864'
|
|
152
|
+
| '1470:630'
|
|
153
|
+
| '1280:720'
|
|
154
|
+
| '1112:834'
|
|
155
|
+
| '960:960'
|
|
156
|
+
| '834:1112'
|
|
157
|
+
| '720:1280'
|
|
158
|
+
| '2206:946'
|
|
159
|
+
| '1920:1080'
|
|
160
|
+
| '1664:1248'
|
|
161
|
+
| '1440:1440'
|
|
162
|
+
| '1248:1664'
|
|
163
|
+
| '1080:1920';
|
|
149
164
|
|
|
150
165
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* integer for an identical request will produce similar results.
|
|
166
|
+
* An optional array of audio references. Audio references require a text prompt,
|
|
167
|
+
* and the total combined duration must not exceed 15 seconds.
|
|
154
168
|
*/
|
|
155
|
-
|
|
156
|
-
}
|
|
169
|
+
referenceAudio?: Array<Seedance2.ReferenceAudio>;
|
|
157
170
|
|
|
158
|
-
export namespace Aleph2 {
|
|
159
171
|
/**
|
|
160
|
-
*
|
|
172
|
+
* An optional array of image references (up to 9). See
|
|
173
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
161
174
|
*/
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* When set to `low`, the content moderation system will be less strict about
|
|
165
|
-
* preventing generations that include recognizable public figures.
|
|
166
|
-
*/
|
|
167
|
-
publicFigureThreshold?: 'auto' | 'low';
|
|
168
|
-
}
|
|
175
|
+
references?: Array<Seedance2.Reference>;
|
|
169
176
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
177
|
+
/**
|
|
178
|
+
* An optional array of video references. The combined duration across all video
|
|
179
|
+
* references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
|
|
180
|
+
* video inputs for more information.
|
|
181
|
+
*/
|
|
182
|
+
referenceVideos?: Array<Seedance2.ReferenceVideo>;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export namespace Seedance2 {
|
|
186
|
+
/**
|
|
187
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
188
|
+
* the output.
|
|
189
|
+
*/
|
|
190
|
+
export interface ReferenceAudio {
|
|
191
|
+
type: 'audio';
|
|
176
192
|
|
|
177
193
|
/**
|
|
178
194
|
* A HTTPS URL.
|
|
@@ -180,56 +196,35 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
180
196
|
uri: string;
|
|
181
197
|
}
|
|
182
198
|
|
|
183
|
-
export interface
|
|
184
|
-
/**
|
|
185
|
-
* Position as a fraction [0.0, 1.0] of the input video duration when this guidance
|
|
186
|
-
* image should apply.
|
|
187
|
-
*/
|
|
188
|
-
at: number;
|
|
189
|
-
|
|
199
|
+
export interface Reference {
|
|
190
200
|
/**
|
|
191
201
|
* A HTTPS URL.
|
|
192
202
|
*/
|
|
193
203
|
uri: string;
|
|
194
|
-
}
|
|
195
204
|
|
|
196
|
-
export interface PromptImage {
|
|
197
205
|
/**
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
* duration).
|
|
206
|
+
* The position of the image in the output video. "first" will use the image as the
|
|
207
|
+
* first frame, "last" as the last frame. Omit for a reference image.
|
|
201
208
|
*/
|
|
202
|
-
position
|
|
209
|
+
position?: 'first' | 'last';
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* A video reference allows the model to use the video as additional context for
|
|
214
|
+
* the output.
|
|
215
|
+
*/
|
|
216
|
+
export interface ReferenceVideo {
|
|
217
|
+
type: 'video';
|
|
203
218
|
|
|
204
219
|
/**
|
|
205
220
|
* A HTTPS URL.
|
|
206
221
|
*/
|
|
207
222
|
uri: string;
|
|
208
223
|
}
|
|
209
|
-
|
|
210
|
-
export namespace PromptImage {
|
|
211
|
-
export interface TimestampPosition {
|
|
212
|
-
/**
|
|
213
|
-
* Absolute timestamp in seconds from the start of the output video.
|
|
214
|
-
*/
|
|
215
|
-
timestampSeconds: number;
|
|
216
|
-
|
|
217
|
-
type: 'timestamp';
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export interface RelativePosition {
|
|
221
|
-
/**
|
|
222
|
-
* Position as a fraction [0.0, 1.0] of the total video duration.
|
|
223
|
-
*/
|
|
224
|
-
positionPercentage: number;
|
|
225
|
-
|
|
226
|
-
type: 'position';
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
224
|
}
|
|
230
225
|
|
|
231
|
-
export interface
|
|
232
|
-
model: '
|
|
226
|
+
export interface Seedance2Fast {
|
|
227
|
+
model: 'seedance2_fast';
|
|
233
228
|
|
|
234
229
|
/**
|
|
235
230
|
* A HTTPS URL.
|
|
@@ -248,12 +243,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
248
243
|
|
|
249
244
|
/**
|
|
250
245
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
251
|
-
* the output
|
|
246
|
+
* the output.
|
|
252
247
|
*/
|
|
253
248
|
promptText?: string;
|
|
254
249
|
|
|
255
250
|
/**
|
|
256
|
-
* The resolution of the output video.
|
|
251
|
+
* The resolution of the output video. Seedance 2.0 Fast supports 480p and 720p
|
|
252
|
+
* only.
|
|
257
253
|
*/
|
|
258
254
|
ratio?:
|
|
259
255
|
| '992:432'
|
|
@@ -267,35 +263,29 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
267
263
|
| '1112:834'
|
|
268
264
|
| '960:960'
|
|
269
265
|
| '834:1112'
|
|
270
|
-
| '720:1280'
|
|
271
|
-
| '2206:946'
|
|
272
|
-
| '1920:1080'
|
|
273
|
-
| '1664:1248'
|
|
274
|
-
| '1440:1440'
|
|
275
|
-
| '1248:1664'
|
|
276
|
-
| '1080:1920';
|
|
266
|
+
| '720:1280';
|
|
277
267
|
|
|
278
268
|
/**
|
|
279
269
|
* An optional array of audio references. Audio references require a text prompt,
|
|
280
270
|
* and the total combined duration must not exceed 15 seconds.
|
|
281
271
|
*/
|
|
282
|
-
referenceAudio?: Array<
|
|
272
|
+
referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
|
|
283
273
|
|
|
284
274
|
/**
|
|
285
275
|
* An optional array of image references (up to 9). See
|
|
286
276
|
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
287
277
|
*/
|
|
288
|
-
references?: Array<
|
|
278
|
+
references?: Array<Seedance2Fast.Reference>;
|
|
289
279
|
|
|
290
280
|
/**
|
|
291
281
|
* An optional array of video references. The combined duration across all video
|
|
292
282
|
* references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
|
|
293
283
|
* video inputs for more information.
|
|
294
284
|
*/
|
|
295
|
-
referenceVideos?: Array<
|
|
285
|
+
referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
|
|
296
286
|
}
|
|
297
287
|
|
|
298
|
-
export namespace
|
|
288
|
+
export namespace Seedance2Fast {
|
|
299
289
|
/**
|
|
300
290
|
* An audio reference allows the model to use the audio as additional context for
|
|
301
291
|
* the output.
|
package/src/resources/voices.ts
CHANGED
|
@@ -23,6 +23,17 @@ export class Voices extends APIResource {
|
|
|
23
23
|
return this._client.get(path`/v1/voices/${id}`, options);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Update the name and/or description of a custom voice.
|
|
28
|
+
*/
|
|
29
|
+
update(
|
|
30
|
+
id: string,
|
|
31
|
+
body: VoiceUpdateParams | null | undefined = {},
|
|
32
|
+
options?: RequestOptions,
|
|
33
|
+
): APIPromise<VoiceUpdateResponse> {
|
|
34
|
+
return this._client.patch(path`/v1/voices/${id}`, { body, ...options });
|
|
35
|
+
}
|
|
36
|
+
|
|
26
37
|
/**
|
|
27
38
|
* List custom voices for the authenticated organization with cursor-based
|
|
28
39
|
* pagination.
|
|
@@ -165,6 +176,109 @@ export namespace VoiceRetrieveResponse {
|
|
|
165
176
|
}
|
|
166
177
|
}
|
|
167
178
|
|
|
179
|
+
/**
|
|
180
|
+
* A voice that is still being processed.
|
|
181
|
+
*/
|
|
182
|
+
export type VoiceUpdateResponse =
|
|
183
|
+
| VoiceUpdateResponse.Processing
|
|
184
|
+
| VoiceUpdateResponse.Ready
|
|
185
|
+
| VoiceUpdateResponse.Failed;
|
|
186
|
+
|
|
187
|
+
export namespace VoiceUpdateResponse {
|
|
188
|
+
/**
|
|
189
|
+
* A voice that is still being processed.
|
|
190
|
+
*/
|
|
191
|
+
export interface Processing {
|
|
192
|
+
/**
|
|
193
|
+
* The unique identifier of the voice.
|
|
194
|
+
*/
|
|
195
|
+
id: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* When the voice was created.
|
|
199
|
+
*/
|
|
200
|
+
createdAt: string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* A description of the voice, or null if not set.
|
|
204
|
+
*/
|
|
205
|
+
description: string | null;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The name of the voice.
|
|
209
|
+
*/
|
|
210
|
+
name: string;
|
|
211
|
+
|
|
212
|
+
status: 'PROCESSING';
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* A voice that is ready for use.
|
|
217
|
+
*/
|
|
218
|
+
export interface Ready {
|
|
219
|
+
/**
|
|
220
|
+
* The unique identifier of the voice.
|
|
221
|
+
*/
|
|
222
|
+
id: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* When the voice was created.
|
|
226
|
+
*/
|
|
227
|
+
createdAt: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* A description of the voice, or null if not set.
|
|
231
|
+
*/
|
|
232
|
+
description: string | null;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* The name of the voice.
|
|
236
|
+
*/
|
|
237
|
+
name: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* A signed URL to an MP3 audio sample of the voice, or null if no sample is
|
|
241
|
+
* available.
|
|
242
|
+
*/
|
|
243
|
+
previewUrl: string | null;
|
|
244
|
+
|
|
245
|
+
status: 'READY';
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* A voice that failed to finish processing.
|
|
250
|
+
*/
|
|
251
|
+
export interface Failed {
|
|
252
|
+
/**
|
|
253
|
+
* The unique identifier of the voice.
|
|
254
|
+
*/
|
|
255
|
+
id: string;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* When the voice was created.
|
|
259
|
+
*/
|
|
260
|
+
createdAt: string;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* A description of the voice, or null if not set.
|
|
264
|
+
*/
|
|
265
|
+
description: string | null;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* A human-readable error message. This value is not stable and should not be
|
|
269
|
+
* matched against programmatically.
|
|
270
|
+
*/
|
|
271
|
+
failureReason: string;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The name of the voice.
|
|
275
|
+
*/
|
|
276
|
+
name: string;
|
|
277
|
+
|
|
278
|
+
status: 'FAILED';
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
168
282
|
/**
|
|
169
283
|
* A voice that is still being processed.
|
|
170
284
|
*/
|
|
@@ -321,6 +435,18 @@ export namespace VoiceCreateParams {
|
|
|
321
435
|
}
|
|
322
436
|
}
|
|
323
437
|
|
|
438
|
+
export interface VoiceUpdateParams {
|
|
439
|
+
/**
|
|
440
|
+
* An optional description of the voice.
|
|
441
|
+
*/
|
|
442
|
+
description?: string | null;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* A name for the voice.
|
|
446
|
+
*/
|
|
447
|
+
name?: string;
|
|
448
|
+
}
|
|
449
|
+
|
|
324
450
|
export interface VoiceListParams extends CursorPageParams {}
|
|
325
451
|
|
|
326
452
|
export interface VoicePreviewParams {
|
|
@@ -341,10 +467,12 @@ export declare namespace Voices {
|
|
|
341
467
|
export {
|
|
342
468
|
type VoiceCreateResponse as VoiceCreateResponse,
|
|
343
469
|
type VoiceRetrieveResponse as VoiceRetrieveResponse,
|
|
470
|
+
type VoiceUpdateResponse as VoiceUpdateResponse,
|
|
344
471
|
type VoiceListResponse as VoiceListResponse,
|
|
345
472
|
type VoicePreviewResponse as VoicePreviewResponse,
|
|
346
473
|
type VoiceListResponsesCursorPage as VoiceListResponsesCursorPage,
|
|
347
474
|
type VoiceCreateParams as VoiceCreateParams,
|
|
475
|
+
type VoiceUpdateParams as VoiceUpdateParams,
|
|
348
476
|
type VoiceListParams as VoiceListParams,
|
|
349
477
|
type VoicePreviewParams as VoicePreviewParams,
|
|
350
478
|
};
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '
|
|
1
|
+
export const VERSION = '4.0.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "4.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "4.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '
|
|
1
|
+
export const VERSION = '4.0.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|