@runwayml/sdk 4.10.0 → 4.11.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.
Files changed (81) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +8 -8
  3. package/client.d.mts +6 -0
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +6 -0
  6. package/client.d.ts.map +1 -1
  7. package/client.js +6 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +6 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/generate/generate.d.mts +10 -0
  13. package/resources/generate/generate.d.mts.map +1 -0
  14. package/resources/generate/generate.d.ts +10 -0
  15. package/resources/generate/generate.d.ts.map +1 -0
  16. package/resources/generate/generate.js +17 -0
  17. package/resources/generate/generate.js.map +1 -0
  18. package/resources/generate/generate.mjs +12 -0
  19. package/resources/generate/generate.mjs.map +1 -0
  20. package/resources/generate/index.d.mts +3 -0
  21. package/resources/generate/index.d.mts.map +1 -0
  22. package/resources/generate/index.d.ts +3 -0
  23. package/resources/generate/index.d.ts.map +1 -0
  24. package/resources/generate/index.js +9 -0
  25. package/resources/generate/index.js.map +1 -0
  26. package/resources/generate/index.mjs +4 -0
  27. package/resources/generate/index.mjs.map +1 -0
  28. package/resources/generate/video.d.mts +246 -0
  29. package/resources/generate/video.d.mts.map +1 -0
  30. package/resources/generate/video.d.ts +246 -0
  31. package/resources/generate/video.d.ts.map +1 -0
  32. package/resources/generate/video.js +17 -0
  33. package/resources/generate/video.js.map +1 -0
  34. package/resources/generate/video.mjs +13 -0
  35. package/resources/generate/video.mjs.map +1 -0
  36. package/resources/generate.d.mts +2 -0
  37. package/resources/generate.d.mts.map +1 -0
  38. package/resources/generate.d.ts +2 -0
  39. package/resources/generate.d.ts.map +1 -0
  40. package/resources/generate.js +6 -0
  41. package/resources/generate.js.map +1 -0
  42. package/resources/generate.mjs +3 -0
  43. package/resources/generate.mjs.map +1 -0
  44. package/resources/index.d.mts +2 -0
  45. package/resources/index.d.mts.map +1 -1
  46. package/resources/index.d.ts +2 -0
  47. package/resources/index.d.ts.map +1 -1
  48. package/resources/index.js +5 -1
  49. package/resources/index.js.map +1 -1
  50. package/resources/index.mjs +2 -0
  51. package/resources/index.mjs.map +1 -1
  52. package/resources/organization.d.mts +20 -2
  53. package/resources/organization.d.mts.map +1 -1
  54. package/resources/organization.d.ts +20 -2
  55. package/resources/organization.d.ts.map +1 -1
  56. package/resources/routers.d.mts +490 -0
  57. package/resources/routers.d.mts.map +1 -0
  58. package/resources/routers.d.ts +490 -0
  59. package/resources/routers.d.ts.map +1 -0
  60. package/resources/routers.js +49 -0
  61. package/resources/routers.js.map +1 -0
  62. package/resources/routers.mjs +45 -0
  63. package/resources/routers.mjs.map +1 -0
  64. package/resources/text-to-image.d.mts +5 -0
  65. package/resources/text-to-image.d.mts.map +1 -1
  66. package/resources/text-to-image.d.ts +5 -0
  67. package/resources/text-to-image.d.ts.map +1 -1
  68. package/src/client.ts +30 -0
  69. package/src/resources/generate/generate.ts +19 -0
  70. package/src/resources/generate/index.ts +4 -0
  71. package/src/resources/generate/video.ts +300 -0
  72. package/src/resources/generate.ts +3 -0
  73. package/src/resources/index.ts +12 -0
  74. package/src/resources/organization.ts +26 -0
  75. package/src/resources/routers.ts +622 -0
  76. package/src/resources/text-to-image.ts +6 -0
  77. package/src/version.ts +1 -1
  78. package/version.d.mts +1 -1
  79. package/version.d.ts +1 -1
  80. package/version.js +1 -1
  81. package/version.mjs +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/generate/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,uBAAmB;AACtC,OAAO,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,oBAAgB"}
@@ -0,0 +1,3 @@
1
+ export { Generate } from "./generate.js";
2
+ export { Video, type VideoCreateResponse, type VideoCreateParams } from "./video.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/generate/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,sBAAmB;AACtC,OAAO,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,mBAAgB"}
@@ -0,0 +1,9 @@
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.Video = exports.Generate = void 0;
5
+ var generate_1 = require("./generate.js");
6
+ Object.defineProperty(exports, "Generate", { enumerable: true, get: function () { return generate_1.Generate; } });
7
+ var video_1 = require("./video.js");
8
+ Object.defineProperty(exports, "Video", { enumerable: true, get: function () { return video_1.Video; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/generate/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,oCAAkF;AAAzE,8FAAA,KAAK,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Generate } from "./generate.mjs";
3
+ export { Video } from "./video.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/generate/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,QAAQ,EAAE,uBAAmB;AACtC,OAAO,EAAE,KAAK,EAAoD,oBAAgB"}
@@ -0,0 +1,246 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { RequestOptions } from "../../internal/request-options.mjs";
3
+ import { APIPromiseWithAwaitableTask } from "../../lib/polling.mjs";
4
+ export declare class Video extends APIResource {
5
+ /**
6
+ * Start a video generation task using a saved Model Router config instead of
7
+ * naming a model.
8
+ */
9
+ create(body: VideoCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<VideoCreateResponse>;
10
+ }
11
+ export interface VideoCreateResponse {
12
+ /**
13
+ * The ID of the created task. Poll GET /v1/tasks/:id for the result.
14
+ */
15
+ id: string;
16
+ /**
17
+ * Metadata describing which model the router selected and why.
18
+ */
19
+ routing: VideoCreateResponse.Routing;
20
+ }
21
+ export declare namespace VideoCreateResponse {
22
+ /**
23
+ * Metadata describing which model the router selected and why.
24
+ */
25
+ interface Routing {
26
+ /**
27
+ * The slug of the router config that was applied to this request.
28
+ */
29
+ configId: string;
30
+ /**
31
+ * Estimated cost, computed against current pricing.
32
+ */
33
+ estimatedCost: Routing.EstimatedCost;
34
+ /**
35
+ * The public name of the model the router selected.
36
+ */
37
+ model: string;
38
+ /**
39
+ * The provider of the selected model.
40
+ */
41
+ provider: string;
42
+ /**
43
+ * Request-side defaults resolved for the routing response. Not necessarily
44
+ * identical to prepared model options.
45
+ */
46
+ resolvedInput: Routing.ResolvedInput;
47
+ /**
48
+ * The resolved config settings the router used for this request.
49
+ */
50
+ resolvedSettings: Routing.ResolvedSettings;
51
+ }
52
+ namespace Routing {
53
+ /**
54
+ * Estimated cost, computed against current pricing.
55
+ */
56
+ interface EstimatedCost {
57
+ /**
58
+ * Estimated cost of the generation in credits.
59
+ */
60
+ credits: number;
61
+ }
62
+ /**
63
+ * Request-side defaults resolved for the routing response. Not necessarily
64
+ * identical to prepared model options.
65
+ */
66
+ interface ResolvedInput {
67
+ /**
68
+ * Duration in seconds used for routing display (request value or router default).
69
+ */
70
+ duration: number;
71
+ /**
72
+ * Concrete output ratio derived from aspectRatio (e.g. "1280:720"), or the router
73
+ * default.
74
+ */
75
+ ratio: string;
76
+ /**
77
+ * Resolution tier from the request, or the router default when omitted.
78
+ */
79
+ resolution: string;
80
+ }
81
+ /**
82
+ * The resolved config settings the router used for this request.
83
+ */
84
+ interface ResolvedSettings {
85
+ /**
86
+ * The single optimization preference the config selected, used as the soft
87
+ * weighting when scoring eligible models.
88
+ */
89
+ optimizeFor: 'cost' | 'latency' | 'quality';
90
+ /**
91
+ * The applied maximum credits per generation for this request’s modality, or null
92
+ * if the config sets no ceiling.
93
+ */
94
+ priceCeiling: number | null;
95
+ }
96
+ }
97
+ }
98
+ export interface VideoCreateParams {
99
+ /**
100
+ * The slug of a saved Model Router config to route this request with.
101
+ */
102
+ configId: string;
103
+ /**
104
+ * Model-agnostic video generation input. Fields are optional; the router selects a
105
+ * model and maps these options to it.
106
+ */
107
+ input: VideoCreateParams.Input;
108
+ }
109
+ export declare namespace VideoCreateParams {
110
+ /**
111
+ * Model-agnostic video generation input. Fields are optional; the router selects a
112
+ * model and maps these options to it.
113
+ */
114
+ interface Input {
115
+ /**
116
+ * Desired aspect ratio. Models that do not support the requested aspect are
117
+ * excluded.
118
+ */
119
+ aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4' | '21:9';
120
+ /**
121
+ * Whether to generate native audio with the video. When true, only models that
122
+ * output audio remain eligible; when false, silent models and models with an audio
123
+ * toggle remain eligible (always-on native-audio models are excluded). When
124
+ * omitted, the selected model’s default applies.
125
+ */
126
+ audio?: boolean;
127
+ /**
128
+ * Settings that affect the behavior of the content moderation system.
129
+ */
130
+ contentModeration?: Input.ContentModeration;
131
+ /**
132
+ * Desired duration of the output video, in seconds. Unsupported values exclude
133
+ * models; with a source video, V2V duration support applies.
134
+ */
135
+ duration?: number;
136
+ /**
137
+ * Timed guidance images for video restyle. Requires a source video; unsupported
138
+ * models are excluded.
139
+ */
140
+ keyframes?: Array<Input.UnionMember0 | Input.UnionMember1>;
141
+ /**
142
+ * A text description of what to avoid in the output.
143
+ */
144
+ negativePrompt?: string;
145
+ /**
146
+ * A text prompt describing the desired video.
147
+ */
148
+ promptText?: string;
149
+ /**
150
+ * Optional audio inputs for the generation.
151
+ */
152
+ referenceAudio?: Array<Input.ReferenceAudio>;
153
+ /**
154
+ * Optional image inputs. Each entry requires a `role`. At most one `first` and one
155
+ * `last` are allowed; multiple `reference` images are allowed.
156
+ */
157
+ referenceImages?: Array<Input.ReferenceImage>;
158
+ /**
159
+ * Optional video inputs. Each entry requires a `role`. Use `source` for
160
+ * video-to-video; use `reference` for additional context videos (only models that
161
+ * support them remain eligible). At most one `source` is allowed.
162
+ */
163
+ referenceVideos?: Array<Input.ReferenceVideo>;
164
+ /**
165
+ * Desired output resolution tier. Models that do not support the requested tier
166
+ * are excluded.
167
+ */
168
+ resolution?: '480p' | '720p' | '1080p' | '4k';
169
+ /**
170
+ * A seed for reproducible generation. Random if omitted.
171
+ */
172
+ seed?: number;
173
+ }
174
+ namespace Input {
175
+ /**
176
+ * Settings that affect the behavior of the content moderation system.
177
+ */
178
+ interface ContentModeration {
179
+ /**
180
+ * When set to `low`, the content moderation system will be less strict about
181
+ * preventing generations that include recognizable public figures.
182
+ */
183
+ publicFigureThreshold?: 'auto' | 'low';
184
+ }
185
+ interface UnionMember0 {
186
+ seconds: number;
187
+ /**
188
+ * A HTTPS URL.
189
+ */
190
+ uri: string;
191
+ range?: UnionMember0.Range;
192
+ }
193
+ namespace UnionMember0 {
194
+ interface Range {
195
+ end_seconds: number;
196
+ start_seconds: number;
197
+ }
198
+ }
199
+ interface UnionMember1 {
200
+ at: number;
201
+ /**
202
+ * A HTTPS URL.
203
+ */
204
+ uri: string;
205
+ range?: UnionMember1.Range;
206
+ }
207
+ namespace UnionMember1 {
208
+ interface Range {
209
+ end_seconds: number;
210
+ start_seconds: number;
211
+ }
212
+ }
213
+ interface ReferenceAudio {
214
+ /**
215
+ * A HTTPS URL.
216
+ */
217
+ uri: string;
218
+ }
219
+ interface ReferenceImage {
220
+ /**
221
+ * How the image is used. `first` is the starting frame; `last` is an end frame;
222
+ * `reference` is additional image context.
223
+ */
224
+ role: 'first' | 'last' | 'reference';
225
+ /**
226
+ * A HTTPS URL.
227
+ */
228
+ uri: string;
229
+ }
230
+ interface ReferenceVideo {
231
+ /**
232
+ * How the video is used. `source` is the primary video-to-video input; `reference`
233
+ * is additional video context.
234
+ */
235
+ role: 'source' | 'reference';
236
+ /**
237
+ * A HTTPS URL.
238
+ */
239
+ uri: string;
240
+ }
241
+ }
242
+ }
243
+ export declare namespace Video {
244
+ export { type VideoCreateResponse as VideoCreateResponse, type VideoCreateParams as VideoCreateParams };
245
+ }
246
+ //# sourceMappingURL=video.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.d.mts","sourceRoot":"","sources":["../../src/resources/generate/video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAChE,OAAO,EAAE,2BAA2B,EAA0B,8BAA0B;AAExF,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,mBAAmB,CAAC;CAKpD;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,mBAAmB,CAAC,OAAO,CAAC;CACtC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC;QAErC;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;WAGG;QACH,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC;QAErC;;WAEG;QACH,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,CAAC;KAC5C;IAED,UAAiB,OAAO,CAAC;QACvB;;WAEG;QACH,UAAiB,aAAa;YAC5B;;eAEG;YACH,OAAO,EAAE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OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
@@ -0,0 +1,246 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { RequestOptions } from "../../internal/request-options.js";
3
+ import { APIPromiseWithAwaitableTask } from "../../lib/polling.js";
4
+ export declare class Video extends APIResource {
5
+ /**
6
+ * Start a video generation task using a saved Model Router config instead of
7
+ * naming a model.
8
+ */
9
+ create(body: VideoCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<VideoCreateResponse>;
10
+ }
11
+ export interface VideoCreateResponse {
12
+ /**
13
+ * The ID of the created task. Poll GET /v1/tasks/:id for the result.
14
+ */
15
+ id: string;
16
+ /**
17
+ * Metadata describing which model the router selected and why.
18
+ */
19
+ routing: VideoCreateResponse.Routing;
20
+ }
21
+ export declare namespace VideoCreateResponse {
22
+ /**
23
+ * Metadata describing which model the router selected and why.
24
+ */
25
+ interface Routing {
26
+ /**
27
+ * The slug of the router config that was applied to this request.
28
+ */
29
+ configId: string;
30
+ /**
31
+ * Estimated cost, computed against current pricing.
32
+ */
33
+ estimatedCost: Routing.EstimatedCost;
34
+ /**
35
+ * The public name of the model the router selected.
36
+ */
37
+ model: string;
38
+ /**
39
+ * The provider of the selected model.
40
+ */
41
+ provider: string;
42
+ /**
43
+ * Request-side defaults resolved for the routing response. Not necessarily
44
+ * identical to prepared model options.
45
+ */
46
+ resolvedInput: Routing.ResolvedInput;
47
+ /**
48
+ * The resolved config settings the router used for this request.
49
+ */
50
+ resolvedSettings: Routing.ResolvedSettings;
51
+ }
52
+ namespace Routing {
53
+ /**
54
+ * Estimated cost, computed against current pricing.
55
+ */
56
+ interface EstimatedCost {
57
+ /**
58
+ * Estimated cost of the generation in credits.
59
+ */
60
+ credits: number;
61
+ }
62
+ /**
63
+ * Request-side defaults resolved for the routing response. Not necessarily
64
+ * identical to prepared model options.
65
+ */
66
+ interface ResolvedInput {
67
+ /**
68
+ * Duration in seconds used for routing display (request value or router default).
69
+ */
70
+ duration: number;
71
+ /**
72
+ * Concrete output ratio derived from aspectRatio (e.g. "1280:720"), or the router
73
+ * default.
74
+ */
75
+ ratio: string;
76
+ /**
77
+ * Resolution tier from the request, or the router default when omitted.
78
+ */
79
+ resolution: string;
80
+ }
81
+ /**
82
+ * The resolved config settings the router used for this request.
83
+ */
84
+ interface ResolvedSettings {
85
+ /**
86
+ * The single optimization preference the config selected, used as the soft
87
+ * weighting when scoring eligible models.
88
+ */
89
+ optimizeFor: 'cost' | 'latency' | 'quality';
90
+ /**
91
+ * The applied maximum credits per generation for this request’s modality, or null
92
+ * if the config sets no ceiling.
93
+ */
94
+ priceCeiling: number | null;
95
+ }
96
+ }
97
+ }
98
+ export interface VideoCreateParams {
99
+ /**
100
+ * The slug of a saved Model Router config to route this request with.
101
+ */
102
+ configId: string;
103
+ /**
104
+ * Model-agnostic video generation input. Fields are optional; the router selects a
105
+ * model and maps these options to it.
106
+ */
107
+ input: VideoCreateParams.Input;
108
+ }
109
+ export declare namespace VideoCreateParams {
110
+ /**
111
+ * Model-agnostic video generation input. Fields are optional; the router selects a
112
+ * model and maps these options to it.
113
+ */
114
+ interface Input {
115
+ /**
116
+ * Desired aspect ratio. Models that do not support the requested aspect are
117
+ * excluded.
118
+ */
119
+ aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4' | '21:9';
120
+ /**
121
+ * Whether to generate native audio with the video. When true, only models that
122
+ * output audio remain eligible; when false, silent models and models with an audio
123
+ * toggle remain eligible (always-on native-audio models are excluded). When
124
+ * omitted, the selected model’s default applies.
125
+ */
126
+ audio?: boolean;
127
+ /**
128
+ * Settings that affect the behavior of the content moderation system.
129
+ */
130
+ contentModeration?: Input.ContentModeration;
131
+ /**
132
+ * Desired duration of the output video, in seconds. Unsupported values exclude
133
+ * models; with a source video, V2V duration support applies.
134
+ */
135
+ duration?: number;
136
+ /**
137
+ * Timed guidance images for video restyle. Requires a source video; unsupported
138
+ * models are excluded.
139
+ */
140
+ keyframes?: Array<Input.UnionMember0 | Input.UnionMember1>;
141
+ /**
142
+ * A text description of what to avoid in the output.
143
+ */
144
+ negativePrompt?: string;
145
+ /**
146
+ * A text prompt describing the desired video.
147
+ */
148
+ promptText?: string;
149
+ /**
150
+ * Optional audio inputs for the generation.
151
+ */
152
+ referenceAudio?: Array<Input.ReferenceAudio>;
153
+ /**
154
+ * Optional image inputs. Each entry requires a `role`. At most one `first` and one
155
+ * `last` are allowed; multiple `reference` images are allowed.
156
+ */
157
+ referenceImages?: Array<Input.ReferenceImage>;
158
+ /**
159
+ * Optional video inputs. Each entry requires a `role`. Use `source` for
160
+ * video-to-video; use `reference` for additional context videos (only models that
161
+ * support them remain eligible). At most one `source` is allowed.
162
+ */
163
+ referenceVideos?: Array<Input.ReferenceVideo>;
164
+ /**
165
+ * Desired output resolution tier. Models that do not support the requested tier
166
+ * are excluded.
167
+ */
168
+ resolution?: '480p' | '720p' | '1080p' | '4k';
169
+ /**
170
+ * A seed for reproducible generation. Random if omitted.
171
+ */
172
+ seed?: number;
173
+ }
174
+ namespace Input {
175
+ /**
176
+ * Settings that affect the behavior of the content moderation system.
177
+ */
178
+ interface ContentModeration {
179
+ /**
180
+ * When set to `low`, the content moderation system will be less strict about
181
+ * preventing generations that include recognizable public figures.
182
+ */
183
+ publicFigureThreshold?: 'auto' | 'low';
184
+ }
185
+ interface UnionMember0 {
186
+ seconds: number;
187
+ /**
188
+ * A HTTPS URL.
189
+ */
190
+ uri: string;
191
+ range?: UnionMember0.Range;
192
+ }
193
+ namespace UnionMember0 {
194
+ interface Range {
195
+ end_seconds: number;
196
+ start_seconds: number;
197
+ }
198
+ }
199
+ interface UnionMember1 {
200
+ at: number;
201
+ /**
202
+ * A HTTPS URL.
203
+ */
204
+ uri: string;
205
+ range?: UnionMember1.Range;
206
+ }
207
+ namespace UnionMember1 {
208
+ interface Range {
209
+ end_seconds: number;
210
+ start_seconds: number;
211
+ }
212
+ }
213
+ interface ReferenceAudio {
214
+ /**
215
+ * A HTTPS URL.
216
+ */
217
+ uri: string;
218
+ }
219
+ interface ReferenceImage {
220
+ /**
221
+ * How the image is used. `first` is the starting frame; `last` is an end frame;
222
+ * `reference` is additional image context.
223
+ */
224
+ role: 'first' | 'last' | 'reference';
225
+ /**
226
+ * A HTTPS URL.
227
+ */
228
+ uri: string;
229
+ }
230
+ interface ReferenceVideo {
231
+ /**
232
+ * How the video is used. `source` is the primary video-to-video input; `reference`
233
+ * is additional video context.
234
+ */
235
+ role: 'source' | 'reference';
236
+ /**
237
+ * A HTTPS URL.
238
+ */
239
+ uri: string;
240
+ }
241
+ }
242
+ }
243
+ export declare namespace Video {
244
+ export { type VideoCreateResponse as VideoCreateResponse, type VideoCreateParams as VideoCreateParams };
245
+ }
246
+ //# sourceMappingURL=video.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../src/resources/generate/video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAChE,OAAO,EAAE,2BAA2B,EAA0B,6BAA0B;AAExF,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,mBAAmB,CAAC;CAKpD;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,mBAAmB,CAAC,OAAO,CAAC;CACtC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC;QAErC;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,QA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C;YAErC;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,cAAc;YAC7B;;;eAGG;YACH,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;YAE7B;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
@@ -0,0 +1,17 @@
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.Video = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const polling_1 = require("../../lib/polling.js");
7
+ class Video extends resource_1.APIResource {
8
+ /**
9
+ * Start a video generation task using a saved Model Router config instead of
10
+ * naming a model.
11
+ */
12
+ create(body, options) {
13
+ return (0, polling_1.wrapAsWaitableResource)(this._client)(this._client.post('/v1/generate/video', { body, ...options }));
14
+ }
15
+ }
16
+ exports.Video = Video;
17
+ //# sourceMappingURL=video.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.js","sourceRoot":"","sources":["../../src/resources/generate/video.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,kDAAwF;AAExF,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,IAAuB,EACvB,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAAsB,IAAI,CAAC,OAAO,CAAC,CAC9D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC9D,CAAC;IACJ,CAAC;CACF;AAbD,sBAaC"}
@@ -0,0 +1,13 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { wrapAsWaitableResource } from "../../lib/polling.mjs";
4
+ export class Video extends APIResource {
5
+ /**
6
+ * Start a video generation task using a saved Model Router config instead of
7
+ * naming a model.
8
+ */
9
+ create(body, options) {
10
+ return wrapAsWaitableResource(this._client)(this._client.post('/v1/generate/video', { body, ...options }));
11
+ }
12
+ }
13
+ //# sourceMappingURL=video.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.mjs","sourceRoot":"","sources":["../../src/resources/generate/video.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAA+B,sBAAsB,EAAE,8BAA0B;AAExF,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,IAAuB,EACvB,OAAwB;QAExB,OAAO,sBAAsB,CAAsB,IAAI,CAAC,OAAO,CAAC,CAC9D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC9D,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export * from "./generate/index.mjs";
2
+ //# sourceMappingURL=generate.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate.d.mts","sourceRoot":"","sources":["../src/resources/generate.ts"],"names":[],"mappings":"AAEA,qCAAiC"}
@@ -0,0 +1,2 @@
1
+ export * from "./generate/index.js";
2
+ //# sourceMappingURL=generate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../src/resources/generate.ts"],"names":[],"mappings":"AAEA,oCAAiC"}
@@ -0,0 +1,6 @@
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
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./generate/index.js"), exports);
6
+ //# sourceMappingURL=generate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate.js","sourceRoot":"","sources":["../src/resources/generate.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./generate/index.mjs";
3
+ //# sourceMappingURL=generate.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate.mjs","sourceRoot":"","sources":["../src/resources/generate.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,qCAAiC"}
@@ -3,11 +3,13 @@ export { AvatarVideos, type AvatarVideoCreateResponse, type AvatarVideoCreatePar
3
3
  export { Avatars, type AvatarCreateResponse, type AvatarRetrieveResponse, type AvatarUpdateResponse, type AvatarListResponse, type AvatarGetUsageResponse, type AvatarCreateParams, type AvatarUpdateParams, type AvatarListParams, type AvatarGetUsageParams, type AvatarListResponsesCursorPage, } from "./avatars.mjs";
4
4
  export { CharacterPerformance, type CharacterPerformanceCreateResponse, type CharacterPerformanceCreateParams, } from "./character-performance.mjs";
5
5
  export { Documents, type DocumentCreateResponse, type DocumentRetrieveResponse, type DocumentListResponse, type DocumentCreateParams, type DocumentUpdateParams, type DocumentListParams, type DocumentListResponsesCursorPage, } from "./documents.mjs";
6
+ export { Generate } from "./generate/generate.mjs";
6
7
  export { ImageToVideo, type ImageToVideoCreateResponse, type ImageToVideoCreateParams, } from "./image-to-video.mjs";
7
8
  export { ImageUpscale, type ImageUpscaleCreateResponse, type ImageUpscaleCreateParams, } from "./image-upscale.mjs";
8
9
  export { Organization, type OrganizationRetrieveResponse, type OrganizationRetrieveUsageResponse, type OrganizationRetrieveUsageParams, } from "./organization.mjs";
9
10
  export { RealtimeSessions, type RealtimeSessionCreateResponse, type RealtimeSessionRetrieveResponse, type RealtimeSessionCreateParams, } from "./realtime-sessions.mjs";
10
11
  export { Recipes, type RecipeAdLocalizationResponse, type RecipeMarketingStockImageResponse, type RecipeMultiShotVideoResponse, type RecipeProductAdResponse, type RecipeProductCampaignImageResponse, type RecipeProductSwapResponse, type RecipeProductUgcResponse, type RecipeAdLocalizationParams, type RecipeMarketingStockImageParams, type RecipeMultiShotVideoParams, type RecipeProductAdParams, type RecipeProductCampaignImageParams, type RecipeProductSwapParams, type RecipeProductUgcParams, } from "./recipes.mjs";
12
+ export { Routers, type RouterCreateResponse, type RouterRetrieveResponse, type RouterUpdateResponse, type RouterListResponse, type RouterCreateParams, type RouterUpdateParams, type RouterListParams, type RouterListResponsesCursorPage, } from "./routers.mjs";
11
13
  export { SoundEffect, type SoundEffectCreateResponse, type SoundEffectCreateParams } from "./sound-effect.mjs";
12
14
  export { SpeechToSpeech, type SpeechToSpeechCreateResponse, type SpeechToSpeechCreateParams, } from "./speech-to-speech.mjs";
13
15
  export { Tasks, type TaskRetrieveResponse } from "./tasks.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,yCAAyC,GAC/C,mCAA+B;AAChC,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,4BAAwB;AAC7G,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,GACnC,sBAAkB;AACnB,OAAO,EACL,oBAAoB,EACpB,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,GACtC,oCAAgC;AACjC,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC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