magic-hour 0.69.0 → 0.71.2

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.
Files changed (58) hide show
  1. package/dist/environment.d.ts +1 -1
  2. package/dist/environment.js +1 -1
  3. package/dist/resources/v1/ai-image-editor/request-types.d.ts +20 -15
  4. package/dist/resources/v1/ai-image-editor/request-types.js +2 -0
  5. package/dist/resources/v1/ai-image-generator/request-types.d.ts +23 -18
  6. package/dist/resources/v1/ai-image-generator/request-types.js +2 -0
  7. package/dist/resources/v1/ai-video-editor/request-types.d.ts +11 -1
  8. package/dist/resources/v1/ai-video-editor/request-types.js +8 -0
  9. package/dist/resources/v1/ai-video-editor/resource-client.d.ts +1 -1
  10. package/dist/resources/v1/ai-video-editor/resource-client.js +1 -1
  11. package/dist/resources/v1/ai-voice-cloner/resource-client.d.ts +1 -1
  12. package/dist/resources/v1/ai-voice-cloner/resource-client.js +1 -1
  13. package/dist/resources/v1/ai-voice-generator/resource-client.d.ts +1 -1
  14. package/dist/resources/v1/ai-voice-generator/resource-client.js +1 -1
  15. package/dist/resources/v1/body-swap/resource-client.d.ts +1 -1
  16. package/dist/resources/v1/body-swap/resource-client.js +1 -1
  17. package/dist/resources/v1/files/upload-urls/resource-client.d.ts +1 -1
  18. package/dist/resources/v1/files/upload-urls/resource-client.js +1 -1
  19. package/dist/resources/v1/image-to-video/request-types.d.ts +34 -26
  20. package/dist/resources/v1/image-to-video/request-types.js +6 -0
  21. package/dist/resources/v1/text-to-video/request-types.d.ts +42 -32
  22. package/dist/resources/v1/text-to-video/request-types.js +6 -0
  23. package/dist/types/index.d.ts +2 -0
  24. package/dist/types/v1-ai-image-editor-create-body-model-enum.d.ts +15 -11
  25. package/dist/types/v1-ai-image-editor-create-body-resolution-enum.d.ts +4 -3
  26. package/dist/types/v1-ai-image-editor-create-body.d.ts +20 -15
  27. package/dist/types/v1-ai-image-editor-create-body.js +2 -0
  28. package/dist/types/v1-ai-image-generator-create-body-model-enum.d.ts +16 -12
  29. package/dist/types/v1-ai-image-generator-create-body-resolution-enum.d.ts +6 -5
  30. package/dist/types/v1-ai-image-generator-create-body.d.ts +23 -18
  31. package/dist/types/v1-ai-image-generator-create-body.js +2 -0
  32. package/dist/types/v1-ai-video-editor-create-body-model-enum.d.ts +4 -0
  33. package/dist/types/v1-ai-video-editor-create-body-model-enum.js +2 -0
  34. package/dist/types/v1-ai-video-editor-create-body-resolution-enum.d.ts +4 -0
  35. package/dist/types/v1-ai-video-editor-create-body-resolution-enum.js +2 -0
  36. package/dist/types/v1-ai-video-editor-create-body.d.ts +11 -1
  37. package/dist/types/v1-ai-video-editor-create-body.js +8 -0
  38. package/dist/types/v1-ai-voice-generator-create-body-style-voice-name-enum.d.ts +2 -2
  39. package/dist/types/v1-ai-voice-generator-create-body-style.d.ts +3 -3
  40. package/dist/types/v1-ai-voice-generator-create-body-style.js +0 -2
  41. package/dist/types/v1-audio-projects-get-response-status-enum.d.ts +9 -0
  42. package/dist/types/v1-audio-projects-get-response.d.ts +9 -0
  43. package/dist/types/v1-files-upload-urls-create-response.d.ts +1 -1
  44. package/dist/types/v1-image-projects-get-response-status-enum.d.ts +9 -0
  45. package/dist/types/v1-image-projects-get-response.d.ts +10 -1
  46. package/dist/types/v1-image-to-video-create-body-assets.d.ts +8 -6
  47. package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +9 -7
  48. package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +8 -6
  49. package/dist/types/v1-image-to-video-create-body.d.ts +34 -26
  50. package/dist/types/v1-image-to-video-create-body.js +6 -0
  51. package/dist/types/v1-text-to-video-create-body-aspect-ratio-enum.d.ts +8 -6
  52. package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +9 -7
  53. package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +8 -6
  54. package/dist/types/v1-text-to-video-create-body.d.ts +42 -32
  55. package/dist/types/v1-text-to-video-create-body.js +6 -0
  56. package/dist/types/v1-video-projects-get-response-status-enum.d.ts +9 -0
  57. package/dist/types/v1-video-projects-get-response.d.ts +10 -1
  58. package/package.json +14 -4
