@runwayml/sdk 4.13.2 → 4.14.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 +13 -0
- package/client.d.mts +3 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -3
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/character-performance.d.mts +17 -0
- package/resources/character-performance.d.mts.map +1 -1
- package/resources/character-performance.d.ts +17 -0
- package/resources/character-performance.d.ts.map +1 -1
- package/resources/generate/audio.d.mts +46 -24
- package/resources/generate/audio.d.mts.map +1 -1
- package/resources/generate/audio.d.ts +46 -24
- package/resources/generate/audio.d.ts.map +1 -1
- package/resources/generate/audio.js.map +1 -1
- package/resources/generate/audio.mjs.map +1 -1
- package/resources/generate/generate.d.mts +2 -2
- package/resources/generate/generate.d.mts.map +1 -1
- package/resources/generate/generate.d.ts +2 -2
- package/resources/generate/generate.d.ts.map +1 -1
- package/resources/generate/generate.js.map +1 -1
- package/resources/generate/generate.mjs.map +1 -1
- package/resources/generate/image.d.mts +21 -0
- package/resources/generate/image.d.mts.map +1 -1
- package/resources/generate/image.d.ts +21 -0
- package/resources/generate/image.d.ts.map +1 -1
- package/resources/generate/index.d.mts +1 -1
- package/resources/generate/index.d.mts.map +1 -1
- package/resources/generate/index.d.ts +1 -1
- package/resources/generate/index.d.ts.map +1 -1
- package/resources/generate/index.js.map +1 -1
- package/resources/generate/index.mjs +1 -1
- package/resources/generate/index.mjs.map +1 -1
- package/resources/generate/video.d.mts +21 -0
- package/resources/generate/video.d.mts.map +1 -1
- package/resources/generate/video.d.ts +21 -0
- package/resources/generate/video.d.ts.map +1 -1
- package/resources/image-to-video.d.mts +118 -27
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +118 -27
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/image-upscale.d.mts +17 -0
- package/resources/image-upscale.d.mts.map +1 -1
- package/resources/image-upscale.d.ts +17 -0
- package/resources/image-upscale.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/organization/index.d.mts +3 -0
- package/resources/organization/index.d.mts.map +1 -0
- package/resources/organization/index.d.ts +3 -0
- package/resources/organization/index.d.ts.map +1 -0
- package/resources/organization/index.js +9 -0
- package/resources/organization/index.js.map +1 -0
- package/resources/organization/index.mjs +4 -0
- package/resources/organization/index.mjs.map +1 -0
- package/resources/organization/organization.d.mts +154 -0
- package/resources/organization/organization.d.mts.map +1 -0
- package/resources/organization/organization.d.ts +154 -0
- package/resources/organization/organization.d.ts.map +1 -0
- package/resources/organization/organization.js +32 -0
- package/resources/organization/organization.js.map +1 -0
- package/resources/organization/organization.mjs +27 -0
- package/resources/organization/organization.mjs.map +1 -0
- package/resources/organization/webapp/audit-logs.d.mts +216 -0
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -0
- package/resources/organization/webapp/audit-logs.d.ts +216 -0
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -0
- package/resources/organization/webapp/audit-logs.js +30 -0
- package/resources/organization/webapp/audit-logs.js.map +1 -0
- package/resources/organization/webapp/audit-logs.mjs +26 -0
- package/resources/organization/webapp/audit-logs.mjs.map +1 -0
- package/resources/organization/webapp/index.d.mts +3 -0
- package/resources/organization/webapp/index.d.mts.map +1 -0
- package/resources/organization/webapp/index.d.ts +3 -0
- package/resources/organization/webapp/index.d.ts.map +1 -0
- package/resources/organization/webapp/index.js +9 -0
- package/resources/organization/webapp/index.js.map +1 -0
- package/resources/organization/webapp/index.mjs +4 -0
- package/resources/organization/webapp/index.mjs.map +1 -0
- package/resources/organization/webapp/webapp.d.mts +73 -0
- package/resources/organization/webapp/webapp.d.mts.map +1 -0
- package/resources/organization/webapp/webapp.d.ts +73 -0
- package/resources/organization/webapp/webapp.d.ts.map +1 -0
- package/resources/organization/webapp/webapp.js +30 -0
- package/resources/organization/webapp/webapp.js.map +1 -0
- package/resources/organization/webapp/webapp.mjs +25 -0
- package/resources/organization/webapp/webapp.mjs.map +1 -0
- package/resources/organization/webapp.d.mts +2 -0
- package/resources/organization/webapp.d.mts.map +1 -0
- package/resources/organization/webapp.d.ts +2 -0
- package/resources/organization/webapp.d.ts.map +1 -0
- package/resources/organization/webapp.js +6 -0
- package/resources/organization/webapp.js.map +1 -0
- package/resources/organization/webapp.mjs +3 -0
- package/resources/organization/webapp.mjs.map +1 -0
- package/resources/organization.d.mts +1 -149
- package/resources/organization.d.mts.map +1 -1
- package/resources/organization.d.ts +1 -149
- package/resources/organization.d.ts.map +1 -1
- package/resources/organization.js +2 -20
- package/resources/organization.js.map +1 -1
- package/resources/organization.mjs +1 -18
- package/resources/organization.mjs.map +1 -1
- package/resources/recipes.d.mts +119 -0
- package/resources/recipes.d.mts.map +1 -1
- package/resources/recipes.d.ts +119 -0
- package/resources/recipes.d.ts.map +1 -1
- package/resources/routers.d.mts +194 -1
- package/resources/routers.d.mts.map +1 -1
- package/resources/routers.d.ts +194 -1
- package/resources/routers.d.ts.map +1 -1
- package/resources/routers.js +10 -0
- package/resources/routers.js.map +1 -1
- package/resources/routers.mjs +10 -0
- package/resources/routers.mjs.map +1 -1
- package/resources/sound-effect.d.mts +17 -0
- package/resources/sound-effect.d.mts.map +1 -1
- package/resources/sound-effect.d.ts +17 -0
- package/resources/sound-effect.d.ts.map +1 -1
- package/resources/speech-to-speech.d.mts +17 -0
- package/resources/speech-to-speech.d.mts.map +1 -1
- package/resources/speech-to-speech.d.ts +17 -0
- package/resources/speech-to-speech.d.ts.map +1 -1
- package/resources/tasks.d.mts +90 -0
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +90 -0
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +22 -0
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +22 -0
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +77 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +77 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +170 -17
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +170 -17
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +199 -7
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +199 -7
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/video-upscale.d.mts +17 -0
- package/resources/video-upscale.d.mts.map +1 -1
- package/resources/video-upscale.d.ts +17 -0
- package/resources/video-upscale.d.ts.map +1 -1
- package/resources/voice-dubbing.d.mts +17 -0
- package/resources/voice-dubbing.d.mts.map +1 -1
- package/resources/voice-dubbing.d.ts +17 -0
- package/resources/voice-dubbing.d.ts.map +1 -1
- package/resources/voice-isolation.d.mts +17 -0
- package/resources/voice-isolation.d.mts.map +1 -1
- package/resources/voice-isolation.d.ts +17 -0
- package/resources/voice-isolation.d.ts.map +1 -1
- package/src/client.ts +12 -6
- package/src/resources/character-performance.ts +19 -0
- package/src/resources/generate/audio.ts +57 -27
- package/src/resources/generate/generate.ts +3 -1
- package/src/resources/generate/image.ts +24 -0
- package/src/resources/generate/index.ts +7 -1
- package/src/resources/generate/video.ts +24 -0
- package/src/resources/image-to-video.ts +147 -27
- package/src/resources/image-upscale.ts +19 -0
- package/src/resources/index.ts +4 -1
- package/src/resources/organization/index.ts +14 -0
- package/src/resources/organization/organization.ts +307 -0
- package/src/resources/organization/webapp/audit-logs.ts +440 -0
- package/src/resources/organization/webapp/index.ts +16 -0
- package/src/resources/organization/webapp/webapp.ts +118 -0
- package/src/resources/organization/webapp.ts +3 -0
- package/src/resources/organization.ts +1 -283
- package/src/resources/recipes.ts +133 -0
- package/src/resources/routers.ts +247 -0
- package/src/resources/sound-effect.ts +19 -0
- package/src/resources/speech-to-speech.ts +19 -0
- package/src/resources/tasks.ts +102 -0
- package/src/resources/text-to-image.ts +25 -0
- package/src/resources/text-to-speech.ts +142 -1
- package/src/resources/text-to-video.ts +208 -17
- package/src/resources/video-to-video.ts +246 -7
- package/src/resources/video-upscale.ts +19 -0
- package/src/resources/voice-dubbing.ts +19 -0
- package/src/resources/voice-isolation.ts +19 -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
|
@@ -34,14 +34,35 @@ export interface VideoToVideoCreateResponse {
|
|
|
34
34
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
35
35
|
*/
|
|
36
36
|
id: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
40
|
+
* the task completes.
|
|
41
|
+
*/
|
|
42
|
+
estimatedCost: VideoToVideoCreateResponse.EstimatedCost;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export namespace VideoToVideoCreateResponse {
|
|
46
|
+
/**
|
|
47
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
48
|
+
* the task completes.
|
|
49
|
+
*/
|
|
50
|
+
export interface EstimatedCost {
|
|
51
|
+
/**
|
|
52
|
+
* Estimated cost of the generation in credits.
|
|
53
|
+
*/
|
|
54
|
+
credits: number;
|
|
55
|
+
}
|
|
37
56
|
}
|
|
38
57
|
|
|
39
58
|
export type VideoToVideoCreateParams =
|
|
40
59
|
| VideoToVideoCreateParams.Variant0
|
|
60
|
+
| VideoToVideoCreateParams.Hailuo3
|
|
41
61
|
| VideoToVideoCreateParams.Seedance2
|
|
42
62
|
| VideoToVideoCreateParams.Seedance2Fast
|
|
43
63
|
| VideoToVideoCreateParams.Seedance2Mini
|
|
44
|
-
| VideoToVideoCreateParams.GeminiOmniFlash
|
|
64
|
+
| VideoToVideoCreateParams.GeminiOmniFlash
|
|
65
|
+
| VideoToVideoCreateParams.Seedance2_5;
|
|
45
66
|
|
|
46
67
|
export declare namespace VideoToVideoCreateParams {
|
|
47
68
|
export interface Variant0 {
|
|
@@ -65,11 +86,25 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
65
86
|
*/
|
|
66
87
|
keyframes?: Array<Variant0.UnionMember0 | Variant0.UnionMember1>;
|
|
67
88
|
|
|
89
|
+
/**
|
|
90
|
+
* The container/encoding of the output. `mp4` (default) returns an H.264 .mp4.
|
|
91
|
+
* `prores` returns a ProRes .mov. `png_sequence` returns a .zip of PNG frames
|
|
92
|
+
* (plus a separate .wav artifact when the output has audio). Non-mp4 formats incur
|
|
93
|
+
* an additional surcharge of 5 credits per second of output.
|
|
94
|
+
*/
|
|
95
|
+
outputFormat?: 'mp4' | 'prores' | 'png_sequence';
|
|
96
|
+
|
|
68
97
|
/**
|
|
69
98
|
* A non-empty and optional string describing what should appear in the output.
|
|
70
99
|
*/
|
|
71
100
|
promptText?: string;
|
|
72
101
|
|
|
102
|
+
/**
|
|
103
|
+
* The ProRes profile to use. Only valid when `outputFormat` is `prores`. Defaults
|
|
104
|
+
* to `4444`.
|
|
105
|
+
*/
|
|
106
|
+
proresProfile?: '422' | '4444' | '422 Proxy' | '422 LT' | '422 HQ' | '4444 XQ';
|
|
107
|
+
|
|
73
108
|
/**
|
|
74
109
|
* @deprecated
|
|
75
110
|
*/
|
|
@@ -186,6 +221,98 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
186
221
|
}
|
|
187
222
|
}
|
|
188
223
|
|
|
224
|
+
export interface Hailuo3 {
|
|
225
|
+
model: 'hailuo3';
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* A non-empty text prompt describing what should appear in the output.
|
|
229
|
+
*/
|
|
230
|
+
promptText: string;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
234
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
235
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
236
|
+
*/
|
|
237
|
+
promptVideo: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* The number of seconds of duration for the output video.
|
|
241
|
+
*/
|
|
242
|
+
duration?: number;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* The aspect ratio of the output video. Use adaptive only when image or video
|
|
246
|
+
* references are provided; text-only requests require a concrete ratio.
|
|
247
|
+
*/
|
|
248
|
+
ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* An optional array of audio references. Audio references require a text prompt,
|
|
252
|
+
* and the total combined duration must not exceed 15 seconds.
|
|
253
|
+
*/
|
|
254
|
+
referenceAudio?: Array<Hailuo3.ReferenceAudio>;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* An optional array of image references (up to 9). See
|
|
258
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
259
|
+
*/
|
|
260
|
+
references?: Array<Hailuo3.Reference>;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* An optional array of video references. The combined duration across all video
|
|
264
|
+
* references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
|
|
265
|
+
* video inputs for more information.
|
|
266
|
+
*/
|
|
267
|
+
referenceVideos?: Array<Hailuo3.ReferenceVideo>;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* The output resolution. Hailuo 3.0 supports 768P and 2K.
|
|
271
|
+
*/
|
|
272
|
+
resolution?: '2K' | '768P';
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export namespace Hailuo3 {
|
|
276
|
+
/**
|
|
277
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
278
|
+
* the output.
|
|
279
|
+
*/
|
|
280
|
+
export interface ReferenceAudio {
|
|
281
|
+
type: 'audio';
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
285
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
286
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
287
|
+
*/
|
|
288
|
+
uri: string;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export interface Reference {
|
|
292
|
+
/**
|
|
293
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
294
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
295
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
296
|
+
*/
|
|
297
|
+
uri: string;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* A video reference allows the model to use the video as additional context for
|
|
302
|
+
* the output.
|
|
303
|
+
*/
|
|
304
|
+
export interface ReferenceVideo {
|
|
305
|
+
type: 'video';
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
309
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
310
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
311
|
+
*/
|
|
312
|
+
uri: string;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
189
316
|
export interface Seedance2 {
|
|
190
317
|
model: 'seedance2';
|
|
191
318
|
|
|
@@ -242,8 +369,8 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
242
369
|
| '2160:3840';
|
|
243
370
|
|
|
244
371
|
/**
|
|
245
|
-
* An optional array of audio references.
|
|
246
|
-
*
|
|
372
|
+
* An optional array of audio references. The total combined duration must not
|
|
373
|
+
* exceed 15 seconds.
|
|
247
374
|
*/
|
|
248
375
|
referenceAudio?: Array<Seedance2.ReferenceAudio>;
|
|
249
376
|
|
|
@@ -347,8 +474,8 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
347
474
|
| '720:1280';
|
|
348
475
|
|
|
349
476
|
/**
|
|
350
|
-
* An optional array of audio references.
|
|
351
|
-
*
|
|
477
|
+
* An optional array of audio references. The total combined duration must not
|
|
478
|
+
* exceed 15 seconds.
|
|
352
479
|
*/
|
|
353
480
|
referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
|
|
354
481
|
|
|
@@ -452,8 +579,8 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
452
579
|
| '720:1280';
|
|
453
580
|
|
|
454
581
|
/**
|
|
455
|
-
* An optional array of audio references.
|
|
456
|
-
*
|
|
582
|
+
* An optional array of audio references. The total combined duration must not
|
|
583
|
+
* exceed 15 seconds.
|
|
457
584
|
*/
|
|
458
585
|
referenceAudio?: Array<Seedance2Mini.ReferenceAudio>;
|
|
459
586
|
|
|
@@ -543,6 +670,118 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
543
670
|
uri: string;
|
|
544
671
|
}
|
|
545
672
|
}
|
|
673
|
+
|
|
674
|
+
export interface Seedance2_5 {
|
|
675
|
+
model: 'seedance2_5';
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
679
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
680
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
681
|
+
*/
|
|
682
|
+
promptVideo: string;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Whether to generate audio for the video.
|
|
686
|
+
*/
|
|
687
|
+
audio?: boolean;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* The number of seconds of duration for the output video. Defaults to 5.
|
|
691
|
+
*/
|
|
692
|
+
duration?: number;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* How the input video is used. `reference` (the default) generates a new video
|
|
696
|
+
* conditioned on the input video and accepts `duration` and `ratio`. `extend`
|
|
697
|
+
* continues the input video, requires `promptText`, and matches the input aspect
|
|
698
|
+
* ratio, so `ratio` may not be provided.
|
|
699
|
+
*/
|
|
700
|
+
mode?: 'reference' | 'extend';
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* An optional text prompt up to 15000 characters describing what should appear in
|
|
704
|
+
* the output.
|
|
705
|
+
*/
|
|
706
|
+
promptText?: string;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* The resolution of the output video. Seedance 2.5 supports 480p and 720p only.
|
|
710
|
+
*/
|
|
711
|
+
ratio?:
|
|
712
|
+
| '992:432'
|
|
713
|
+
| '854:480'
|
|
714
|
+
| '752:560'
|
|
715
|
+
| '640:640'
|
|
716
|
+
| '560:752'
|
|
717
|
+
| '480:854'
|
|
718
|
+
| '1470:630'
|
|
719
|
+
| '1280:720'
|
|
720
|
+
| '1112:834'
|
|
721
|
+
| '960:960'
|
|
722
|
+
| '834:1112'
|
|
723
|
+
| '720:1280';
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* An optional array of audio references. The total combined duration must be less
|
|
727
|
+
* than 30 seconds.
|
|
728
|
+
*/
|
|
729
|
+
referenceAudio?: Array<Seedance2_5.ReferenceAudio>;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* An optional array of image references (up to 30). See
|
|
733
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
734
|
+
*/
|
|
735
|
+
references?: Array<Seedance2_5.Reference>;
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* An optional array of video references. The combined duration across all video
|
|
739
|
+
* references must not exceed 30 seconds. See [our docs](/assets/inputs#videos) on
|
|
740
|
+
* video inputs for more information.
|
|
741
|
+
*/
|
|
742
|
+
referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export namespace Seedance2_5 {
|
|
746
|
+
/**
|
|
747
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
748
|
+
* the output.
|
|
749
|
+
*/
|
|
750
|
+
export interface ReferenceAudio {
|
|
751
|
+
type: 'audio';
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
755
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
756
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
757
|
+
*/
|
|
758
|
+
uri: string;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
export interface Reference {
|
|
762
|
+
/**
|
|
763
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
764
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
765
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
766
|
+
*/
|
|
767
|
+
uri: string;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* A video reference allows the model to use the video as additional context for
|
|
772
|
+
* the output.
|
|
773
|
+
*/
|
|
774
|
+
export interface ReferenceVideo {
|
|
775
|
+
type: 'video';
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
779
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
780
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
781
|
+
*/
|
|
782
|
+
uri: string;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
546
785
|
}
|
|
547
786
|
|
|
548
787
|
export declare namespace VideoToVideo {
|
|
@@ -32,6 +32,25 @@ export interface VideoUpscaleCreateResponse {
|
|
|
32
32
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
33
33
|
*/
|
|
34
34
|
id: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
38
|
+
* the task completes.
|
|
39
|
+
*/
|
|
40
|
+
estimatedCost: VideoUpscaleCreateResponse.EstimatedCost;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export namespace VideoUpscaleCreateResponse {
|
|
44
|
+
/**
|
|
45
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
46
|
+
* the task completes.
|
|
47
|
+
*/
|
|
48
|
+
export interface EstimatedCost {
|
|
49
|
+
/**
|
|
50
|
+
* Estimated cost of the generation in credits.
|
|
51
|
+
*/
|
|
52
|
+
credits: number;
|
|
53
|
+
}
|
|
35
54
|
}
|
|
36
55
|
|
|
37
56
|
export interface VideoUpscaleCreateParams {
|
|
@@ -35,6 +35,25 @@ export interface VoiceDubbingCreateResponse {
|
|
|
35
35
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
36
36
|
*/
|
|
37
37
|
id: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
41
|
+
* the task completes.
|
|
42
|
+
*/
|
|
43
|
+
estimatedCost: VoiceDubbingCreateResponse.EstimatedCost;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export namespace VoiceDubbingCreateResponse {
|
|
47
|
+
/**
|
|
48
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
49
|
+
* the task completes.
|
|
50
|
+
*/
|
|
51
|
+
export interface EstimatedCost {
|
|
52
|
+
/**
|
|
53
|
+
* Estimated cost of the generation in credits.
|
|
54
|
+
*/
|
|
55
|
+
credits: number;
|
|
56
|
+
}
|
|
38
57
|
}
|
|
39
58
|
|
|
40
59
|
export interface VoiceDubbingCreateParams {
|
|
@@ -36,6 +36,25 @@ export interface VoiceIsolationCreateResponse {
|
|
|
36
36
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
37
37
|
*/
|
|
38
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: VoiceIsolationCreateResponse.EstimatedCost;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export namespace VoiceIsolationCreateResponse {
|
|
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
|
+
}
|
|
39
58
|
}
|
|
40
59
|
|
|
41
60
|
export interface VoiceIsolationCreateParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.14.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.14.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.14.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.14.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|