@runwayml/sdk 2.8.3 → 2.10.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 +18 -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 +15 -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 +62 -2
- package/resources/organization.d.ts.map +1 -1
- package/resources/text-to-image.d.ts +37 -3
- 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 +15 -3
- package/src/resources/index.ts +1 -0
- package/src/resources/organization.ts +85 -5
- package/src/resources/text-to-image.ts +42 -3
- package/src/resources/text-to-video.ts +63 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.10.0 (2025-09-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v2.9.0...v2.10.0](https://github.com/runwayml/sdk-node/compare/v2.9.0...v2.10.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Add Gemini 2.5 Flash Image to t2i ([d4a6bab](https://github.com/runwayml/sdk-node/commit/d4a6bab65c4a49c5497691d7a2095c6f1f57a4d7))
|
|
10
|
+
|
|
11
|
+
## 2.9.0 (2025-09-10)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v2.8.3...v2.9.0](https://github.com/runwayml/sdk-node/compare/v2.8.3...v2.9.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** Update t2v parameters ([b306edc](https://github.com/runwayml/sdk-node/commit/b306edc37de4cca599e302838e2cdb6d366c650b))
|
|
18
|
+
* **api:** Veo3 integration ([f882fe6](https://github.com/runwayml/sdk-node/commit/f882fe69dc5332772d757c9854597aa555b8f108))
|
|
19
|
+
* **client:** Make t2v waitable ([be48f62](https://github.com/runwayml/sdk-node/commit/be48f6283e4bf15a8932cb807287d7da80ae2721))
|
|
20
|
+
|
|
3
21
|
## 2.8.3 (2025-09-09)
|
|
4
22
|
|
|
5
23
|
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,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACL,oBAAoB,EACpB,gCAAgC,EAChC,kCAAkC,EACnC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,+BAA+B,EAC/B,iCAAiC,EAClC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC5G,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE5B,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEpC;;;;;;;;OAQG;IACH,OAAO,CAAC,E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M,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,gDA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,CAAC;AACnC,QAAQ,CAAC,YAAY,GAAG,4BAAY,CAAC;AACrC,QAAQ,CAAC,oBAAoB,GAAG,4CAAoB,CAAC;AACrD,QAAQ,CAAC,YAAY,GAAG,2BAAY,CAAC;AAmDrC,wCAAiD;AAAxC,iGAAA,MAAM,OAAA;AAAE,uGAAA,YAAY,OAAA;AAC7B,oCAciB;AAbf,sGAAA,aAAa,OAAA;AACb,iGAAA,QAAQ,OAAA;AACR,2GAAA,kBAAkB,OAAA;AAClB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,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,GA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|
|
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,25 @@ 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
|
+
* This field is allowed only for the following model variants: `gen4_turbo`,
|
|
55
|
+
* `gen3a_turbo`
|
|
48
56
|
*/
|
|
49
57
|
contentModeration?: ImageToVideoCreateParams.ContentModeration;
|
|
50
58
|
/**
|
|
51
|
-
* The number of seconds of duration for the output video.
|
|
59
|
+
* The number of seconds of duration for the output video. `veo3` requires a
|
|
60
|
+
* duration of 8. gen4_turbo, gen3a_turbo must specify a duration of 5 or 10.
|
|
52
61
|
*/
|
|
53
|
-
duration?: 5 | 10;
|
|
62
|
+
duration?: 5 | 8 | 10;
|
|
54
63
|
/**
|
|
55
64
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
56
65
|
* should describe in detail what should appear in the output.
|
|
@@ -81,6 +90,9 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
81
90
|
}
|
|
82
91
|
/**
|
|
83
92
|
* Settings that affect the behavior of the content moderation system.
|
|
93
|
+
*
|
|
94
|
+
* This field is allowed only for the following model variants: `gen4_turbo`,
|
|
95
|
+
* `gen3a_turbo`
|
|
84
96
|
*/
|
|
85
97
|
interface ContentModeration {
|
|
86
98
|
/**
|
|
@@ -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,2BAA2B,EAA0B,MAAM,gBAAgB,CAAC;AAErF,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,EAAE,aAAa,GAAG,
|
|
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,2BAA2B,EAA0B,MAAM,gBAAgB,CAAC;AAErF,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,EAAE,YAAY,GAAG,aAAa,GAAG,MAAM,CAAC;IAE7C;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAElE;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;IAE5G;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,wBAAwB,CAAC,iBAAiB,CAAC;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;;;;;OAKG;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"}
|
|
@@ -51,6 +51,10 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
51
51
|
* Limits associated with the act_two model.
|
|
52
52
|
*/
|
|
53
53
|
act_two?: Models.ActTwo;
|
|
54
|
+
/**
|
|
55
|
+
* Limits associated with the gemini_2.5_flash model.
|
|
56
|
+
*/
|
|
57
|
+
'gemini_2.5_flash'?: Models.Gemini2_5Flash;
|
|
54
58
|
/**
|
|
55
59
|
* Limits associated with the gen3a_turbo model.
|
|
56
60
|
*/
|
|
@@ -75,6 +79,10 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
75
79
|
* Limits associated with the upscale_v1 model.
|
|
76
80
|
*/
|
|
77
81
|
upscale_v1?: Models.UpscaleV1;
|
|
82
|
+
/**
|
|
83
|
+
* Limits associated with the veo3 model.
|
|
84
|
+
*/
|
|
85
|
+
veo3?: Models.Veo3;
|
|
78
86
|
}
|
|
79
87
|
namespace Models {
|
|
80
88
|
/**
|
|
@@ -90,6 +98,19 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
90
98
|
*/
|
|
91
99
|
maxDailyGenerations: number;
|
|
92
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Limits associated with the gemini_2.5_flash model.
|
|
103
|
+
*/
|
|
104
|
+
interface Gemini2_5Flash {
|
|
105
|
+
/**
|
|
106
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
107
|
+
*/
|
|
108
|
+
maxConcurrentGenerations: number;
|
|
109
|
+
/**
|
|
110
|
+
* The maximum number of generations that can be created each day for this model.
|
|
111
|
+
*/
|
|
112
|
+
maxDailyGenerations: number;
|
|
113
|
+
}
|
|
93
114
|
/**
|
|
94
115
|
* Limits associated with the gen3a_turbo model.
|
|
95
116
|
*/
|
|
@@ -168,6 +189,19 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
168
189
|
*/
|
|
169
190
|
maxDailyGenerations: number;
|
|
170
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* Limits associated with the veo3 model.
|
|
194
|
+
*/
|
|
195
|
+
interface Veo3 {
|
|
196
|
+
/**
|
|
197
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
198
|
+
*/
|
|
199
|
+
maxConcurrentGenerations: number;
|
|
200
|
+
/**
|
|
201
|
+
* The maximum number of generations that can be created each day for this model.
|
|
202
|
+
*/
|
|
203
|
+
maxDailyGenerations: number;
|
|
204
|
+
}
|
|
171
205
|
}
|
|
172
206
|
}
|
|
173
207
|
/**
|
|
@@ -188,6 +222,10 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
188
222
|
* Usage data for the act_two model.
|
|
189
223
|
*/
|
|
190
224
|
act_two?: Models.ActTwo;
|
|
225
|
+
/**
|
|
226
|
+
* Usage data for the gemini_2.5_flash model.
|
|
227
|
+
*/
|
|
228
|
+
'gemini_2.5_flash'?: Models.Gemini2_5Flash;
|
|
191
229
|
/**
|
|
192
230
|
* Usage data for the gen3a_turbo model.
|
|
193
231
|
*/
|
|
@@ -212,6 +250,10 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
212
250
|
* Usage data for the upscale_v1 model.
|
|
213
251
|
*/
|
|
214
252
|
upscale_v1?: Models.UpscaleV1;
|
|
253
|
+
/**
|
|
254
|
+
* Usage data for the veo3 model.
|
|
255
|
+
*/
|
|
256
|
+
veo3?: Models.Veo3;
|
|
215
257
|
}
|
|
216
258
|
namespace Models {
|
|
217
259
|
/**
|
|
@@ -223,6 +265,15 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
223
265
|
*/
|
|
224
266
|
dailyGenerations: number;
|
|
225
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* Usage data for the gemini_2.5_flash model.
|
|
270
|
+
*/
|
|
271
|
+
interface Gemini2_5Flash {
|
|
272
|
+
/**
|
|
273
|
+
* The number of generations that have been run for this model in the past day.
|
|
274
|
+
*/
|
|
275
|
+
dailyGenerations: number;
|
|
276
|
+
}
|
|
226
277
|
/**
|
|
227
278
|
* Usage data for the gen3a_turbo model.
|
|
228
279
|
*/
|
|
@@ -277,6 +328,15 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
277
328
|
*/
|
|
278
329
|
dailyGenerations: number;
|
|
279
330
|
}
|
|
331
|
+
/**
|
|
332
|
+
* Usage data for the veo3 model.
|
|
333
|
+
*/
|
|
334
|
+
interface Veo3 {
|
|
335
|
+
/**
|
|
336
|
+
* The number of generations that have been run for this model in the past day.
|
|
337
|
+
*/
|
|
338
|
+
dailyGenerations: number;
|
|
339
|
+
}
|
|
280
340
|
}
|
|
281
341
|
}
|
|
282
342
|
}
|
|
@@ -284,7 +344,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
284
344
|
/**
|
|
285
345
|
* The list of models with usage during the queried time range.
|
|
286
346
|
*/
|
|
287
|
-
models: Array<'
|
|
347
|
+
models: Array<'act_two' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3'>;
|
|
288
348
|
results: Array<OrganizationRetrieveUsageResponse.Result>;
|
|
289
349
|
}
|
|
290
350
|
export declare namespace OrganizationRetrieveUsageResponse {
|
|
@@ -308,7 +368,7 @@ export declare namespace OrganizationRetrieveUsageResponse {
|
|
|
308
368
|
/**
|
|
309
369
|
* The model whose usage resulted in the credit usage.
|
|
310
370
|
*/
|
|
311
|
-
model: '
|
|
371
|
+
model: 'act_two' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3';
|
|
312
372
|
}
|
|
313
373
|
}
|
|
314
374
|
}
|
|
@@ -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;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ToImageCreateParams {
|
|
|
17
17
|
/**
|
|
18
18
|
* The model variant to use.
|
|
19
19
|
*/
|
|
20
|
-
model: 'gen4_image' | '
|
|
20
|
+
model: 'gen4_image_turbo' | 'gen4_image' | 'gemini_2.5_flash';
|
|
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.
|
|
24
24
|
*/
|
|
25
25
|
promptText: string;
|
|
26
26
|
/**
|
|
27
|
-
* The resolution of the output image
|
|
27
|
+
* The resolution of the output image.
|
|
28
|
+
*
|
|
29
|
+
* `gen4_image_turbo`, `gen4_image` support the following values:
|
|
30
|
+
*
|
|
31
|
+
* - `1920:1080`
|
|
32
|
+
* - `1080:1920`
|
|
33
|
+
* - `1024:1024`
|
|
34
|
+
* - `1360:768`
|
|
35
|
+
* - `1080:1080`
|
|
36
|
+
* - `1168:880`
|
|
37
|
+
* - `1440:1080`
|
|
38
|
+
* - `1080:1440`
|
|
39
|
+
* - `1808:768`
|
|
40
|
+
* - `2112:912`
|
|
41
|
+
* - `1280:720`
|
|
42
|
+
* - `720:1280`
|
|
43
|
+
* - `720:720`
|
|
44
|
+
* - `960:720`
|
|
45
|
+
* - `720:960`
|
|
46
|
+
* - `1680:720`
|
|
47
|
+
*
|
|
48
|
+
* `gemini_2.5_flash` supports the following values:
|
|
49
|
+
*
|
|
50
|
+
* - `1344:768`
|
|
51
|
+
* - `768:1344`
|
|
52
|
+
* - `1024:1024`
|
|
53
|
+
* - `1184:864`
|
|
54
|
+
* - `864:1184`
|
|
55
|
+
* - `1536:672`
|
|
28
56
|
*/
|
|
29
|
-
ratio: '1920:1080' | '1080:1920' | '1024:1024' | '1360:768' | '1080:1080' | '1168:880' | '1440:1080' | '1080:1440' | '1808:768' | '2112:912' | '1280:720' | '720:1280' | '720:720' | '960:720' | '720:960' | '1680:720';
|
|
57
|
+
ratio: '1920:1080' | '1080:1920' | '1024:1024' | '1360:768' | '1080:1080' | '1168:880' | '1440:1080' | '1080:1440' | '1808:768' | '2112:912' | '1280:720' | '720:1280' | '720:720' | '960:720' | '720:960' | '1680:720' | '1344:768' | '768:1344' | '1184:864' | '864:1184' | '1536:672';
|
|
30
58
|
/**
|
|
31
59
|
* Settings that affect the behavior of the content moderation system.
|
|
60
|
+
*
|
|
61
|
+
* This field is allowed only for the following model variants: `gen4_image_turbo`,
|
|
62
|
+
* `gen4_image`
|
|
32
63
|
*/
|
|
33
64
|
contentModeration?: TextToImageCreateParams.ContentModeration;
|
|
34
65
|
/**
|
|
@@ -48,6 +79,9 @@ export interface TextToImageCreateParams {
|
|
|
48
79
|
export declare namespace TextToImageCreateParams {
|
|
49
80
|
/**
|
|
50
81
|
* Settings that affect the behavior of the content moderation system.
|
|
82
|
+
*
|
|
83
|
+
* This field is allowed only for the following model variants: `gen4_image_turbo`,
|
|
84
|
+
* `gen4_image`
|
|
51
85
|
*/
|
|
52
86
|
interface ContentModeration {
|
|
53
87
|
/**
|
|
@@ -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,YAAY,GAAG,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"text-to-image.d.ts","sourceRo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QAC7B;;;;WAIG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;;;;WAKG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;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,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,27 @@ 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
|
+
* This field is allowed only for the following model variants: `gen4_turbo`,
|
|
70
|
+
* `gen3a_turbo`
|
|
63
71
|
*/
|
|
64
72
|
contentModeration?: ImageToVideoCreateParams.ContentModeration;
|
|
65
73
|
|
|
66
74
|
/**
|
|
67
|
-
* The number of seconds of duration for the output video.
|
|
75
|
+
* The number of seconds of duration for the output video. `veo3` requires a
|
|
76
|
+
* duration of 8. gen4_turbo, gen3a_turbo must specify a duration of 5 or 10.
|
|
68
77
|
*/
|
|
69
|
-
duration?: 5 | 10;
|
|
78
|
+
duration?: 5 | 8 | 10;
|
|
70
79
|
|
|
71
80
|
/**
|
|
72
81
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
@@ -102,6 +111,9 @@ export namespace ImageToVideoCreateParams {
|
|
|
102
111
|
|
|
103
112
|
/**
|
|
104
113
|
* Settings that affect the behavior of the content moderation system.
|
|
114
|
+
*
|
|
115
|
+
* This field is allowed only for the following model variants: `gen4_turbo`,
|
|
116
|
+
* `gen3a_turbo`
|
|
105
117
|
*/
|
|
106
118
|
export interface ContentModeration {
|
|
107
119
|
/**
|
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,
|
|
@@ -77,6 +77,11 @@ export namespace OrganizationRetrieveResponse {
|
|
|
77
77
|
*/
|
|
78
78
|
act_two?: Models.ActTwo;
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* Limits associated with the gemini_2.5_flash model.
|
|
82
|
+
*/
|
|
83
|
+
'gemini_2.5_flash'?: Models.Gemini2_5Flash;
|
|
84
|
+
|
|
80
85
|
/**
|
|
81
86
|
* Limits associated with the gen3a_turbo model.
|
|
82
87
|
*/
|
|
@@ -106,6 +111,11 @@ export namespace OrganizationRetrieveResponse {
|
|
|
106
111
|
* Limits associated with the upscale_v1 model.
|
|
107
112
|
*/
|
|
108
113
|
upscale_v1?: Models.UpscaleV1;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Limits associated with the veo3 model.
|
|
117
|
+
*/
|
|
118
|
+
veo3?: Models.Veo3;
|
|
109
119
|
}
|
|
110
120
|
|
|
111
121
|
export namespace Models {
|
|
@@ -124,6 +134,21 @@ export namespace OrganizationRetrieveResponse {
|
|
|
124
134
|
maxDailyGenerations: number;
|
|
125
135
|
}
|
|
126
136
|
|
|
137
|
+
/**
|
|
138
|
+
* Limits associated with the gemini_2.5_flash model.
|
|
139
|
+
*/
|
|
140
|
+
export interface Gemini2_5Flash {
|
|
141
|
+
/**
|
|
142
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
143
|
+
*/
|
|
144
|
+
maxConcurrentGenerations: number;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The maximum number of generations that can be created each day for this model.
|
|
148
|
+
*/
|
|
149
|
+
maxDailyGenerations: number;
|
|
150
|
+
}
|
|
151
|
+
|
|
127
152
|
/**
|
|
128
153
|
* Limits associated with the gen3a_turbo model.
|
|
129
154
|
*/
|
|
@@ -213,6 +238,21 @@ export namespace OrganizationRetrieveResponse {
|
|
|
213
238
|
*/
|
|
214
239
|
maxDailyGenerations: number;
|
|
215
240
|
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Limits associated with the veo3 model.
|
|
244
|
+
*/
|
|
245
|
+
export interface Veo3 {
|
|
246
|
+
/**
|
|
247
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
248
|
+
*/
|
|
249
|
+
maxConcurrentGenerations: number;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* The maximum number of generations that can be created each day for this model.
|
|
253
|
+
*/
|
|
254
|
+
maxDailyGenerations: number;
|
|
255
|
+
}
|
|
216
256
|
}
|
|
217
257
|
}
|
|
218
258
|
|
|
@@ -236,6 +276,11 @@ export namespace OrganizationRetrieveResponse {
|
|
|
236
276
|
*/
|
|
237
277
|
act_two?: Models.ActTwo;
|
|
238
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Usage data for the gemini_2.5_flash model.
|
|
281
|
+
*/
|
|
282
|
+
'gemini_2.5_flash'?: Models.Gemini2_5Flash;
|
|
283
|
+
|
|
239
284
|
/**
|
|
240
285
|
* Usage data for the gen3a_turbo model.
|
|
241
286
|
*/
|
|
@@ -265,6 +310,11 @@ export namespace OrganizationRetrieveResponse {
|
|
|
265
310
|
* Usage data for the upscale_v1 model.
|
|
266
311
|
*/
|
|
267
312
|
upscale_v1?: Models.UpscaleV1;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Usage data for the veo3 model.
|
|
316
|
+
*/
|
|
317
|
+
veo3?: Models.Veo3;
|
|
268
318
|
}
|
|
269
319
|
|
|
270
320
|
export namespace Models {
|
|
@@ -278,6 +328,16 @@ export namespace OrganizationRetrieveResponse {
|
|
|
278
328
|
dailyGenerations: number;
|
|
279
329
|
}
|
|
280
330
|
|
|
331
|
+
/**
|
|
332
|
+
* Usage data for the gemini_2.5_flash model.
|
|
333
|
+
*/
|
|
334
|
+
export interface Gemini2_5Flash {
|
|
335
|
+
/**
|
|
336
|
+
* The number of generations that have been run for this model in the past day.
|
|
337
|
+
*/
|
|
338
|
+
dailyGenerations: number;
|
|
339
|
+
}
|
|
340
|
+
|
|
281
341
|
/**
|
|
282
342
|
* Usage data for the gen3a_turbo model.
|
|
283
343
|
*/
|
|
@@ -337,6 +397,16 @@ export namespace OrganizationRetrieveResponse {
|
|
|
337
397
|
*/
|
|
338
398
|
dailyGenerations: number;
|
|
339
399
|
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Usage data for the veo3 model.
|
|
403
|
+
*/
|
|
404
|
+
export interface Veo3 {
|
|
405
|
+
/**
|
|
406
|
+
* The number of generations that have been run for this model in the past day.
|
|
407
|
+
*/
|
|
408
|
+
dailyGenerations: number;
|
|
409
|
+
}
|
|
340
410
|
}
|
|
341
411
|
}
|
|
342
412
|
}
|
|
@@ -346,7 +416,15 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
346
416
|
* The list of models with usage during the queried time range.
|
|
347
417
|
*/
|
|
348
418
|
models: Array<
|
|
349
|
-
|
|
419
|
+
| 'act_two'
|
|
420
|
+
| 'gemini_2.5_flash'
|
|
421
|
+
| 'gen3a_turbo'
|
|
422
|
+
| 'gen4_aleph'
|
|
423
|
+
| 'gen4_image'
|
|
424
|
+
| 'gen4_image_turbo'
|
|
425
|
+
| 'gen4_turbo'
|
|
426
|
+
| 'upscale_v1'
|
|
427
|
+
| 'veo3'
|
|
350
428
|
>;
|
|
351
429
|
|
|
352
430
|
results: Array<OrganizationRetrieveUsageResponse.Result>;
|
|
@@ -377,13 +455,15 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
377
455
|
* The model whose usage resulted in the credit usage.
|
|
378
456
|
*/
|
|
379
457
|
model:
|
|
380
|
-
| 'upscale_v1'
|
|
381
458
|
| 'act_two'
|
|
382
|
-
| '
|
|
459
|
+
| 'gemini_2.5_flash'
|
|
383
460
|
| 'gen3a_turbo'
|
|
384
|
-
| 'gen4_turbo'
|
|
385
461
|
| 'gen4_aleph'
|
|
386
|
-
| '
|
|
462
|
+
| 'gen4_image'
|
|
463
|
+
| 'gen4_image_turbo'
|
|
464
|
+
| 'gen4_turbo'
|
|
465
|
+
| 'upscale_v1'
|
|
466
|
+
| 'veo3';
|
|
387
467
|
}
|
|
388
468
|
}
|
|
389
469
|
}
|
|
@@ -29,7 +29,7 @@ export interface TextToImageCreateParams {
|
|
|
29
29
|
/**
|
|
30
30
|
* The model variant to use.
|
|
31
31
|
*/
|
|
32
|
-
model: 'gen4_image' | '
|
|
32
|
+
model: 'gen4_image_turbo' | 'gen4_image' | 'gemini_2.5_flash';
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
@@ -38,7 +38,35 @@ export interface TextToImageCreateParams {
|
|
|
38
38
|
promptText: string;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* The resolution of the output image
|
|
41
|
+
* The resolution of the output image.
|
|
42
|
+
*
|
|
43
|
+
* `gen4_image_turbo`, `gen4_image` support the following values:
|
|
44
|
+
*
|
|
45
|
+
* - `1920:1080`
|
|
46
|
+
* - `1080:1920`
|
|
47
|
+
* - `1024:1024`
|
|
48
|
+
* - `1360:768`
|
|
49
|
+
* - `1080:1080`
|
|
50
|
+
* - `1168:880`
|
|
51
|
+
* - `1440:1080`
|
|
52
|
+
* - `1080:1440`
|
|
53
|
+
* - `1808:768`
|
|
54
|
+
* - `2112:912`
|
|
55
|
+
* - `1280:720`
|
|
56
|
+
* - `720:1280`
|
|
57
|
+
* - `720:720`
|
|
58
|
+
* - `960:720`
|
|
59
|
+
* - `720:960`
|
|
60
|
+
* - `1680:720`
|
|
61
|
+
*
|
|
62
|
+
* `gemini_2.5_flash` supports the following values:
|
|
63
|
+
*
|
|
64
|
+
* - `1344:768`
|
|
65
|
+
* - `768:1344`
|
|
66
|
+
* - `1024:1024`
|
|
67
|
+
* - `1184:864`
|
|
68
|
+
* - `864:1184`
|
|
69
|
+
* - `1536:672`
|
|
42
70
|
*/
|
|
43
71
|
ratio:
|
|
44
72
|
| '1920:1080'
|
|
@@ -56,10 +84,18 @@ export interface TextToImageCreateParams {
|
|
|
56
84
|
| '720:720'
|
|
57
85
|
| '960:720'
|
|
58
86
|
| '720:960'
|
|
59
|
-
| '1680:720'
|
|
87
|
+
| '1680:720'
|
|
88
|
+
| '1344:768'
|
|
89
|
+
| '768:1344'
|
|
90
|
+
| '1184:864'
|
|
91
|
+
| '864:1184'
|
|
92
|
+
| '1536:672';
|
|
60
93
|
|
|
61
94
|
/**
|
|
62
95
|
* Settings that affect the behavior of the content moderation system.
|
|
96
|
+
*
|
|
97
|
+
* This field is allowed only for the following model variants: `gen4_image_turbo`,
|
|
98
|
+
* `gen4_image`
|
|
63
99
|
*/
|
|
64
100
|
contentModeration?: TextToImageCreateParams.ContentModeration;
|
|
65
101
|
|
|
@@ -82,6 +118,9 @@ export interface TextToImageCreateParams {
|
|
|
82
118
|
export namespace TextToImageCreateParams {
|
|
83
119
|
/**
|
|
84
120
|
* Settings that affect the behavior of the content moderation system.
|
|
121
|
+
*
|
|
122
|
+
* This field is allowed only for the following model variants: `gen4_image_turbo`,
|
|
123
|
+
* `gen4_image`
|
|
85
124
|
*/
|
|
86
125
|
export interface ContentModeration {
|
|
87
126
|
/**
|
|
@@ -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.10.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.10.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.10.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|