magic-hour 0.73.0 → 0.74.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.
@@ -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.77.0"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.78.0"
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.77.0";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.78.0";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -101,7 +101,7 @@ export type CreateRequest = {
101
101
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
102
102
  *
103
103
  */
104
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
104
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
105
105
  /**
106
106
  * Attributed used to dictate the style of the output
107
107
  */
@@ -125,7 +125,7 @@ export type External$CreateRequest = {
125
125
  height?: number | null | undefined;
126
126
  model?: ("default" | "gemini-omni-1.1" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "ltx-2.5" | "minimax-h3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "seedance-2.5" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
127
127
  name?: string | undefined;
128
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
128
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
129
129
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
130
130
  width?: number | null | undefined;
131
131
  };
@@ -73,7 +73,7 @@ const SchemaIn$CreateRequest = z
73
73
  ])
74
74
  .optional(),
75
75
  name: z.string().optional(),
76
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
76
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
77
77
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
78
78
  width: z.number().int().nullable().optional(),
79
79
  })
@@ -126,7 +126,7 @@ const SchemaOut$CreateRequest = z
126
126
  ])
127
127
  .optional(),
128
128
  name: z.string().optional(),
129
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
129
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
130
130
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
131
131
  width: z.number().int().nullable().optional(),
132
132
  })
@@ -114,7 +114,7 @@ export type CreateRequest = {
114
114
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
115
115
  *
116
116
  */
117
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
117
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
118
118
  style: V1TextToVideoCreateBodyStyle;
119
119
  };
120
120
  /**
@@ -129,7 +129,7 @@ export type External$CreateRequest = {
129
129
  model?: ("default" | "gemini-omni-1.1" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "ltx-2.5" | "minimax-h3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "seedance-2.5" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
130
130
  name?: string | undefined;
131
131
  orientation?: ("landscape" | "portrait" | "square") | undefined;
132
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
132
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
133
133
  style: External$V1TextToVideoCreateBodyStyle;
134
134
  };
135
135
  export declare const Schemas$CreateRequest: {
@@ -72,7 +72,7 @@ const SchemaIn$CreateRequest = z
72
72
  .optional(),
73
73
  name: z.string().optional(),
74
74
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
75
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
75
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
76
76
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.in,
77
77
  })
78
78
  .transform((obj) => {
@@ -123,7 +123,7 @@ const SchemaOut$CreateRequest = z
123
123
  .optional(),
124
124
  name: z.string().optional(),
125
125
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
126
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
126
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
127
127
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.out,
128
128
  })
129
129
  .transform((obj) => {
@@ -17,4 +17,4 @@
17
17
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
18
18
  *
19
19
  */
20
- export type V1ImageToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "4k" | "720p";
20
+ export type V1ImageToVideoCreateBodyResolutionEnum = "1080p" | "360p" | "480p" | "4k" | "720p";
@@ -101,7 +101,7 @@ export type V1ImageToVideoCreateBody = {
101
101
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
102
102
  *
103
103
  */
104
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
104
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
105
105
  /**
106
106
  * Attributed used to dictate the style of the output
107
107
  */
@@ -125,7 +125,7 @@ export type External$V1ImageToVideoCreateBody = {
125
125
  height?: number | null | undefined;
126
126
  model?: ("default" | "gemini-omni-1.1" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "ltx-2.5" | "minimax-h3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "seedance-2.5" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
127
127
  name?: string | undefined;
128
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
128
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
129
129
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
130
130
  width?: number | null | undefined;
131
131
  };
@@ -73,7 +73,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
73
73
  ])
74
74
  .optional(),
75
75
  name: z.string().optional(),
76
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
76
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
77
77
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
78
78
  width: z.number().int().nullable().optional(),
79
79
  })
@@ -126,7 +126,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
126
126
  ])
127
127
  .optional(),
128
128
  name: z.string().optional(),
129
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
129
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
130
130
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
131
131
  width: z.number().int().nullable().optional(),
132
132
  })
@@ -17,4 +17,4 @@
17
17
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
18
18
  *
19
19
  */
20
- export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "4k" | "720p";
20
+ export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "360p" | "480p" | "4k" | "720p";
@@ -114,7 +114,7 @@ export type V1TextToVideoCreateBody = {
114
114
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
115
115
  *
116
116
  */
117
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
117
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
118
118
  style: V1TextToVideoCreateBodyStyle;
119
119
  };
120
120
  /**
@@ -129,7 +129,7 @@ export type External$V1TextToVideoCreateBody = {
129
129
  model?: ("default" | "gemini-omni-1.1" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "ltx-2.5" | "minimax-h3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "seedance-2.5" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
130
130
  name?: string | undefined;
131
131
  orientation?: ("landscape" | "portrait" | "square") | undefined;
132
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
132
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
133
133
  style: External$V1TextToVideoCreateBodyStyle;
134
134
  };
135
135
  export declare const Schemas$V1TextToVideoCreateBody: {
@@ -72,7 +72,7 @@ const SchemaIn$V1TextToVideoCreateBody = z
72
72
  .optional(),
73
73
  name: z.string().optional(),
74
74
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
75
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
75
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
76
76
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.in,
77
77
  })
78
78
  .transform((obj) => {
@@ -123,7 +123,7 @@ const SchemaOut$V1TextToVideoCreateBody = z
123
123
  .optional(),
124
124
  name: z.string().optional(),
125
125
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
126
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
126
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
127
127
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.out,
128
128
  })
129
129
  .transform((obj) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.73.0",
3
+ "version": "0.74.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {