@runwayml/sdk 4.13.2 → 4.15.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 +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 +146 -19
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +146 -19
- 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 +68 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +68 -1
- 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 +221 -16
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +221 -16
- 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 +189 -19
- 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 +107 -0
- package/src/resources/text-to-speech.ts +142 -1
- package/src/resources/text-to-video.ts +276 -16
- package/src/resources/video-to-video.ts +252 -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
|
@@ -23,8 +23,25 @@ export interface VideoToVideoCreateResponse {
|
|
|
23
23
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
24
24
|
*/
|
|
25
25
|
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
28
|
+
* the task completes.
|
|
29
|
+
*/
|
|
30
|
+
estimatedCost: VideoToVideoCreateResponse.EstimatedCost;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace VideoToVideoCreateResponse {
|
|
33
|
+
/**
|
|
34
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
35
|
+
* the task completes.
|
|
36
|
+
*/
|
|
37
|
+
interface EstimatedCost {
|
|
38
|
+
/**
|
|
39
|
+
* Estimated cost of the generation in credits.
|
|
40
|
+
*/
|
|
41
|
+
credits: number;
|
|
42
|
+
}
|
|
26
43
|
}
|
|
27
|
-
export type VideoToVideoCreateParams = VideoToVideoCreateParams.Variant0 | VideoToVideoCreateParams.Seedance2 | VideoToVideoCreateParams.Seedance2Fast | VideoToVideoCreateParams.Seedance2Mini | VideoToVideoCreateParams.GeminiOmniFlash;
|
|
44
|
+
export type VideoToVideoCreateParams = VideoToVideoCreateParams.Variant0 | VideoToVideoCreateParams.Hailuo3 | VideoToVideoCreateParams.Seedance2 | VideoToVideoCreateParams.Seedance2Fast | VideoToVideoCreateParams.Seedance2Mini | VideoToVideoCreateParams.GeminiOmniFlash | VideoToVideoCreateParams.Seedance2_5;
|
|
28
45
|
export declare namespace VideoToVideoCreateParams {
|
|
29
46
|
interface Variant0 {
|
|
30
47
|
model: 'aleph2';
|
|
@@ -43,10 +60,22 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
43
60
|
* keyframes.
|
|
44
61
|
*/
|
|
45
62
|
keyframes?: Array<Variant0.UnionMember0 | Variant0.UnionMember1>;
|
|
63
|
+
/**
|
|
64
|
+
* The container/encoding of the output. `mp4` (default) returns an H.264 .mp4.
|
|
65
|
+
* `prores` returns a ProRes .mov. `png_sequence` returns a .zip of PNG frames
|
|
66
|
+
* (plus a separate .wav artifact when the output has audio). Non-mp4 formats incur
|
|
67
|
+
* an additional surcharge of 5 credits per second of output.
|
|
68
|
+
*/
|
|
69
|
+
outputFormat?: 'mp4' | 'prores' | 'png_sequence';
|
|
46
70
|
/**
|
|
47
71
|
* A non-empty and optional string describing what should appear in the output.
|
|
48
72
|
*/
|
|
49
73
|
promptText?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The ProRes profile to use. Only valid when `outputFormat` is `prores`. Defaults
|
|
76
|
+
* to `4444`.
|
|
77
|
+
*/
|
|
78
|
+
proresProfile?: '422' | '4444' | '422 Proxy' | '422 LT' | '422 HQ' | '4444 XQ';
|
|
50
79
|
/**
|
|
51
80
|
* @deprecated
|
|
52
81
|
*/
|
|
@@ -149,6 +178,84 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
149
178
|
}
|
|
150
179
|
}
|
|
151
180
|
}
|
|
181
|
+
interface Hailuo3 {
|
|
182
|
+
model: 'hailuo3';
|
|
183
|
+
/**
|
|
184
|
+
* A non-empty text prompt describing what should appear in the output.
|
|
185
|
+
*/
|
|
186
|
+
promptText: string;
|
|
187
|
+
/**
|
|
188
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
189
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
190
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
191
|
+
*/
|
|
192
|
+
promptVideo: string;
|
|
193
|
+
/**
|
|
194
|
+
* The number of seconds of duration for the output video.
|
|
195
|
+
*/
|
|
196
|
+
duration?: number;
|
|
197
|
+
/**
|
|
198
|
+
* The aspect ratio of the output video. Use adaptive only when image or video
|
|
199
|
+
* references are provided; text-only requests require a concrete ratio.
|
|
200
|
+
*/
|
|
201
|
+
ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
202
|
+
/**
|
|
203
|
+
* An optional array of audio references. Audio references require a text prompt,
|
|
204
|
+
* and the total combined duration must not exceed 15 seconds.
|
|
205
|
+
*/
|
|
206
|
+
referenceAudio?: Array<Hailuo3.ReferenceAudio>;
|
|
207
|
+
/**
|
|
208
|
+
* An optional array of image references (up to 9). See
|
|
209
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
210
|
+
*/
|
|
211
|
+
references?: Array<Hailuo3.Reference>;
|
|
212
|
+
/**
|
|
213
|
+
* An optional array of video references. The combined duration across all video
|
|
214
|
+
* references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
|
|
215
|
+
* video inputs for more information.
|
|
216
|
+
*/
|
|
217
|
+
referenceVideos?: Array<Hailuo3.ReferenceVideo>;
|
|
218
|
+
/**
|
|
219
|
+
* The output resolution. Hailuo 3.0 supports 768P and 2K.
|
|
220
|
+
*/
|
|
221
|
+
resolution?: '2K' | '768P';
|
|
222
|
+
}
|
|
223
|
+
namespace Hailuo3 {
|
|
224
|
+
/**
|
|
225
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
226
|
+
* the output.
|
|
227
|
+
*/
|
|
228
|
+
interface ReferenceAudio {
|
|
229
|
+
type: 'audio';
|
|
230
|
+
/**
|
|
231
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
232
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
233
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
234
|
+
*/
|
|
235
|
+
uri: string;
|
|
236
|
+
}
|
|
237
|
+
interface Reference {
|
|
238
|
+
/**
|
|
239
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
240
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
241
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
242
|
+
*/
|
|
243
|
+
uri: string;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* A video reference allows the model to use the video as additional context for
|
|
247
|
+
* the output.
|
|
248
|
+
*/
|
|
249
|
+
interface ReferenceVideo {
|
|
250
|
+
type: 'video';
|
|
251
|
+
/**
|
|
252
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
253
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
254
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
255
|
+
*/
|
|
256
|
+
uri: string;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
152
259
|
interface Seedance2 {
|
|
153
260
|
model: 'seedance2';
|
|
154
261
|
/**
|
|
@@ -175,8 +282,8 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
175
282
|
*/
|
|
176
283
|
ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920' | '3840:1646' | '3840:2160' | '3840:2880' | '3840:3840' | '2880:3840' | '2160:3840';
|
|
177
284
|
/**
|
|
178
|
-
* An optional array of audio references.
|
|
179
|
-
*
|
|
285
|
+
* An optional array of audio references. The total combined duration must not
|
|
286
|
+
* exceed 15 seconds.
|
|
180
287
|
*/
|
|
181
288
|
referenceAudio?: Array<Seedance2.ReferenceAudio>;
|
|
182
289
|
/**
|
|
@@ -254,8 +361,8 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
254
361
|
*/
|
|
255
362
|
ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280';
|
|
256
363
|
/**
|
|
257
|
-
* An optional array of audio references.
|
|
258
|
-
*
|
|
364
|
+
* An optional array of audio references. The total combined duration must not
|
|
365
|
+
* exceed 15 seconds.
|
|
259
366
|
*/
|
|
260
367
|
referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
|
|
261
368
|
/**
|
|
@@ -333,8 +440,8 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
333
440
|
*/
|
|
334
441
|
ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280';
|
|
335
442
|
/**
|
|
336
|
-
* An optional array of audio references.
|
|
337
|
-
*
|
|
443
|
+
* An optional array of audio references. The total combined duration must not
|
|
444
|
+
* exceed 15 seconds.
|
|
338
445
|
*/
|
|
339
446
|
referenceAudio?: Array<Seedance2Mini.ReferenceAudio>;
|
|
340
447
|
/**
|
|
@@ -412,6 +519,91 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
412
519
|
uri: string;
|
|
413
520
|
}
|
|
414
521
|
}
|
|
522
|
+
interface Seedance2_5 {
|
|
523
|
+
model: 'seedance2_5';
|
|
524
|
+
/**
|
|
525
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
526
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
527
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
528
|
+
*/
|
|
529
|
+
promptVideo: string;
|
|
530
|
+
/**
|
|
531
|
+
* Whether to generate audio for the video.
|
|
532
|
+
*/
|
|
533
|
+
audio?: boolean;
|
|
534
|
+
/**
|
|
535
|
+
* The number of seconds of duration for the output video. Defaults to 5.
|
|
536
|
+
*/
|
|
537
|
+
duration?: number;
|
|
538
|
+
/**
|
|
539
|
+
* How the input video is used. `reference` (the default) generates a new video
|
|
540
|
+
* conditioned on the input video and accepts `duration` and `ratio`. `extend`
|
|
541
|
+
* continues the input video, requires `promptText`, and matches the input aspect
|
|
542
|
+
* ratio, so `ratio` may not be provided.
|
|
543
|
+
*/
|
|
544
|
+
mode?: 'reference' | 'extend';
|
|
545
|
+
/**
|
|
546
|
+
* An optional text prompt up to 15000 characters describing what should appear in
|
|
547
|
+
* the output.
|
|
548
|
+
*/
|
|
549
|
+
promptText?: string;
|
|
550
|
+
/**
|
|
551
|
+
* The resolution of the output video. Seedance 2.5 supports 480p, 720p, and 1080p.
|
|
552
|
+
*/
|
|
553
|
+
ratio?: '992:432' | '854:480' | '752:560' | '640:640' | '560:752' | '480:854' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920';
|
|
554
|
+
/**
|
|
555
|
+
* An optional array of audio references. The total combined duration must be less
|
|
556
|
+
* than 30 seconds.
|
|
557
|
+
*/
|
|
558
|
+
referenceAudio?: Array<Seedance2_5.ReferenceAudio>;
|
|
559
|
+
/**
|
|
560
|
+
* An optional array of image references (up to 30). See
|
|
561
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
562
|
+
*/
|
|
563
|
+
references?: Array<Seedance2_5.Reference>;
|
|
564
|
+
/**
|
|
565
|
+
* An optional array of video references. The combined duration across all video
|
|
566
|
+
* references must not exceed 30 seconds. See [our docs](/assets/inputs#videos) on
|
|
567
|
+
* video inputs for more information.
|
|
568
|
+
*/
|
|
569
|
+
referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
|
|
570
|
+
}
|
|
571
|
+
namespace Seedance2_5 {
|
|
572
|
+
/**
|
|
573
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
574
|
+
* the output.
|
|
575
|
+
*/
|
|
576
|
+
interface ReferenceAudio {
|
|
577
|
+
type: 'audio';
|
|
578
|
+
/**
|
|
579
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
580
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
581
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
582
|
+
*/
|
|
583
|
+
uri: string;
|
|
584
|
+
}
|
|
585
|
+
interface Reference {
|
|
586
|
+
/**
|
|
587
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
588
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
589
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
590
|
+
*/
|
|
591
|
+
uri: string;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* A video reference allows the model to use the video as additional context for
|
|
595
|
+
* the output.
|
|
596
|
+
*/
|
|
597
|
+
interface ReferenceVideo {
|
|
598
|
+
type: 'video';
|
|
599
|
+
/**
|
|
600
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
601
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
602
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
603
|
+
*/
|
|
604
|
+
uri: string;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
415
607
|
}
|
|
416
608
|
export declare namespace VideoToVideo {
|
|
417
609
|
export { type VideoToVideoCreateResponse as VideoToVideoCreateResponse, type VideoToVideoCreateParams as VideoToVideoCreateParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-to-video.d.ts","sourceRoot":"","sources":["../src/resources/video-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,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B;;WAEG;QACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,CAAC;QAEhB;;;WAGG;QACH,cAAc,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;QAEnD;;;WAGG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAE1C;;;;WAIG;QACH,eAAe,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;KACrD;IAED,UAAiB,WAAW,CAAC;QAC3B;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,SAAS;YACxB;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -21,6 +21,23 @@ export interface VideoUpscaleCreateResponse {
|
|
|
21
21
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
22
22
|
*/
|
|
23
23
|
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
26
|
+
* the task completes.
|
|
27
|
+
*/
|
|
28
|
+
estimatedCost: VideoUpscaleCreateResponse.EstimatedCost;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace VideoUpscaleCreateResponse {
|
|
31
|
+
/**
|
|
32
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
33
|
+
* the task completes.
|
|
34
|
+
*/
|
|
35
|
+
interface EstimatedCost {
|
|
36
|
+
/**
|
|
37
|
+
* Estimated cost of the generation in credits.
|
|
38
|
+
*/
|
|
39
|
+
credits: number;
|
|
40
|
+
}
|
|
24
41
|
}
|
|
25
42
|
export interface VideoUpscaleCreateParams {
|
|
26
43
|
model: 'magnific_video_upscaler_creative';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-upscale.d.mts","sourceRoot":"","sources":["../src/resources/video-upscale.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"video-upscale.d.mts","sourceRoot":"","sources":["../src/resources/video-upscale.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,0BAA0B,CAAC,aAAa,CAAC;CACzD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,kCAAkC,CAAC;IAE1C;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -21,6 +21,23 @@ export interface VideoUpscaleCreateResponse {
|
|
|
21
21
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
22
22
|
*/
|
|
23
23
|
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
26
|
+
* the task completes.
|
|
27
|
+
*/
|
|
28
|
+
estimatedCost: VideoUpscaleCreateResponse.EstimatedCost;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace VideoUpscaleCreateResponse {
|
|
31
|
+
/**
|
|
32
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
33
|
+
* the task completes.
|
|
34
|
+
*/
|
|
35
|
+
interface EstimatedCost {
|
|
36
|
+
/**
|
|
37
|
+
* Estimated cost of the generation in credits.
|
|
38
|
+
*/
|
|
39
|
+
credits: number;
|
|
40
|
+
}
|
|
24
41
|
}
|
|
25
42
|
export interface VideoUpscaleCreateParams {
|
|
26
43
|
model: 'magnific_video_upscaler_creative';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-upscale.d.ts","sourceRoot":"","sources":["../src/resources/video-upscale.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"video-upscale.d.ts","sourceRoot":"","sources":["../src/resources/video-upscale.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,0BAA0B,CAAC,aAAa,CAAC;CACzD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,kCAAkC,CAAC;IAE1C;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -24,6 +24,23 @@ export interface VoiceDubbingCreateResponse {
|
|
|
24
24
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
25
25
|
*/
|
|
26
26
|
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
29
|
+
* the task completes.
|
|
30
|
+
*/
|
|
31
|
+
estimatedCost: VoiceDubbingCreateResponse.EstimatedCost;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace VoiceDubbingCreateResponse {
|
|
34
|
+
/**
|
|
35
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
36
|
+
* the task completes.
|
|
37
|
+
*/
|
|
38
|
+
interface EstimatedCost {
|
|
39
|
+
/**
|
|
40
|
+
* Estimated cost of the generation in credits.
|
|
41
|
+
*/
|
|
42
|
+
credits: number;
|
|
43
|
+
}
|
|
27
44
|
}
|
|
28
45
|
export interface VoiceDubbingCreateParams {
|
|
29
46
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-dubbing.d.mts","sourceRoot":"","sources":["../src/resources/voice-dubbing.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"voice-dubbing.d.mts","sourceRoot":"","sources":["../src/resources/voice-dubbing.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,0BAA0B,CAAC,aAAa,CAAC;CACzD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,KAAK,EAAE,sBAAsB,CAAC;IAE9B;;;OAGG;IACH,UAAU,EACN,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;IAET;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -24,6 +24,23 @@ export interface VoiceDubbingCreateResponse {
|
|
|
24
24
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
25
25
|
*/
|
|
26
26
|
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
29
|
+
* the task completes.
|
|
30
|
+
*/
|
|
31
|
+
estimatedCost: VoiceDubbingCreateResponse.EstimatedCost;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace VoiceDubbingCreateResponse {
|
|
34
|
+
/**
|
|
35
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
36
|
+
* the task completes.
|
|
37
|
+
*/
|
|
38
|
+
interface EstimatedCost {
|
|
39
|
+
/**
|
|
40
|
+
* Estimated cost of the generation in credits.
|
|
41
|
+
*/
|
|
42
|
+
credits: number;
|
|
43
|
+
}
|
|
27
44
|
}
|
|
28
45
|
export interface VoiceDubbingCreateParams {
|
|
29
46
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-dubbing.d.ts","sourceRoot":"","sources":["../src/resources/voice-dubbing.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"voice-dubbing.d.ts","sourceRoot":"","sources":["../src/resources/voice-dubbing.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,0BAA0B,CAAC,aAAa,CAAC;CACzD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,KAAK,EAAE,sBAAsB,CAAC;IAE9B;;;OAGG;IACH,UAAU,EACN,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;IAET;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -25,6 +25,23 @@ export interface VoiceIsolationCreateResponse {
|
|
|
25
25
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
26
26
|
*/
|
|
27
27
|
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
30
|
+
* the task completes.
|
|
31
|
+
*/
|
|
32
|
+
estimatedCost: VoiceIsolationCreateResponse.EstimatedCost;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace VoiceIsolationCreateResponse {
|
|
35
|
+
/**
|
|
36
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
37
|
+
* the task completes.
|
|
38
|
+
*/
|
|
39
|
+
interface EstimatedCost {
|
|
40
|
+
/**
|
|
41
|
+
* Estimated cost of the generation in credits.
|
|
42
|
+
*/
|
|
43
|
+
credits: number;
|
|
44
|
+
}
|
|
28
45
|
}
|
|
29
46
|
export interface VoiceIsolationCreateParams {
|
|
30
47
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-isolation.d.mts","sourceRoot":"","sources":["../src/resources/voice-isolation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"voice-isolation.d.mts","sourceRoot":"","sources":["../src/resources/voice-isolation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,4BAA4B,CAAC,aAAa,CAAC;CAC3D;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,KAAK,EAAE,wBAAwB,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -25,6 +25,23 @@ export interface VoiceIsolationCreateResponse {
|
|
|
25
25
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
26
26
|
*/
|
|
27
27
|
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
30
|
+
* the task completes.
|
|
31
|
+
*/
|
|
32
|
+
estimatedCost: VoiceIsolationCreateResponse.EstimatedCost;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace VoiceIsolationCreateResponse {
|
|
35
|
+
/**
|
|
36
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
37
|
+
* the task completes.
|
|
38
|
+
*/
|
|
39
|
+
interface EstimatedCost {
|
|
40
|
+
/**
|
|
41
|
+
* Estimated cost of the generation in credits.
|
|
42
|
+
*/
|
|
43
|
+
credits: number;
|
|
44
|
+
}
|
|
28
45
|
}
|
|
29
46
|
export interface VoiceIsolationCreateParams {
|
|
30
47
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-isolation.d.ts","sourceRoot":"","sources":["../src/resources/voice-isolation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"voice-isolation.d.ts","sourceRoot":"","sources":["../src/resources/voice-isolation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,4BAA4B,CAAC,aAAa,CAAC;CAC3D;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,KAAK,EAAE,wBAAwB,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
package/src/client.ts
CHANGED
|
@@ -65,12 +65,6 @@ import {
|
|
|
65
65
|
ImageUpscaleCreateParams,
|
|
66
66
|
ImageUpscaleCreateResponse,
|
|
67
67
|
} from './resources/image-upscale';
|
|
68
|
-
import {
|
|
69
|
-
Organization,
|
|
70
|
-
OrganizationRetrieveResponse,
|
|
71
|
-
OrganizationRetrieveUsageParams,
|
|
72
|
-
OrganizationRetrieveUsageResponse,
|
|
73
|
-
} from './resources/organization';
|
|
74
68
|
import {
|
|
75
69
|
DeprecatedLivekit,
|
|
76
70
|
RealtimeSessionCreateParams,
|
|
@@ -99,6 +93,9 @@ import {
|
|
|
99
93
|
RouterCreateParams,
|
|
100
94
|
RouterCreateResponse,
|
|
101
95
|
RouterListParams,
|
|
96
|
+
RouterListRequestsParams,
|
|
97
|
+
RouterListRequestsResponse,
|
|
98
|
+
RouterListRequestsResponsesCursorPage,
|
|
102
99
|
RouterListResponse,
|
|
103
100
|
RouterListResponsesCursorPage,
|
|
104
101
|
RouterRetrieveResponse,
|
|
@@ -163,6 +160,12 @@ import {
|
|
|
163
160
|
Workflows,
|
|
164
161
|
} from './resources/workflows';
|
|
165
162
|
import { Generate } from './resources/generate/generate';
|
|
163
|
+
import {
|
|
164
|
+
Organization,
|
|
165
|
+
OrganizationRetrieveResponse,
|
|
166
|
+
OrganizationRetrieveUsageParams,
|
|
167
|
+
OrganizationRetrieveUsageResponse,
|
|
168
|
+
} from './resources/organization/organization';
|
|
166
169
|
import { type Fetch } from './internal/builtin-types';
|
|
167
170
|
import { isRunningInBrowser } from './internal/detect-platform';
|
|
168
171
|
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
|
|
@@ -1105,10 +1108,13 @@ export declare namespace RunwayML {
|
|
|
1105
1108
|
type RouterRetrieveResponse as RouterRetrieveResponse,
|
|
1106
1109
|
type RouterUpdateResponse as RouterUpdateResponse,
|
|
1107
1110
|
type RouterListResponse as RouterListResponse,
|
|
1111
|
+
type RouterListRequestsResponse as RouterListRequestsResponse,
|
|
1108
1112
|
type RouterListResponsesCursorPage as RouterListResponsesCursorPage,
|
|
1113
|
+
type RouterListRequestsResponsesCursorPage as RouterListRequestsResponsesCursorPage,
|
|
1109
1114
|
type RouterCreateParams as RouterCreateParams,
|
|
1110
1115
|
type RouterUpdateParams as RouterUpdateParams,
|
|
1111
1116
|
type RouterListParams as RouterListParams,
|
|
1117
|
+
type RouterListRequestsParams as RouterListRequestsParams,
|
|
1112
1118
|
};
|
|
1113
1119
|
|
|
1114
1120
|
export {
|
|
@@ -43,6 +43,25 @@ export interface CharacterPerformanceCreateResponse {
|
|
|
43
43
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
44
44
|
*/
|
|
45
45
|
id: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
49
|
+
* the task completes.
|
|
50
|
+
*/
|
|
51
|
+
estimatedCost: CharacterPerformanceCreateResponse.EstimatedCost;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export namespace CharacterPerformanceCreateResponse {
|
|
55
|
+
/**
|
|
56
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
57
|
+
* the task completes.
|
|
58
|
+
*/
|
|
59
|
+
export interface EstimatedCost {
|
|
60
|
+
/**
|
|
61
|
+
* Estimated cost of the generation in credits.
|
|
62
|
+
*/
|
|
63
|
+
credits: number;
|
|
64
|
+
}
|
|
46
65
|
}
|
|
47
66
|
|
|
48
67
|
export interface CharacterPerformanceCreateParams {
|