@@ -53,13 +53,16 @@ const SchemaIn$V1ImageToVideoCreateBody = z
53
53
  "kling-1.6",
54
54
  "kling-2.5",
55
55
  "kling-2.5-audio",
56
+ "kling-2.6",
56
57
  "kling-3.0",
57
58
  "ltx-2",
58
59
  "ltx-2.3",
60
+ "minimax-h3",
59
61
  "seedance",
60
62
  "seedance-1.5",
61
63
  "seedance-2.0",
62
64
  "seedance-2.0-mini",
65
+ "seedance-2.5",
63
66
  "sora-2",
64
67
  "veo3.1",
65
68
  "veo3.1-audio",
@@ -101,13 +104,16 @@ const SchemaOut$V1ImageToVideoCreateBody = z
101
104
  "kling-1.6",
102
105
  "kling-2.5",
103
106
  "kling-2.5-audio",
107
+ "kling-2.6",
104
108
  "kling-3.0",
105
109
  "ltx-2",
106
110
  "ltx-2.3",
111
+ "minimax-h3",
107
112
  "seedance",
108
113
  "seedance-1.5",
109
114
  "seedance-2.0",
110
115
  "seedance-2.0-mini",
116
+ "seedance-2.5",
111
117
  "sora-2",
112
118
  "veo3.1",
113
119
  "veo3.1-audio",
@@ -1,16 +1,18 @@
1
1
  /**
2
2
  * Determines the aspect ratio of the output video.
3
3
  *
4
- * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
5
- * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
6
- * * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
4
+ * * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
7
5
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
8
- * * **`veo3.1-lite`**: Supports 9:16, 16:9.
9
- * * **`veo3.1`**: Supports 9:16, 16:9.
6
+ * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
7
+ * * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
10
8
  * * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
11
- * * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
12
9
  * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
10
+ * * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
11
+ * * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
13
12
  * * **`sora-2`**: Supports 9:16, 16:9.
13
+ * * **`veo3.1`**: Supports 9:16, 16:9.
14
+ * * **`veo3.1-lite`**: Supports 9:16, 16:9.
15
+ * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
14
16
  *
15
17
  */
16
18
  export type V1TextToVideoCreateBodyAspectRatioEnum = "16:9" | "1:1" | "9:16";
@@ -2,17 +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
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
6
- * * `wan-2.2`: Strong physics, camera moves, and motion.
7
- * * `kling-2.5`: Great for action, motion blur, and camera moves.
5
+ * * `kling-2.6`: Great for action, motion blur, and camera moves.
8
6
  * * `kling-3.0`: Best overall quality for cinematic storytelling.
9
- * * `veo3.1-lite`: Veo quality at a more accessible cost.
10
- * * `veo3.1`: Google's model. Highest realism and detail.
7
+ * * `ltx-2.3`: Fastest output. Best for rapid iteration.
8
+ * * `minimax-h3`: Reference-driven video with native audio.
11
9
  * * `seedance-1.5`: Smooth, consistent motion with precision.
12
- * * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
13
10
  * * `seedance-2.0`: Top quality with reference-to-video control.
