magic-hour 0.65.0 → 0.67.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.
Files changed (47) 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 +7 -2
  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 +7 -2
  6. package/dist/resources/v1/ai-image-generator/request-types.js +2 -0
  7. package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +3 -3
  8. package/dist/resources/v1/ai-image-upscaler/request-types.js +2 -2
  9. package/dist/resources/v1/ai-image-upscaler/resource-client.d.ts +1 -1
  10. package/dist/resources/v1/ai-image-upscaler/resource-client.js +1 -1
  11. package/dist/resources/v1/files/upload-urls/resource-client.d.ts +2 -2
  12. package/dist/resources/v1/files/upload-urls/resource-client.js +2 -2
  13. package/dist/resources/v1/image-to-video/request-types.d.ts +18 -14
  14. package/dist/resources/v1/image-to-video/request-types.js +4 -0
  15. package/dist/resources/v1/text-to-video/request-types.d.ts +20 -15
  16. package/dist/resources/v1/text-to-video/request-types.js +4 -0
  17. package/dist/types/v1-ai-image-editor-create-body-model-enum.d.ts +5 -1
  18. package/dist/types/v1-ai-image-editor-create-body-resolution-enum.d.ts +1 -0
  19. package/dist/types/v1-ai-image-editor-create-body.d.ts +7 -2
  20. package/dist/types/v1-ai-image-editor-create-body.js +2 -0
  21. package/dist/types/v1-ai-image-generator-create-body-model-enum.d.ts +5 -1
  22. package/dist/types/v1-ai-image-generator-create-body-resolution-enum.d.ts +1 -0
  23. package/dist/types/v1-ai-image-generator-create-body.d.ts +7 -2
  24. package/dist/types/v1-ai-image-generator-create-body.js +2 -0
  25. package/dist/types/v1-ai-image-upscaler-create-body-style-enhancement-enum.d.ts +1 -1
  26. package/dist/types/v1-ai-image-upscaler-create-body-style-mode-enum.d.ts +2 -2
  27. package/dist/types/v1-ai-image-upscaler-create-body-style.d.ts +8 -5
  28. package/dist/types/v1-ai-image-upscaler-create-body-style.js +2 -2
  29. package/dist/types/v1-ai-image-upscaler-create-body.d.ts +3 -3
  30. package/dist/types/v1-ai-image-upscaler-create-body.js +2 -2
  31. package/dist/types/v1-ai-voice-generator-create-body-style-voice-name-enum.d.ts +2 -2
  32. package/dist/types/v1-ai-voice-generator-create-body-style.d.ts +3 -3
  33. package/dist/types/v1-ai-voice-generator-create-body-style.js +0 -2
  34. package/dist/types/v1-body-swap-create-body-assets.d.ts +1 -1
  35. package/dist/types/v1-files-upload-urls-create-body-items-item.d.ts +1 -1
  36. package/dist/types/v1-image-to-video-create-body-assets.d.ts +2 -1
  37. package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +11 -10
  38. package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +2 -1
  39. package/dist/types/v1-image-to-video-create-body.d.ts +18 -14
  40. package/dist/types/v1-image-to-video-create-body.js +4 -0
  41. package/dist/types/v1-text-to-video-create-body-aspect-ratio-enum.d.ts +2 -1
  42. package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +11 -10
  43. package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +2 -1
  44. package/dist/types/v1-text-to-video-create-body.d.ts +20 -15
  45. package/dist/types/v1-text-to-video-create-body.js +4 -0
  46. package/dist/types/v1-video-projects-get-response.d.ts +1 -1
  47. package/package.json +1 -1
