magic-hour 0.71.3 → 0.72.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/ai-talking-photo/request-types.d.ts +2 -2
- package/dist/resources/v1/image-to-video/request-types.d.ts +14 -14
- package/dist/resources/v1/image-to-video/request-types.js +4 -0
- package/dist/resources/v1/text-to-video/request-types.d.ts +14 -14
- package/dist/resources/v1/text-to-video/request-types.js +4 -0
- package/dist/types/v1-ai-clothes-changer-create-body-assets-garment-type-enum.d.ts +1 -1
- package/dist/types/v1-ai-clothes-changer-create-body-assets.d.ts +1 -1
- package/dist/types/v1-ai-talking-photo-create-body.d.ts +2 -2
- package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +13 -13
- package/dist/types/v1-image-to-video-create-body.d.ts +14 -14
- package/dist/types/v1-image-to-video-create-body.js +4 -0
- package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +13 -13
- package/dist/types/v1-text-to-video-create-body.d.ts +14 -14
- package/dist/types/v1-text-to-video-create-body.js +4 -0
- package/package.json +2 -2
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.76.0";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -10,7 +10,7 @@ export type CreateRequest = {
|
|
|
10
10
|
*/
|
|
11
11
|
assets: V1AiTalkingPhotoCreateBodyAssets;
|
|
12
12
|
/**
|
|
13
|
-
* The end time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic
|
|
13
|
+
* The end time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s.
|
|
14
14
|
*/
|
|
15
15
|
endSeconds: number;
|
|
16
16
|
/**
|
|
@@ -22,7 +22,7 @@ export type CreateRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
name?: string | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* The start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic
|
|
25
|
+
* The start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s.
|
|
26
26
|
*/
|
|
27
27
|
startSeconds: number;
|
|
28
28
|
/**
|
|
@@ -56,22 +56,22 @@ export type CreateRequest = {
|
|
|
56
56
|
* The AI model to use for video generation.
|
|
57
57
|
*
|
|
58
58
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
|
|
59
|
-
* * `kling-2.6`:
|
|
60
|
-
* * `kling-3.0`: Best
|
|
61
|
-
* * `ltx-2.3`: Fastest
|
|
62
|
-
* * `minimax-h3`:
|
|
63
|
-
* * `seedance-1.5`:
|
|
64
|
-
* * `seedance-2.0`:
|
|
65
|
-
* * `seedance-2.0-mini`:
|
|
66
|
-
* * `seedance-2.5`:
|
|
67
|
-
* * `sora-2`:
|
|
68
|
-
* * `veo3.1`:
|
|
69
|
-
* * `veo3.1-lite`:
|
|
70
|
-
* * `wan-2.2`:
|
|
59
|
+
* * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
|
|
60
|
+
* * `kling-3.0`: Best for cinematic stories, references, and optional audio.
|
|
61
|
+
* * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
|
|
62
|
+
* * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
|
|
63
|
+
* * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
|
|
64
|
+
* * `seedance-2.0`: Best for reference-led clips with precise subject control.
|
|
65
|
+
* * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
|
|
66
|
+
* * `seedance-2.5`: Best for premium realism, detail, and natural motion.
|
|
67
|
+
* * `sora-2`: Best for creative concepts and longer clips with audio.
|
|
68
|
+
* * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
|
|
69
|
+
* * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
|
|
70
|
+
* * `wan-2.2`: Best for physical motion, action, and camera movement.
|
|
71
71
|
*
|
|
72
72
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
73
73
|
*/
|
|
74
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
74
|
+
model?: ("default" | "google-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;
|
|
75
75
|
/**
|
|
76
76
|
* Give your video a custom name for easy identification.
|
|
77
77
|
*/
|
|
@@ -115,7 +115,7 @@ export type External$CreateRequest = {
|
|
|
115
115
|
audio?: boolean | undefined;
|
|
116
116
|
end_seconds: number;
|
|
117
117
|
height?: number | null | undefined;
|
|
118
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
118
|
+
model?: ("default" | "google-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;
|
|
119
119
|
name?: string | undefined;
|
|
120
120
|
resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
|
|
121
121
|
style?: External$V1ImageToVideoCreateBodyStyle | undefined;
|
|
@@ -50,6 +50,7 @@ const SchemaIn$CreateRequest = z
|
|
|
50
50
|
model: z
|
|
51
51
|
.enum([
|
|
52
52
|
"default",
|
|
53
|
+
"google-omni-1.1",
|
|
53
54
|
"kling-1.6",
|
|
54
55
|
"kling-2.5",
|
|
55
56
|
"kling-2.5-audio",
|
|
@@ -57,6 +58,7 @@ const SchemaIn$CreateRequest = z
|
|
|
57
58
|
"kling-3.0",
|
|
58
59
|
"ltx-2",
|
|
59
60
|
"ltx-2.3",
|
|
61
|
+
"ltx-2.5",
|
|
60
62
|
"minimax-h3",
|
|
61
63
|
"seedance",
|
|
62
64
|
"seedance-1.5",
|
|
@@ -101,6 +103,7 @@ const SchemaOut$CreateRequest = z
|
|
|
101
103
|
model: z
|
|
102
104
|
.enum([
|
|
103
105
|
"default",
|
|
106
|
+
"google-omni-1.1",
|
|
104
107
|
"kling-1.6",
|
|
105
108
|
"kling-2.5",
|
|
106
109
|
"kling-2.5-audio",
|
|
@@ -108,6 +111,7 @@ const SchemaOut$CreateRequest = z
|
|
|
108
111
|
"kling-3.0",
|
|
109
112
|
"ltx-2",
|
|
110
113
|
"ltx-2.3",
|
|
114
|
+
"ltx-2.5",
|
|
111
115
|
"minimax-h3",
|
|
112
116
|
"seedance",
|
|
113
117
|
"seedance-1.5",
|
|
@@ -63,22 +63,22 @@ export type CreateRequest = {
|
|
|
63
63
|
* The AI model to use for video generation.
|
|
64
64
|
*
|
|
65
65
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
|
|
66
|
-
* * `kling-2.6`:
|
|
67
|
-
* * `kling-3.0`: Best
|
|
68
|
-
* * `ltx-2.3`: Fastest
|
|
69
|
-
* * `minimax-h3`:
|
|
70
|
-
* * `seedance-1.5`:
|
|
71
|
-
* * `seedance-2.0`:
|
|
72
|
-
* * `seedance-2.0-mini`:
|
|
73
|
-
* * `seedance-2.5`:
|
|
74
|
-
* * `sora-2`:
|
|
75
|
-
* * `veo3.1`:
|
|
76
|
-
* * `veo3.1-lite`:
|
|
77
|
-
* * `wan-2.2`:
|
|
66
|
+
* * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
|
|
67
|
+
* * `kling-3.0`: Best for cinematic stories, references, and optional audio.
|
|
68
|
+
* * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
|
|
69
|
+
* * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
|
|
70
|
+
* * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
|
|
71
|
+
* * `seedance-2.0`: Best for reference-led clips with precise subject control.
|
|
72
|
+
* * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
|
|
73
|
+
* * `seedance-2.5`: Best for premium realism, detail, and natural motion.
|
|
74
|
+
* * `sora-2`: Best for creative concepts and longer clips with audio.
|
|
75
|
+
* * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
|
|
76
|
+
* * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
|
|
77
|
+
* * `wan-2.2`: Best for physical motion, action, and camera movement.
|
|
78
78
|
*
|
|
79
79
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
80
80
|
*/
|
|
81
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
81
|
+
model?: ("default" | "google-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;
|
|
82
82
|
/**
|
|
83
83
|
* Give your video a custom name for easy identification.
|
|
84
84
|
*/
|
|
@@ -116,7 +116,7 @@ export type External$CreateRequest = {
|
|
|
116
116
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
117
117
|
audio?: boolean | undefined;
|
|
118
118
|
end_seconds: number;
|
|
119
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
119
|
+
model?: ("default" | "google-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;
|
|
120
120
|
name?: string | undefined;
|
|
121
121
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
122
122
|
resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
|
|
@@ -48,6 +48,7 @@ const SchemaIn$CreateRequest = z
|
|
|
48
48
|
model: z
|
|
49
49
|
.enum([
|
|
50
50
|
"default",
|
|
51
|
+
"google-omni-1.1",
|
|
51
52
|
"kling-1.6",
|
|
52
53
|
"kling-2.5",
|
|
53
54
|
"kling-2.5-audio",
|
|
@@ -55,6 +56,7 @@ const SchemaIn$CreateRequest = z
|
|
|
55
56
|
"kling-3.0",
|
|
56
57
|
"ltx-2",
|
|
57
58
|
"ltx-2.3",
|
|
59
|
+
"ltx-2.5",
|
|
58
60
|
"minimax-h3",
|
|
59
61
|
"seedance",
|
|
60
62
|
"seedance-1.5",
|
|
@@ -97,6 +99,7 @@ const SchemaOut$CreateRequest = z
|
|
|
97
99
|
model: z
|
|
98
100
|
.enum([
|
|
99
101
|
"default",
|
|
102
|
+
"google-omni-1.1",
|
|
100
103
|
"kling-1.6",
|
|
101
104
|
"kling-2.5",
|
|
102
105
|
"kling-2.5-audio",
|
|
@@ -104,6 +107,7 @@ const SchemaOut$CreateRequest = z
|
|
|
104
107
|
"kling-3.0",
|
|
105
108
|
"ltx-2",
|
|
106
109
|
"ltx-2.3",
|
|
110
|
+
"ltx-2.5",
|
|
107
111
|
"minimax-h3",
|
|
108
112
|
"seedance",
|
|
109
113
|
"seedance-1.5",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Type of
|
|
2
|
+
* Type of clothing item to swap. If not provided, swaps the entire outfit.
|
|
3
3
|
* * `upper_body` - for shirts/jackets
|
|
4
4
|
* * `lower_body` - for pants/skirts
|
|
5
5
|
* * `dresses` - for entire outfit (deprecated, use `entire_outfit` instead)
|
|
@@ -13,7 +13,7 @@ export type V1AiClothesChangerCreateBodyAssets = {
|
|
|
13
13
|
*/
|
|
14
14
|
garmentFilePath: string;
|
|
15
15
|
/**
|
|
16
|
-
* Type of
|
|
16
|
+
* Type of clothing item to swap. If not provided, swaps the entire outfit.
|
|
17
17
|
* * `upper_body` - for shirts/jackets
|
|
18
18
|
* * `lower_body` - for pants/skirts
|
|
19
19
|
* * `dresses` - for entire outfit (deprecated, use `entire_outfit` instead)
|
|
@@ -10,7 +10,7 @@ export type V1AiTalkingPhotoCreateBody = {
|
|
|
10
10
|
*/
|
|
11
11
|
assets: V1AiTalkingPhotoCreateBodyAssets;
|
|
12
12
|
/**
|
|
13
|
-
* The end time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic
|
|
13
|
+
* The end time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s.
|
|
14
14
|
*/
|
|
15
15
|
endSeconds: number;
|
|
16
16
|
/**
|
|
@@ -22,7 +22,7 @@ export type V1AiTalkingPhotoCreateBody = {
|
|
|
22
22
|
*/
|
|
23
23
|
name?: string | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* The start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic
|
|
25
|
+
* The start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s.
|
|
26
26
|
*/
|
|
27
27
|
startSeconds: number;
|
|
28
28
|
/**
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
* The AI model to use for video generation.
|
|
3
3
|
*
|
|
4
4
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
|
|
5
|
-
* * `kling-2.6`:
|
|
6
|
-
* * `kling-3.0`: Best
|
|
7
|
-
* * `ltx-2.3`: Fastest
|
|
8
|
-
* * `minimax-h3`:
|
|
9
|
-
* * `seedance-1.5`:
|
|
10
|
-
* * `seedance-2.0`:
|
|
11
|
-
* * `seedance-2.0-mini`:
|
|
12
|
-
* * `seedance-2.5`:
|
|
13
|
-
* * `sora-2`:
|
|
14
|
-
* * `veo3.1`:
|
|
15
|
-
* * `veo3.1-lite`:
|
|
16
|
-
* * `wan-2.2`:
|
|
5
|
+
* * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
|
|
6
|
+
* * `kling-3.0`: Best for cinematic stories, references, and optional audio.
|
|
7
|
+
* * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
|
|
8
|
+
* * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
|
|
9
|
+
* * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
|
|
10
|
+
* * `seedance-2.0`: Best for reference-led clips with precise subject control.
|
|
11
|
+
* * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
|
|
12
|
+
* * `seedance-2.5`: Best for premium realism, detail, and natural motion.
|
|
13
|
+
* * `sora-2`: Best for creative concepts and longer clips with audio.
|
|
14
|
+
* * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
|
|
15
|
+
* * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
|
|
16
|
+
* * `wan-2.2`: Best for physical motion, action, and camera movement.
|
|
17
17
|
*
|
|
18
18
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
19
19
|
*/
|
|
20
|
-
export type V1ImageToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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";
|
|
20
|
+
export type V1ImageToVideoCreateBodyModelEnum = "default" | "google-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";
|
|
@@ -56,22 +56,22 @@ export type V1ImageToVideoCreateBody = {
|
|
|
56
56
|
* The AI model to use for video generation.
|
|
57
57
|
*
|
|
58
58
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
|
|
59
|
-
* * `kling-2.6`:
|
|
60
|
-
* * `kling-3.0`: Best
|
|
61
|
-
* * `ltx-2.3`: Fastest
|
|
62
|
-
* * `minimax-h3`:
|
|
63
|
-
* * `seedance-1.5`:
|
|
64
|
-
* * `seedance-2.0`:
|
|
65
|
-
* * `seedance-2.0-mini`:
|
|
66
|
-
* * `seedance-2.5`:
|
|
67
|
-
* * `sora-2`:
|
|
68
|
-
* * `veo3.1`:
|
|
69
|
-
* * `veo3.1-lite`:
|
|
70
|
-
* * `wan-2.2`:
|
|
59
|
+
* * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
|
|
60
|
+
* * `kling-3.0`: Best for cinematic stories, references, and optional audio.
|
|
61
|
+
* * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
|
|
62
|
+
* * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
|
|
63
|
+
* * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
|
|
64
|
+
* * `seedance-2.0`: Best for reference-led clips with precise subject control.
|
|
65
|
+
* * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
|
|
66
|
+
* * `seedance-2.5`: Best for premium realism, detail, and natural motion.
|
|
67
|
+
* * `sora-2`: Best for creative concepts and longer clips with audio.
|
|
68
|
+
* * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
|
|
69
|
+
* * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
|
|
70
|
+
* * `wan-2.2`: Best for physical motion, action, and camera movement.
|
|
71
71
|
*
|
|
72
72
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
73
73
|
*/
|
|
74
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
74
|
+
model?: ("default" | "google-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;
|
|
75
75
|
/**
|
|
76
76
|
* Give your video a custom name for easy identification.
|
|
77
77
|
*/
|
|
@@ -115,7 +115,7 @@ export type External$V1ImageToVideoCreateBody = {
|
|
|
115
115
|
audio?: boolean | undefined;
|
|
116
116
|
end_seconds: number;
|
|
117
117
|
height?: number | null | undefined;
|
|
118
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
118
|
+
model?: ("default" | "google-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;
|
|
119
119
|
name?: string | undefined;
|
|
120
120
|
resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
|
|
121
121
|
style?: External$V1ImageToVideoCreateBodyStyle | undefined;
|
|
@@ -50,6 +50,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
|
|
|
50
50
|
model: z
|
|
51
51
|
.enum([
|
|
52
52
|
"default",
|
|
53
|
+
"google-omni-1.1",
|
|
53
54
|
"kling-1.6",
|
|
54
55
|
"kling-2.5",
|
|
55
56
|
"kling-2.5-audio",
|
|
@@ -57,6 +58,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
|
|
|
57
58
|
"kling-3.0",
|
|
58
59
|
"ltx-2",
|
|
59
60
|
"ltx-2.3",
|
|
61
|
+
"ltx-2.5",
|
|
60
62
|
"minimax-h3",
|
|
61
63
|
"seedance",
|
|
62
64
|
"seedance-1.5",
|
|
@@ -101,6 +103,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
|
|
|
101
103
|
model: z
|
|
102
104
|
.enum([
|
|
103
105
|
"default",
|
|
106
|
+
"google-omni-1.1",
|
|
104
107
|
"kling-1.6",
|
|
105
108
|
"kling-2.5",
|
|
106
109
|
"kling-2.5-audio",
|
|
@@ -108,6 +111,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
|
|
|
108
111
|
"kling-3.0",
|
|
109
112
|
"ltx-2",
|
|
110
113
|
"ltx-2.3",
|
|
114
|
+
"ltx-2.5",
|
|
111
115
|
"minimax-h3",
|
|
112
116
|
"seedance",
|
|
113
117
|
"seedance-1.5",
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
* The AI model to use for video generation.
|
|
3
3
|
*
|
|
4
4
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
|
|
5
|
-
* * `kling-2.6`:
|
|
6
|
-
* * `kling-3.0`: Best
|
|
7
|
-
* * `ltx-2.3`: Fastest
|
|
8
|
-
* * `minimax-h3`:
|
|
9
|
-
* * `seedance-1.5`:
|
|
10
|
-
* * `seedance-2.0`:
|
|
11
|
-
* * `seedance-2.0-mini`:
|
|
12
|
-
* * `seedance-2.5`:
|
|
13
|
-
* * `sora-2`:
|
|
14
|
-
* * `veo3.1`:
|
|
15
|
-
* * `veo3.1-lite`:
|
|
16
|
-
* * `wan-2.2`:
|
|
5
|
+
* * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
|
|
6
|
+
* * `kling-3.0`: Best for cinematic stories, references, and optional audio.
|
|
7
|
+
* * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
|
|
8
|
+
* * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
|
|
9
|
+
* * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
|
|
10
|
+
* * `seedance-2.0`: Best for reference-led clips with precise subject control.
|
|
11
|
+
* * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
|
|
12
|
+
* * `seedance-2.5`: Best for premium realism, detail, and natural motion.
|
|
13
|
+
* * `sora-2`: Best for creative concepts and longer clips with audio.
|
|
14
|
+
* * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
|
|
15
|
+
* * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
|
|
16
|
+
* * `wan-2.2`: Best for physical motion, action, and camera movement.
|
|
17
17
|
*
|
|
18
18
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
19
19
|
*/
|
|
20
|
-
export type V1TextToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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";
|
|
20
|
+
export type V1TextToVideoCreateBodyModelEnum = "default" | "google-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";
|
|
@@ -63,22 +63,22 @@ export type V1TextToVideoCreateBody = {
|
|
|
63
63
|
* The AI model to use for video generation.
|
|
64
64
|
*
|
|
65
65
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
|
|
66
|
-
* * `kling-2.6`:
|
|
67
|
-
* * `kling-3.0`: Best
|
|
68
|
-
* * `ltx-2.3`: Fastest
|
|
69
|
-
* * `minimax-h3`:
|
|
70
|
-
* * `seedance-1.5`:
|
|
71
|
-
* * `seedance-2.0`:
|
|
72
|
-
* * `seedance-2.0-mini`:
|
|
73
|
-
* * `seedance-2.5`:
|
|
74
|
-
* * `sora-2`:
|
|
75
|
-
* * `veo3.1`:
|
|
76
|
-
* * `veo3.1-lite`:
|
|
77
|
-
* * `wan-2.2`:
|
|
66
|
+
* * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
|
|
67
|
+
* * `kling-3.0`: Best for cinematic stories, references, and optional audio.
|
|
68
|
+
* * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
|
|
69
|
+
* * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
|
|
70
|
+
* * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
|
|
71
|
+
* * `seedance-2.0`: Best for reference-led clips with precise subject control.
|
|
72
|
+
* * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
|
|
73
|
+
* * `seedance-2.5`: Best for premium realism, detail, and natural motion.
|
|
74
|
+
* * `sora-2`: Best for creative concepts and longer clips with audio.
|
|
75
|
+
* * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
|
|
76
|
+
* * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
|
|
77
|
+
* * `wan-2.2`: Best for physical motion, action, and camera movement.
|
|
78
78
|
*
|
|
79
79
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
80
80
|
*/
|
|
81
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
81
|
+
model?: ("default" | "google-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;
|
|
82
82
|
/**
|
|
83
83
|
* Give your video a custom name for easy identification.
|
|
84
84
|
*/
|
|
@@ -116,7 +116,7 @@ export type External$V1TextToVideoCreateBody = {
|
|
|
116
116
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
117
117
|
audio?: boolean | undefined;
|
|
118
118
|
end_seconds: number;
|
|
119
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "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;
|
|
119
|
+
model?: ("default" | "google-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;
|
|
120
120
|
name?: string | undefined;
|
|
121
121
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
122
122
|
resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
|
|
@@ -48,6 +48,7 @@ const SchemaIn$V1TextToVideoCreateBody = z
|
|
|
48
48
|
model: z
|
|
49
49
|
.enum([
|
|
50
50
|
"default",
|
|
51
|
+
"google-omni-1.1",
|
|
51
52
|
"kling-1.6",
|
|
52
53
|
"kling-2.5",
|
|
53
54
|
"kling-2.5-audio",
|
|
@@ -55,6 +56,7 @@ const SchemaIn$V1TextToVideoCreateBody = z
|
|
|
55
56
|
"kling-3.0",
|
|
56
57
|
"ltx-2",
|
|
57
58
|
"ltx-2.3",
|
|
59
|
+
"ltx-2.5",
|
|
58
60
|
"minimax-h3",
|
|
59
61
|
"seedance",
|
|
60
62
|
"seedance-1.5",
|
|
@@ -97,6 +99,7 @@ const SchemaOut$V1TextToVideoCreateBody = z
|
|
|
97
99
|
model: z
|
|
98
100
|
.enum([
|
|
99
101
|
"default",
|
|
102
|
+
"google-omni-1.1",
|
|
100
103
|
"kling-1.6",
|
|
101
104
|
"kling-2.5",
|
|
102
105
|
"kling-2.5-audio",
|
|
@@ -104,6 +107,7 @@ const SchemaOut$V1TextToVideoCreateBody = z
|
|
|
104
107
|
"kling-3.0",
|
|
105
108
|
"ltx-2",
|
|
106
109
|
"ltx-2.3",
|
|
110
|
+
"ltx-2.5",
|
|
107
111
|
"minimax-h3",
|
|
108
112
|
"seedance",
|
|
109
113
|
"seedance-1.5",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magic-hour",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -69,4 +69,4 @@
|
|
|
69
69
|
"type": "git",
|
|
70
70
|
"url": "https://github.com/magichourhq/magic-hour-node.git"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|