@runwayml/sdk 3.5.0 → 3.6.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 (74) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/resources/character-performance.d.mts +32 -5
  4. package/resources/character-performance.d.mts.map +1 -1
  5. package/resources/character-performance.d.ts +32 -5
  6. package/resources/character-performance.d.ts.map +1 -1
  7. package/resources/character-performance.js +16 -0
  8. package/resources/character-performance.js.map +1 -1
  9. package/resources/character-performance.mjs +16 -0
  10. package/resources/character-performance.mjs.map +1 -1
  11. package/resources/image-to-video.d.mts +215 -88
  12. package/resources/image-to-video.d.mts.map +1 -1
  13. package/resources/image-to-video.d.ts +215 -88
  14. package/resources/image-to-video.d.ts.map +1 -1
  15. package/resources/image-to-video.js +10 -1
  16. package/resources/image-to-video.js.map +1 -1
  17. package/resources/image-to-video.mjs +10 -1
  18. package/resources/image-to-video.mjs.map +1 -1
  19. package/resources/speech-to-speech.d.mts +16 -4
  20. package/resources/speech-to-speech.d.mts.map +1 -1
  21. package/resources/speech-to-speech.d.ts +16 -4
  22. package/resources/speech-to-speech.d.ts.map +1 -1
  23. package/resources/text-to-speech.d.mts +2 -2
  24. package/resources/text-to-speech.d.ts +2 -2
  25. package/resources/text-to-video.d.mts +50 -28
  26. package/resources/text-to-video.d.mts.map +1 -1
  27. package/resources/text-to-video.d.ts +50 -28
  28. package/resources/text-to-video.d.ts.map +1 -1
  29. package/resources/video-to-video.d.mts +12 -10
  30. package/resources/video-to-video.d.mts.map +1 -1
  31. package/resources/video-to-video.d.ts +12 -10
  32. package/resources/video-to-video.d.ts.map +1 -1
  33. package/resources/video-to-video.js +10 -0
  34. package/resources/video-to-video.js.map +1 -1
  35. package/resources/video-to-video.mjs +10 -0
  36. package/resources/video-to-video.mjs.map +1 -1
  37. package/resources/video-upscale.d.mts +9 -9
  38. package/resources/video-upscale.d.mts.map +1 -1
  39. package/resources/video-upscale.d.ts +9 -9
  40. package/resources/video-upscale.d.ts.map +1 -1
  41. package/resources/video-upscale.js +8 -0
  42. package/resources/video-upscale.js.map +1 -1
  43. package/resources/video-upscale.mjs +8 -0
  44. package/resources/video-upscale.mjs.map +1 -1
  45. package/resources/voice-dubbing.d.mts +10 -1
  46. package/resources/voice-dubbing.d.mts.map +1 -1
  47. package/resources/voice-dubbing.d.ts +10 -1
  48. package/resources/voice-dubbing.d.ts.map +1 -1
  49. package/resources/voice-dubbing.js +9 -0
  50. package/resources/voice-dubbing.js.map +1 -1
  51. package/resources/voice-dubbing.mjs +9 -0
  52. package/resources/voice-dubbing.mjs.map +1 -1
  53. package/resources/voice-isolation.d.mts +11 -2
  54. package/resources/voice-isolation.d.mts.map +1 -1
  55. package/resources/voice-isolation.d.ts +11 -2
  56. package/resources/voice-isolation.d.ts.map +1 -1
  57. package/resources/voice-isolation.js +10 -1
  58. package/resources/voice-isolation.js.map +1 -1
  59. package/resources/voice-isolation.mjs +10 -1
  60. package/resources/voice-isolation.mjs.map +1 -1
  61. package/src/resources/character-performance.ts +32 -5
  62. package/src/resources/image-to-video.ts +253 -99
  63. package/src/resources/speech-to-speech.ts +16 -4
  64. package/src/resources/text-to-speech.ts +2 -2
  65. package/src/resources/text-to-video.ts +61 -28
  66. package/src/resources/video-to-video.ts +12 -10
  67. package/src/resources/video-upscale.ts +9 -9
  68. package/src/resources/voice-dubbing.ts +10 -1
  69. package/src/resources/voice-isolation.ts +11 -2
  70. package/src/version.ts +1 -1
  71. package/version.d.mts +1 -1
  72. package/version.d.ts +1 -1
  73. package/version.js +1 -1
  74. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.6.0 (2025-11-04)
4
+
5
+ Full Changelog: [v3.5.0...v3.6.0](https://github.com/runwayml/sdk-node/compare/v3.5.0...v3.6.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** Update discriminated union schema ([032d6e6](https://github.com/runwayml/sdk-node/commit/032d6e631b606660a5edc070dc8162969fa9a480))
10
+
3
11
  ## 3.5.0 (2025-10-22)
4
12
 
5
13
  Full Changelog: [v3.4.0...v3.5.0](https://github.com/runwayml/sdk-node/compare/v3.4.0...v3.5.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runwayml/sdk",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "The official TypeScript library for the RunwayML API",
5
5
  "author": "RunwayML <dev-feedback@runwayml.com>",
6
6
  "types": "./index.d.ts",
@@ -5,6 +5,22 @@ export declare class CharacterPerformance extends APIResource {
5
5
  /**
6
6
  * This endpoint will start a new task to control a character's facial expressions
7
7
  * and body movements using a reference video.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const characterPerformance =
12
+ * await client.characterPerformance.create({
13
+ * character: {
14
+ * type: 'image',
15
+ * uri: 'https://example.com/file',
16
+ * },
17
+ * model: 'act_two',
18
+ * reference: {
19
+ * type: 'video',
20
+ * uri: 'https://example.com/reference-performance.mp4',
21
+ * },
22
+ * });
23
+ * ```
8
24
  */
9
25
  create(body: CharacterPerformanceCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<CharacterPerformanceCreateResponse>;
10
26
  }
@@ -19,7 +35,8 @@ export interface CharacterPerformanceCreateParams {
19
35
  character: CharacterPerformanceCreateParams.Image | CharacterPerformanceCreateParams.Video;
20
36
  model: 'act_two';
21
37
  /**
22
- * The reference video containing the performance to apply to the character.
38
+ * A video of a person performing in the manner that you would like your character
39
+ * to perform. The video must be between 3 and 30 seconds in duration.
23
40
  */
24
41
  reference: CharacterPerformanceCreateParams.Reference;
25
42
  /**
@@ -41,6 +58,11 @@ export interface CharacterPerformanceCreateParams {
41
58
  * The resolution of the output video.
42
59
  */
43
60
  ratio?: '1280:720' | '720:1280' | '960:960' | '1104:832' | '832:1104' | '1584:672';
61
+ /**
62
+ * If unspecified, a random number is chosen. Varying the seed integer is a way to
63
+ * get different results for the same other request parameters. Using the same seed
64
+ * integer for an identical request will produce similar results.
65
+ */
44
66
  seed?: number;
45
67
  }
46
68
  export declare namespace CharacterPerformanceCreateParams {
@@ -51,7 +73,7 @@ export declare namespace CharacterPerformanceCreateParams {
51
73
  interface Image {
52
74
  type: 'image';
53
75
  /**
54
- * A data URI containing an encoded image.
76
+ * A HTTPS URL.
55
77
  */
56
78
  uri: string;
57
79
  }
@@ -63,17 +85,18 @@ export declare namespace CharacterPerformanceCreateParams {
63
85
  interface Video {
64
86
  type: 'video';
65
87
  /**
66
- * A data URI containing an encoded video.
88
+ * A HTTPS URL.
67
89
  */
68
90
  uri: string;
69
91
  }
70
92
  /**
71
- * The reference video containing the performance to apply to the character.
93
+ * A video of a person performing in the manner that you would like your character
94
+ * to perform. The video must be between 3 and 30 seconds in duration.
72
95
  */
73
96
  interface Reference {
74
97
  type: 'video';
75
98
  /**
76
- * A data URI containing an encoded video.
99
+ * A HTTPS URL.
77
100
  */
78
101
  uri: string;
79
102
  }
@@ -81,6 +104,10 @@ export declare namespace CharacterPerformanceCreateParams {
81
104
  * Settings that affect the behavior of the content moderation system.
82
105
  */
83
106
  interface ContentModeration {
107
+ /**
108
+ * When set to `low`, the content moderation system will be less strict about
109
+ * preventing generations that include recognizable public figures.
110
+ */
84
111
  publicFigureThreshold?: 'auto' | 'low';
85
112
  }
86
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"character-performance.d.mts","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,kCAAkC,CAAC;CAKnE;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,SAAS,EAAE,gCAAgC,CAAC,KAAK,GAAG,gCAAgC,CAAC,KAAK,CAAC;IAE3F,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,gCAAgC,CAAC,SAAS,CAAC;IAEtD;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,gCAAgC,CAAC,iBAAiB,CAAC;IAEvE;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;IAEnF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,gCAAgC,CAAC;IAChD;;;OAGG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;;;OAIG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,SAAS;QACxB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,iBAAiB;QAChC,qBAAqB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;KACxC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
1
+ {"version":3,"file":"character-performance.d.mts","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,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AqB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;KACxC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
@@ -5,6 +5,22 @@ export declare class CharacterPerformance extends APIResource {
5
5
  /**
6
6
  * This endpoint will start a new task to control a character's facial expressions
7
7
  * and body movements using a reference video.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const characterPerformance =
12
+ * await client.characterPerformance.create({
13
+ * character: {
14
+ * type: 'image',
15
+ * uri: 'https://example.com/file',
16
+ * },
17
+ * model: 'act_two',
18
+ * reference: {
19
+ * type: 'video',
20
+ * uri: 'https://example.com/reference-performance.mp4',
21
+ * },
22
+ * });
23
+ * ```
8
24
  */
9
25
  create(body: CharacterPerformanceCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<CharacterPerformanceCreateResponse>;
10
26
  }
@@ -19,7 +35,8 @@ export interface CharacterPerformanceCreateParams {
19
35
  character: CharacterPerformanceCreateParams.Image | CharacterPerformanceCreateParams.Video;
20
36
  model: 'act_two';
21
37
  /**
22
- * The reference video containing the performance to apply to the character.
38
+ * A video of a person performing in the manner that you would like your character
39
+ * to perform. The video must be between 3 and 30 seconds in duration.
23
40
  */
24
41
  reference: CharacterPerformanceCreateParams.Reference;
25
42
  /**
@@ -41,6 +58,11 @@ export interface CharacterPerformanceCreateParams {
41
58
  * The resolution of the output video.
42
59
  */
43
60
  ratio?: '1280:720' | '720:1280' | '960:960' | '1104:832' | '832:1104' | '1584:672';
61
+ /**
62
+ * If unspecified, a random number is chosen. Varying the seed integer is a way to
63
+ * get different results for the same other request parameters. Using the same seed
64
+ * integer for an identical request will produce similar results.
65
+ */
44
66
  seed?: number;
45
67
  }
46
68
  export declare namespace CharacterPerformanceCreateParams {
@@ -51,7 +73,7 @@ export declare namespace CharacterPerformanceCreateParams {
51
73
  interface Image {
52
74
  type: 'image';
53
75
  /**
54
- * A data URI containing an encoded image.
76
+ * A HTTPS URL.
55
77
  */
56
78
  uri: string;
57
79
  }
@@ -63,17 +85,18 @@ export declare namespace CharacterPerformanceCreateParams {
63
85
  interface Video {
64
86
  type: 'video';
65
87
  /**
66
- * A data URI containing an encoded video.
88
+ * A HTTPS URL.
67
89
  */
68
90
  uri: string;
69
91
  }
70
92
  /**
71
- * The reference video containing the performance to apply to the character.
93
+ * A video of a person performing in the manner that you would like your character
94
+ * to perform. The video must be between 3 and 30 seconds in duration.
72
95
  */
73
96
  interface Reference {
74
97
  type: 'video';
75
98
  /**
76
- * A data URI containing an encoded video.
99
+ * A HTTPS URL.
77
100
  */
78
101
  uri: string;
79
102
  }
@@ -81,6 +104,10 @@ export declare namespace CharacterPerformanceCreateParams {
81
104
  * Settings that affect the behavior of the content moderation system.
82
105
  */
83
106
  interface ContentModeration {
107
+ /**
108
+ * When set to `low`, the content moderation system will be less strict about
109
+ * preventing generations that include recognizable public figures.
110
+ */
84
111
  publicFigureThreshold?: 'auto' | 'low';
85
112
  }
86
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"character-performance.d.ts","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,kCAAkC,CAAC;CAKnE;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,SAAS,EAAE,gCAAgC,CAAC,KAAK,GAAG,gCAAgC,CAAC,KAAK,CAAC;IAE3F,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,gCAAgC,CAAC,SAAS,CAAC;IAEtD;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,gCAAgC,CAAC,iBAAiB,CAAC;IAEvE;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;IAEnF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,gCAAgC,CAAC;IAChD;;;OAGG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;;;OAIG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,SAAS;QACxB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,iBAAiB;QAChC,qBAAqB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;KACxC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
1
+ {"version":3,"file":"character-performance.d.ts","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO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AgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
@@ -8,6 +8,22 @@ class CharacterPerformance extends resource_1.APIResource {
8
8
  /**
9
9
  * This endpoint will start a new task to control a character's facial expressions
10
10
  * and body movements using a reference video.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const characterPerformance =
15
+ * await client.characterPerformance.create({
16
+ * character: {
17
+ * type: 'image',
18
+ * uri: 'https://example.com/file',
19
+ * },
20
+ * model: 'act_two',
21
+ * reference: {
22
+ * type: 'video',
23
+ * uri: 'https://example.com/reference-performance.mp4',
24
+ * },
25
+ * });
26
+ * ```
11
27
  */
12
28
  create(body, options) {
13
29
  return (0, polling_1.wrapAsWaitableResource)(this._client)(this._client.post('/v1/character_performance', { body, ...options }));
@@ -1 +1 @@
1
- {"version":3,"file":"character-performance.js","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,+CAAqF;AAErF,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;OAGG;IACH,MAAM,CACJ,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAAqC,IAAI,CAAC,OAAO,CAAC,CAC7E,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CACrE,CAAC;IACJ,CAAC;CACF;AAbD,oDAaC"}
1
+ {"version":3,"file":"character-performance.js","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,+CAAqF;AAErF,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAAqC,IAAI,CAAC,OAAO,CAAC,CAC7E,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CACrE,CAAC;IACJ,CAAC;CACF;AA7BD,oDA6BC"}
@@ -5,6 +5,22 @@ export class CharacterPerformance extends APIResource {
5
5
  /**
6
6
  * This endpoint will start a new task to control a character's facial expressions
7
7
  * and body movements using a reference video.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const characterPerformance =
12
+ * await client.characterPerformance.create({
13
+ * character: {
14
+ * type: 'image',
15
+ * uri: 'https://example.com/file',
16
+ * },
17
+ * model: 'act_two',
18
+ * reference: {
19
+ * type: 'video',
20
+ * uri: 'https://example.com/reference-performance.mp4',
21
+ * },
22
+ * });
23
+ * ```
8
24
  */
9
25
  create(body, options) {
10
26
  return wrapAsWaitableResource(this._client)(this._client.post('/v1/character_performance', { body, ...options }));
@@ -1 +1 @@
1
- {"version":3,"file":"character-performance.mjs","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAA+B,sBAAsB,EAAE;AAE9D,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;OAGG;IACH,MAAM,CACJ,IAAsC,EACtC,OAAwB;QAExB,OAAO,sBAAsB,CAAqC,IAAI,CAAC,OAAO,CAAC,CAC7E,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CACrE,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"character-performance.mjs","sourceRoot":"","sources":["../src/resources/character-performance.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAA+B,sBAAsB,EAAE;AAE9D,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAAsC,EACtC,OAAwB;QAExB,OAAO,sBAAsB,CAAqC,IAAI,CAAC,OAAO,CAAC,CAC7E,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CACrE,CAAC;IACJ,CAAC;CACF"}
@@ -3,108 +3,235 @@ import { RequestOptions } from "../internal/request-options.mjs";
3
3
  import { APIPromiseWithAwaitableTask } from "../lib/polling.mjs";
4
4
  export declare class ImageToVideo extends APIResource {
5
5
  /**
6
- * This endpoint will start a new task to generate a video from an image prompt.
6
+ * This endpoint will start a new task to generate a video from an image.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const imageToVideo = await client.imageToVideo.create({
11
+ * model: 'gen3a_turbo',
12
+ * promptImage: 'https://example.com/file',
13
+ * promptText: 'A beautiful sunset over a calm ocean.',
14
+ * });
15
+ * ```
7
16
  */
8
17
  create(body: ImageToVideoCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<ImageToVideoCreateResponse>;
9
18
  }
10
19
  export interface ImageToVideoCreateResponse {
11
- /**
12
- * The ID of the newly created task. Use this ID to query the task status and
13
- * retrieve the generated video.
14
- */
15
20
  id: string;
16
21
  }
17
- export interface ImageToVideoCreateParams {
18
- /**
19
- * The model variant to use.
20
- */
21
- model: 'gen4_turbo' | 'gen3a_turbo' | 'veo3.1' | 'veo3.1_fast' | 'veo3';
22
- /**
23
- * A HTTPS URL or data URI containing an encoded image to be used as the first
24
- * frame of the generated video. See [our docs](/assets/inputs#images) on image
25
- * inputs for more information.
26
- */
27
- promptImage: string | Array<ImageToVideoCreateParams.PromptImage>;
28
- /**
29
- * The resolution of the output video.
30
- *
31
- * `gen4_turbo` supports the following values:
32
- *
33
- * - `1280:720`
34
- * - `720:1280`
35
- * - `1104:832`
36
- * - `832:1104`
37
- * - `960:960`
38
- * - `1584:672`
39
- *
40
- * `gen3a_turbo` supports the following values:
41
- *
42
- * - `1280:768`
43
- * - `768:1280`
44
- *
45
- * `veo3`, `veo3.1`, `veo3.1_fast` support the following values:
46
- *
47
- * - `1280:720`
48
- * - `720:1280`
49
- * - `1080:1920`
50
- * - `1920:1080`
51
- */
52
- ratio: '1280:720' | '720:1280' | '1104:832' | '832:1104' | '960:960' | '1584:672' | '1280:768' | '768:1280' | '1080:1920' | '1920:1080';
53
- /**
54
- * Settings that affect the behavior of the content moderation system.
55
- *
56
- * This field is allowed only for the following model variants: `gen4_turbo`,
57
- * `gen3a_turbo`
58
- */
59
- contentModeration?: ImageToVideoCreateParams.ContentModeration;
60
- /**
61
- * The number of seconds of duration for the output video. `veo3` requires a
62
- * duration of 8. `veo3.1` and `veo3.1_fast` require a duration of 4, 6, or 8.
63
- * `gen3a_turbo` requires a duration of 5 or 10. `gen4_turbo` must specify a
64
- * duration of 2-10 seconds.
65
- */
66
- duration?: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
67
- /**
68
- * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
69
- * should describe in detail what should appear in the output.
70
- */
71
- promptText?: string;
72
- /**
73
- * If unspecified, a random number is chosen. Varying the seed integer is a way to
74
- * get different results for the same other request parameters. Using the same seed
75
- * integer for an identical request will produce similar results.
76
- */
77
- seed?: number;
78
- }
22
+ export type ImageToVideoCreateParams = ImageToVideoCreateParams.Gen4Turbo | ImageToVideoCreateParams.Gen3aTurbo | ImageToVideoCreateParams.Veo3_1 | ImageToVideoCreateParams.Veo3_1Fast | ImageToVideoCreateParams.Veo3;
79
23
  export declare namespace ImageToVideoCreateParams {
80
- interface PromptImage {
24
+ interface Gen4Turbo {
25
+ model: 'gen4_turbo';
26
+ /**
27
+ * A HTTPS URL.
28
+ */
29
+ promptImage: string | Array<Gen4Turbo.PromptImage>;
30
+ /**
31
+ * The resolution of the output video.
32
+ */
33
+ ratio: '1280:720' | '720:1280' | '1104:832' | '832:1104' | '960:960' | '1584:672';
34
+ /**
35
+ * Settings that affect the behavior of the content moderation system.
36
+ */
37
+ contentModeration?: Gen4Turbo.ContentModeration;
81
38
  /**
82
- * The position of the image in the output video. "first" will use the image as the
83
- * first frame of the video, "last" will use the image as the last frame of the
84
- * video.
85
- *
86
- * "last" is currently supported for `gen3a_turbo`, `veo3.1`, and `veo3.1_fast`
87
- * only. `veo3.1` and `veo3.1_fast` require a `first` frame to be provided.
39
+ * The number of seconds of duration for the output video.
88
40
  */
89
- position: 'first' | 'last';
41
+ duration?: number;
90
42
  /**
91
- * A HTTPS URL or data URI containing an encoded image. See
92
- * [our docs](/assets/inputs#images) on image inputs for more information.
43
+ * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
44
+ * should describe in detail what should appear in the output.
93
45
  */
94
- uri: string;
46
+ promptText?: string;
47
+ /**
48
+ * If unspecified, a random number is chosen. Varying the seed integer is a way to
49
+ * get different results for the same other request parameters. Using the same seed
50
+ * integer for an identical request will produce similar results.
51
+ */
52
+ seed?: number;
95
53
  }
96
- /**
97
- * Settings that affect the behavior of the content moderation system.
98
- *
99
- * This field is allowed only for the following model variants: `gen4_turbo`,
100
- * `gen3a_turbo`
101
- */
102
- interface ContentModeration {
54
+ namespace Gen4Turbo {
55
+ interface PromptImage {
56
+ /**
57
+ * The position of the image in the output video. "first" will use the image as the
58
+ * first frame of the video.
59
+ */
60
+ position: 'first';
61
+ /**
62
+ * A HTTPS URL.
63
+ */
64
+ uri: string;
65
+ }
66
+ /**
67
+ * Settings that affect the behavior of the content moderation system.
68
+ */
69
+ interface ContentModeration {
70
+ /**
71
+ * When set to `low`, the content moderation system will be less strict about
72
+ * preventing generations that include recognizable public figures.
73
+ */
74
+ publicFigureThreshold?: 'auto' | 'low';
75
+ }
76
+ }
77
+ interface Gen3aTurbo {
78
+ model: 'gen3a_turbo';
79
+ /**
80
+ * A HTTPS URL.
81
+ */
82
+ promptImage: string | Array<Gen3aTurbo.PromptImage>;
103
83
  /**
104
- * When set to `low`, the content moderation system will be less strict about
105
- * preventing generations that include recognizable public figures.
84
+ * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
85
+ * should describe in detail what should appear in the output.
106
86
  */
107
- publicFigureThreshold?: 'auto' | 'low';
87
+ promptText: string;
88
+ /**
89
+ * Settings that affect the behavior of the content moderation system.
90
+ */
91
+ contentModeration?: Gen3aTurbo.ContentModeration;
92
+ /**
93
+ * The duration of the output video in seconds.
94
+ */
95
+ duration?: 5 | 10;
96
+ /**
97
+ * The resolution of the output video.
98
+ */
99
+ ratio?: '768:1280' | '1280:768';
100
+ /**
101
+ * If unspecified, a random number is chosen. Varying the seed integer is a way to
102
+ * get different results for the same other request parameters. Using the same seed
103
+ * integer for an identical request will produce similar results.
104
+ */
105
+ seed?: number;
106
+ }
107
+ namespace Gen3aTurbo {
108
+ interface PromptImage {
109
+ /**
110
+ * The position of the image in the output video. "first" will use the image as the
111
+ * first frame of the video, "last" will use the image as the last frame of the
112
+ * video.
113
+ */
114
+ position: 'first' | 'last';
115
+ /**
116
+ * A HTTPS URL.
117
+ */
118
+ uri: string;
119
+ }
120
+ /**
121
+ * Settings that affect the behavior of the content moderation system.
122
+ */
123
+ interface ContentModeration {
124
+ /**
125
+ * When set to `low`, the content moderation system will be less strict about
126
+ * preventing generations that include recognizable public figures.
127
+ */
128
+ publicFigureThreshold?: 'auto' | 'low';
129
+ }
130
+ }
131
+ interface Veo3_1 {
132
+ model: 'veo3.1';
133
+ /**
134
+ * You may specify an image to use as the first frame of the output video, or an
135
+ * array with a first frame and optionally a last frame. This model does not
136
+ * support generating with only a last frame.
137
+ */
138
+ promptImage: string | Array<Veo3_1.PromptImage>;
139
+ /**
140
+ * The resolution of the output video.
141
+ */
142
+ ratio: '1280:720' | '720:1280' | '1080:1920' | '1920:1080';
143
+ /**
144
+ * The number of seconds of duration for the output video.
145
+ */
146
+ duration?: 4 | 6 | 8;
147
+ /**
148
+ * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
149
+ * should describe in detail what should appear in the output.
150
+ */
151
+ promptText?: string;
152
+ }
153
+ namespace Veo3_1 {
154
+ interface PromptImage {
155
+ /**
156
+ * The position of the image in the output video. "first" will use the image as the
157
+ * first frame of the video, "last" will use the image as the last frame of the
158
+ * video.
159
+ */
160
+ position: 'first' | 'last';
161
+ /**
162
+ * A HTTPS URL.
163
+ */
164
+ uri: string;
165
+ }
166
+ }
167
+ interface Veo3_1Fast {
168
+ model: 'veo3.1_fast';
169
+ /**
170
+ * You may specify an image to use as the first frame of the output video, or an
171
+ * array with a first frame and optionally a last frame. This model does not
172
+ * support generating with only a last frame.
173
+ */
174
+ promptImage: string | Array<Veo3_1Fast.PromptImage>;
175
+ /**
176
+ * The resolution of the output video.
177
+ */
178
+ ratio: '1280:720' | '720:1280' | '1080:1920' | '1920:1080';
179
+ /**
180
+ * The number of seconds of duration for the output video.
181
+ */
182
+ duration?: 4 | 6 | 8;
183
+ /**
184
+ * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
185
+ * should describe in detail what should appear in the output.
186
+ */
187
+ promptText?: string;
188
+ }
189
+ namespace Veo3_1Fast {
190
+ interface PromptImage {
191
+ /**
192
+ * The position of the image in the output video. "first" will use the image as the
193
+ * first frame of the video, "last" will use the image as the last frame of the
194
+ * video.
195
+ */
196
+ position: 'first' | 'last';
197
+ /**
198
+ * A HTTPS URL.
199
+ */
200
+ uri: string;
201
+ }
202
+ }
203
+ interface Veo3 {
204
+ /**
205
+ * The number of seconds of duration for the output video.
206
+ */
207
+ duration: 8;
208
+ model: 'veo3';
209
+ /**
210
+ * A HTTPS URL.
211
+ */
212
+ promptImage: string | Array<Veo3.PromptImage>;
213
+ /**
214
+ * The resolution of the output video.
215
+ */
216
+ ratio: '1280:720' | '720:1280' | '1080:1920' | '1920:1080';
217
+ /**
218
+ * A non-empty string up to 1000 characters (measured in UTF-16 code units). This
219
+ * should describe in detail what should appear in the output.
220
+ */
221
+ promptText?: string;
222
+ }
223
+ namespace Veo3 {
224
+ interface PromptImage {
225
+ /**
226
+ * The position of the image in the output video. "first" will use the image as the
227
+ * first frame of the video.
228
+ */
229
+ position: 'first';
230
+ /**
231
+ * A HTTPS URL.
232
+ */
233
+ uri: string;
234
+ }
108
235
  }
109
236
  }
110
237
  export declare namespace ImageToVideo {
@@ -1 +1 @@
1
- {"version":3,"file":"image-to-video.d.mts","sourceRoot":"","sources":["../src/resources/image-to-video.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,EAAE,YAAY,GAAG,aAAa,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;IAExE;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAElE;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,KAAK,EACD,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,CAAC;IAEhB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,wBAAwB,CAAC,iBAAiB,CAAC;IAE/D;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;IAE9C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,WAAW;QAC1B;;;;;;;WAOG;QACH,QAAQ,EAAE,OAAO,GAA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