magic-hour 0.8.6 → 0.9.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
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.9.0";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -3,6 +3,10 @@ import * as z from "zod";
|
|
|
3
3
|
* PostV1ImageToVideoBodyStyle
|
|
4
4
|
*/
|
|
5
5
|
export type PostV1ImageToVideoBodyStyle = {
|
|
6
|
+
/**
|
|
7
|
+
* High Quality mode enhances detail, sharpness, and realism, making it ideal for portraits, animals, and intricate landscapes.
|
|
8
|
+
*/
|
|
9
|
+
highQuality?: boolean | undefined;
|
|
6
10
|
/**
|
|
7
11
|
* The prompt used for the video.
|
|
8
12
|
*/
|
|
@@ -14,6 +18,7 @@ export type PostV1ImageToVideoBodyStyle = {
|
|
|
14
18
|
* we expect to come in as network data
|
|
15
19
|
*/
|
|
16
20
|
export type External$PostV1ImageToVideoBodyStyle = {
|
|
21
|
+
high_quality?: boolean | undefined;
|
|
17
22
|
prompt: string | null;
|
|
18
23
|
};
|
|
19
24
|
export declare const Schemas$PostV1ImageToVideoBodyStyle: {
|
|
@@ -41,10 +41,12 @@ const z = __importStar(require("zod"));
|
|
|
41
41
|
*/
|
|
42
42
|
const SchemaIn$PostV1ImageToVideoBodyStyle = z
|
|
43
43
|
.object({
|
|
44
|
+
high_quality: z.boolean().optional(),
|
|
44
45
|
prompt: z.string().nullable(),
|
|
45
46
|
})
|
|
46
47
|
.transform((obj) => {
|
|
47
48
|
return (0, core_1.zodTransform)(obj, {
|
|
49
|
+
high_quality: "highQuality",
|
|
48
50
|
prompt: "prompt",
|
|
49
51
|
});
|
|
50
52
|
});
|
|
@@ -54,10 +56,12 @@ const SchemaIn$PostV1ImageToVideoBodyStyle = z
|
|
|
54
56
|
*/
|
|
55
57
|
const SchemaOut$PostV1ImageToVideoBodyStyle = z
|
|
56
58
|
.object({
|
|
59
|
+
highQuality: z.boolean().optional(),
|
|
57
60
|
prompt: z.string().nullable(),
|
|
58
61
|
})
|
|
59
62
|
.transform((obj) => {
|
|
60
63
|
return (0, core_1.zodTransform)(obj, {
|
|
64
|
+
highQuality: "high_quality",
|
|
61
65
|
prompt: "prompt",
|
|
62
66
|
});
|
|
63
67
|
});
|