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.
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/resources/v1/image-to-video/request-types.d.ts +2 -2
- package/dist/resources/v1/image-to-video/request-types.js +2 -2
- package/dist/resources/v1/text-to-video/request-types.d.ts +2 -2
- package/dist/resources/v1/text-to-video/request-types.js +2 -2
- package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +1 -1
- package/dist/types/v1-image-to-video-create-body.d.ts +2 -2
- package/dist/types/v1-image-to-video-create-body.js +2 -2
- package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +1 -1
- package/dist/types/v1-text-to-video-create-body.d.ts +2 -2
- package/dist/types/v1-text-to-video-create-body.js +2 -2
- package/package.json +1 -1
package/dist/environment.d.ts
CHANGED
package/dist/environment.js
CHANGED
|
@@ -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.
|
|
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) => {
|
|
@@ -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
|
})
|
|
@@ -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) => {
|