magic-hour 0.72.0 → 0.74.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.
@@ -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.76.0"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.78.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.76.0";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.78.0";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -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,9 +60,11 @@ 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`.
63
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
59
64
  * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
60
65
  * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
61
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.
62
68
  * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
63
69
  * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
64
70
  * * `seedance-2.0`: Best for reference-led clips with precise subject control.
@@ -71,7 +77,7 @@ export type CreateRequest = {
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" | "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;
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.
@@ -93,7 +101,7 @@ export type CreateRequest = {
93
101
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
94
102
  *
95
103
  */
96
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
104
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
97
105
  /**
98
106
  * Attributed used to dictate the style of the output
99
107
  */
@@ -115,9 +123,9 @@ export type External$CreateRequest = {
115
123
  audio?: boolean | undefined;
116
124
  end_seconds: number;
117
125
  height?: number | null | 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;
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
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
128
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
121
129
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
122
130
  width?: number | null | undefined;
123
131
  };
@@ -50,7 +50,7 @@ const SchemaIn$CreateRequest = z
50
50
  model: z
51
51
  .enum([
52
52
  "default",
53
- "google-omni-1.1",
53
+ "gemini-omni-1.1",
54
54
  "kling-1.6",
55
55
  "kling-2.5",
56
56
  "kling-2.5-audio",
@@ -73,7 +73,7 @@ const SchemaIn$CreateRequest = z
73
73
  ])
74
74
  .optional(),
75
75
  name: z.string().optional(),
76
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
76
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
77
77
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
78
78
  width: z.number().int().nullable().optional(),
79
79
  })
@@ -103,7 +103,7 @@ const SchemaOut$CreateRequest = z
103
103
  model: z
104
104
  .enum([
105
105
  "default",
106
- "google-omni-1.1",
106
+ "gemini-omni-1.1",
107
107
  "kling-1.6",
108
108
  "kling-2.5",
109
109
  "kling-2.5-audio",
@@ -126,7 +126,7 @@ const SchemaOut$CreateRequest = z
126
126
  ])
127
127
  .optional(),
128
128
  name: z.string().optional(),
129
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
129
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
130
130
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
131
131
  width: z.number().int().nullable().optional(),
132
132
  })
@@ -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,9 +69,11 @@ 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`.
72
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
66
73
  * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
67
74
  * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
68
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.
69
77
  * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
70
78
  * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
71
79
  * * `seedance-2.0`: Best for reference-led clips with precise subject control.
@@ -78,7 +86,7 @@ export type CreateRequest = {
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" | "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;
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.
@@ -104,7 +114,7 @@ export type CreateRequest = {
104
114
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
105
115
  *
106
116
  */
107
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
117
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
108
118
  style: V1TextToVideoCreateBodyStyle;
109
119
  };
110
120
  /**
@@ -116,10 +126,10 @@ 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" | "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;
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
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
132
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
123
133
  style: External$V1TextToVideoCreateBodyStyle;
124
134
  };
125
135
  export declare const Schemas$CreateRequest: {
@@ -48,7 +48,7 @@ const SchemaIn$CreateRequest = z
48
48
  model: z
49
49
  .enum([
50
50
  "default",
51
- "google-omni-1.1",
51
+ "gemini-omni-1.1",
52
52
  "kling-1.6",
53
53
  "kling-2.5",
54
54
  "kling-2.5-audio",
@@ -72,7 +72,7 @@ const SchemaIn$CreateRequest = z
72
72
  .optional(),
73
73
  name: z.string().optional(),
74
74
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
75
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
75
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
76
76
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.in,
77
77
  })
78
78
  .transform((obj) => {
@@ -99,7 +99,7 @@ const SchemaOut$CreateRequest = z
99
99
  model: z
100
100
  .enum([
101
101
  "default",
102
- "google-omni-1.1",
102
+ "gemini-omni-1.1",
103
103
  "kling-1.6",
104
104
  "kling-2.5",
105
105
  "kling-2.5-audio",
@@ -123,7 +123,7 @@ const SchemaOut$CreateRequest = z
123
123
  .optional(),
124
124
  name: z.string().optional(),
125
125
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
126
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
126
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
127
127
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.out,
128
128
  })
129
129
  .transform((obj) => {
@@ -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,9 +2,11 @@
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
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
5
6
  * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
6
7
  * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
7
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.
8
10
  * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
9
11
  * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
10
12
  * * `seedance-2.0`: Best for reference-led clips with precise subject control.
@@ -17,4 +19,4 @@
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" | "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";
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.
@@ -15,4 +17,4 @@
15
17
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
16
18
  *
17
19
  */
18
- export type V1ImageToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "4k" | "720p";
20
+ export type V1ImageToVideoCreateBodyResolutionEnum = "1080p" | "360p" | "480p" | "4k" | "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,9 +60,11 @@ 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`.
63
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
59
64
  * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
60
65
  * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
61
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.
62
68
  * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
63
69
  * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
64
70
  * * `seedance-2.0`: Best for reference-led clips with precise subject control.
@@ -71,7 +77,7 @@ export type V1ImageToVideoCreateBody = {
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" | "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;
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.
@@ -93,7 +101,7 @@ export type V1ImageToVideoCreateBody = {
93
101
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
94
102
  *
95
103
  */
96
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
104
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
97
105
  /**
98
106
  * Attributed used to dictate the style of the output
99
107
  */
@@ -115,9 +123,9 @@ export type External$V1ImageToVideoCreateBody = {
115
123
  audio?: boolean | undefined;
116
124
  end_seconds: number;
117
125
  height?: number | null | 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;
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
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
128
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
121
129
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
122
130
  width?: number | null | undefined;
123
131
  };
@@ -50,7 +50,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
50
50
  model: z
51
51
  .enum([
52
52
  "default",
53
- "google-omni-1.1",
53
+ "gemini-omni-1.1",
54
54
  "kling-1.6",
55
55
  "kling-2.5",
56
56
  "kling-2.5-audio",
@@ -73,7 +73,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
73
73
  ])
74
74
  .optional(),
75
75
  name: z.string().optional(),
76
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
76
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
77
77
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
78
78
  width: z.number().int().nullable().optional(),
79
79
  })
@@ -103,7 +103,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
103
103
  model: z
104
104
  .enum([
105
105
  "default",
106
- "google-omni-1.1",
106
+ "gemini-omni-1.1",
107
107
  "kling-1.6",
108
108
  "kling-2.5",
109
109
  "kling-2.5-audio",
@@ -126,7 +126,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
126
126
  ])
127
127
  .optional(),
128
128
  name: z.string().optional(),
129
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
129
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
130
130
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
131
131
  width: z.number().int().nullable().optional(),
132
132
  })
@@ -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,9 +2,11 @@
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
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
5
6
  * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
6
7
  * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
7
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.
8
10
  * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
9
11
  * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
10
12
  * * `seedance-2.0`: Best for reference-led clips with precise subject control.
@@ -17,4 +19,4 @@
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" | "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";
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.
@@ -15,4 +17,4 @@
15
17
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
16
18
  *
17
19
  */
18
- export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "4k" | "720p";
20
+ export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "360p" | "480p" | "4k" | "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,9 +69,11 @@ 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`.
72
+ * * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
66
73
  * * `kling-2.6`: Best for action, motion blur, and controlled camera moves.
67
74
  * * `kling-3.0`: Best for cinematic stories, references, and optional audio.
68
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.
69
77
  * * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
70
78
  * * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
71
79
  * * `seedance-2.0`: Best for reference-led clips with precise subject control.
@@ -78,7 +86,7 @@ export type V1TextToVideoCreateBody = {
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" | "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;
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.
@@ -104,7 +114,7 @@ export type V1TextToVideoCreateBody = {
104
114
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
105
115
  *
106
116
  */
107
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
117
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
108
118
  style: V1TextToVideoCreateBodyStyle;
109
119
  };
110
120
  /**
@@ -116,10 +126,10 @@ 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" | "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;
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
- resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
132
+ resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined;
123
133
  style: External$V1TextToVideoCreateBodyStyle;
124
134
  };
125
135
  export declare const Schemas$V1TextToVideoCreateBody: {
@@ -48,7 +48,7 @@ const SchemaIn$V1TextToVideoCreateBody = z
48
48
  model: z
49
49
  .enum([
50
50
  "default",
51
- "google-omni-1.1",
51
+ "gemini-omni-1.1",
52
52
  "kling-1.6",
53
53
  "kling-2.5",
54
54
  "kling-2.5-audio",
@@ -72,7 +72,7 @@ const SchemaIn$V1TextToVideoCreateBody = z
72
72
  .optional(),
73
73
  name: z.string().optional(),
74
74
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
75
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
75
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
76
76
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.in,
77
77
  })
78
78
  .transform((obj) => {
@@ -99,7 +99,7 @@ const SchemaOut$V1TextToVideoCreateBody = z
99
99
  model: z
100
100
  .enum([
101
101
  "default",
102
- "google-omni-1.1",
102
+ "gemini-omni-1.1",
103
103
  "kling-1.6",
104
104
  "kling-2.5",
105
105
  "kling-2.5-audio",
@@ -123,7 +123,7 @@ const SchemaOut$V1TextToVideoCreateBody = z
123
123
  .optional(),
124
124
  name: z.string().optional(),
125
125
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
126
- resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
126
+ resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(),
127
127
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.out,
128
128
  })
129
129
  .transform((obj) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.72.0",
3
+ "version": "0.74.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {