@runwayml/sdk 2.8.3 → 2.9.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 +10 -0
- package/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/index.mjs +3 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/image-to-video.d.ts +19 -3
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization.d.ts +32 -2
- package/resources/organization.d.ts.map +1 -1
- package/resources/text-to-image.d.ts +1 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-video.d.ts +44 -0
- package/resources/text-to-video.d.ts.map +1 -0
- package/resources/text-to-video.js +16 -0
- package/resources/text-to-video.js.map +1 -0
- package/resources/text-to-video.mjs +12 -0
- package/resources/text-to-video.mjs.map +1 -0
- package/src/index.ts +9 -0
- package/src/resources/image-to-video.ts +19 -3
- package/src/resources/index.ts +1 -0
- package/src/resources/organization.ts +48 -5
- package/src/resources/text-to-image.ts +1 -1
- package/src/resources/text-to-video.ts +63 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.9.0 (2025-09-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v2.8.3...v2.9.0](https://github.com/runwayml/sdk-node/compare/v2.8.3...v2.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Update t2v parameters ([b306edc](https://github.com/runwayml/sdk-node/commit/b306edc37de4cca599e302838e2cdb6d366c650b))
|
|
10
|
+
* **api:** Veo3 integration ([f882fe6](https://github.com/runwayml/sdk-node/commit/f882fe69dc5332772d757c9854597aa555b8f108))
|
|
11
|
+
* **client:** Make t2v waitable ([be48f62](https://github.com/runwayml/sdk-node/commit/be48f6283e4bf15a8932cb807287d7da80ae2721))
|
|
12
|
+
|
|
3
13
|
## 2.8.3 (2025-09-09)
|
|
4
14
|
|
|
5
15
|
Full Changelog: [v2.8.2...v2.8.3](https://github.com/runwayml/sdk-node/compare/v2.8.2...v2.8.3)
|
package/index.d.mts
CHANGED
|
@@ -8,6 +8,7 @@ import { ImageToVideo, ImageToVideoCreateParams, ImageToVideoCreateResponse } fr
|
|
|
8
8
|
import { Organization, OrganizationRetrieveResponse, OrganizationRetrieveUsageParams, OrganizationRetrieveUsageResponse } from "./resources/organization.js";
|
|
9
9
|
import { TaskRetrieveResponse, Tasks } from "./resources/tasks.js";
|
|
10
10
|
import { TextToImage, TextToImageCreateParams, TextToImageCreateResponse } from "./resources/text-to-image.js";
|
|
11
|
+
import { TextToVideo, TextToVideoCreateParams, TextToVideoCreateResponse } from "./resources/text-to-video.js";
|
|
11
12
|
import { VideoToVideo, VideoToVideoCreateParams, VideoToVideoCreateResponse } from "./resources/video-to-video.js";
|
|
12
13
|
import { VideoUpscale, VideoUpscaleCreateParams, VideoUpscaleCreateResponse } from "./resources/video-upscale.js";
|
|
13
14
|
export interface ClientOptions {
|
|
@@ -93,6 +94,7 @@ export declare class RunwayML extends Core.APIClient {
|
|
|
93
94
|
tasks: API.Tasks;
|
|
94
95
|
imageToVideo: API.ImageToVideo;
|
|
95
96
|
videoToVideo: API.VideoToVideo;
|
|
97
|
+
textToVideo: API.TextToVideo;
|
|
96
98
|
textToImage: API.TextToImage;
|
|
97
99
|
videoUpscale: API.VideoUpscale;
|
|
98
100
|
characterPerformance: API.CharacterPerformance;
|
|
@@ -123,6 +125,7 @@ export declare namespace RunwayML {
|
|
|
123
125
|
export { Tasks as Tasks, type TaskRetrieveResponse as TaskRetrieveResponse };
|
|
124
126
|
export { ImageToVideo as ImageToVideo, type ImageToVideoCreateResponse as ImageToVideoCreateResponse, type ImageToVideoCreateParams as ImageToVideoCreateParams, };
|
|
125
127
|
export { VideoToVideo as VideoToVideo, type VideoToVideoCreateResponse as VideoToVideoCreateResponse, type VideoToVideoCreateParams as VideoToVideoCreateParams, };
|
|
128
|
+
export { TextToVideo as TextToVideo, type TextToVideoCreateResponse as TextToVideoCreateResponse, type TextToVideoCreateParams as TextToVideoCreateParams, };
|
|
126
129
|
export { TextToImage as TextToImage, type TextToImageCreateResponse as TextToImageCreateResponse, type TextToImageCreateParams as TextToImageCreateParams, };
|
|
127
130
|
export { VideoUpscale as VideoUpscale, type VideoUpscaleCreateResponse as VideoUpscaleCreateResponse, type VideoUpscaleCreateParams as VideoUpscaleCreateParams, };
|
|
128
131
|
export { CharacterPerformance as CharacterPerformance, type CharacterPerformanceCreateResponse as CharacterPerformanceCreateResponse, type CharacterPerformanceCreateParams as CharacterPerformanceCreateParams, };
|
package/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ImageToVideo, ImageToVideoCreateParams, ImageToVideoCreateResponse } fr
|
|
|
8
8
|
import { Organization, OrganizationRetrieveResponse, OrganizationRetrieveUsageParams, OrganizationRetrieveUsageResponse } from "./resources/organization.js";
|
|
9
9
|
import { TaskRetrieveResponse, Tasks } from "./resources/tasks.js";
|
|
10
10
|
import { TextToImage, TextToImageCreateParams, TextToImageCreateResponse } from "./resources/text-to-image.js";
|
|
11
|
+
import { TextToVideo, TextToVideoCreateParams, TextToVideoCreateResponse } from "./resources/text-to-video.js";
|
|
11
12
|
import { VideoToVideo, VideoToVideoCreateParams, VideoToVideoCreateResponse } from "./resources/video-to-video.js";
|
|
12
13
|
import { VideoUpscale, VideoUpscaleCreateParams, VideoUpscaleCreateResponse } from "./resources/video-upscale.js";
|
|
13
14
|
export interface ClientOptions {
|
|
@@ -93,6 +94,7 @@ export declare class RunwayML extends Core.APIClient {
|
|
|
93
94
|
tasks: API.Tasks;
|
|
94
95
|
imageToVideo: API.ImageToVideo;
|
|
95
96
|
videoToVideo: API.VideoToVideo;
|
|
97
|
+
textToVideo: API.TextToVideo;
|
|
96
98
|
textToImage: API.TextToImage;
|
|
97
99
|
videoUpscale: API.VideoUpscale;
|
|
98
100
|
characterPerformance: API.CharacterPerformance;
|
|
@@ -123,6 +125,7 @@ export declare namespace RunwayML {
|
|
|
123
125
|
export { Tasks as Tasks, type TaskRetrieveResponse as TaskRetrieveResponse };
|
|
124
126
|
export { ImageToVideo as ImageToVideo, type ImageToVideoCreateResponse as ImageToVideoCreateResponse, type ImageToVideoCreateParams as ImageToVideoCreateParams, };
|
|
125
127
|
export { VideoToVideo as VideoToVideo, type VideoToVideoCreateResponse as VideoToVideoCreateResponse, type VideoToVideoCreateParams as VideoToVideoCreateParams, };
|
|
128
|
+
export { TextToVideo as TextToVideo, type TextToVideoCreateResponse as TextToVideoCreateResponse, type TextToVideoCreateParams as TextToVideoCreateParams, };
|
|
126
129
|
export { TextToImage as TextToImage, type TextToImageCreateResponse as TextToImageCreateResponse, type TextToImageCreateParams as TextToImageCreateParams, };
|
|
127
130
|
export { VideoUpscale as VideoUpscale, type VideoUpscaleCreateResponse as VideoUpscaleCreateResponse, type VideoUpscaleCreateParams as VideoUpscaleCreateParams, };
|
|
128
131
|
export { CharacterPerformance as CharacterPerformance, type CharacterPerformanceCreateResponse as CharacterPerformanceCreateResponse, type CharacterPerformanceCreateParams as CharacterPerformanceCreateParams, };
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK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,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,oBAAoB,IAAI,oBAAoB,EAC5C,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EACL,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEzG,eAAe,QAAQ,CAAC"}
|
package/index.js
CHANGED
|
@@ -35,6 +35,7 @@ const image_to_video_1 = require("./resources/image-to-video.js");
|
|
|
35
35
|
const organization_1 = require("./resources/organization.js");
|
|
36
36
|
const tasks_1 = require("./resources/tasks.js");
|
|
37
37
|
const text_to_image_1 = require("./resources/text-to-image.js");
|
|
38
|
+
const text_to_video_1 = require("./resources/text-to-video.js");
|
|
38
39
|
const video_to_video_1 = require("./resources/video-to-video.js");
|
|
39
40
|
const video_upscale_1 = require("./resources/video-upscale.js");
|
|
40
41
|
/**
|
|
@@ -79,6 +80,7 @@ class RunwayML extends Core.APIClient {
|
|
|
79
80
|
this.tasks = new API.Tasks(this);
|
|
80
81
|
this.imageToVideo = new API.ImageToVideo(this);
|
|
81
82
|
this.videoToVideo = new API.VideoToVideo(this);
|
|
83
|
+
this.textToVideo = new API.TextToVideo(this);
|
|
82
84
|
this.textToImage = new API.TextToImage(this);
|
|
83
85
|
this.videoUpscale = new API.VideoUpscale(this);
|
|
84
86
|
this.characterPerformance = new API.CharacterPerformance(this);
|
|
@@ -125,6 +127,7 @@ RunwayML.fileFromPath = Uploads.fileFromPath;
|
|
|
125
127
|
RunwayML.Tasks = tasks_1.Tasks;
|
|
126
128
|
RunwayML.ImageToVideo = image_to_video_1.ImageToVideo;
|
|
127
129
|
RunwayML.VideoToVideo = video_to_video_1.VideoToVideo;
|
|
130
|
+
RunwayML.TextToVideo = text_to_video_1.TextToVideo;
|
|
128
131
|
RunwayML.TextToImage = text_to_image_1.TextToImage;
|
|
129
132
|
RunwayML.VideoUpscale = video_upscale_1.VideoUpscale;
|
|
130
133
|
RunwayML.CharacterPerformance = character_performance_1.CharacterPerformance;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,sDAAqC;AACrC,0DAAyC;AACzC,gFAI2C;AAC3C,kEAIoC;AACpC,8DAKkC;AAClC,gDAAgE;AAChE,gEAA4G;AAC5G,kEAIoC;AACpC,gEAImC;AAqEnC;;GAEG;AACH,MAAa,QAAS,SAAQ,IAAI,CAAC,SAAS;IAM1C;;;;;;;;;;;;OAYG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,EAC3C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,qBAA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iB,OAAA;AACjB,sGAAA,aAAa,OAAA;AACb,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,4GAAA,mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA;AAG1B,4CAAyG;AAAhG,0GAAA,eAAe,OAAA;AAAE,4GAAA,iBAAiB,OAAA;AAA4B,qGAAA,UAAU,OAAA;AAEjF,kBAAe,QAAQ,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -9,6 +9,7 @@ import { ImageToVideo, } from "./resources/image-to-video.mjs";
|
|
|
9
9
|
import { Organization, } from "./resources/organization.mjs";
|
|
10
10
|
import { Tasks } from "./resources/tasks.mjs";
|
|
11
11
|
import { TextToImage } from "./resources/text-to-image.mjs";
|
|
12
|
+
import { TextToVideo } from "./resources/text-to-video.mjs";
|
|
12
13
|
import { VideoToVideo, } from "./resources/video-to-video.mjs";
|
|
13
14
|
import { VideoUpscale, } from "./resources/video-upscale.mjs";
|
|
14
15
|
/**
|
|
@@ -53,6 +54,7 @@ export class RunwayML extends Core.APIClient {
|
|
|
53
54
|
this.tasks = new API.Tasks(this);
|
|
54
55
|
this.imageToVideo = new API.ImageToVideo(this);
|
|
55
56
|
this.videoToVideo = new API.VideoToVideo(this);
|
|
57
|
+
this.textToVideo = new API.TextToVideo(this);
|
|
56
58
|
this.textToImage = new API.TextToImage(this);
|
|
57
59
|
this.videoUpscale = new API.VideoUpscale(this);
|
|
58
60
|
this.characterPerformance = new API.CharacterPerformance(this);
|
|
@@ -98,6 +100,7 @@ RunwayML.fileFromPath = Uploads.fileFromPath;
|
|
|
98
100
|
RunwayML.Tasks = Tasks;
|
|
99
101
|
RunwayML.ImageToVideo = ImageToVideo;
|
|
100
102
|
RunwayML.VideoToVideo = VideoToVideo;
|
|
103
|
+
RunwayML.TextToVideo = TextToVideo;
|
|
101
104
|
RunwayML.TextToImage = TextToImage;
|
|
102
105
|
RunwayML.VideoUpscale = VideoUpscale;
|
|
103
106
|
RunwayML.CharacterPerformance = CharacterPerformance;
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,IAAI;OACT,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EACL,oBAAoB,GAGrB;OACM,EACL,YAAY,GAGb;OACM,EACL,YAAY,GAIb;OACM,EAAwB,KAAK,EAAE;OAC/B,EAAE,WAAW,EAAsD;OACnE,EACL,YAAY,GAGb;OACM,EACL,YAAY,GAGb;AAqED;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,IAAI,CAAC,SAAS;IAM1C;;;;;;;;;;;;OAYG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,EAC3C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAC5C,aAAa,GAAG,YAAY,EAC5B,GAAG,IAAI,KACU,EAAE;QACnB,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,MAAM,IAAI,MAAM,CAAC,aAAa,CAC5B,6LAA6L,CAC9L,CAAC;SACH;QAED,MAAM,OAAO,GAAkB;YAC7B,MAAM;YACN,aAAa;YACb,GAAG,IAAI;YACP,OAAO,EAAE,OAAO,IAAI,8BAA8B;SACnD,CAAC;QAEF,IAAI,IAAI,CAAC,kBAAkB,EAAE,EAAE;YAC7B,MAAM,IAAI,MAAM,CAAC,aAAa,CAC5B,kRAAkR,CACnR,CAAC;SACH;QAED,KAAK,CAAC;YACJ,OAAO,EAAE,OAAO,CAAC,OAAQ;YACzB,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,KAAK,8BAA8B,CAAC,CAAC,CAAC,KAAK;YAC/E,OAAO,EAAE,OAAO,CAAC,OA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ACrD,iCAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAE3D,eAAM,GAAG,OAAO,CAAC,MAAM,CAAC;AACxB,qBAAY,GAAG,OAAO,CAAC,YAAY,CAAC;AAG7C,QAAQ,CAAC,KAAK,GAAG,KAAK,CAAC;AACvB,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,WAAW,GAAG,WAAW,CAAC;AACnC,QAAQ,CAAC,WAAW,GAAG,WAAW,CAAC;AACnC,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;AACrD,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;OAmD9B,EAAE,MAAM,EAAE,YAAY,EAAE;OACxB,EACL,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB;OAEM,EAAE,eAAe,EAAE,iBAAiB,EAA4B,UAAU,EAAE;AAEnF,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@ export interface ImageToVideoCreateParams {
|
|
|
18
18
|
/**
|
|
19
19
|
* The model variant to use.
|
|
20
20
|
*/
|
|
21
|
-
model: 'gen3a_turbo' | '
|
|
21
|
+
model: 'gen4_turbo' | 'gen3a_turbo' | 'veo3';
|
|
22
22
|
/**
|
|
23
23
|
* A HTTPS URL or data URI containing an encoded image to be used as the first
|
|
24
24
|
* frame of the generated video. See [our docs](/assets/inputs#images) on image
|
|
@@ -41,16 +41,27 @@ export interface ImageToVideoCreateParams {
|
|
|
41
41
|
*
|
|
42
42
|
* - `1280:768`
|
|
43
43
|
* - `768:1280`
|
|
44
|
+
*
|
|
45
|
+
* `veo3` supports the following values:
|
|
46
|
+
*
|
|
47
|
+
* - `1280:720`
|
|
48
|
+
* - `720:1280`
|
|
44
49
|
*/
|
|
45
50
|
ratio: '1280:720' | '720:1280' | '1104:832' | '832:1104' | '960:960' | '1584:672' | '1280:768' | '768:1280';
|
|
46
51
|
/**
|
|
47
52
|
* Settings that affect the behavior of the content moderation system.
|
|
53
|
+
*
|
|
54
|
+
* `veo3` does not support this parameter.
|
|
55
|
+
*
|
|
56
|
+
* This field is allowed for the following model variants: `gen4_turbo`,
|
|
57
|
+
* `gen3a_turbo`
|
|
48
58
|
*/
|
|
49
59
|
contentModeration?: ImageToVideoCreateParams.ContentModeration;
|
|
50
60
|
/**
|
|
51
|
-
* The number of seconds of duration for the output video.
|
|
61
|
+
* The number of seconds of duration for the output video. `veo3` requires a
|
|
62
|
+
* duration of 8. gen4_turbo, gen3a_turbo must specify a duration of 5 or 10.
|
|
52
63
|
*/
|
|
53
|
-
duration?: 5 | 10;
|
|
64
|
+
duration?: 5 | 8 | 10;
|
|
54
65
|
/**
|
|
55
66
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
56
67
|
* should describe in detail what should appear in the output.
|
|
@@ -81,6 +92,11 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
81
92
|
}
|
|
82
93
|
/**
|
|
83
94
|
* Settings that affect the behavior of the content moderation system.
|
|
95
|
+
*
|
|
96
|
+
* `veo3` does not support this parameter.
|
|
97
|
+
*
|
|
98
|
+
* This field is allowed for the following model variants: `gen4_turbo`,
|
|
99
|
+
* `gen3a_turbo`
|
|
84
100
|
*/
|
|
85
101
|
interface ContentModeration {
|
|
86
102
|
/**
|
|
@@ -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,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,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;IAE/D;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;IAEtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,WAAW;QAC1B;;;;;;WAMG;QACH,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC;QAE3B;;;WAGG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;;;;;;OAOG;IACH,UAAiB,iBAAiB;QAChC;;;WAGG;QACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;KACxC;CACF;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.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { ImageToVideo, type ImageToVideoCreateResponse, type ImageToVideoCreateP
|
|
|
3
3
|
export { Organization, type OrganizationRetrieveResponse, type OrganizationRetrieveUsageResponse, type OrganizationRetrieveUsageParams, } from "./organization.js";
|
|
4
4
|
export { Tasks, type TaskRetrieveResponse } from "./tasks.js";
|
|
5
5
|
export { TextToImage, type TextToImageCreateResponse, type TextToImageCreateParams } from "./text-to-image.js";
|
|
6
|
+
export { TextToVideo, type TextToVideoCreateResponse, type TextToVideoCreateParams } from "./text-to-video.js";
|
|
6
7
|
export { VideoToVideo, type VideoToVideoCreateResponse, type VideoToVideoCreateParams, } from "./video-to-video.js";
|
|
7
8
|
export { VideoUpscale, type VideoUpscaleCreateResponse, type VideoUpscaleCreateParams, } from "./video-upscale.js";
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
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,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,GACtC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,GACtC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,iBAAiB,CAAC"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.VideoUpscale = exports.VideoToVideo = exports.TextToImage = exports.Tasks = exports.Organization = exports.ImageToVideo = exports.CharacterPerformance = void 0;
|
|
4
|
+
exports.VideoUpscale = exports.VideoToVideo = exports.TextToVideo = exports.TextToImage = exports.Tasks = exports.Organization = exports.ImageToVideo = exports.CharacterPerformance = void 0;
|
|
5
5
|
var character_performance_1 = require("./character-performance.js");
|
|
6
6
|
Object.defineProperty(exports, "CharacterPerformance", { enumerable: true, get: function () { return character_performance_1.CharacterPerformance; } });
|
|
7
7
|
var image_to_video_1 = require("./image-to-video.js");
|
|
@@ -12,6 +12,8 @@ var tasks_1 = require("./tasks.js");
|
|
|
12
12
|
Object.defineProperty(exports, "Tasks", { enumerable: true, get: function () { return tasks_1.Tasks; } });
|
|
13
13
|
var text_to_image_1 = require("./text-to-image.js");
|
|
14
14
|
Object.defineProperty(exports, "TextToImage", { enumerable: true, get: function () { return text_to_image_1.TextToImage; } });
|
|
15
|
+
var text_to_video_1 = require("./text-to-video.js");
|
|
16
|
+
Object.defineProperty(exports, "TextToVideo", { enumerable: true, get: function () { return text_to_video_1.TextToVideo; } });
|
|
15
17
|
var video_to_video_1 = require("./video-to-video.js");
|
|
16
18
|
Object.defineProperty(exports, "VideoToVideo", { enumerable: true, get: function () { return video_to_video_1.VideoToVideo; } });
|
|
17
19
|
var video_upscale_1 = require("./video-upscale.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oEAIiC;AAH/B,6HAAA,oBAAoB,OAAA;AAItB,sDAI0B;AAHxB,8GAAA,YAAY,OAAA;AAId,kDAKwB;AAJtB,4GAAA,YAAY,OAAA;AAKd,oCAA2D;AAAlD,8FAAA,KAAK,OAAA;AACd,oDAA4G;AAAnG,4GAAA,WAAW,OAAA;AACpB,sDAI0B;AAHxB,8GAAA,YAAY,OAAA;AAId,oDAIyB;AAHvB,6GAAA,YAAY,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oEAIiC;AAH/B,6HAAA,oBAAoB,OAAA;AAItB,sDAI0B;AAHxB,8GAAA,YAAY,OAAA;AAId,kDAKwB;AAJtB,4GAAA,YAAY,OAAA;AAKd,oCAA2D;AAAlD,8FAAA,KAAK,OAAA;AACd,oDAA4G;AAAnG,4GAAA,WAAW,OAAA;AACpB,oDAA4G;AAAnG,4GAAA,WAAW,OAAA;AACpB,sDAI0B;AAHxB,8GAAA,YAAY,OAAA;AAId,oDAIyB;AAHvB,6GAAA,YAAY,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -4,6 +4,7 @@ export { ImageToVideo, } from "./image-to-video.mjs";
|
|
|
4
4
|
export { Organization, } from "./organization.mjs";
|
|
5
5
|
export { Tasks } from "./tasks.mjs";
|
|
6
6
|
export { TextToImage } from "./text-to-image.mjs";
|
|
7
|
+
export { TextToVideo } from "./text-to-video.mjs";
|
|
7
8
|
export { VideoToVideo, } from "./video-to-video.mjs";
|
|
8
9
|
export { VideoUpscale, } from "./video-upscale.mjs";
|
|
9
10
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,oBAAoB,GAGrB;OACM,EACL,YAAY,GAGb;OACM,EACL,YAAY,GAIb;OACM,EAAE,KAAK,EAA6B;OACpC,EAAE,WAAW,EAAgE;OAC7E,EACL,YAAY,GAGb;OACM,EACL,YAAY,GAGb"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,oBAAoB,GAGrB;OACM,EACL,YAAY,GAGb;OACM,EACL,YAAY,GAIb;OACM,EAAE,KAAK,EAA6B;OACpC,EAAE,WAAW,EAAgE;OAC7E,EAAE,WAAW,EAAgE;OAC7E,EACL,YAAY,GAGb;OACM,EACL,YAAY,GAGb"}
|
|
@@ -75,6 +75,10 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
75
75
|
* Limits associated with the upscale_v1 model.
|
|
76
76
|
*/
|
|
77
77
|
upscale_v1?: Models.UpscaleV1;
|
|
78
|
+
/**
|
|
79
|
+
* Limits associated with the veo3 model.
|
|
80
|
+
*/
|
|
81
|
+
veo3?: Models.Veo3;
|
|
78
82
|
}
|
|
79
83
|
namespace Models {
|
|
80
84
|
/**
|
|
@@ -168,6 +172,19 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
168
172
|
*/
|
|
169
173
|
maxDailyGenerations: number;
|
|
170
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* Limits associated with the veo3 model.
|
|
177
|
+
*/
|
|
178
|
+
interface Veo3 {
|
|
179
|
+
/**
|
|
180
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
181
|
+
*/
|
|
182
|
+
maxConcurrentGenerations: number;
|
|
183
|
+
/**
|
|
184
|
+
* The maximum number of generations that can be created each day for this model.
|
|
185
|
+
*/
|
|
186
|
+
maxDailyGenerations: number;
|
|
187
|
+
}
|
|
171
188
|
}
|
|
172
189
|
}
|
|
173
190
|
/**
|
|
@@ -212,6 +229,10 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
212
229
|
* Usage data for the upscale_v1 model.
|
|
213
230
|
*/
|
|
214
231
|
upscale_v1?: Models.UpscaleV1;
|
|
232
|
+
/**
|
|
233
|
+
* Usage data for the veo3 model.
|
|
234
|
+
*/
|
|
235
|
+
veo3?: Models.Veo3;
|
|
215
236
|
}
|
|
216
237
|
namespace Models {
|
|
217
238
|
/**
|
|
@@ -277,6 +298,15 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
277
298
|
*/
|
|
278
299
|
dailyGenerations: number;
|
|
279
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* Usage data for the veo3 model.
|
|
303
|
+
*/
|
|
304
|
+
interface Veo3 {
|
|
305
|
+
/**
|
|
306
|
+
* The number of generations that have been run for this model in the past day.
|
|
307
|
+
*/
|
|
308
|
+
dailyGenerations: number;
|
|
309
|
+
}
|
|
280
310
|
}
|
|
281
311
|
}
|
|
282
312
|
}
|
|
@@ -284,7 +314,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
284
314
|
/**
|
|
285
315
|
* The list of models with usage during the queried time range.
|
|
286
316
|
*/
|
|
287
|
-
models: Array<'
|
|
317
|
+
models: Array<'act_two' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3'>;
|
|
288
318
|
results: Array<OrganizationRetrieveUsageResponse.Result>;
|
|
289
319
|
}
|
|
290
320
|
export declare namespace OrganizationRetrieveUsageResponse {
|
|
@@ -308,7 +338,7 @@ export declare namespace OrganizationRetrieveUsageResponse {
|
|
|
308
338
|
/**
|
|
309
339
|
* The model whose usage resulted in the credit usage.
|
|
310
340
|
*/
|
|
311
|
-
model: '
|
|
341
|
+
model: 'act_two' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3';
|
|
312
342
|
}
|
|
313
343
|
}
|
|
314
344
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,4BAA4B,CAAC;IAItF;;;;OAIG;IACH,aAAa,CACX,IAAI,CAAC,EAAE,+BAA+B,EACtC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iCAAiC,CAAC;IACrD,aAAa,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iCAAiC,CAAC;CAUjG;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC;IAExC;;OAEG;IACH,KAAK,EAAE,4BAA4B,CAAC,KAAK,CAAC;CAC3C;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACrB;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,MAAM;YACrB;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC;YAExB;;eAEG;YACH,WAAW,CAAC,EAAE,MAAM,CAAC,UA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BAA+B;IAC9C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -17,7 +17,7 @@ export interface TextToImageCreateParams {
|
|
|
17
17
|
/**
|
|
18
18
|
* The model variant to use.
|
|
19
19
|
*/
|
|
20
|
-
model: '
|
|
20
|
+
model: 'gen4_image_turbo' | 'gen4_image';
|
|
21
21
|
/**
|
|
22
22
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
23
23
|
* should describe in detail what should appear in the output.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-image.d.ts","sourceRoot":"","sources":["../src/resources/text-to-image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,2BAA2B,EAA0B,MAAM,gBAAgB,CAAC;AAErF,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"text-to-image.d.ts","sourceRoot":"","sources":["../src/resources/text-to-image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;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,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
import { APIPromiseWithAwaitableTask } from "../lib/polling.js";
|
|
4
|
+
export declare class TextToVideo extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* This endpoint will start a new task to generate a video from a text prompt.
|
|
7
|
+
*/
|
|
8
|
+
create(body: TextToVideoCreateParams, options?: Core.RequestOptions): APIPromiseWithAwaitableTask<TextToVideoCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface TextToVideoCreateResponse {
|
|
11
|
+
/**
|
|
12
|
+
* The ID of the newly created task.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TextToVideoCreateParams {
|
|
17
|
+
/**
|
|
18
|
+
* Veo 3 videos must be 8 seconds long.
|
|
19
|
+
*/
|
|
20
|
+
duration: 8;
|
|
21
|
+
/**
|
|
22
|
+
* The model variant to use.
|
|
23
|
+
*/
|
|
24
|
+
model: 'veo3';
|
|
25
|
+
/**
|
|
26
|
+
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
27
|
+
* should describe in detail what should appear in the output.
|
|
28
|
+
*/
|
|
29
|
+
promptText: string;
|
|
30
|
+
/**
|
|
31
|
+
* A string representing the aspect ratio of the output video.
|
|
32
|
+
*/
|
|
33
|
+
ratio: '1280:720' | '720:1280';
|
|
34
|
+
/**
|
|
35
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
36
|
+
* get different results for the same other request parameters. Using the same seed
|
|
37
|
+
* integer for an identical request will produce similar results.
|
|
38
|
+
*/
|
|
39
|
+
seed?: number;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace TextToVideo {
|
|
42
|
+
export { type TextToVideoCreateResponse as TextToVideoCreateResponse, type TextToVideoCreateParams as TextToVideoCreateParams, };
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=text-to-video.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-video.d.ts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,2BAA2B,EAA0B,MAAM,gBAAgB,CAAC;AAErF,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,EAAE,CAAC,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,UAAU,GAAG,UAAU,CAAC;IAE/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TextToVideo = void 0;
|
|
5
|
+
const resource_1 = require("../resource.js");
|
|
6
|
+
const polling_1 = require("../lib/polling.js");
|
|
7
|
+
class TextToVideo extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* This endpoint will start a new task to generate a video from a text prompt.
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return (0, polling_1.wrapAsWaitableResource)(this._client)(this._client.post('/v1/text_to_video', { body, ...options }));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.TextToVideo = TextToVideo;
|
|
16
|
+
//# sourceMappingURL=text-to-video.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-video.js","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAE1C,+CAAqF;AAErF,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAA,gCAAsB,EAA4B,IAAI,CAAC,OAAO,CAAC,CACpE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF;AAZD,kCAYC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
import { wrapAsWaitableResource } from "../lib/polling.mjs";
|
|
4
|
+
export class TextToVideo extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* This endpoint will start a new task to generate a video from a text prompt.
|
|
7
|
+
*/
|
|
8
|
+
create(body, options) {
|
|
9
|
+
return wrapAsWaitableResource(this._client)(this._client.post('/v1/text_to_video', { body, ...options }));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=text-to-video.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-video.mjs","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAA+B,sBAAsB,EAAE;AAE9D,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,sBAAsB,CAA4B,IAAI,CAAC,OAAO,CAAC,CACpE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF"}
|
package/src/index.ts
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
} from './resources/organization';
|
|
24
24
|
import { TaskRetrieveResponse, Tasks } from './resources/tasks';
|
|
25
25
|
import { TextToImage, TextToImageCreateParams, TextToImageCreateResponse } from './resources/text-to-image';
|
|
26
|
+
import { TextToVideo, TextToVideoCreateParams, TextToVideoCreateResponse } from './resources/text-to-video';
|
|
26
27
|
import {
|
|
27
28
|
VideoToVideo,
|
|
28
29
|
VideoToVideoCreateParams,
|
|
@@ -166,6 +167,7 @@ export class RunwayML extends Core.APIClient {
|
|
|
166
167
|
tasks: API.Tasks = new API.Tasks(this);
|
|
167
168
|
imageToVideo: API.ImageToVideo = new API.ImageToVideo(this);
|
|
168
169
|
videoToVideo: API.VideoToVideo = new API.VideoToVideo(this);
|
|
170
|
+
textToVideo: API.TextToVideo = new API.TextToVideo(this);
|
|
169
171
|
textToImage: API.TextToImage = new API.TextToImage(this);
|
|
170
172
|
videoUpscale: API.VideoUpscale = new API.VideoUpscale(this);
|
|
171
173
|
characterPerformance: API.CharacterPerformance = new API.CharacterPerformance(this);
|
|
@@ -218,6 +220,7 @@ export class RunwayML extends Core.APIClient {
|
|
|
218
220
|
RunwayML.Tasks = Tasks;
|
|
219
221
|
RunwayML.ImageToVideo = ImageToVideo;
|
|
220
222
|
RunwayML.VideoToVideo = VideoToVideo;
|
|
223
|
+
RunwayML.TextToVideo = TextToVideo;
|
|
221
224
|
RunwayML.TextToImage = TextToImage;
|
|
222
225
|
RunwayML.VideoUpscale = VideoUpscale;
|
|
223
226
|
RunwayML.CharacterPerformance = CharacterPerformance;
|
|
@@ -240,6 +243,12 @@ export declare namespace RunwayML {
|
|
|
240
243
|
type VideoToVideoCreateParams as VideoToVideoCreateParams,
|
|
241
244
|
};
|
|
242
245
|
|
|
246
|
+
export {
|
|
247
|
+
TextToVideo as TextToVideo,
|
|
248
|
+
type TextToVideoCreateResponse as TextToVideoCreateResponse,
|
|
249
|
+
type TextToVideoCreateParams as TextToVideoCreateParams,
|
|
250
|
+
};
|
|
251
|
+
|
|
243
252
|
export {
|
|
244
253
|
TextToImage as TextToImage,
|
|
245
254
|
type TextToImageCreateResponse as TextToImageCreateResponse,
|
|
@@ -30,7 +30,7 @@ export interface ImageToVideoCreateParams {
|
|
|
30
30
|
/**
|
|
31
31
|
* The model variant to use.
|
|
32
32
|
*/
|
|
33
|
-
model: 'gen3a_turbo' | '
|
|
33
|
+
model: 'gen4_turbo' | 'gen3a_turbo' | 'veo3';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* A HTTPS URL or data URI containing an encoded image to be used as the first
|
|
@@ -55,18 +55,29 @@ export interface ImageToVideoCreateParams {
|
|
|
55
55
|
*
|
|
56
56
|
* - `1280:768`
|
|
57
57
|
* - `768:1280`
|
|
58
|
+
*
|
|
59
|
+
* `veo3` supports the following values:
|
|
60
|
+
*
|
|
61
|
+
* - `1280:720`
|
|
62
|
+
* - `720:1280`
|
|
58
63
|
*/
|
|
59
64
|
ratio: '1280:720' | '720:1280' | '1104:832' | '832:1104' | '960:960' | '1584:672' | '1280:768' | '768:1280';
|
|
60
65
|
|
|
61
66
|
/**
|
|
62
67
|
* Settings that affect the behavior of the content moderation system.
|
|
68
|
+
*
|
|
69
|
+
* `veo3` does not support this parameter.
|
|
70
|
+
*
|
|
71
|
+
* This field is allowed for the following model variants: `gen4_turbo`,
|
|
72
|
+
* `gen3a_turbo`
|
|
63
73
|
*/
|
|
64
74
|
contentModeration?: ImageToVideoCreateParams.ContentModeration;
|
|
65
75
|
|
|
66
76
|
/**
|
|
67
|
-
* The number of seconds of duration for the output video.
|
|
77
|
+
* The number of seconds of duration for the output video. `veo3` requires a
|
|
78
|
+
* duration of 8. gen4_turbo, gen3a_turbo must specify a duration of 5 or 10.
|
|
68
79
|
*/
|
|
69
|
-
duration?: 5 | 10;
|
|
80
|
+
duration?: 5 | 8 | 10;
|
|
70
81
|
|
|
71
82
|
/**
|
|
72
83
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
@@ -102,6 +113,11 @@ export namespace ImageToVideoCreateParams {
|
|
|
102
113
|
|
|
103
114
|
/**
|
|
104
115
|
* Settings that affect the behavior of the content moderation system.
|
|
116
|
+
*
|
|
117
|
+
* `veo3` does not support this parameter.
|
|
118
|
+
*
|
|
119
|
+
* This field is allowed for the following model variants: `gen4_turbo`,
|
|
120
|
+
* `gen3a_turbo`
|
|
105
121
|
*/
|
|
106
122
|
export interface ContentModeration {
|
|
107
123
|
/**
|
package/src/resources/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ export {
|
|
|
18
18
|
} from './organization';
|
|
19
19
|
export { Tasks, type TaskRetrieveResponse } from './tasks';
|
|
20
20
|
export { TextToImage, type TextToImageCreateResponse, type TextToImageCreateParams } from './text-to-image';
|
|
21
|
+
export { TextToVideo, type TextToVideoCreateResponse, type TextToVideoCreateParams } from './text-to-video';
|
|
21
22
|
export {
|
|
22
23
|
VideoToVideo,
|
|
23
24
|
type VideoToVideoCreateResponse,
|
|
@@ -106,6 +106,11 @@ export namespace OrganizationRetrieveResponse {
|
|
|
106
106
|
* Limits associated with the upscale_v1 model.
|
|
107
107
|
*/
|
|
108
108
|
upscale_v1?: Models.UpscaleV1;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Limits associated with the veo3 model.
|
|
112
|
+
*/
|
|
113
|
+
veo3?: Models.Veo3;
|
|
109
114
|
}
|
|
110
115
|
|
|
111
116
|
export namespace Models {
|
|
@@ -213,6 +218,21 @@ export namespace OrganizationRetrieveResponse {
|
|
|
213
218
|
*/
|
|
214
219
|
maxDailyGenerations: number;
|
|
215
220
|
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Limits associated with the veo3 model.
|
|
224
|
+
*/
|
|
225
|
+
export interface Veo3 {
|
|
226
|
+
/**
|
|
227
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
228
|
+
*/
|
|
229
|
+
maxConcurrentGenerations: number;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The maximum number of generations that can be created each day for this model.
|
|
233
|
+
*/
|
|
234
|
+
maxDailyGenerations: number;
|
|
235
|
+
}
|
|
216
236
|
}
|
|
217
237
|
}
|
|
218
238
|
|
|
@@ -265,6 +285,11 @@ export namespace OrganizationRetrieveResponse {
|
|
|
265
285
|
* Usage data for the upscale_v1 model.
|
|
266
286
|
*/
|
|
267
287
|
upscale_v1?: Models.UpscaleV1;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Usage data for the veo3 model.
|
|
291
|
+
*/
|
|
292
|
+
veo3?: Models.Veo3;
|
|
268
293
|
}
|
|
269
294
|
|
|
270
295
|
export namespace Models {
|
|
@@ -337,6 +362,16 @@ export namespace OrganizationRetrieveResponse {
|
|
|
337
362
|
*/
|
|
338
363
|
dailyGenerations: number;
|
|
339
364
|
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Usage data for the veo3 model.
|
|
368
|
+
*/
|
|
369
|
+
export interface Veo3 {
|
|
370
|
+
/**
|
|
371
|
+
* The number of generations that have been run for this model in the past day.
|
|
372
|
+
*/
|
|
373
|
+
dailyGenerations: number;
|
|
374
|
+
}
|
|
340
375
|
}
|
|
341
376
|
}
|
|
342
377
|
}
|
|
@@ -346,7 +381,14 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
346
381
|
* The list of models with usage during the queried time range.
|
|
347
382
|
*/
|
|
348
383
|
models: Array<
|
|
349
|
-
|
|
384
|
+
| 'act_two'
|
|
385
|
+
| 'gen3a_turbo'
|
|
386
|
+
| 'gen4_aleph'
|
|
387
|
+
| 'gen4_image'
|
|
388
|
+
| 'gen4_image_turbo'
|
|
389
|
+
| 'gen4_turbo'
|
|
390
|
+
| 'upscale_v1'
|
|
391
|
+
| 'veo3'
|
|
350
392
|
>;
|
|
351
393
|
|
|
352
394
|
results: Array<OrganizationRetrieveUsageResponse.Result>;
|
|
@@ -377,13 +419,14 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
377
419
|
* The model whose usage resulted in the credit usage.
|
|
378
420
|
*/
|
|
379
421
|
model:
|
|
380
|
-
| 'upscale_v1'
|
|
381
422
|
| 'act_two'
|
|
382
|
-
| 'gen4_image'
|
|
383
423
|
| 'gen3a_turbo'
|
|
384
|
-
| 'gen4_turbo'
|
|
385
424
|
| 'gen4_aleph'
|
|
386
|
-
| '
|
|
425
|
+
| 'gen4_image'
|
|
426
|
+
| 'gen4_image_turbo'
|
|
427
|
+
| 'gen4_turbo'
|
|
428
|
+
| 'upscale_v1'
|
|
429
|
+
| 'veo3';
|
|
387
430
|
}
|
|
388
431
|
}
|
|
389
432
|
}
|
|
@@ -29,7 +29,7 @@ export interface TextToImageCreateParams {
|
|
|
29
29
|
/**
|
|
30
30
|
* The model variant to use.
|
|
31
31
|
*/
|
|
32
|
-
model: '
|
|
32
|
+
model: 'gen4_image_turbo' | 'gen4_image';
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import * as Core from '../core';
|
|
5
|
+
import { APIPromiseWithAwaitableTask, wrapAsWaitableResource } from '../lib/polling';
|
|
6
|
+
|
|
7
|
+
export class TextToVideo extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* This endpoint will start a new task to generate a video from a text prompt.
|
|
10
|
+
*/
|
|
11
|
+
create(
|
|
12
|
+
body: TextToVideoCreateParams,
|
|
13
|
+
options?: Core.RequestOptions,
|
|
14
|
+
): APIPromiseWithAwaitableTask<TextToVideoCreateResponse> {
|
|
15
|
+
return wrapAsWaitableResource<TextToVideoCreateResponse>(this._client)(
|
|
16
|
+
this._client.post('/v1/text_to_video', { body, ...options }),
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface TextToVideoCreateResponse {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the newly created task.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface TextToVideoCreateParams {
|
|
29
|
+
/**
|
|
30
|
+
* Veo 3 videos must be 8 seconds long.
|
|
31
|
+
*/
|
|
32
|
+
duration: 8;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The model variant to use.
|
|
36
|
+
*/
|
|
37
|
+
model: 'veo3';
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
41
|
+
* should describe in detail what should appear in the output.
|
|
42
|
+
*/
|
|
43
|
+
promptText: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A string representing the aspect ratio of the output video.
|
|
47
|
+
*/
|
|
48
|
+
ratio: '1280:720' | '720:1280';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
52
|
+
* get different results for the same other request parameters. Using the same seed
|
|
53
|
+
* integer for an identical request will produce similar results.
|
|
54
|
+
*/
|
|
55
|
+
seed?: number;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export declare namespace TextToVideo {
|
|
59
|
+
export {
|
|
60
|
+
type TextToVideoCreateResponse as TextToVideoCreateResponse,
|
|
61
|
+
type TextToVideoCreateParams as TextToVideoCreateParams,
|
|
62
|
+
};
|
|
63
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.9.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.9.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|