11
+ * * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
12
+ * * `seedance-2.5`: Highest quality with superior realism, detail, and motion
14
13
  * * `sora-2`: Open AI's model. Great for creativity and viral clips.
14
+ * * `veo3.1`: Google's model. Highest realism and detail.
15
+ * * `veo3.1-lite`: Veo quality at a more accessible cost.
16
+ * * `wan-2.2`: Strong physics, camera moves, and motion.
15
17
  *
16
18
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
17
19
  */
18
- export type V1TextToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2";
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";
@@ -1,16 +1,18 @@
1
1
  /**
2
2
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
3
3
  *
4
- * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
5
- * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
6
- * * **`kling-2.5`**: Supports 720p, 1080p.
4
+ * * **`kling-2.6`**: Supports 720p, 1080p.
7
5
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
8
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
9
- * * **`veo3.1`**: Supports 720p, 1080p.
6
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
7
+ * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
10
8
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
11
- * * **`seedance-2.0-mini`**: Supports 480p, 720p.
12
9
  * * **`seedance-2.0`**: Supports 480p, 720p.
10
+ * * **`seedance-2.0-mini`**: Supports 480p, 720p.
11
+ * * **`seedance-2.5`**: Supports 480p, 720p.
13
12
  * * **`sora-2`**: Supports 720p.
13
+ * * **`veo3.1`**: Supports 720p, 1080p.
14
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
15
+ * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
14
16
  *
15
17
  */
16
18
  export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "4k" | "720p";
@@ -7,16 +7,18 @@ export type V1TextToVideoCreateBody = {
7
7
  /**
8
8
  * Determines the aspect ratio of the output video.
9
9
  *
10
- * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
11
- * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
12
- * * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
10
+ * * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
13
11
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
14
- * * **`veo3.1-lite`**: Supports 9:16, 16:9.
15
- * * **`veo3.1`**: Supports 9:16, 16:9.
12
+ * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
13
+ * * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
16
14
  * * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
17
- * * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
18
15
  * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
16
+ * * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
17
+ * * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
19
18
  * * **`sora-2`**: Supports 9:16, 16:9.
19
+ * * **`veo3.1`**: Supports 9:16, 16:9.
20
+ * * **`veo3.1-lite`**: Supports 9:16, 16:9.
21
+ * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
20
22
  *
21
23
  */
22
24
  aspectRatio?: ("16:9" | "1:1" | "9:16") | undefined;
@@ -24,32 +26,36 @@ export type V1TextToVideoCreateBody = {
24
26
  * Whether to include audio in the video. Defaults to `false` if not specified.
25
27
  *
26
28
  * Audio support varies by model:
27
- * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
28
- * * **`wan-2.2`**: Not supported
29
- * * **`kling-2.5`**: Toggle-able: no additional credits for audio
29
+ * * **`kling-2.6`**: Not supported
30
30
  * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
31
- * * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
32
- * * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
31
+ * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
32
+ * * **`minimax-h3`**: Toggle-able: no additional credits for audio
33
33
  * * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
34
- * * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
35
34
  * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
35
+ * * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
36
+ * * **`seedance-2.5`**: Toggle-able: no additional credits for audio
36
37
  * * **`sora-2`**: Toggle-able: no additional credits for audio
38
+ * * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
39
+ * * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
40
+ * * **`wan-2.2`**: Not supported
37
41
  *
38
42
  */
39
43
  audio?: boolean | undefined;
40
44
  /**
41
45
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
42
46
  *
43
- * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
44
- * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
45
- * * **`kling-2.5`**: 5, 10
47
+ * * **`kling-2.6`**: 5, 10
46
48
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
47
- * * **`veo3.1-lite`**: 8, 16, 24, 32, 40, 48, 56
48
- * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
49
+ * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
50
+ * * **`minimax-h3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
49
51
  * * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
50
- * * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
51
52
  * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
53
+ * * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
54
+ * * **`seedance-2.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
52
55
  * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
56
+ * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
57
+ * * **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
58
+ * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
53
59
  *
54
60
  */
55
61
  endSeconds: number;
@@ -57,20 +63,22 @@ export type V1TextToVideoCreateBody = {
57
63
  * The AI model to use for video generation.
58
64
  *
59
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`.
60
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
61
- * * `wan-2.2`: Strong physics, camera moves, and motion.
62
- * * `kling-2.5`: Great for action, motion blur, and camera moves.
66
+ * * `kling-2.6`: Great for action, motion blur, and camera moves.
63
67
  * * `kling-3.0`: Best overall quality for cinematic storytelling.
64
- * * `veo3.1-lite`: Veo quality at a more accessible cost.
65
- * * `veo3.1`: Google's model. Highest realism and detail.
68
+ * * `ltx-2.3`: Fastest output. Best for rapid iteration.
69
+ * * `minimax-h3`: Reference-driven video with native audio.
66
70
  * * `seedance-1.5`: Smooth, consistent motion with precision.
67
- * * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
68
71
  * * `seedance-2.0`: Top quality with reference-to-video control.
72
+ * * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
73
+ * * `seedance-2.5`: Highest quality with superior realism, detail, and motion
69
74
  * * `sora-2`: Open AI's model. Great for creativity and viral clips.
75
+ * * `veo3.1`: Google's model. Highest realism and detail.
76
+ * * `veo3.1-lite`: Veo quality at a more accessible cost.
77
+ * * `wan-2.2`: Strong physics, camera moves, and motion.
70
78
  *
71
79
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
72
80
  */
73
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
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;
74
82
  /**
75
83
  * Give your video a custom name for easy identification.
76
84
  */
@@ -82,16 +90,18 @@ export type V1TextToVideoCreateBody = {
82
90
  /**
83
91
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
84
92
  *
85
- * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
86
- * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
87
- * * **`kling-2.5`**: Supports 720p, 1080p.
93
+ * * **`kling-2.6`**: Supports 720p, 1080p.
88
94
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
89
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
90
- * * **`veo3.1`**: Supports 720p, 1080p.
95
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
96
+ * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
91
97
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
92
- * * **`seedance-2.0-mini`**: Supports 480p, 720p.
93
98
  * * **`seedance-2.0`**: Supports 480p, 720p.
99
+ * * **`seedance-2.0-mini`**: Supports 480p, 720p.
100
+ * * **`seedance-2.5`**: Supports 480p, 720p.
94
101
  * * **`sora-2`**: Supports 720p.
102
+ * * **`veo3.1`**: Supports 720p, 1080p.
103
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
104
+ * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
95
105
  *
96
106
  */
97
107
  resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
@@ -106,7 +116,7 @@ export type External$V1TextToVideoCreateBody = {
106
116
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
107
117
  audio?: boolean | undefined;
108
118
  end_seconds: number;
109
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
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;
110
120
  name?: string | undefined;
111
121
  orientation?: ("landscape" | "portrait" | "square") | undefined;
112
122
  resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
@@ -51,13 +51,16 @@ const SchemaIn$V1TextToVideoCreateBody = z
51
51
  "kling-1.6",
52
52
  "kling-2.5",
53
53
  "kling-2.5-audio",
54
+ "kling-2.6",
54
55
  "kling-3.0",
55
56
  "ltx-2",
56
57
  "ltx-2.3",
58
+ "minimax-h3",
57
59
  "seedance",
58
60
  "seedance-1.5",
59
61
  "seedance-2.0",
60
62
  "seedance-2.0-mini",
63
+ "seedance-2.5",
61
64
  "sora-2",
62
65
  "veo3.1",
63
66
  "veo3.1-audio",
@@ -97,13 +100,16 @@ const SchemaOut$V1TextToVideoCreateBody = z
97
100
  "kling-1.6",
98
101
  "kling-2.5",
99
102
  "kling-2.5-audio",
103
+ "kling-2.6",
100
104
  "kling-3.0",
101
105
  "ltx-2",
102
106
  "ltx-2.3",
107
+ "minimax-h3",
103
108
  "seedance",
104
109
  "seedance-1.5",
105
110
  "seedance-2.0",
106
111
  "seedance-2.0-mini",
112
+ "seedance-2.5",
107
113
  "sora-2",
108
114
  "veo3.1",
109
115
  "veo3.1-audio",
@@ -1,4 +1,13 @@
1
1
  /**
2
2
  * The status of the video.
3
+ *
4
+ * - `draft` - the project was created but has not been submitted for rendering
5
+ * - `queued` - the job is waiting for an available server
6
+ * - `rendering` - the job is being processed; the `video.started` webhook event fires when rendering begins
7
+ * - `complete` - the job finished successfully; fires `video.completed`
8
+ * - `error` - the job failed during processing; fires `video.errored`
9
+ * - `canceled` - the job was manually canceled (for example from the Magic Hour web app)
10
+ *
11
+ * **Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation.
3
12
  */
4
13
  export type V1VideoProjectsGetResponseStatusEnum = "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
@@ -52,6 +52,15 @@ export type V1VideoProjectsGetResponse = {
52
52
  startSeconds: number;
53
53
  /**
54
54
  * The status of the video.
55
+ *
56
+ * - `draft` - the project was created but has not been submitted for rendering
57
+ * - `queued` - the job is waiting for an available server
58
+ * - `rendering` - the job is being processed; the `video.started` webhook event fires when rendering begins
59
+ * - `complete` - the job finished successfully; fires `video.completed`
60
+ * - `error` - the job failed during processing; fires `video.errored`
61
+ * - `canceled` - the job was manually canceled (for example from the Magic Hour web app)
62
+ *
63
+ * **Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation.
55
64
  */
56
65
  status: "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
57
66
  /**
@@ -61,7 +70,7 @@ export type V1VideoProjectsGetResponse = {
61
70
  */
62
71
  totalFrameCost: number;
63
72
  /**
64
- * The type of the video project. Possible values are ANIMATION, AUTO_SUBTITLE, VIDEO_TO_VIDEO, FACE_SWAP, TEXT_TO_VIDEO, IMAGE_TO_VIDEO, LIP_SYNC, TALKING_PHOTO, VIDEO_UPSCALER, VIDEO_EDITOR, CHARACTER_REPLACE, EXTEND, AUDIO_TO_VIDEO, VIDEO_EXPANDER, UGC_AD
73
+ * The type of the video project. Possible values are ANIMATION, AUTO_SUBTITLE, VIDEO_TO_VIDEO, FACE_SWAP, TEXT_TO_VIDEO, IMAGE_TO_VIDEO, LIP_SYNC, TALKING_PHOTO, AVATAR, VIDEO_UPSCALER, VIDEO_EDITOR, CHARACTER_REPLACE, VIDEO_COLORIZER, VIDEO_TRANSLATOR, MUSIC_VIDEO, EXTEND, AUDIO_TO_VIDEO, VIDEO_EXPANDER, UGC_AD
65
74
  */
66
75
  type: string;
67
76
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.69.0",
3
+ "version": "0.71.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -47,16 +47,26 @@
47
47
  },
48
48
  "bugs": "https://github.com/magichourhq/magic-hour-node/issues",
49
49
  "description": "Node SDK for Magic Hour API",
50
- "homepage": "https://github.com/magichourhq/magic-hour-node",
50
+ "homepage": "https://docs.magichour.ai/get-started/quick-start",
51
51
  "keywords": [
52
52
  "magic hour",
53
+ "generative AI",
53
54
  "AI video",
54
55
  "AI image",
56
+ "AI audio",
57
+ "video generation",
58
+ "image generation",
59
+ "audio generation",
60
+ "text to video",
61
+ "image to video",
62
+ "face swap",
63
+ "lip sync",
64
+ "SDK",
55
65
  "api"
56
66
  ],
57
67
  "license": "MIT",
58
68
  "repository": {
59
69
  "type": "git",
60
- "url": "git://github.com/magichourhq/magic-hour-node.git"
70
+ "url": "https://github.com/magichourhq/magic-hour-node.git"
61
71
  }
62
- }
72
+ }