@runwayml/sdk 4.13.1 → 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 +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 +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
|
@@ -15,8 +15,25 @@ export interface ImageToVideoCreateResponse {
|
|
|
15
15
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
16
16
|
*/
|
|
17
17
|
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
20
|
+
* the task completes.
|
|
21
|
+
*/
|
|
22
|
+
estimatedCost: ImageToVideoCreateResponse.EstimatedCost;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ImageToVideoCreateResponse {
|
|
25
|
+
/**
|
|
26
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
27
|
+
* the task completes.
|
|
28
|
+
*/
|
|
29
|
+
interface EstimatedCost {
|
|
30
|
+
/**
|
|
31
|
+
* Estimated cost of the generation in credits.
|
|
32
|
+
*/
|
|
33
|
+
credits: number;
|
|
34
|
+
}
|
|
18
35
|
}
|
|
19
|
-
export type ImageToVideoCreateParams = ImageToVideoCreateParams.Gen4_5 | ImageToVideoCreateParams.Gen4Turbo | ImageToVideoCreateParams.Veo3_1 | ImageToVideoCreateParams.Veo3_1Fast | ImageToVideoCreateParams.Happyhorse1_0 | ImageToVideoCreateParams.Seedance2 | ImageToVideoCreateParams.Seedance2Fast | ImageToVideoCreateParams.Seedance2Mini | ImageToVideoCreateParams.GeminiOmniFlash | ImageToVideoCreateParams.
|
|
36
|
+
export type ImageToVideoCreateParams = ImageToVideoCreateParams.Gen4_5 | ImageToVideoCreateParams.Gen4Turbo | ImageToVideoCreateParams.Veo3_1 | ImageToVideoCreateParams.Veo3_1Fast | ImageToVideoCreateParams.Hailuo3 | ImageToVideoCreateParams.Happyhorse1_0 | ImageToVideoCreateParams.Seedance2 | ImageToVideoCreateParams.Seedance2Fast | ImageToVideoCreateParams.Seedance2Mini | ImageToVideoCreateParams.GeminiOmniFlash | ImageToVideoCreateParams.Seedance2_5;
|
|
20
37
|
export declare namespace ImageToVideoCreateParams {
|
|
21
38
|
interface Gen4_5 {
|
|
22
39
|
/**
|
|
@@ -44,6 +61,18 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
44
61
|
* Settings that affect the behavior of the content moderation system.
|
|
45
62
|
*/
|
|
46
63
|
contentModeration?: Gen4_5.ContentModeration;
|
|
64
|
+
/**
|
|
65
|
+
* The container/encoding of the output. `mp4` (default) returns an H.264 .mp4.
|
|
66
|
+
* `prores` returns a ProRes .mov. `png_sequence` returns a .zip of PNG frames
|
|
67
|
+
* (plus a separate .wav artifact when the output has audio). Non-mp4 formats incur
|
|
68
|
+
* an additional surcharge of 5 credits per second of output.
|
|
69
|
+
*/
|
|
70
|
+
outputFormat?: 'mp4' | 'prores' | 'png_sequence';
|
|
71
|
+
/**
|
|
72
|
+
* The ProRes profile to use. Only valid when `outputFormat` is `prores`. Defaults
|
|
73
|
+
* to `4444`.
|
|
74
|
+
*/
|
|
75
|
+
proresProfile?: '422' | '4444' | '422 Proxy' | '422 LT' | '422 HQ' | '4444 XQ';
|
|
47
76
|
/**
|
|
48
77
|
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
49
78
|
* get different results for the same other request parameters. Using the same seed
|
|
@@ -225,6 +254,51 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
225
254
|
uri: string;
|
|
226
255
|
}
|
|
227
256
|
}
|
|
257
|
+
interface Hailuo3 {
|
|
258
|
+
model: 'hailuo3';
|
|
259
|
+
/**
|
|
260
|
+
* An image or array of images. Use position `first`/`last` for keyframe mode, or
|
|
261
|
+
* omit position for reference images. The two modes cannot be mixed.
|
|
262
|
+
*/
|
|
263
|
+
promptImage: string | Array<unknown>;
|
|
264
|
+
/**
|
|
265
|
+
* A non-empty text prompt describing what should appear in the output.
|
|
266
|
+
*/
|
|
267
|
+
promptText: string;
|
|
268
|
+
/**
|
|
269
|
+
* The number of seconds of duration for the output video.
|
|
270
|
+
*/
|
|
271
|
+
duration?: number;
|
|
272
|
+
/**
|
|
273
|
+
* The aspect ratio of the output video. Use adaptive only when image or video
|
|
274
|
+
* references are provided; text-only requests require a concrete ratio.
|
|
275
|
+
*/
|
|
276
|
+
ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
277
|
+
/**
|
|
278
|
+
* An optional array of audio references. Audio references require a text prompt,
|
|
279
|
+
* and the total combined duration must not exceed 15 seconds.
|
|
280
|
+
*/
|
|
281
|
+
referenceAudio?: Array<Hailuo3.ReferenceAudio>;
|
|
282
|
+
/**
|
|
283
|
+
* The output resolution. Hailuo 3.0 supports 768P and 2K.
|
|
284
|
+
*/
|
|
285
|
+
resolution?: '2K' | '768P';
|
|
286
|
+
}
|
|
287
|
+
namespace Hailuo3 {
|
|
288
|
+
/**
|
|
289
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
290
|
+
* the output.
|
|
291
|
+
*/
|
|
292
|
+
interface ReferenceAudio {
|
|
293
|
+
type: 'audio';
|
|
294
|
+
/**
|
|
295
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
296
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
297
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
298
|
+
*/
|
|
299
|
+
uri: string;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
228
302
|
interface Happyhorse1_0 {
|
|
229
303
|
model: 'happyhorse_1_0';
|
|
230
304
|
/**
|
|
@@ -287,8 +361,8 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
287
361
|
*/
|
|
288
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' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920' | '3840:1646' | '3840:2160' | '3840:2880' | '3840:3840' | '2880:3840' | '2160:3840';
|
|
289
363
|
/**
|
|
290
|
-
* An optional array of audio references.
|
|
291
|
-
*
|
|
364
|
+
* An optional array of audio references. The total combined duration must not
|
|
365
|
+
* exceed 15 seconds.
|
|
292
366
|
*/
|
|
293
367
|
referenceAudio?: Array<Seedance2.ReferenceAudio>;
|
|
294
368
|
}
|
|
@@ -346,8 +420,8 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
346
420
|
*/
|
|
347
421
|
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';
|
|
348
422
|
/**
|
|
349
|
-
* An optional array of audio references.
|
|
350
|
-
*
|
|
423
|
+
* An optional array of audio references. The total combined duration must not
|
|
424
|
+
* exceed 15 seconds.
|
|
351
425
|
*/
|
|
352
426
|
referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
|
|
353
427
|
}
|
|
@@ -405,8 +479,8 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
405
479
|
*/
|
|
406
480
|
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';
|
|
407
481
|
/**
|
|
408
|
-
* An optional array of audio references.
|
|
409
|
-
*
|
|
482
|
+
* An optional array of audio references. The total combined duration must not
|
|
483
|
+
* exceed 15 seconds.
|
|
410
484
|
*/
|
|
411
485
|
referenceAudio?: Array<Seedance2Mini.ReferenceAudio>;
|
|
412
486
|
}
|
|
@@ -475,43 +549,60 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
475
549
|
uri: string;
|
|
476
550
|
}
|
|
477
551
|
}
|
|
478
|
-
interface
|
|
552
|
+
interface Seedance2_5 {
|
|
553
|
+
model: 'seedance2_5';
|
|
479
554
|
/**
|
|
480
|
-
*
|
|
555
|
+
* An image or array of images. Use position `first`/`last` for keyframe mode, or
|
|
556
|
+
* omit position for reference images. The two modes cannot be mixed.
|
|
481
557
|
*/
|
|
482
|
-
|
|
483
|
-
model: 'veo3';
|
|
558
|
+
promptImage: string | Array<Seedance2_5.PromptImage>;
|
|
484
559
|
/**
|
|
485
|
-
*
|
|
486
|
-
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
487
|
-
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
560
|
+
* Whether to generate audio for the video.
|
|
488
561
|
*/
|
|
489
|
-
|
|
562
|
+
audio?: boolean;
|
|
490
563
|
/**
|
|
491
|
-
* The
|
|
564
|
+
* The number of seconds of duration for the output video.
|
|
492
565
|
*/
|
|
493
|
-
|
|
566
|
+
duration?: number;
|
|
494
567
|
/**
|
|
495
|
-
*
|
|
568
|
+
* An optional text prompt up to 15000 characters describing what should appear in
|
|
569
|
+
* the output.
|
|
496
570
|
*/
|
|
497
|
-
|
|
571
|
+
promptText?: string;
|
|
498
572
|
/**
|
|
499
|
-
*
|
|
500
|
-
* should describe in detail what should appear in the output.
|
|
573
|
+
* The resolution of the output video. Seedance 2.5 supports 480p and 720p only.
|
|
501
574
|
*/
|
|
502
|
-
|
|
575
|
+
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';
|
|
576
|
+
/**
|
|
577
|
+
* An optional array of audio references. The total combined duration must not
|
|
578
|
+
* exceed 30 seconds.
|
|
579
|
+
*/
|
|
580
|
+
referenceAudio?: Array<Seedance2_5.ReferenceAudio>;
|
|
503
581
|
}
|
|
504
|
-
namespace
|
|
582
|
+
namespace Seedance2_5 {
|
|
505
583
|
interface PromptImage {
|
|
584
|
+
/**
|
|
585
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
586
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
587
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
588
|
+
*/
|
|
589
|
+
uri: string;
|
|
506
590
|
/**
|
|
507
591
|
* The position of the image in the output video. "first" will use the image as the
|
|
508
|
-
* first frame
|
|
592
|
+
* first frame, "last" as the last frame. Omit for a reference image.
|
|
509
593
|
*/
|
|
510
|
-
position
|
|
594
|
+
position?: 'first' | 'last';
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
598
|
+
* the output.
|
|
599
|
+
*/
|
|
600
|
+
interface ReferenceAudio {
|
|
601
|
+
type: 'audio';
|
|
511
602
|
/**
|
|
512
603
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
513
|
-
* `data:
|
|
514
|
-
* [our docs](/assets/inputs#
|
|
604
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
605
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
515
606
|
*/
|
|
516
607
|
uri: string;
|
|
517
608
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-to-video.d.mts","sourceRoot":"","sources":["../src/resources/image-to-video.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;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,c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G,EAAE,MAAM,CAAC;YAEZ;;;eAGG;YACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;SAC7B;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"}
|
|
@@ -15,8 +15,25 @@ export interface ImageToVideoCreateResponse {
|
|
|
15
15
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
16
16
|
*/
|
|
17
17
|
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
20
|
+
* the task completes.
|
|
21
|
+
*/
|
|
22
|
+
estimatedCost: ImageToVideoCreateResponse.EstimatedCost;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ImageToVideoCreateResponse {
|
|
25
|
+
/**
|
|
26
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
27
|
+
* the task completes.
|
|
28
|
+
*/
|
|
29
|
+
interface EstimatedCost {
|
|
30
|
+
/**
|
|
31
|
+
* Estimated cost of the generation in credits.
|
|
32
|
+
*/
|
|
33
|
+
credits: number;
|
|
34
|
+
}
|
|
18
35
|
}
|
|
19
|
-
export type ImageToVideoCreateParams = ImageToVideoCreateParams.Gen4_5 | ImageToVideoCreateParams.Gen4Turbo | ImageToVideoCreateParams.Veo3_1 | ImageToVideoCreateParams.Veo3_1Fast | ImageToVideoCreateParams.Happyhorse1_0 | ImageToVideoCreateParams.Seedance2 | ImageToVideoCreateParams.Seedance2Fast | ImageToVideoCreateParams.Seedance2Mini | ImageToVideoCreateParams.GeminiOmniFlash | ImageToVideoCreateParams.
|
|
36
|
+
export type ImageToVideoCreateParams = ImageToVideoCreateParams.Gen4_5 | ImageToVideoCreateParams.Gen4Turbo | ImageToVideoCreateParams.Veo3_1 | ImageToVideoCreateParams.Veo3_1Fast | ImageToVideoCreateParams.Hailuo3 | ImageToVideoCreateParams.Happyhorse1_0 | ImageToVideoCreateParams.Seedance2 | ImageToVideoCreateParams.Seedance2Fast | ImageToVideoCreateParams.Seedance2Mini | ImageToVideoCreateParams.GeminiOmniFlash | ImageToVideoCreateParams.Seedance2_5;
|
|
20
37
|
export declare namespace ImageToVideoCreateParams {
|
|
21
38
|
interface Gen4_5 {
|
|
22
39
|
/**
|
|
@@ -44,6 +61,18 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
44
61
|
* Settings that affect the behavior of the content moderation system.
|
|
45
62
|
*/
|
|
46
63
|
contentModeration?: Gen4_5.ContentModeration;
|
|
64
|
+
/**
|
|
65
|
+
* The container/encoding of the output. `mp4` (default) returns an H.264 .mp4.
|
|
66
|
+
* `prores` returns a ProRes .mov. `png_sequence` returns a .zip of PNG frames
|
|
67
|
+
* (plus a separate .wav artifact when the output has audio). Non-mp4 formats incur
|
|
68
|
+
* an additional surcharge of 5 credits per second of output.
|
|
69
|
+
*/
|
|
70
|
+
outputFormat?: 'mp4' | 'prores' | 'png_sequence';
|
|
71
|
+
/**
|
|
72
|
+
* The ProRes profile to use. Only valid when `outputFormat` is `prores`. Defaults
|
|
73
|
+
* to `4444`.
|
|
74
|
+
*/
|
|
75
|
+
proresProfile?: '422' | '4444' | '422 Proxy' | '422 LT' | '422 HQ' | '4444 XQ';
|
|
47
76
|
/**
|
|
48
77
|
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
49
78
|
* get different results for the same other request parameters. Using the same seed
|
|
@@ -225,6 +254,51 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
225
254
|
uri: string;
|
|
226
255
|
}
|
|
227
256
|
}
|
|
257
|
+
interface Hailuo3 {
|
|
258
|
+
model: 'hailuo3';
|
|
259
|
+
/**
|
|
260
|
+
* An image or array of images. Use position `first`/`last` for keyframe mode, or
|
|
261
|
+
* omit position for reference images. The two modes cannot be mixed.
|
|
262
|
+
*/
|
|
263
|
+
promptImage: string | Array<unknown>;
|
|
264
|
+
/**
|
|
265
|
+
* A non-empty text prompt describing what should appear in the output.
|
|
266
|
+
*/
|
|
267
|
+
promptText: string;
|
|
268
|
+
/**
|
|
269
|
+
* The number of seconds of duration for the output video.
|
|
270
|
+
*/
|
|
271
|
+
duration?: number;
|
|
272
|
+
/**
|
|
273
|
+
* The aspect ratio of the output video. Use adaptive only when image or video
|
|
274
|
+
* references are provided; text-only requests require a concrete ratio.
|
|
275
|
+
*/
|
|
276
|
+
ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
|
|
277
|
+
/**
|
|
278
|
+
* An optional array of audio references. Audio references require a text prompt,
|
|
279
|
+
* and the total combined duration must not exceed 15 seconds.
|
|
280
|
+
*/
|
|
281
|
+
referenceAudio?: Array<Hailuo3.ReferenceAudio>;
|
|
282
|
+
/**
|
|
283
|
+
* The output resolution. Hailuo 3.0 supports 768P and 2K.
|
|
284
|
+
*/
|
|
285
|
+
resolution?: '2K' | '768P';
|
|
286
|
+
}
|
|
287
|
+
namespace Hailuo3 {
|
|
288
|
+
/**
|
|
289
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
290
|
+
* the output.
|
|
291
|
+
*/
|
|
292
|
+
interface ReferenceAudio {
|
|
293
|
+
type: 'audio';
|
|
294
|
+
/**
|
|
295
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
296
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
297
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
298
|
+
*/
|
|
299
|
+
uri: string;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
228
302
|
interface Happyhorse1_0 {
|
|
229
303
|
model: 'happyhorse_1_0';
|
|
230
304
|
/**
|
|
@@ -287,8 +361,8 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
287
361
|
*/
|
|
288
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' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920' | '3840:1646' | '3840:2160' | '3840:2880' | '3840:3840' | '2880:3840' | '2160:3840';
|
|
289
363
|
/**
|
|
290
|
-
* An optional array of audio references.
|
|
291
|
-
*
|
|
364
|
+
* An optional array of audio references. The total combined duration must not
|
|
365
|
+
* exceed 15 seconds.
|
|
292
366
|
*/
|
|
293
367
|
referenceAudio?: Array<Seedance2.ReferenceAudio>;
|
|
294
368
|
}
|
|
@@ -346,8 +420,8 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
346
420
|
*/
|
|
347
421
|
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';
|
|
348
422
|
/**
|
|
349
|
-
* An optional array of audio references.
|
|
350
|
-
*
|
|
423
|
+
* An optional array of audio references. The total combined duration must not
|
|
424
|
+
* exceed 15 seconds.
|
|
351
425
|
*/
|
|
352
426
|
referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
|
|
353
427
|
}
|
|
@@ -405,8 +479,8 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
405
479
|
*/
|
|
406
480
|
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';
|
|
407
481
|
/**
|
|
408
|
-
* An optional array of audio references.
|
|
409
|
-
*
|
|
482
|
+
* An optional array of audio references. The total combined duration must not
|
|
483
|
+
* exceed 15 seconds.
|
|
410
484
|
*/
|
|
411
485
|
referenceAudio?: Array<Seedance2Mini.ReferenceAudio>;
|
|
412
486
|
}
|
|
@@ -475,43 +549,60 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
475
549
|
uri: string;
|
|
476
550
|
}
|
|
477
551
|
}
|
|
478
|
-
interface
|
|
552
|
+
interface Seedance2_5 {
|
|
553
|
+
model: 'seedance2_5';
|
|
479
554
|
/**
|
|
480
|
-
*
|
|
555
|
+
* An image or array of images. Use position `first`/`last` for keyframe mode, or
|
|
556
|
+
* omit position for reference images. The two modes cannot be mixed.
|
|
481
557
|
*/
|
|
482
|
-
|
|
483
|
-
model: 'veo3';
|
|
558
|
+
promptImage: string | Array<Seedance2_5.PromptImage>;
|
|
484
559
|
/**
|
|
485
|
-
*
|
|
486
|
-
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
487
|
-
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
560
|
+
* Whether to generate audio for the video.
|
|
488
561
|
*/
|
|
489
|
-
|
|
562
|
+
audio?: boolean;
|
|
490
563
|
/**
|
|
491
|
-
* The
|
|
564
|
+
* The number of seconds of duration for the output video.
|
|
492
565
|
*/
|
|
493
|
-
|
|
566
|
+
duration?: number;
|
|
494
567
|
/**
|
|
495
|
-
*
|
|
568
|
+
* An optional text prompt up to 15000 characters describing what should appear in
|
|
569
|
+
* the output.
|
|
496
570
|
*/
|
|
497
|
-
|
|
571
|
+
promptText?: string;
|
|
498
572
|
/**
|
|
499
|
-
*
|
|
500
|
-
* should describe in detail what should appear in the output.
|
|
573
|
+
* The resolution of the output video. Seedance 2.5 supports 480p and 720p only.
|
|
501
574
|
*/
|
|
502
|
-
|
|
575
|
+
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';
|
|
576
|
+
/**
|
|
577
|
+
* An optional array of audio references. The total combined duration must not
|
|
578
|
+
* exceed 30 seconds.
|
|
579
|
+
*/
|
|
580
|
+
referenceAudio?: Array<Seedance2_5.ReferenceAudio>;
|
|
503
581
|
}
|
|
504
|
-
namespace
|
|
582
|
+
namespace Seedance2_5 {
|
|
505
583
|
interface PromptImage {
|
|
584
|
+
/**
|
|
585
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
586
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
587
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
588
|
+
*/
|
|
589
|
+
uri: string;
|
|
506
590
|
/**
|
|
507
591
|
* The position of the image in the output video. "first" will use the image as the
|
|
508
|
-
* first frame
|
|
592
|
+
* first frame, "last" as the last frame. Omit for a reference image.
|
|
509
593
|
*/
|
|
510
|
-
position
|
|
594
|
+
position?: 'first' | 'last';
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
598
|
+
* the output.
|
|
599
|
+
*/
|
|
600
|
+
interface ReferenceAudio {
|
|
601
|
+
type: 'audio';
|
|
511
602
|
/**
|
|
512
603
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
513
|
-
* `data:
|
|
514
|
-
* [our docs](/assets/inputs#
|
|
604
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
605
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
515
606
|
*/
|
|
516
607
|
uri: string;
|
|
517
608
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-to-video.d.ts","sourceRoot":"","sources":["../src/resources/image-to-video.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;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OA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C;SAC7B;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"}
|
|
@@ -26,6 +26,23 @@ export interface ImageUpscaleCreateResponse {
|
|
|
26
26
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
27
27
|
*/
|
|
28
28
|
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
31
|
+
* the task completes.
|
|
32
|
+
*/
|
|
33
|
+
estimatedCost: ImageUpscaleCreateResponse.EstimatedCost;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace ImageUpscaleCreateResponse {
|
|
36
|
+
/**
|
|
37
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
38
|
+
* the task completes.
|
|
39
|
+
*/
|
|
40
|
+
interface EstimatedCost {
|
|
41
|
+
/**
|
|
42
|
+
* Estimated cost of the generation in credits.
|
|
43
|
+
*/
|
|
44
|
+
credits: number;
|
|
45
|
+
}
|
|
29
46
|
}
|
|
30
47
|
export interface ImageUpscaleCreateParams {
|
|
31
48
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-upscale.d.mts","sourceRoot":"","sources":["../src/resources/image-upscale.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;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,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KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -26,6 +26,23 @@ export interface ImageUpscaleCreateResponse {
|
|
|
26
26
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
27
27
|
*/
|
|
28
28
|
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
31
|
+
* the task completes.
|
|
32
|
+
*/
|
|
33
|
+
estimatedCost: ImageUpscaleCreateResponse.EstimatedCost;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace ImageUpscaleCreateResponse {
|
|
36
|
+
/**
|
|
37
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
38
|
+
* the task completes.
|
|
39
|
+
*/
|
|
40
|
+
interface EstimatedCost {
|
|
41
|
+
/**
|
|
42
|
+
* Estimated cost of the generation in credits.
|
|
43
|
+
*/
|
|
44
|
+
credits: number;
|
|
45
|
+
}
|
|
29
46
|
}
|
|
30
47
|
export interface ImageUpscaleCreateParams {
|
|
31
48
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-upscale.d.ts","sourceRoot":"","sources":["../src/resources/image-upscale.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;;;;;;;;;;;;;OAaG;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":"image-upscale.d.ts","sourceRoot":"","sources":["../src/resources/image-upscale.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;;;;;;;;;;;;;OAaG;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,gCAAgC,CAAC;IAExC;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,gBAAgB,CAAC;IAEhD;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;IAE7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;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"}
|
package/resources/index.d.mts
CHANGED
|
@@ -6,10 +6,10 @@ export { Documents, type DocumentCreateResponse, type DocumentRetrieveResponse,
|
|
|
6
6
|
export { Generate } from "./generate/generate.mjs";
|
|
7
7
|
export { ImageToVideo, type ImageToVideoCreateResponse, type ImageToVideoCreateParams, } from "./image-to-video.mjs";
|
|
8
8
|
export { ImageUpscale, type ImageUpscaleCreateResponse, type ImageUpscaleCreateParams, } from "./image-upscale.mjs";
|
|
9
|
-
export { Organization, type OrganizationRetrieveResponse, type OrganizationRetrieveUsageResponse, type OrganizationRetrieveUsageParams, } from "./organization.mjs";
|
|
9
|
+
export { Organization, type OrganizationRetrieveResponse, type OrganizationRetrieveUsageResponse, type OrganizationRetrieveUsageParams, } from "./organization/organization.mjs";
|
|
10
10
|
export { RealtimeSessions, type DeprecatedLivekit, type RealtimeSessionCreateResponse, type RealtimeSessionRetrieveResponse, type RealtimeSessionCreateParams, } from "./realtime-sessions.mjs";
|
|
11
11
|
export { Recipes, type RecipeAdLocalizationResponse, type RecipeMarketingStockImageResponse, type RecipeMultiShotVideoResponse, type RecipeProductAdResponse, type RecipeProductCampaignImageResponse, type RecipeProductSwapResponse, type RecipeProductUgcResponse, type RecipeAdLocalizationParams, type RecipeMarketingStockImageParams, type RecipeMultiShotVideoParams, type RecipeProductAdParams, type RecipeProductCampaignImageParams, type RecipeProductSwapParams, type RecipeProductUgcParams, } from "./recipes.mjs";
|
|
12
|
-
export { Routers, type RouterCreateResponse, type RouterRetrieveResponse, type RouterUpdateResponse, type RouterListResponse, type RouterCreateParams, type RouterUpdateParams, type RouterListParams, type RouterListResponsesCursorPage, } from "./routers.mjs";
|
|
12
|
+
export { Routers, type RouterCreateResponse, type RouterRetrieveResponse, type RouterUpdateResponse, type RouterListResponse, type RouterListRequestsResponse, type RouterCreateParams, type RouterUpdateParams, type RouterListParams, type RouterListRequestsParams, type RouterListResponsesCursorPage, type RouterListRequestsResponsesCursorPage, } from "./routers.mjs";
|
|
13
13
|
export { SoundEffect, type SoundEffectCreateResponse, type SoundEffectCreateParams } from "./sound-effect.mjs";
|
|
14
14
|
export { SpeechToSpeech, type SpeechToSpeechCreateResponse, type SpeechToSpeechCreateParams, } from "./speech-to-speech.mjs";
|
|
15
15
|
export { Tasks, type TaskRetrieveResponse } from "./tasks.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,yCAAyC,GAC/C,mCAA+B;AAChC,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,4BAAwB;AAC7G,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,GACnC,sBAAkB;AACnB,OAAO,EACL,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,GACtC,oCAAgC;AACjC,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,GACrC,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,gCAA4B;AAC/C,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,6BAAyB;AAC1B,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,4BAAwB;AACzB,OAAO,EACL,YAAY,EACZ,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","s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wB;AACzB,OAAO,EACL,cAAc,EACd,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,8BAA0B;AAC3B,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC,qBAAiB;AAClB,OAAO,EAAE,mBAAmB,EAAE,KAAK,kCAAkC,EAAE,mCAA+B;AACtG,OAAO,EACL,SAAS,EACT,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,wBAAoB;AACrB,OAAO,EAAE,OAAO,EAAE,KAAK,6BAA6B,EAAE,KAAK,4BAA4B,EAAE,sBAAkB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ export { Documents, type DocumentCreateResponse, type DocumentRetrieveResponse,
|
|
|
6
6
|
export { Generate } from "./generate/generate.js";
|
|
7
7
|
export { ImageToVideo, type ImageToVideoCreateResponse, type ImageToVideoCreateParams, } from "./image-to-video.js";
|
|
8
8
|
export { ImageUpscale, type ImageUpscaleCreateResponse, type ImageUpscaleCreateParams, } from "./image-upscale.js";
|
|
9
|
-
export { Organization, type OrganizationRetrieveResponse, type OrganizationRetrieveUsageResponse, type OrganizationRetrieveUsageParams, } from "./organization.js";
|
|
9
|
+
export { Organization, type OrganizationRetrieveResponse, type OrganizationRetrieveUsageResponse, type OrganizationRetrieveUsageParams, } from "./organization/organization.js";
|
|
10
10
|
export { RealtimeSessions, type DeprecatedLivekit, type RealtimeSessionCreateResponse, type RealtimeSessionRetrieveResponse, type RealtimeSessionCreateParams, } from "./realtime-sessions.js";
|
|
11
11
|
export { Recipes, type RecipeAdLocalizationResponse, type RecipeMarketingStockImageResponse, type RecipeMultiShotVideoResponse, type RecipeProductAdResponse, type RecipeProductCampaignImageResponse, type RecipeProductSwapResponse, type RecipeProductUgcResponse, type RecipeAdLocalizationParams, type RecipeMarketingStockImageParams, type RecipeMultiShotVideoParams, type RecipeProductAdParams, type RecipeProductCampaignImageParams, type RecipeProductSwapParams, type RecipeProductUgcParams, } from "./recipes.js";
|
|
12
|
-
export { Routers, type RouterCreateResponse, type RouterRetrieveResponse, type RouterUpdateResponse, type RouterListResponse, type RouterCreateParams, type RouterUpdateParams, type RouterListParams, type RouterListResponsesCursorPage, } from "./routers.js";
|
|
12
|
+
export { Routers, type RouterCreateResponse, type RouterRetrieveResponse, type RouterUpdateResponse, type RouterListResponse, type RouterListRequestsResponse, type RouterCreateParams, type RouterUpdateParams, type RouterListParams, type RouterListRequestsParams, type RouterListResponsesCursorPage, type RouterListRequestsResponsesCursorPage, } from "./routers.js";
|
|
13
13
|
export { SoundEffect, type SoundEffectCreateResponse, type SoundEffectCreateParams } from "./sound-effect.js";
|
|
14
14
|
export { SpeechToSpeech, type SpeechToSpeechCreateResponse, type SpeechToSpeechCreateParams, } from "./speech-to-speech.js";
|
|
15
15
|
export { Tasks, type TaskRetrieveResponse } from "./tasks.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,yCAAyC,GAC/C,kCAA+B;AAChC,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,2BAAwB;AAC7G,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,GACnC,qBAAkB;AACnB,OAAO,EACL,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,GACtC,mCAAgC;AACjC,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,GACrC,uBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,+BAA4B;AAC/C,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,4BAAyB;AAC1B,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,2BAAwB;AACzB,OAAO,EACL,YAAY,EACZ,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,yCAAyC,GAC/C,kCAA+B;AAChC,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,2BAAwB;AAC7G,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,GACnC,qBAAkB;AACnB,OAAO,EACL,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,GACtC,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