magic-hour 0.83.0 → 0.83.1

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.
@@ -1,4 +1,4 @@
1
1
  export declare enum Environment {
2
2
  Environment = "https://api.magichour.ai",
3
- MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.87.0"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.87.1"
4
4
  }
@@ -4,5 +4,5 @@ exports.Environment = void 0;
4
4
  var Environment;
5
5
  (function (Environment) {
6
6
  Environment["Environment"] = "https://api.magichour.ai";
7
- Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.87.0";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.87.1";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -92,6 +92,17 @@ export type CreateRequest = {
92
92
  * Deprecated. Use `aspect_ratio` instead.
93
93
  */
94
94
  orientation?: ("landscape" | "portrait" | "square") | undefined;
95
+ /**
96
+ * Reference media for video generation. Name references without @ and refer to them as @name in style.prompt. Maximum 10 references total.
97
+ *
98
+ * Supported models and reference media:
99
+ * * **`kling-3.0`**: Supports images, videos.
100
+ * * **`minimax-h3`**: Supports images, videos, audio.
101
+ * * **`seedance-2.0`**: Supports images, videos, audio.
102
+ * * **`seedance-2.0-mini`**: Supports images, videos, audio.
103
+ * * **`seedance-2.5`**: Supports images, videos, audio.
104
+ * * **`wan-3.0`**: Supports images, videos, audio.
105
+ */
95
106
  references?: V1TextToVideoCreateBodyReferencesItem[] | undefined;
96
107
  /**
97
108
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
@@ -92,6 +92,17 @@ export type V1TextToVideoCreateBody = {
92
92
  * Deprecated. Use `aspect_ratio` instead.
93
93
  */
94
94
  orientation?: ("landscape" | "portrait" | "square") | undefined;
95
+ /**
96
+ * Reference media for video generation. Name references without @ and refer to them as @name in style.prompt. Maximum 10 references total.
97
+ *
98
+ * Supported models and reference media:
99
+ * * **`kling-3.0`**: Supports images, videos.
100
+ * * **`minimax-h3`**: Supports images, videos, audio.
101
+ * * **`seedance-2.0`**: Supports images, videos, audio.
102
+ * * **`seedance-2.0-mini`**: Supports images, videos, audio.
103
+ * * **`seedance-2.5`**: Supports images, videos, audio.
104
+ * * **`wan-3.0`**: Supports images, videos, audio.
105
+ */
95
106
  references?: V1TextToVideoCreateBodyReferencesItem[] | undefined;
96
107
  /**
97
108
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * * `v1` - more detail, closer prompt adherence, and frame-by-frame previews.
3
3
  * * `v2` - faster, more consistent, and less noisy.
4
- * * `default` - use the default version for the selected art style.
4
+ * * `default` - use the selected art style's default version. Some art styles default to v3, which is unavailable through this API. For `Studio Ghibli`, explicitly set `version` to `v2` to use its supported preset.
5
5
  */
6
6
  export type V1VideoToVideoCreateBodyStyleVersionEnum = "default" | "v1" | "v2";
@@ -24,7 +24,7 @@ export type V1VideoToVideoCreateBodyStyle = {
24
24
  /**
25
25
  * * `v1` - more detail, closer prompt adherence, and frame-by-frame previews.
26
26
  * * `v2` - faster, more consistent, and less noisy.
27
- * * `default` - use the default version for the selected art style.
27
+ * * `default` - use the selected art style's default version. Some art styles default to v3, which is unavailable through this API. For `Studio Ghibli`, explicitly set `version` to `v2` to use its supported preset.
28
28
  */
29
29
  version?: ("default" | "v1" | "v2") | undefined;
30
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.83.0",
3
+ "version": "0.83.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {