@runwayml/sdk 3.15.0 → 3.16.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 +23 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js +3 -2
- package/client.js.map +1 -1
- package/client.mjs +3 -2
- package/client.mjs.map +1 -1
- package/package.json +12 -1
- package/resources/documents.d.mts +23 -1
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +23 -1
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +18 -0
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +18 -0
- package/resources/documents.mjs.map +1 -1
- package/resources/image-to-video.d.mts +41 -41
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +41 -41
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- 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/realtime-sessions.d.mts +10 -0
- package/resources/realtime-sessions.d.mts.map +1 -1
- package/resources/realtime-sessions.d.ts +10 -0
- package/resources/realtime-sessions.d.ts.map +1 -1
- package/src/client.ts +5 -2
- package/src/resources/documents.ts +36 -0
- package/src/resources/image-to-video.ts +48 -48
- package/src/resources/index.ts +1 -0
- package/src/resources/organization.ts +2 -0
- package/src/resources/realtime-sessions.ts +12 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -40,8 +40,8 @@ export interface ImageToVideoCreateResponse {
|
|
|
40
40
|
export type ImageToVideoCreateParams =
|
|
41
41
|
| ImageToVideoCreateParams.Gen4_5
|
|
42
42
|
| ImageToVideoCreateParams.Gen4Turbo
|
|
43
|
-
| ImageToVideoCreateParams.Veo3_1
|
|
44
43
|
| ImageToVideoCreateParams.Gen3aTurbo
|
|
44
|
+
| ImageToVideoCreateParams.Veo3_1
|
|
45
45
|
| ImageToVideoCreateParams.Veo3_1Fast
|
|
46
46
|
| ImageToVideoCreateParams.Veo3;
|
|
47
47
|
|
|
@@ -173,39 +173,44 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
export interface
|
|
177
|
-
model: '
|
|
176
|
+
export interface Gen3aTurbo {
|
|
177
|
+
model: 'gen3a_turbo';
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
|
-
*
|
|
181
|
-
* array with a first frame and optionally a last frame. This model does not
|
|
182
|
-
* support generating with only a last frame.
|
|
180
|
+
* A HTTPS URL.
|
|
183
181
|
*/
|
|
184
|
-
promptImage: string | Array<
|
|
182
|
+
promptImage: string | Array<Gen3aTurbo.PromptImage>;
|
|
185
183
|
|
|
186
184
|
/**
|
|
187
|
-
*
|
|
185
|
+
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
186
|
+
* should describe in detail what should appear in the output.
|
|
188
187
|
*/
|
|
189
|
-
|
|
188
|
+
promptText: string;
|
|
190
189
|
|
|
191
190
|
/**
|
|
192
|
-
*
|
|
191
|
+
* Settings that affect the behavior of the content moderation system.
|
|
193
192
|
*/
|
|
194
|
-
|
|
193
|
+
contentModeration?: Gen3aTurbo.ContentModeration;
|
|
195
194
|
|
|
196
195
|
/**
|
|
197
|
-
* The
|
|
196
|
+
* The duration of the output video in seconds.
|
|
198
197
|
*/
|
|
199
|
-
duration?:
|
|
198
|
+
duration?: 5 | 10;
|
|
200
199
|
|
|
201
200
|
/**
|
|
202
|
-
*
|
|
203
|
-
* should describe in detail what should appear in the output.
|
|
201
|
+
* The resolution of the output video.
|
|
204
202
|
*/
|
|
205
|
-
|
|
203
|
+
ratio?: '768:1280' | '1280:768';
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
207
|
+
* get different results for the same other request parameters. Using the same seed
|
|
208
|
+
* integer for an identical request will produce similar results.
|
|
209
|
+
*/
|
|
210
|
+
seed?: number;
|
|
206
211
|
}
|
|
207
212
|
|
|
208
|
-
export namespace
|
|
213
|
+
export namespace Gen3aTurbo {
|
|
209
214
|
export interface PromptImage {
|
|
210
215
|
/**
|
|
211
216
|
* The position of the image in the output video. "first" will use the image as the
|
|
@@ -219,46 +224,52 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
219
224
|
*/
|
|
220
225
|
uri: string;
|
|
221
226
|
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export interface Gen3aTurbo {
|
|
225
|
-
model: 'gen3a_turbo';
|
|
226
227
|
|
|
227
228
|
/**
|
|
228
|
-
*
|
|
229
|
+
* Settings that affect the behavior of the content moderation system.
|
|
229
230
|
*/
|
|
230
|
-
|
|
231
|
+
export interface ContentModeration {
|
|
232
|
+
/**
|
|
233
|
+
* When set to `low`, the content moderation system will be less strict about
|
|
234
|
+
* preventing generations that include recognizable public figures.
|
|
235
|
+
*/
|
|
236
|
+
publicFigureThreshold?: 'auto' | 'low';
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export interface Veo3_1 {
|
|
241
|
+
model: 'veo3.1';
|
|
231
242
|
|
|
232
243
|
/**
|
|
233
|
-
*
|
|
234
|
-
*
|
|
244
|
+
* You may specify an image to use as the first frame of the output video, or an
|
|
245
|
+
* array with a first frame and optionally a last frame. This model does not
|
|
246
|
+
* support generating with only a last frame.
|
|
235
247
|
*/
|
|
236
|
-
|
|
248
|
+
promptImage: string | Array<Veo3_1.PromptImage>;
|
|
237
249
|
|
|
238
250
|
/**
|
|
239
|
-
*
|
|
251
|
+
* The resolution of the output video.
|
|
240
252
|
*/
|
|
241
|
-
|
|
253
|
+
ratio: '1280:720' | '720:1280' | '1080:1920' | '1920:1080';
|
|
242
254
|
|
|
243
255
|
/**
|
|
244
|
-
*
|
|
256
|
+
* Whether to generate audio for the video. Audio inclusion affects pricing.
|
|
245
257
|
*/
|
|
246
|
-
|
|
258
|
+
audio?: boolean;
|
|
247
259
|
|
|
248
260
|
/**
|
|
249
|
-
* The
|
|
261
|
+
* The number of seconds of duration for the output video.
|
|
250
262
|
*/
|
|
251
|
-
|
|
263
|
+
duration?: 4 | 6 | 8;
|
|
252
264
|
|
|
253
265
|
/**
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
* integer for an identical request will produce similar results.
|
|
266
|
+
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
267
|
+
* should describe in detail what should appear in the output.
|
|
257
268
|
*/
|
|
258
|
-
|
|
269
|
+
promptText?: string;
|
|
259
270
|
}
|
|
260
271
|
|
|
261
|
-
export namespace
|
|
272
|
+
export namespace Veo3_1 {
|
|
262
273
|
export interface PromptImage {
|
|
263
274
|
/**
|
|
264
275
|
* The position of the image in the output video. "first" will use the image as the
|
|
@@ -272,17 +283,6 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
272
283
|
*/
|
|
273
284
|
uri: string;
|
|
274
285
|
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Settings that affect the behavior of the content moderation system.
|
|
278
|
-
*/
|
|
279
|
-
export interface ContentModeration {
|
|
280
|
-
/**
|
|
281
|
-
* When set to `low`, the content moderation system will be less strict about
|
|
282
|
-
* preventing generations that include recognizable public figures.
|
|
283
|
-
*/
|
|
284
|
-
publicFigureThreshold?: 'auto' | 'low';
|
|
285
|
-
}
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
export interface Veo3_1Fast {
|
package/src/resources/index.ts
CHANGED
|
@@ -118,6 +118,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
118
118
|
| 'eleven_voice_dubbing'
|
|
119
119
|
| 'eleven_multilingual_sts_v2'
|
|
120
120
|
| 'gwm1_avatars'
|
|
121
|
+
| 'gwm1_avatar_async_audio_to_video'
|
|
121
122
|
| 'voice_processing'
|
|
122
123
|
>;
|
|
123
124
|
|
|
@@ -166,6 +167,7 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
166
167
|
| 'eleven_voice_dubbing'
|
|
167
168
|
| 'eleven_multilingual_sts_v2'
|
|
168
169
|
| 'gwm1_avatars'
|
|
170
|
+
| 'gwm1_avatar_async_audio_to_video'
|
|
169
171
|
| 'voice_processing';
|
|
170
172
|
}
|
|
171
173
|
}
|
|
@@ -205,6 +205,18 @@ export interface RealtimeSessionCreateParams {
|
|
|
205
205
|
* Maximum session duration in seconds.
|
|
206
206
|
*/
|
|
207
207
|
maxDuration?: number;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Override the avatar personality for this session. If not provided, uses the
|
|
211
|
+
* avatar default.
|
|
212
|
+
*/
|
|
213
|
+
personality?: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Override the avatar start script for this session. If not provided, uses the
|
|
217
|
+
* avatar default.
|
|
218
|
+
*/
|
|
219
|
+
startScript?: string;
|
|
208
220
|
}
|
|
209
221
|
|
|
210
222
|
export namespace RealtimeSessionCreateParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.16.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.16.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.16.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.16.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|