magic-hour 0.71.3 → 0.73.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 (27) hide show
  1. package/dist/environment.d.ts +1 -1
  2. package/dist/environment.js +1 -1
  3. package/dist/resources/v1/ai-talking-photo/request-types.d.ts +2 -2
  4. package/dist/resources/v1/ai-video-editor/request-types.d.ts +5 -5
  5. package/dist/resources/v1/ai-video-editor/request-types.js +2 -2
  6. package/dist/resources/v1/image-to-video/request-types.d.ts +22 -14
  7. package/dist/resources/v1/image-to-video/request-types.js +4 -0
  8. package/dist/resources/v1/text-to-video/request-types.d.ts +24 -14
  9. package/dist/resources/v1/text-to-video/request-types.js +4 -0
  10. package/dist/types/v1-ai-clothes-changer-create-body-assets-garment-type-enum.d.ts +1 -1
  11. package/dist/types/v1-ai-clothes-changer-create-body-assets.d.ts +1 -1
  12. package/dist/types/v1-ai-talking-photo-create-body.d.ts +2 -2
  13. package/dist/types/v1-ai-video-editor-create-body-model-enum.d.ts +2 -2
  14. package/dist/types/v1-ai-video-editor-create-body-resolution-enum.d.ts +1 -1
  15. package/dist/types/v1-ai-video-editor-create-body.d.ts +5 -5
  16. package/dist/types/v1-ai-video-editor-create-body.js +2 -2
  17. package/dist/types/v1-image-to-video-create-body-assets.d.ts +2 -0
  18. package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +15 -13
  19. package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +2 -0
  20. package/dist/types/v1-image-to-video-create-body.d.ts +22 -14
  21. package/dist/types/v1-image-to-video-create-body.js +4 -0
  22. package/dist/types/v1-text-to-video-create-body-aspect-ratio-enum.d.ts +2 -0
  23. package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +15 -13
  24. package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +2 -0
  25. package/dist/types/v1-text-to-video-create-body.d.ts +24 -14
  26. package/dist/types/v1-text-to-video-create-body.js +4 -0
  27. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
1
  export declare enum Environment {
2
2
  Environment = "https://api.magichour.ai",
3
- MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.75.2"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.77.0"
4
4
  }
@@ -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.75.2";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.77.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 180s, prompted 45s.
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 180s, prompted 45s.
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
  /**
@@ -10,19 +10,19 @@ export type CreateRequest = {
10
10
  */
11
11
  assets: V1AiVideoEditorCreateBodyAssets;
12
12
  /**
13
- * End time of your clip in seconds. Must be greater than `start_seconds`. Minimum duration depends on model: `gemini-omni`: 3s, `ltx-2.3`: 0.5s. Maximum duration depends on model: `gemini-omni`: 10s, `ltx-2.3`: 45s.
13
+ * End time of your clip in seconds. Must be greater than `start_seconds`. Minimum duration depends on model: `gemini-omni-1.1`: 3s, `ltx-2.3`: 0.5s. Maximum duration depends on model: `gemini-omni-1.1`: 10s, `ltx-2.3`: 45s.
14
14
  */
15
15
  endSeconds: number;
16
16
  /**
17
- * Editing model. Defaults to `ltx-2.3` for free tier and `gemini-omni` for paid. Use `ltx-2.3` for LTX video edit.
17
+ * Editing model. Defaults to `ltx-2.3` for free tier and `gemini-omni-1.1` for paid. `gemini-omni` is deprecated; use `gemini-omni-1.1` instead.
18
18
  */
19
- model?: ("gemini-omni" | "ltx-2.3") | undefined;
19
+ model?: ("gemini-omni" | "gemini-omni-1.1" | "ltx-2.3") | undefined;
20
20
  /**
21
21
  * Give your video a custom name for easy identification.
22
22
  */
23
23
  name?: string | undefined;
24
24
  /**
25
- * Output resolution. Defaults to `480p` for free tier and `720p` for paid. Google Omni supports 720p only; LTX-2.3 supports 480p, 720p, and 1080p.
25
+ * Output resolution. Defaults to `480p` for free tier and `720p` for paid. `gemini-omni-1.1` and deprecated `gemini-omni` support 720p and 1080p; LTX-2.3 supports 480p, 720p, and 1080p.
26
26
  */