@@ -13,7 +13,8 @@ export type V1TextToVideoCreateBody = {
13
13
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
14
14
  * * **`veo3.1-lite`**: Supports 9:16, 16:9.
15
15
  * * **`veo3.1`**: Supports 9:16, 16:9.
16
- * * **`seedance`**: Supports 9:16, 16:9, 1:1.
16
+ * * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
17
+ * * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
17
18
  * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
18
19
  * * **`sora-2`**: Supports 9:16, 16:9.
19
20
  *
@@ -29,7 +30,8 @@ export type V1TextToVideoCreateBody = {
29
30
  * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
30
31
  * * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
31
32
  * * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
32
- * * **`seedance`**: Not supported
33
+ * * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
34
+ * * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
33
35
  * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
34
36
  * * **`sora-2`**: Toggle-able: no additional credits for audio
35
37
  *
@@ -44,7 +46,8 @@ export type V1TextToVideoCreateBody = {
44
46
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
45
47
  * * **`veo3.1-lite`**: 8, 16, 24, 32, 40, 48, 56
46
48
  * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
47
- * * **`seedance`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
49
+ * * **`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
48
51
  * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
49
52
  * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
50
53
  *
@@ -54,19 +57,20 @@ export type V1TextToVideoCreateBody = {
54
57
  * The AI model to use for video generation.
55
58
  *
56
59
  * * `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`.
57
- * * `ltx-2.3`: Fast iteration with lip-sync & end frame
58
- * * `wan-2.2`: Fast, strong visuals with effects
59
- * * `kling-2.5`: Motion, action, and camera control
60
- * * `kling-3.0`: Cinematic, multi-scene storytelling
61
- * * `veo3.1-lite`: Fast, affordable, high-quality
62
- * * `veo3.1`: Realistic visuals and prompt adherence
63
- * * `seedance`: Fast iteration
64
- * * `seedance-2.0`: State-of-the-art quality and consistency
65
- * * `sora-2`: Story-first concepts and creativity
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.
63
+ * * `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.
66
+ * * `seedance-1.5`: Smooth, consistent motion with precision.
67
+ * * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
68
+ * * `seedance-2.0`: Top quality with reference-to-video control.
69
+ * * `sora-2`: Open AI's model. Great for creativity and viral clips.
66
70
  *
67
71
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
68
72
  */
69
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
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;
70
74
  /**
71
75
  * Give your video a custom name for easy identification.
72
76
  */
@@ -84,7 +88,8 @@ export type V1TextToVideoCreateBody = {
84
88
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
85
89
  * * **`veo3.1-lite`**: Supports 720p, 1080p.
86
90
  * * **`veo3.1`**: Supports 720p, 1080p.
87
- * * **`seedance`**: Supports 480p, 720p, 1080p.
91
+ * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
92
+ * * **`seedance-2.0-mini`**: Supports 480p, 720p.
88
93
  * * **`seedance-2.0`**: Supports 480p, 720p.
89
94
  * * **`sora-2`**: Supports 720p.
90
95
  *
@@ -101,7 +106,7 @@ export type External$V1TextToVideoCreateBody = {
101
106
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
102
107
  audio?: boolean | undefined;
103
108
  end_seconds: number;
104
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
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;
105
110
  name?: string | undefined;
106
111
  orientation?: ("landscape" | "portrait" | "square") | undefined;
107
112
  resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
@@ -55,7 +55,9 @@ const SchemaIn$V1TextToVideoCreateBody = z
55
55
  "ltx-2",
56
56
  "ltx-2.3",
57
57
  "seedance",
58
+ "seedance-1.5",
58
59
  "seedance-2.0",
60
+ "seedance-2.0-mini",
59
61
  "sora-2",
60
62
  "veo3.1",
61
63
  "veo3.1-audio",
@@ -99,7 +101,9 @@ const SchemaOut$V1TextToVideoCreateBody = z
99
101
  "ltx-2",
100
102
  "ltx-2.3",
101
103
  "seedance",
104
+ "seedance-1.5",
102
105
  "seedance-2.0",
106
+ "seedance-2.0-mini",
103
107
  "sora-2",
104
108
  "veo3.1",
105
109
  "veo3.1-audio",
@@ -61,7 +61,7 @@ export type V1VideoProjectsGetResponse = {
61
61
  */
62
62
  totalFrameCost: number;
63
63
  /**
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, EXTEND, AUDIO_TO_VIDEO, VIDEO_EXPANDER, UGC_AD
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
65
65
  */
66
66
  type: string;
67
67
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.65.0",
3
+ "version": "0.67.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {