@runwayml/sdk 3.21.1 → 3.23.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 (59) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/client.d.mts +6 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/image-to-video.d.mts +88 -1
  12. package/resources/image-to-video.d.mts.map +1 -1
  13. package/resources/image-to-video.d.ts +88 -1
  14. package/resources/image-to-video.d.ts.map +1 -1
  15. package/resources/image-upscale.d.mts +62 -0
  16. package/resources/image-upscale.d.mts.map +1 -0
  17. package/resources/image-upscale.d.ts +62 -0
  18. package/resources/image-upscale.d.ts.map +1 -0
  19. package/resources/image-upscale.js +30 -0
  20. package/resources/image-upscale.js.map +1 -0
  21. package/resources/image-upscale.mjs +26 -0
  22. package/resources/image-upscale.mjs.map +1 -0
  23. package/resources/index.d.mts +1 -0
  24. package/resources/index.d.mts.map +1 -1
  25. package/resources/index.d.ts +1 -0
  26. package/resources/index.d.ts.map +1 -1
  27. package/resources/index.js +3 -1
  28. package/resources/index.js.map +1 -1
  29. package/resources/index.mjs +1 -0
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/organization.d.mts +2 -2
  32. package/resources/organization.d.mts.map +1 -1
  33. package/resources/organization.d.ts +2 -2
  34. package/resources/organization.d.ts.map +1 -1
  35. package/resources/text-to-image.d.mts +45 -1
  36. package/resources/text-to-image.d.mts.map +1 -1
  37. package/resources/text-to-image.d.ts +45 -1
  38. package/resources/text-to-image.d.ts.map +1 -1
  39. package/resources/text-to-video.d.mts +88 -1
  40. package/resources/text-to-video.d.mts.map +1 -1
  41. package/resources/text-to-video.d.ts +88 -1
  42. package/resources/text-to-video.d.ts.map +1 -1
  43. package/resources/video-to-video.d.mts +218 -46
  44. package/resources/video-to-video.d.mts.map +1 -1
  45. package/resources/video-to-video.d.ts +218 -46
  46. package/resources/video-to-video.d.ts.map +1 -1
  47. package/src/client.ts +16 -0
  48. package/src/resources/image-to-video.ts +125 -0
  49. package/src/resources/image-upscale.ts +83 -0
  50. package/src/resources/index.ts +5 -0
  51. package/src/resources/organization.ts +21 -1
  52. package/src/resources/text-to-image.ts +109 -0
  53. package/src/resources/text-to-video.ts +135 -0
  54. package/src/resources/video-to-video.ts +282 -47
  55. package/src/version.ts +1 -1
  56. package/version.d.mts +1 -1
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/version.mjs +1 -1
@@ -16,7 +16,7 @@ export interface TextToImageCreateResponse {
16
16
  */
17
17
  id: string;
18
18
  }
19
- export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.GeminiImage3Pro | TextToImageCreateParams.Gemini2_5Flash;
19
+ export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.GeminiImage3Pro | TextToImageCreateParams.GeminiImage3_1Flash | TextToImageCreateParams.Gemini2_5Flash;
20
20
  export declare namespace TextToImageCreateParams {
21
21
  interface Gen4ImageTurbo {
22
22
  model: 'gen4_image_turbo';
@@ -206,6 +206,50 @@ export declare namespace TextToImageCreateParams {
206
206
  tag?: string;
207
207
  }
208
208
  }
209
+ interface GeminiImage3_1Flash {
210
+ model: 'gemini_image3.1_flash';
211
+ /**
212
+ * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
213
+ * should describe in detail what should appear in the output.
214
+ */
215
+ promptText: string;
216
+ /**
217
+ * The resolution of the output image.
218
+ */
219
+ ratio: '512:512' | '416:624' | '624:416' | '432:592' | '592:432' | '448:576' | '576:448' | '384:672' | '672:384' | '768:336' | '256:1024' | '1024:256' | '176:1408' | '1408:176' | '1024:1024' | '832:1248' | '1248:832' | '864:1184' | '1184:864' | '896:1152' | '1152:896' | '768:1344' | '1344:768' | '1536:672' | '512:2048' | '2048:512' | '352:2816' | '2816:352' | '2048:2048' | '1696:2528' | '2528:1696' | '1792:2400' | '2400:1792' | '1856:2304' | '2304:1856' | '1536:2752' | '2752:1536' | '3168:1344' | '1024:4096' | '4096:1024' | '704:5632' | '5632:704' | '4096:4096' | '3392:5056' | '5056:3392' | '3584:4800' | '4800:3584' | '3712:4608' | '4608:3712' | '3072:5504' | '5504:3072' | '6336:2688' | '2048:8192' | '8192:2048' | '1408:11264' | '11264:1408';
220
+ /**
221
+ * The number of images to generate. Increasing this number will affect the number
222
+ * of credits consumed by the generation. Up to four images can be generated at
223
+ * once.
224
+ */
225
+ outputCount?: 1 | 4;
226
+ /**
227
+ * An array of up to 14 images to be used as references for the generated image
228
+ * output. Up to five of those images can pass `subject: "human"` to maintain
229
+ * character consistency, and up to nine of those images can pass
230
+ * `subject: "object"` with high-fidelity images of objects to include in the
231
+ * output.
232
+ */
233
+ referenceImages?: Array<GeminiImage3_1Flash.ReferenceImage>;
234
+ }
235
+ namespace GeminiImage3_1Flash {
236
+ interface ReferenceImage {
237
+ /**
238
+ * A HTTPS URL.
239
+ */
240
+ uri: string;
241
+ /**
242
+ * Whether this is a reference of a human subject (for character consistency) or an
243
+ * object that appears in the output.
244
+ */
245
+ subject?: 'object' | 'human';
246
+ /**
247
+ * A tag to identify the reference image. This is used to reference the image in
248
+ * prompt text.
249
+ */
250
+ tag?: string;
251
+ }
252
+ }
209
253
  interface Gemini2_5Flash {
210
254
  model: 'gemini_2.5_flash';
211
255
  /**
@@ -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,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2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AK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -16,7 +16,7 @@ export interface TextToVideoCreateResponse {
16
16
  */
17
17
  id: string;
18
18
  }
19
- export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Veo3;
19
+ export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Happyhorse1_0 | TextToVideoCreateParams.Seedance2 | TextToVideoCreateParams.Veo3;
20
20
  export declare namespace TextToVideoCreateParams {
21
21
  interface Gen4_5 {
22
22
  /**
@@ -97,6 +97,93 @@ export declare namespace TextToVideoCreateParams {
97
97
  */
98
98
  duration?: 4 | 6 | 8;
99
99
  }
100
+ interface Happyhorse1_0 {
101
+ model: 'happyhorse_1_0';
102
+ /**
103
+ * A non-empty string up to 2500 characters (measured in UTF-16 code units). This
104
+ * should describe in detail what should appear in the output.
105
+ */
106
+ promptText: string;
107
+ /**
108
+ * The number of seconds of duration for the output video.
109
+ */
110
+ duration?: number;
111
+ /**
112
+ * The resolution of the output video.
113
+ */
114
+ ratio?: '1280:720' | '720:1280' | '960:960' | '1108:832' | '832:1108' | '1920:1080' | '1080:1920' | '1440:1440' | '1662:1248' | '1248:1662';
115
+ }
116
+ interface Seedance2 {
117
+ model: 'seedance2';
118
+ /**
119
+ * A non-empty string up to 3500 characters (measured in UTF-16 code units). This
120
+ * should describe in detail what should appear in the output.
121
+ */
122
+ promptText: string;
123
+ /**
124
+ * Whether to generate audio for the video. Audio inclusion affects pricing.
125
+ */
126
+ audio?: boolean;
127
+ /**
128
+ * The number of seconds of duration for the output video.
129
+ */
130
+ duration?: number;
131
+ /**
132
+ * The resolution of the output video.
133
+ */
134
+ ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920';
135
+ /**
136
+ * An optional array of audio references. Audio references require a text prompt,
137
+ * and the total combined duration must not exceed 15 seconds.
138
+ */
139
+ referenceAudio?: Array<Seedance2.ReferenceAudio>;
140
+ /**
141
+ * An optional array of image references (up to 9). See
142
+ * [our docs](/assets/inputs#images) on image inputs for more information.
143
+ */
144
+ references?: Array<Seedance2.Reference>;
145
+ /**
146
+ * An optional array of video references. The combined duration across all video
147
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
148
+ * video inputs for more information.
149
+ */
150
+ referenceVideos?: Array<Seedance2.ReferenceVideo>;
151
+ }
152
+ namespace Seedance2 {
153
+ /**
154
+ * An audio reference allows the model to use the audio as additional context for
155
+ * the output.
156
+ */
157
+ interface ReferenceAudio {
158
+ type: 'audio';
159
+ /**
160
+ * A HTTPS URL.
161
+ */
162
+ uri: string;
163
+ }
164
+ interface Reference {
165
+ /**
166
+ * A HTTPS URL.
167
+ */
168
+ uri: string;
169
+ /**
170
+ * The position of the image in the output video. "first" will use the image as the
171
+ * first frame, "last" as the last frame. Omit for a reference image.
172
+ */
173
+ position?: 'first' | 'last';
174
+ }
175
+ /**
176
+ * A video reference allows the model to use the video as additional context for
177
+ * the output.
178
+ */
179
+ interface ReferenceVideo {
180
+ type: 'video';
181
+ /**
182
+ * A HTTPS URL.
183
+ */
184
+ uri: string;
185
+ }
186
+ }
100
187
  interface Veo3 {
101
188
  /**
102
189
  * The number of seconds of duration for the output video.
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-video.d.mts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAA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G;QACH,QAAQ,EAAE,CAAC,CAAC;QAEZ,KAAK,EAAE,MAAM,CAAC;QAEd;;;WAGG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC;KAC5D;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -16,7 +16,7 @@ export interface TextToVideoCreateResponse {
16
16
  */
17
17
  id: string;
18
18
  }
19
- export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Veo3;
19
+ export type TextToVideoCreateParams = TextToVideoCreateParams.Gen4_5 | TextToVideoCreateParams.Veo3_1 | TextToVideoCreateParams.Veo3_1Fast | TextToVideoCreateParams.Happyhorse1_0 | TextToVideoCreateParams.Seedance2 | TextToVideoCreateParams.Veo3;
20
20
  export declare namespace TextToVideoCreateParams {
21
21
  interface Gen4_5 {
22
22
  /**
@@ -97,6 +97,93 @@ export declare namespace TextToVideoCreateParams {
97
97
  */
98
98
  duration?: 4 | 6 | 8;
99
99
  }
100
+ interface Happyhorse1_0 {
101
+ model: 'happyhorse_1_0';
102
+ /**
103
+ * A non-empty string up to 2500 characters (measured in UTF-16 code units). This
104
+ * should describe in detail what should appear in the output.
105
+ */
106
+ promptText: string;
107
+ /**
108
+ * The number of seconds of duration for the output video.
109
+ */
110
+ duration?: number;
111
+ /**
112
+ * The resolution of the output video.
113
+ */
114
+ ratio?: '1280:720' | '720:1280' | '960:960' | '1108:832' | '832:1108' | '1920:1080' | '1080:1920' | '1440:1440' | '1662:1248' | '1248:1662';
115
+ }
116
+ interface Seedance2 {
117
+ model: 'seedance2';
118
+ /**
119
+ * A non-empty string up to 3500 characters (measured in UTF-16 code units). This
120
+ * should describe in detail what should appear in the output.
121
+ */
122
+ promptText: string;
123
+ /**
124
+ * Whether to generate audio for the video. Audio inclusion affects pricing.
125
+ */
126
+ audio?: boolean;
127
+ /**
128
+ * The number of seconds of duration for the output video.
129
+ */
130
+ duration?: number;
131
+ /**
132
+ * The resolution of the output video.
133
+ */
134
+ ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920';
135
+ /**
136
+ * An optional array of audio references. Audio references require a text prompt,
137
+ * and the total combined duration must not exceed 15 seconds.
138
+ */
139
+ referenceAudio?: Array<Seedance2.ReferenceAudio>;
140
+ /**
141
+ * An optional array of image references (up to 9). See
142
+ * [our docs](/assets/inputs#images) on image inputs for more information.
143
+ */
144
+ references?: Array<Seedance2.Reference>;
145
+ /**
146
+ * An optional array of video references. The combined duration across all video
147
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
148
+ * video inputs for more information.
149
+ */
150
+ referenceVideos?: Array<Seedance2.ReferenceVideo>;
151
+ }
152
+ namespace Seedance2 {
153
+ /**
154
+ * An audio reference allows the model to use the audio as additional context for
155
+ * the output.
156
+ */
157
+ interface ReferenceAudio {
158
+ type: 'audio';
159
+ /**
160
+ * A HTTPS URL.
161
+ */
162
+ uri: string;
163
+ }
164
+ interface Reference {
165
+ /**
166
+ * A HTTPS URL.
167
+ */
168
+ uri: string;
169
+ /**
170
+ * The position of the image in the output video. "first" will use the image as the
171
+ * first frame, "last" as the last frame. Omit for a reference image.
172
+ */
173
+ position?: 'first' | 'last';
174
+ }
175
+ /**
176
+ * A video reference allows the model to use the video as additional context for
177
+ * the output.
178
+ */
179
+ interface ReferenceVideo {
180
+ type: 'video';
181
+ /**
182
+ * A HTTPS URL.
183
+ */
184
+ uri: string;
185
+ }
186
+ }
100
187
  interface Veo3 {
101
188
  /**
102
189
  * The number of seconds of duration for the output video.
@@ -1 +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,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,uBAAuB,GAC/B,uBAAuB,CAAC,MAAM,GAC9B,uBAAuB,CAAC,MAAM,GAC9B,uBAAuB,CAAC,UAAU,GAClC,uBAAuB,CAAC,IAAI,CAAC;AAEjC,MAAM,CAAC,OAAO,WAAW,uBAAuB,CAAC;IAC/C,UAAiB,MAAM;QACrB;;;WAGG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB,KAAK,EAAE,QAAQ,CAAC;QAEhB;;;WAGG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,EAAE,UAAU,GAAG,UAAU,CAAC;QAE/B;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,iBAAiB,CAAC;QAE7C;;;;WAIG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,MAAM,CAAC;QACtB;;WAEG;QACH,UAAiB,iBAAiB;YAChC;;;eAGG;YACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;SACxC;KACF;IAED,UAAiB,MAAM;QACrB,KAAK,EAAE,QAAQ,CAAC;QAEhB;;;WAGG;QACH,UAAU,EAAE,MAAM,CAAC;QAE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AE,MAAM,CAAC;SACb;QAED,UAAiB,SAAS;YACxB;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;YAEZ;;;eAGG;YACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;SAC7B;QAED;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;IAED,UAAiB,IAAI;QACnB;;WAEG;QACH,QAAQ,EAAE,CAAC,CAAC;QAEZ,KAAK,EAAE,MAAM,CAAC;QAEd;;;WAGG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC;KAC5D;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -25,59 +25,231 @@ export interface VideoToVideoCreateResponse {
25
25
  */
26
26
  id: string;
27
27
  }
28
- export interface VideoToVideoCreateParams {
29
- model: 'gen4_aleph';
30
- /**
31
- * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
32
- * should describe in detail what should appear in the output.
33
- */
34
- promptText: string;
35
- /**
36
- * A HTTPS URL.
37
- */
38
- videoUri: string;
39
- /**
40
- * Settings that affect the behavior of the content moderation system.
41
- */
42
- contentModeration?: VideoToVideoCreateParams.ContentModeration;
43
- /**
44
- * @deprecated Deprecated. This field is ignored. The resolution of the output
45
- * video is determined by the input video.
46
- */
47
- ratio?: '1280:720' | '720:1280' | '1104:832' | '960:960' | '832:1104' | '1584:672' | '848:480' | '640:480';
48
- /**
49
- * An array of references. Currently up to one reference is supported. See
50
- * [our docs](/assets/inputs#images) on image inputs for more information.
51
- */
52
- references?: Array<VideoToVideoCreateParams.Reference>;
53
- /**
54
- * If unspecified, a random number is chosen. Varying the seed integer is a way to
55
- * get different results for the same other request parameters. Using the same seed
56
- * integer for an identical request will produce similar results.
57
- */
58
- seed?: number;
59
- }
28
+ export type VideoToVideoCreateParams = VideoToVideoCreateParams.Gen4Aleph | VideoToVideoCreateParams.Aleph2 | VideoToVideoCreateParams.Seedance2;
60
29
  export declare namespace VideoToVideoCreateParams {
61
- /**
62
- * Settings that affect the behavior of the content moderation system.
63
- */
64
- interface ContentModeration {
30
+ interface Gen4Aleph {
31
+ model: 'gen4_aleph';
32
+ /**
33
+ * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
34
+ * should describe in detail what should appear in the output.
35
+ */
36
+ promptText: string;
65
37
  /**
66
- * When set to `low`, the content moderation system will be less strict about
67
- * preventing generations that include recognizable public figures.
38
+ * A HTTPS URL.
68
39
  */
69
- publicFigureThreshold?: 'auto' | 'low';
40
+ videoUri: string;
41
+ /**
42
+ * Settings that affect the behavior of the content moderation system.
43
+ */
44
+ contentModeration?: Gen4Aleph.ContentModeration;
45
+ /**
46
+ * @deprecated Deprecated. This field is ignored. The resolution of the output
47
+ * video is determined by the input video.
48
+ */
49
+ ratio?: '1280:720' | '720:1280' | '1104:832' | '960:960' | '832:1104' | '1584:672' | '848:480' | '640:480';
50
+ /**
51
+ * An array of references. Currently up to one reference is supported. See
52
+ * [our docs](/assets/inputs#images) on image inputs for more information.
53
+ */
54
+ references?: Array<Gen4Aleph.Reference>;
55
+ /**
56
+ * If unspecified, a random number is chosen. Varying the seed integer is a way to
57
+ * get different results for the same other request parameters. Using the same seed
58
+ * integer for an identical request will produce similar results.
59
+ */
60
+ seed?: number;
70
61
  }
71
- /**
72
- * Passing an image reference allows the model to emulate the style or content of
73
- * the reference in the output.
74
- */
75
- interface Reference {
76
- type: 'image';
62
+ namespace Gen4Aleph {
63
+ /**
64
+ * Settings that affect the behavior of the content moderation system.
65
+ */
66
+ interface ContentModeration {
67
+ /**
68
+ * When set to `low`, the content moderation system will be less strict about
69
+ * preventing generations that include recognizable public figures.
70
+ */
71
+ publicFigureThreshold?: 'auto' | 'low';
72
+ }
73
+ /**
74
+ * Passing an image reference allows the model to emulate the style or content of
75
+ * the reference in the output.
76
+ */
77
+ interface Reference {
78
+ type: 'image';
79
+ /**
80
+ * A HTTPS URL.
81
+ */
82
+ uri: string;
83
+ }
84
+ }
85
+ interface Aleph2 {
86
+ model: 'aleph2';
87
+ /**
88
+ * A non-empty string up to 1000 characters describing what should appear in the
89
+ * output.
90
+ */
91
+ promptText: string;
77
92
  /**
78
93
  * A HTTPS URL.
79
94
  */
80
- uri: string;
95
+ videoUri: string;
96
+ /**
97
+ * Settings that affect the behavior of the content moderation system.
98
+ */
99
+ contentModeration?: Aleph2.ContentModeration;
100
+ /**
101
+ * Timed guidance images placed at specific points in the input video. Up to 5
102
+ * keyframes.
103
+ */
104
+ keyframes?: Array<Aleph2.UnionMember0 | Aleph2.UnionMember1>;
105
+ /**
106
+ * A list of up to 5 image keyframes for guiding the edit at specific points in the
107
+ * video.
108
+ */
109
+ promptImage?: Array<Aleph2.PromptImage>;
110
+ /**
111
+ * If unspecified, a random number is chosen. Varying the seed integer is a way to
112
+ * get different results for the same other request parameters. Using the same seed
113
+ * integer for an identical request will produce similar results.
114
+ */
115
+ seed?: number;
116
+ }
117
+ namespace Aleph2 {
118
+ /**
119
+ * Settings that affect the behavior of the content moderation system.
120
+ */
121
+ interface ContentModeration {
122
+ /**
123
+ * When set to `low`, the content moderation system will be less strict about
124
+ * preventing generations that include recognizable public figures.
125
+ */
126
+ publicFigureThreshold?: 'auto' | 'low';
127
+ }
128
+ interface UnionMember0 {
129
+ /**
130
+ * Absolute timestamp in seconds from the start of the input video when this
131
+ * guidance image should apply.
132
+ */
133
+ seconds: number;
134
+ /**
135
+ * A HTTPS URL.
136
+ */
137
+ uri: string;
138
+ }
139
+ interface UnionMember1 {
140
+ /**
141
+ * Position as a fraction [0.0, 1.0] of the input video duration when this guidance
142
+ * image should apply.
143
+ */
144
+ at: number;
145
+ /**
146
+ * A HTTPS URL.
147
+ */
148
+ uri: string;
149
+ }
150
+ interface PromptImage {
151
+ /**
152
+ * - `first` - Places the image at the start of the output video (timestamp 0).
153
+ * - `last` - Places the image at the end of the output video (timestamp =
154
+ * duration).
155
+ */
156
+ position: 'first' | 'last' | PromptImage.TimestampPosition | PromptImage.RelativePosition;
157
+ /**
158
+ * A HTTPS URL.
159
+ */
160
+ uri: string;
161
+ }
162
+ namespace PromptImage {
163
+ interface TimestampPosition {
164
+ /**
165
+ * Absolute timestamp in seconds from the start of the output video.
166
+ */
167
+ timestampSeconds: number;
168
+ type: 'timestamp';
169
+ }
170
+ interface RelativePosition {
171
+ /**
172
+ * Position as a fraction [0.0, 1.0] of the total video duration.
173
+ */
174
+ positionPercentage: number;
175
+ type: 'position';
176
+ }
177
+ }
178
+ }
179
+ interface Seedance2 {
180
+ model: 'seedance2';
181
+ /**
182
+ * A HTTPS URL.
183
+ */
184
+ promptVideo: string;
185
+ /**
186
+ * Whether to generate audio for the video. Audio inclusion affects pricing.
187
+ */
188
+ audio?: boolean;
189
+ /**
190
+ * The number of seconds of duration for the output video.
191
+ */
192
+ duration?: number;
193
+ /**
194
+ * An optional text prompt up to 3500 characters describing what should appear in
195
+ * the output video.
196
+ */
197
+ promptText?: string;
198
+ /**
199
+ * The resolution of the output video.
200
+ */
201
+ ratio?: '992:432' | '864:496' | '752:560' | '640:640' | '560:752' | '496:864' | '1470:630' | '1280:720' | '1112:834' | '960:960' | '834:1112' | '720:1280' | '2206:946' | '1920:1080' | '1664:1248' | '1440:1440' | '1248:1664' | '1080:1920';
202
+ /**
203
+ * An optional array of audio references. Audio references require a text prompt,
204
+ * and the total combined duration must not exceed 15 seconds.
205
+ */
206
+ referenceAudio?: Array<Seedance2.ReferenceAudio>;
207
+ /**
208
+ * An optional array of image references (up to 9). See
209
+ * [our docs](/assets/inputs#images) on image inputs for more information.
210
+ */
211
+ references?: Array<Seedance2.Reference>;
212
+ /**
213
+ * An optional array of video references. The combined duration across all video
214
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
215
+ * video inputs for more information.
216
+ */
217
+ referenceVideos?: Array<Seedance2.ReferenceVideo>;
218
+ }
219
+ namespace Seedance2 {
220
+ /**
221
+ * An audio reference allows the model to use the audio as additional context for
222
+ * the output.
223
+ */
224
+ interface ReferenceAudio {
225
+ type: 'audio';
226
+ /**
227
+ * A HTTPS URL.
228
+ */
229
+ uri: string;
230
+ }
231
+ interface Reference {
232
+ /**
233
+ * A HTTPS URL.
234
+ */
235
+ uri: string;
236
+ /**
237
+ * The position of the image in the output video. "first" will use the image as the
238
+ * first frame, "last" as the last frame. Omit for a reference image.
239
+ */
240
+ position?: 'first' | 'last';
241
+ }
242
+ /**
243
+ * A video reference allows the model to use the video as additional context for
244
+ * the output.
245
+ */
246
+ interface ReferenceVideo {
247
+ type: 'video';
248
+ /**
249
+ * A HTTPS URL.
250
+ */
251
+ uri: string;
252
+ }
81
253
  }
82
254
  }
83
255
  export declare namespace VideoToVideo {
@@ -1 +1 @@
1
- {"version":3,"file":"video-to-video.d.mts","sourceRoot":"","sources":["../src/resources/video-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,YAAY,CAAC;IAEpB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEj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