27
27
  resolution?: ("1080p" | "480p" | "720p") | undefined;
28
28
  /**
@@ -39,7 +39,7 @@ export type CreateRequest = {
39
39
  export type External$CreateRequest = {
40
40
  assets: External$V1AiVideoEditorCreateBodyAssets;
41
41
  end_seconds: number;
42
- model?: ("gemini-omni" | "ltx-2.3") | undefined;
42
+ model?: ("gemini-omni" | "gemini-omni-1.1" | "ltx-2.3") | undefined;
43
43
  name?: string | undefined;
44
44
  resolution?: ("1080p" | "480p" | "720p") | undefined;
45
45
  start_seconds?: number | undefined;
@@ -45,7 +45,7 @@ const SchemaIn$CreateRequest = z
45
45
  .object({
46
46
  assets: v1_ai_video_editor_create_body_assets_1.Schemas$V1AiVideoEditorCreateBodyAssets.in,
47
47
  end_seconds: z.number(),
48
- model: z.enum(["gemini-omni", "ltx-2.3"]).optional(),
48
+ model: z.enum(["gemini-omni", "gemini-omni-1.1", "ltx-2.3"]).optional(),
49
49
  name: z.string().optional(),
50
50
  resolution: z.enum(["1080p", "480p", "720p"]).optional(),
51
51
  start_seconds: z.number().optional(),
@@ -70,7 +70,7 @@ const SchemaOut$CreateRequest = z
70
70
  .object({
71
71
  assets: v1_ai_video_editor_create_body_assets_1.Schemas$V1AiVideoEditorCreateBodyAssets.out,
72
72
  endSeconds: z.number(),
73
- model: z.enum(["gemini-omni", "ltx-2.3"]).optional(),
73
+ model: z.enum(["gemini-omni", "gemini-omni-1.1", "ltx-2.3"]).optional(),
74
74
  name: z.string().optional(),
75
75
  resolution: z.enum(["1080p", "480p", "720p"]).optional(),
76
76
  startSeconds: z.number().optional(),
@@ -13,9 +13,11 @@ export type CreateRequest = {
13
13
  * Whether to include audio in the video. Defaults to `false` if not specified.
14
14
  *
15
15
  * Audio support varies by model:
16
+ * * **`gemini-omni-1.1`**: Not supported
16
17
  * * **`kling-2.6`**: Not supported
17
18
  * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
18
19
  * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
20
+ * * **`ltx-2.5`**: Toggle-able: no additional credits for audio
19
21
  * * **`minimax-h3`**: Toggle-able: no additional credits for audio
20
22
  * * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
21
23
  * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
@@ -31,9 +33,11 @@ export type CreateRequest = {
31
33
  /**
32
34
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
33
35
  *
36
+ * * **`gemini-omni-1.1`**: 3, 4, 5, 6, 7, 8, 9, 10
34
37
  * * **`kling-2.6`**: 5, 10
35
38
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
36
39
  * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
40
+ * * **`ltx-2.5`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
37
41
  * * **`minimax-h3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
38
42
  * * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
39
43
  * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
@@ -56,22 +60,24 @@ export type CreateRequest = {
56
60
  * The AI model to use for video generation.
57
61
  *
58
62
  * * `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`: Great for action, motion blur, and camera moves.
60
- * * `kling-3.0`: Best overall quality for cinematic storytelling.
61
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
62
- * * `minimax-h3`: Reference-driven video with native audio.
63
- * * `seedance-1.5`: Smooth, consistent motion with precision.
64
- * * `seedance-2.0`: Top quality with reference-to-video control.
65
- * * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
66
- * * `seedance-2.5`: Highest quality with superior realism, detail, and motion
67
- * * `sora-2`: Open AI's model. Great for creativity and viral clips.
68
- * * `veo3.1`: Google's model. Highest realism and detail.
69
- * * `veo3.1-lite`: Veo quality at a more accessible cost.
70
- * * `wan-2.2`: Strong physics, camera moves, and motion.
63
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
64
+ * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
65
+ * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
66
+ * * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
67
+ * * `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
68
+ * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
69
+ * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
70
+ * * `seedance-2.0`: Best for reference-led clips with precise subject control.
71
+ * * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
72
+ * * `seedance-2.5`: Best for premium realism, detail, and natural motion.
73
+ * * `sora-2`: Best for creative concepts and longer clips with audio.
74
+ * * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
75
+ * * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
76
+ * * `wan-2.2`: Best for physical motion, action, and camera movement.
71
77
  *
72
78
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
73
79
  */
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;
80
+ model?: ("default" | "gemini-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
81
  /**
76
82
  * Give your video a custom name for easy identification.
77
83
  */
@@ -79,9 +85,11 @@ export type CreateRequest = {
79
85
  /**
80
86
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
81
87
  *
88
+ * * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
82
89
  * * **`kling-2.6`**: Supports 720p, 1080p.
83
90
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
84
91
  * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
92
+ * * **`ltx-2.5`**: Supports 480p, 720p, 1080p.
85
93
  * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
86
94
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
87
95
  * * **`seedance-2.0`**: Supports 480p, 720p.
@@ -115,7 +123,7 @@ export type External$CreateRequest = {
115
123
  audio?: boolean | undefined;
116
124
  end_seconds: number;
117
125
  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;
126
+ model?: ("default" | "gemini-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
127
  name?: string | undefined;
120
128
  resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
121
129
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
@@ -50,6 +50,7 @@ const SchemaIn$CreateRequest = z
50
50
  model: z
51
51
  .enum([
52
52
  "default",
53
+ "gemini-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
+ "gemini-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",
@@ -7,9 +7,11 @@ export type CreateRequest = {
7
7
  /**
8
8
  * Determines the aspect ratio of the output video.
9
9
  *
10
+ * * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
10
11
  * * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
11
12
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
12
13
  * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
14
+ * * **`ltx-2.5`**: Supports 9:16, 16:9, 1:1.
13
15
  * * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
14
16
  * * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
15
17
  * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
@@ -26,9 +28,11 @@ export type CreateRequest = {
26
28
  * Whether to include audio in the video. Defaults to `false` if not specified.
27
29
  *
28
30
  * Audio support varies by model:
31
+ * * **`gemini-omni-1.1`**: Not supported
29
32
  * * **`kling-2.6`**: Not supported
30
33
  * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
31
34
  * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
35
+ * * **`ltx-2.5`**: Toggle-able: no additional credits for audio
32
36
  * * **`minimax-h3`**: Toggle-able: no additional credits for audio
33
37
  * * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
34
38
  * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
@@ -44,9 +48,11 @@ export type CreateRequest = {
44
48
  /**
45
49
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
46
50
  *
51
+ * * **`gemini-omni-1.1`**: 3, 4, 5, 6, 7, 8, 9, 10
47
52
  * * **`kling-2.6`**: 5, 10
48
53
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
49
54
  * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
55
+ * * **`ltx-2.5`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
50
56
  * * **`minimax-h3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
51
57
  * * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
52
58
  * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
@@ -63,22 +69,24 @@ export type CreateRequest = {
63
69
  * The AI model to use for video generation.
64
70
  *
65
71
  * * `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`: Great for action, motion blur, and camera moves.
67
- * * `kling-3.0`: Best overall quality for cinematic storytelling.
68
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
69
- * * `minimax-h3`: Reference-driven video with native audio.
70
- * * `seedance-1.5`: Smooth, consistent motion with precision.
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
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.
72
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
73
+ * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
74
+ * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
75
+ * * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
76
+ * * `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
77
+ * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
78
+ * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
79
+ * * `seedance-2.0`: Best for reference-led clips with precise subject control.
80
+ * * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
81
+ * * `seedance-2.5`: Best for premium realism, detail, and natural motion.
82
+ * * `sora-2`: Best for creative concepts and longer clips with audio.
83
+ * * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
84
+ * * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
85
+ * * `wan-2.2`: Best for physical motion, action, and camera movement.
78
86
  *
79
87
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
80
88
  */
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;
89
+ model?: ("default" | "gemini-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
90
  /**
83
91
  * Give your video a custom name for easy identification.
84
92
  */
@@ -90,9 +98,11 @@ export type CreateRequest = {
90
98
  /**
91
99
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
92
100
  *
101
+ * * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
93
102
  * * **`kling-2.6`**: Supports 720p, 1080p.
94
103
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
95
104
  * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
105
+ * * **`ltx-2.5`**: Supports 480p, 720p, 1080p.
96
106
  * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
97
107
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
98
108
  * * **`seedance-2.0`**: Supports 480p, 720p.
@@ -116,7 +126,7 @@ export type External$CreateRequest = {
116
126
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
117
127
  audio?: boolean | undefined;
118
128
  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;
129
+ model?: ("default" | "gemini-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
130
  name?: string | undefined;
121
131
  orientation?: ("landscape" | "portrait" | "square") | undefined;
122
132
  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
+ "gemini-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
+ "gemini-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 garment to swap. If not provided, swaps the entire outfit.
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 garment to swap. If not provided, swaps the entire outfit.
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 180s, prompted 45s.
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 180s, prompted 45s.
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
  /**
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Editing model. Defaults to `ltx-2.3` for free tier and `gemini-omni` for paid. Use `ltx-2.3` for LTX video edit.
2
+ * Editing model. Defaults to `ltx-2.3` for free tier and `gemini-omni-1.1` for paid. `gemini-omni` is deprecated; use `gemini-omni-1.1` instead.
3
3
  */
4
- export type V1AiVideoEditorCreateBodyModelEnum = "gemini-omni" | "ltx-2.3";
4
+ export type V1AiVideoEditorCreateBodyModelEnum = "gemini-omni" | "gemini-omni-1.1" | "ltx-2.3";
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Output resolution. Defaults to `480p` for free tier and `720p` for paid. Google Omni supports 720p only; LTX-2.3 supports 480p, 720p, and 1080p.
2
+ * Output resolution. Defaults to `480p` for free tier and `720p` for paid. `gemini-omni-1.1` and deprecated `gemini-omni` support 720p and 1080p; LTX-2.3 supports 480p, 720p, and 1080p.
3
3
  */
4
4
  export type V1AiVideoEditorCreateBodyResolutionEnum = "1080p" | "480p" | "720p";
@@ -10,19 +10,19 @@ export type V1AiVideoEditorCreateBody = {
10
10
  */
11
11
  assets: V1AiVideoEditorCreateBodyAssets;
12
12
  /**
13
- * End time of your clip in seconds. Must be greater than `start_seconds`. Minimum duration depends on model: `gemini-omni`: 3s, `ltx-2.3`: 0.5s. Maximum duration depends on model: `gemini-omni`: 10s, `ltx-2.3`: 45s.
13
+ * End time of your clip in seconds. Must be greater than `start_seconds`. Minimum duration depends on model: `gemini-omni-1.1`: 3s, `ltx-2.3`: 0.5s. Maximum duration depends on model: `gemini-omni-1.1`: 10s, `ltx-2.3`: 45s.
14
14
  */
15
15
  endSeconds: number;
16
16
  /**
17
- * Editing model. Defaults to `ltx-2.3` for free tier and `gemini-omni` for paid. Use `ltx-2.3` for LTX video edit.
17
+ * Editing model. Defaults to `ltx-2.3` for free tier and `gemini-omni-1.1` for paid. `gemini-omni` is deprecated; use `gemini-omni-1.1` instead.
18
18
  */
19
- model?: ("gemini-omni" | "ltx-2.3") | undefined;
19
+ model?: ("gemini-omni" | "gemini-omni-1.1" | "ltx-2.3") | undefined;
20
20
  /**
21
21
  * Give your video a custom name for easy identification.
22
22
  */
23
23
  name?: string | undefined;
24
24
  /**
25
- * Output resolution. Defaults to `480p` for free tier and `720p` for paid. Google Omni supports 720p only; LTX-2.3 supports 480p, 720p, and 1080p.
25
+ * Output resolution. Defaults to `480p` for free tier and `720p` for paid. `gemini-omni-1.1` and deprecated `gemini-omni` support 720p and 1080p; LTX-2.3 supports 480p, 720p, and 1080p.
26
26
  */
27
27
  resolution?: ("1080p" | "480p" | "720p") | undefined;
28
28
  /**
@@ -39,7 +39,7 @@ export type V1AiVideoEditorCreateBody = {
39
39
  export type External$V1AiVideoEditorCreateBody = {
40
40
  assets: External$V1AiVideoEditorCreateBodyAssets;
41
41
  end_seconds: number;
42
- model?: ("gemini-omni" | "ltx-2.3") | undefined;
42
+ model?: ("gemini-omni" | "gemini-omni-1.1" | "ltx-2.3") | undefined;
43
43
  name?: string | undefined;
44
44
  resolution?: ("1080p" | "480p" | "720p") | undefined;
45
45
  start_seconds?: number | undefined;
@@ -45,7 +45,7 @@ const SchemaIn$V1AiVideoEditorCreateBody = z
45
45
  .object({
46
46
  assets: v1_ai_video_editor_create_body_assets_1.Schemas$V1AiVideoEditorCreateBodyAssets.in,
47
47
  end_seconds: z.number(),
48
- model: z.enum(["gemini-omni", "ltx-2.3"]).optional(),
48
+ model: z.enum(["gemini-omni", "gemini-omni-1.1", "ltx-2.3"]).optional(),
49
49
  name: z.string().optional(),
50
50
  resolution: z.enum(["1080p", "480p", "720p"]).optional(),
51
51
  start_seconds: z.number().optional(),
@@ -70,7 +70,7 @@ const SchemaOut$V1AiVideoEditorCreateBody = z
70
70
  .object({
71
71
  assets: v1_ai_video_editor_create_body_assets_1.Schemas$V1AiVideoEditorCreateBodyAssets.out,
72
72
  endSeconds: z.number(),
73
- model: z.enum(["gemini-omni", "ltx-2.3"]).optional(),
73
+ model: z.enum(["gemini-omni", "gemini-omni-1.1", "ltx-2.3"]).optional(),
74
74
  name: z.string().optional(),
75
75
  resolution: z.enum(["1080p", "480p", "720p"]).optional(),
76
76
  startSeconds: z.number().optional(),
@@ -6,9 +6,11 @@ export type V1ImageToVideoCreateBodyAssets = {
6
6
  /**
7
7
  * The image to use as the last frame of the video.
8
8
  *
9
+ * * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
9
10
  * * **`kling-2.6`**: Supports 1080p.
10
11
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
11
12
  * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
13
+ * * **`ltx-2.5`**: Supports 480p, 720p, 1080p.
12
14
  * * **`minimax-h3`**: Not supported
13
15
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
14
16
  * * **`seedance-2.0`**: Supports 480p, 720p.
@@ -2,19 +2,21 @@
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`: Great for action, motion blur, and camera moves.
6
- * * `kling-3.0`: Best overall quality for cinematic storytelling.
7
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
8
- * * `minimax-h3`: Reference-driven video with native audio.
9
- * * `seedance-1.5`: Smooth, consistent motion with precision.
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
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.
5
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
6
+ * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
7
+ * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
8
+ * * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
9
+ * * `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
10
+ * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
11
+ * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
12
+ * * `seedance-2.0`: Best for reference-led clips with precise subject control.
13
+ * * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
14
+ * * `seedance-2.5`: Best for premium realism, detail, and natural motion.
15
+ * * `sora-2`: Best for creative concepts and longer clips with audio.
16
+ * * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
17
+ * * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
18
+ * * `wan-2.2`: Best for physical motion, action, and camera movement.
17
19
  *
18
20
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
19
21
  */
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";
22
+ export type V1ImageToVideoCreateBodyModelEnum = "default" | "gemini-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";
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
3
3
  *
4
+ * * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
4
5
  * * **`kling-2.6`**: Supports 720p, 1080p.
5
6
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
6
7
  * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
8
+ * * **`ltx-2.5`**: Supports 480p, 720p, 1080p.
7
9
  * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
8
10
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
9
11
  * * **`seedance-2.0`**: Supports 480p, 720p.
@@ -13,9 +13,11 @@ export type V1ImageToVideoCreateBody = {
13
13
  * Whether to include audio in the video. Defaults to `false` if not specified.
14
14
  *
15
15
  * Audio support varies by model:
16
+ * * **`gemini-omni-1.1`**: Not supported
16
17
  * * **`kling-2.6`**: Not supported
17
18
  * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
18
19
  * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
20
+ * * **`ltx-2.5`**: Toggle-able: no additional credits for audio
19
21
  * * **`minimax-h3`**: Toggle-able: no additional credits for audio
20
22
  * * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
21
23
  * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
@@ -31,9 +33,11 @@ export type V1ImageToVideoCreateBody = {
31
33
  /**
32
34
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
33
35
  *
36
+ * * **`gemini-omni-1.1`**: 3, 4, 5, 6, 7, 8, 9, 10
34
37
  * * **`kling-2.6`**: 5, 10
35
38
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
36
39
  * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
40
+ * * **`ltx-2.5`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
37
41
  * * **`minimax-h3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
38
42
  * * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
39
43
  * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
@@ -56,22 +60,24 @@ export type V1ImageToVideoCreateBody = {
56
60
  * The AI model to use for video generation.
57
61
  *
58
62
  * * `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`: Great for action, motion blur, and camera moves.
60
- * * `kling-3.0`: Best overall quality for cinematic storytelling.
61
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
62
- * * `minimax-h3`: Reference-driven video with native audio.
63
- * * `seedance-1.5`: Smooth, consistent motion with precision.
64
- * * `seedance-2.0`: Top quality with reference-to-video control.
65
- * * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
66
- * * `seedance-2.5`: Highest quality with superior realism, detail, and motion
67
- * * `sora-2`: Open AI's model. Great for creativity and viral clips.
68
- * * `veo3.1`: Google's model. Highest realism and detail.
69
- * * `veo3.1-lite`: Veo quality at a more accessible cost.
70
- * * `wan-2.2`: Strong physics, camera moves, and motion.
63
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
64
+ * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
65
+ * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
66
+ * * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
67
+ * * `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
68
+ * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
69
+ * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
70
+ * * `seedance-2.0`: Best for reference-led clips with precise subject control.
71
+ * * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
72
+ * * `seedance-2.5`: Best for premium realism, detail, and natural motion.
73
+ * * `sora-2`: Best for creative concepts and longer clips with audio.
74
+ * * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
75
+ * * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
76
+ * * `wan-2.2`: Best for physical motion, action, and camera movement.
71
77
  *
72
78
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
73
79
  */
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;
80
+ model?: ("default" | "gemini-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
81
  /**
76
82
  * Give your video a custom name for easy identification.
77
83
  */
@@ -79,9 +85,11 @@ export type V1ImageToVideoCreateBody = {
79
85
  /**
80
86
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
81
87
  *
88
+ * * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
82
89
  * * **`kling-2.6`**: Supports 720p, 1080p.
83
90
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
84
91
  * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
92
+ * * **`ltx-2.5`**: Supports 480p, 720p, 1080p.
85
93
  * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
86
94
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
87
95
  * * **`seedance-2.0`**: Supports 480p, 720p.
@@ -115,7 +123,7 @@ export type External$V1ImageToVideoCreateBody = {
115
123
  audio?: boolean | undefined;
116
124
  end_seconds: number;
117
125
  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;
126
+ model?: ("default" | "gemini-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
127
  name?: string | undefined;
120
128
  resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
121
129
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
@@ -50,6 +50,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
50
50
  model: z
51
51
  .enum([
52
52
  "default",
53
+ "gemini-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
+ "gemini-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",
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * Determines the aspect ratio of the output video.
3
3
  *
4
+ * * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
4
5
  * * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
5
6
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
6
7
  * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
8
+ * * **`ltx-2.5`**: Supports 9:16, 16:9, 1:1.
7
9
  * * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
8
10
  * * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
9
11
  * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
@@ -2,19 +2,21 @@
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`: Great for action, motion blur, and camera moves.
6
- * * `kling-3.0`: Best overall quality for cinematic storytelling.
7
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
8
- * * `minimax-h3`: Reference-driven video with native audio.
9
- * * `seedance-1.5`: Smooth, consistent motion with precision.
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
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.
5
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
6
+ * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
7
+ * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
8
+ * * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
9
+ * * `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
10
+ * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
11
+ * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
12
+ * * `seedance-2.0`: Best for reference-led clips with precise subject control.
13
+ * * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
14
+ * * `seedance-2.5`: Best for premium realism, detail, and natural motion.
15
+ * * `sora-2`: Best for creative concepts and longer clips with audio.
16
+ * * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
17
+ * * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
18
+ * * `wan-2.2`: Best for physical motion, action, and camera movement.
17
19
  *
18
20
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
19
21
  */
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";
22
+ export type V1TextToVideoCreateBodyModelEnum = "default" | "gemini-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";
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
3
3
  *
4
+ * * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
4
5
  * * **`kling-2.6`**: Supports 720p, 1080p.
5
6
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
6
7
  * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
8
+ * * **`ltx-2.5`**: Supports 480p, 720p, 1080p.
7
9
  * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
8
10
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
9
11
  * * **`seedance-2.0`**: Supports 480p, 720p.
@@ -7,9 +7,11 @@ export type V1TextToVideoCreateBody = {
7
7
  /**
8
8
  * Determines the aspect ratio of the output video.
9
9
  *
10
+ * * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
10
11
  * * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
11
12
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
12
13
  * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
14
+ * * **`ltx-2.5`**: Supports 9:16, 16:9, 1:1.
13
15
  * * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
14
16
  * * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
15
17
  * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
@@ -26,9 +28,11 @@ export type V1TextToVideoCreateBody = {
26
28
  * Whether to include audio in the video. Defaults to `false` if not specified.
27
29
  *
28
30
  * Audio support varies by model:
31
+ * * **`gemini-omni-1.1`**: Not supported
29
32
  * * **`kling-2.6`**: Not supported
30
33
  * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
31
34
  * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
35
+ * * **`ltx-2.5`**: Toggle-able: no additional credits for audio
32
36
  * * **`minimax-h3`**: Toggle-able: no additional credits for audio
33
37
  * * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
34
38
  * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
@@ -44,9 +48,11 @@ export type V1TextToVideoCreateBody = {
44
48
  /**
45
49
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
46
50
  *
51
+ * * **`gemini-omni-1.1`**: 3, 4, 5, 6, 7, 8, 9, 10
47
52
  * * **`kling-2.6`**: 5, 10
48
53
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
49
54
  * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
55
+ * * **`ltx-2.5`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
50
56
  * * **`minimax-h3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
51
57
  * * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
52
58
  * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
@@ -63,22 +69,24 @@ export type V1TextToVideoCreateBody = {
63
69
  * The AI model to use for video generation.
64
70
  *
65
71
  * * `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`: Great for action, motion blur, and camera moves.
67
- * * `kling-3.0`: Best overall quality for cinematic storytelling.
68
- * * `ltx-2.3`: Fastest output. Best for rapid iteration.
69
- * * `minimax-h3`: Reference-driven video with native audio.
70
- * * `seedance-1.5`: Smooth, consistent motion with precision.
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
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.
72
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
73
+ * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
74
+ * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
75
+ * * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration.
76
+ * * `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
77
+ * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
78
+ * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
79
+ * * `seedance-2.0`: Best for reference-led clips with precise subject control.
80
+ * * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
81
+ * * `seedance-2.5`: Best for premium realism, detail, and natural motion.
82
+ * * `sora-2`: Best for creative concepts and longer clips with audio.
83
+ * * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
84
+ * * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
85
+ * * `wan-2.2`: Best for physical motion, action, and camera movement.
78
86
  *
79
87
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
80
88
  */
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;
89
+ model?: ("default" | "gemini-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
90
  /**
83
91
  * Give your video a custom name for easy identification.
84
92
  */
@@ -90,9 +98,11 @@ export type V1TextToVideoCreateBody = {
90
98
  /**
91
99
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
92
100
  *
101
+ * * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
93
102
  * * **`kling-2.6`**: Supports 720p, 1080p.
94
103
  * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
95
104
  * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
105
+ * * **`ltx-2.5`**: Supports 480p, 720p, 1080p.
96
106
  * * **`minimax-h3`**: Supports 480p, 720p, 1080p.
97
107
  * * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
98
108
  * * **`seedance-2.0`**: Supports 480p, 720p.
@@ -116,7 +126,7 @@ export type External$V1TextToVideoCreateBody = {
116
126
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
117
127
  audio?: boolean | undefined;
118
128
  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;
129
+ model?: ("default" | "gemini-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
130
  name?: string | undefined;
121
131
  orientation?: ("landscape" | "portrait" | "square") | undefined;
122
132
  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
+ "gemini-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
+ "gemini-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.71.3",
3
+ "version": "0.73.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
+ }