magic-hour 0.26.0 → 0.26.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.
- 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/types/v1-image-to-video-create-body.d.ts +2 -2
- package/dist/types/v1-image-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.26.1";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -35,7 +35,7 @@ export type CreateRequest = {
|
|
|
35
35
|
/**
|
|
36
36
|
* Attributed used to dictate the style of the output
|
|
37
37
|
*/
|
|
38
|
-
style
|
|
38
|
+
style?: V1ImageToVideoCreateBodyStyle | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* This field does not affect the output video's resolution. The video's orientation will match that of the input image.
|
|
41
41
|
*
|
|
@@ -54,7 +54,7 @@ export type External$CreateRequest = {
|
|
|
54
54
|
height?: number | undefined;
|
|
55
55
|
name?: string | undefined;
|
|
56
56
|
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
57
|
-
style
|
|
57
|
+
style?: External$V1ImageToVideoCreateBodyStyle | undefined;
|
|
58
58
|
width?: number | undefined;
|
|
59
59
|
};
|
|
60
60
|
export declare const Schemas$CreateRequest: {
|
|
@@ -48,7 +48,7 @@ const SchemaIn$CreateRequest = z
|
|
|
48
48
|
height: z.number().int().optional(),
|
|
49
49
|
name: z.string().optional(),
|
|
50
50
|
resolution: z.enum(["1080p", "480p", "720p"]).optional(),
|
|
51
|
-
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in,
|
|
51
|
+
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
|
|
52
52
|
width: z.number().int().optional(),
|
|
53
53
|
})
|
|
54
54
|
.transform((obj) => {
|
|
@@ -73,7 +73,7 @@ const SchemaOut$CreateRequest = z
|
|
|
73
73
|
height: z.number().int().optional(),
|
|
74
74
|
name: z.string().optional(),
|
|
75
75
|
resolution: z.enum(["1080p", "480p", "720p"]).optional(),
|
|
76
|
-
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out,
|
|
76
|
+
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
|
|
77
77
|
width: z.number().int().optional(),
|
|
78
78
|
})
|
|
79
79
|
.transform((obj) => {
|
|
@@ -35,7 +35,7 @@ export type V1ImageToVideoCreateBody = {
|
|
|
35
35
|
/**
|
|
36
36
|
* Attributed used to dictate the style of the output
|
|
37
37
|
*/
|
|
38
|
-
style
|
|
38
|
+
style?: V1ImageToVideoCreateBodyStyle | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* This field does not affect the output video's resolution. The video's orientation will match that of the input image.
|
|
41
41
|
*
|
|
@@ -54,7 +54,7 @@ export type External$V1ImageToVideoCreateBody = {
|
|
|
54
54
|
height?: number | undefined;
|
|
55
55
|
name?: string | undefined;
|
|
56
56
|
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
57
|
-
style
|
|
57
|
+
style?: External$V1ImageToVideoCreateBodyStyle | undefined;
|
|
58
58
|
width?: number | undefined;
|
|
59
59
|
};
|
|
60
60
|
export declare const Schemas$V1ImageToVideoCreateBody: {
|
|
@@ -48,7 +48,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
|
|
|
48
48
|
height: z.number().int().optional(),
|
|
49
49
|
name: z.string().optional(),
|
|
50
50
|
resolution: z.enum(["1080p", "480p", "720p"]).optional(),
|
|
51
|
-
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in,
|
|
51
|
+
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
|
|
52
52
|
width: z.number().int().optional(),
|
|
53
53
|
})
|
|
54
54
|
.transform((obj) => {
|
|
@@ -73,7 +73,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
|
|
|
73
73
|
height: z.number().int().optional(),
|
|
74
74
|
name: z.string().optional(),
|
|
75
75
|
resolution: z.enum(["1080p", "480p", "720p"]).optional(),
|
|
76
|
-
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out,
|
|
76
|
+
style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
|
|
77
77
|
width: z.number().int().optional(),
|
|
78
78
|
})
|
|
79
79
|
.transform((obj) => {
|