magic-hour 0.61.0 → 0.62.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 (33) hide show
  1. package/dist/environment.d.ts +1 -1
  2. package/dist/environment.js +1 -1
  3. package/dist/resources/v1/ai-image-editor/request-types.d.ts +7 -2
  4. package/dist/resources/v1/ai-image-editor/request-types.js +2 -0
  5. package/dist/resources/v1/ai-image-generator/request-types.d.ts +7 -2
  6. package/dist/resources/v1/ai-image-generator/request-types.js +2 -0
  7. package/dist/resources/v1/files/upload-urls/resource-client.d.ts +1 -1
  8. package/dist/resources/v1/files/upload-urls/resource-client.js +1 -1
  9. package/dist/resources/v1/image-to-video/request-types.d.ts +27 -36
  10. package/dist/resources/v1/image-to-video/request-types.js +4 -2
  11. package/dist/resources/v1/text-to-video/request-types.d.ts +32 -43
  12. package/dist/resources/v1/text-to-video/request-types.js +4 -2
  13. package/dist/types/v1-ai-image-editor-create-body-model-enum.d.ts +5 -1
  14. package/dist/types/v1-ai-image-editor-create-body-resolution-enum.d.ts +1 -0
  15. package/dist/types/v1-ai-image-editor-create-body.d.ts +7 -2
  16. package/dist/types/v1-ai-image-editor-create-body.js +2 -0
  17. package/dist/types/v1-ai-image-generator-create-body-model-enum.d.ts +5 -1
  18. package/dist/types/v1-ai-image-generator-create-body-resolution-enum.d.ts +1 -0
  19. package/dist/types/v1-ai-image-generator-create-body.d.ts +7 -2
  20. package/dist/types/v1-ai-image-generator-create-body.js +2 -0
  21. package/dist/types/v1-files-upload-urls-create-body-items-item.d.ts +1 -1
  22. package/dist/types/v1-image-to-video-create-body-assets.d.ts +5 -7
  23. package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +7 -10
  24. package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +6 -8
  25. package/dist/types/v1-image-to-video-create-body.d.ts +27 -36
  26. package/dist/types/v1-image-to-video-create-body.js +4 -2
  27. package/dist/types/v1-text-to-video-create-body-aspect-ratio-enum.d.ts +5 -7
  28. package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +7 -10
  29. package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +6 -8
  30. package/dist/types/v1-text-to-video-create-body.d.ts +32 -43
  31. package/dist/types/v1-text-to-video-create-body.js +4 -2
  32. package/dist/types/v1-video-projects-get-response.d.ts +1 -1
  33. package/package.json +1 -1
@@ -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.62.0"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.63.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.62.0";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.63.0";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -46,9 +46,13 @@ export type CreateRequest = {
46
46
  * - Supported resolutions: 640px, 1k, 2k, 4k
47
47
  * - Available for tiers: creator, pro, business
48
48
  * - Max additional input images: 9
49
+ * - `gpt-image-2` - from 50 credits/image
50
+ * - Supported resolutions: 640px, 1k, 2k, 4k
51
+ * - Available for tiers: creator, pro, business
52
+ * - Max additional input images: 9
49
53
  *
50
54
  */
51
- model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
55
+ model?: ("default" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
52
56
  /**
53
57
  * Give your image a custom name for easy identification.
54
58
  */
@@ -70,6 +74,7 @@ export type CreateRequest = {
70
74
  * - `seedream-v4` - 640px, 1k, 2k, 4k
71
75
  * - `nano-banana-pro` - 1k, 2k, 4k
72
76
  * - `seedream-v4.5` - 640px, 1k, 2k, 4k
77
+ * - `gpt-image-2` - 640px, 1k, 2k, 4k
73
78
  *
74
79
  * Note: Resolution availability depends on the model and your subscription tier.
75
80
  */
@@ -85,7 +90,7 @@ export type External$CreateRequest = {
85
90
  aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
86
91
  assets: External$V1AiImageEditorCreateBodyAssets;
87
92
  image_count?: number | undefined;
88
- model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
93
+ model?: ("default" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
89
94
  name?: string | undefined;
90
95
  resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
91
96
  style: External$V1AiImageEditorCreateBodyStyle;
@@ -51,6 +51,7 @@ const SchemaIn$CreateRequest = z
51
51
  model: z
52
52
  .enum([
53
53
  "default",
54
+ "gpt-image-2",
54
55
  "nano-banana",
55
56
  "nano-banana-2",
56
57
  "nano-banana-pro",
@@ -88,6 +89,7 @@ const SchemaOut$CreateRequest = z
88
89
  model: z
89
90
  .enum([
90
91
  "default",
92
+ "gpt-image-2",
91
93
  "nano-banana",
92
94
  "nano-banana-2",
93
95
  "nano-banana-pro",
@@ -41,12 +41,16 @@ export type CreateRequest = {
41
41
  * - Supported resolutions: 1k, 2k, 4k
42
42
  * - Available for tiers: creator, pro, business
43
43
  * - Image count allowed: 1, 4, 9, 16
44
+ * - `gpt-image-2` - from 50 credits/image
45
+ * - Supported resolutions: 640px, 1k, 2k, 4k
46
+ * - Available for tiers: creator, pro, business
47
+ * - Image count allowed: 1, 2, 3, 4
44
48
  *
45
49
  * **Deprecated Enum Values:**
46
50
  * - `seedream` - Use `seedream-v4` instead.
47
51
  *
48
52
  */
49
- model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
53
+ model?: ("default" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
50
54
  /**
51
55
  * Give your image a custom name for easy identification.
52
56
  */
@@ -74,6 +78,7 @@ export type CreateRequest = {
74
78
  * - `nano-banana` - 640px, 1k
75
79
  * - `nano-banana-2` - 640px, 1k, 2k, 4k
76
80
  * - `nano-banana-pro` - 1k, 2k, 4k
81
+ * - `gpt-image-2` - 640px, 1k, 2k, 4k
77
82
  *
78
83
  * Note: Resolution availability depends on the model and your subscription tier.
79
84
  */
@@ -91,7 +96,7 @@ export type CreateRequest = {
91
96
  export type External$CreateRequest = {
92
97
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
93
98
  image_count: number;
94
- model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
99
+ model?: ("default" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
95
100
  name?: string | undefined;
96
101
  orientation?: ("landscape" | "portrait" | "square") | undefined;
97
102
  resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
@@ -48,6 +48,7 @@ const SchemaIn$CreateRequest = z
48
48
  .enum([
49
49
  "default",
50
50
  "flux-schnell",
51
+ "gpt-image-2",
51
52
  "nano-banana",
52
53
  "nano-banana-2",
53
54
  "nano-banana-pro",
@@ -84,6 +85,7 @@ const SchemaOut$CreateRequest = z
84
85
  .enum([
85
86
  "default",
86
87
  "flux-schnell",
88
+ "gpt-image-2",
87
89
  "nano-banana",
88
90
  "nano-banana-2",
89
91
  "nano-banana-pro",
@@ -13,7 +13,7 @@ export declare class UploadUrlsClient extends CoreResourceClient {
13
13
  * **Valid file extensions per asset type**:
14
14
  * - video: mp4, m4v, mov, webm
15
15
  * - audio: mp3, wav, aac, flac, webm, m4a
16
- * - image: png, jpg, jpeg, heic, webp, avif, jp2, tiff, bmp
16
+ * - image: png, jpg, jpeg, heic, heif, webp, avif, jp2, tiff, bmp
17
17
  * - gif: gif, webp, webm
18
18
  *
19
19
  * > Note: `gif` is only supported for face swap API `video_file_path` field.
@@ -18,7 +18,7 @@ class UploadUrlsClient extends make_api_request_js_1.CoreResourceClient {
18
18
  * **Valid file extensions per asset type**:
19
19
  * - video: mp4, m4v, mov, webm
20
20
  * - audio: mp3, wav, aac, flac, webm, m4a
21
- * - image: png, jpg, jpeg, heic, webp, avif, jp2, tiff, bmp
21
+ * - image: png, jpg, jpeg, heic, heif, webp, avif, jp2, tiff, bmp
22
22
  * - gif: gif, webp, webm
23
23
  *
24
24
  * > Note: `gif` is only supported for face swap API `video_file_path` field.
@@ -13,35 +13,31 @@ 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
- * * **`ltx-2`**: Automatically included with no extra credits
16
+ * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
17
17
  * * **`wan-2.2`**: Not supported
18
+ * * **`kling-2.5`**: Toggle-able: no additional credits for audio
19
+ * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
20
+ * * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
21
+ * * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
18
22
  * * **`seedance`**: Not supported
19
- * * **`seedance-2.0`**: Automatically included with no extra credits
20
- * * **`kling-2.5`**: Automatically included with no extra credits
21
- * * **`kling-3.0`**: Toggle-able (can enable/disable)
22
- * * **`sora-2`**: Automatically included with no extra credits
23
- * * **`veo3.1`**: Toggle-able (can enable/disable)
24
- * * **`veo3.1-lite`**: Toggle-able (can enable/disable)
23
+ * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
24
+ * * **`sora-2`**: Toggle-able: no additional credits for audio
25
25
  *
26
- * Legacy models:
27
- * * **`kling-1.6`**: Not supported
28
26
  */
29
27
  audio?: boolean | undefined;
30
28
  /**
31
29
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
32
30
  *
33
- * * **`ltx-2`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
31
+ * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
34
32
  * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
35
- * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
36
- * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
37
33
  * * **`kling-2.5`**: 5, 10
38
34
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
39
- * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
40
- * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
41
35
  * * **`veo3.1-lite`**: 8, 16, 24, 32, 40, 48, 56
36
+ * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
37
+ * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
38
+ * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
39
+ * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
42
40
  *
43
- * Legacy models:
44
- * * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
45
41
  */
46
42
  endSeconds: number;
47
43
  /**
@@ -53,23 +49,20 @@ export type CreateRequest = {
53
49
  /**
54
50
  * The AI model to use for video generation.
55
51
  *
56
- * * `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`.
57
- * * `ltx-2`: Fast iteration with audio and lip-sync
52
+ * * `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`.
53
+ * * `ltx-2.3`: Fast iteration with audio, lip-sync, and end frame
58
54
  * * `wan-2.2`: Fast, strong visuals with effects
59
- * * `seedance`: Fast iteration and start/end frames
60
- * * `seedance-2.0`: State-of-the-art quality and consistency
61
55
  * * `kling-2.5`: Motion, action, and camera control
62
56
  * * `kling-3.0`: Cinematic, multi-scene storytelling
63
- * * `sora-2`: Story-first concepts and creativity
57
+ * * `veo3.1-lite`: Fast, affordable, high-quality
64
58
  * * `veo3.1`: Realistic visuals and prompt adherence
65
- * * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
66
- *
67
- * Legacy models:
68
- * * `kling-1.6`: Reliable baseline with smooth motion
59
+ * * `seedance`: Fast iteration and start/end frames
60
+ * * `seedance-2.0`: State-of-the-art quality and consistency
61
+ * * `sora-2`: Story-first concepts and creativity
69
62
  *
70
63
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
71
64
  */
72
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
65
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
73
66
  /**
74
67
  * Give your video a custom name for easy identification.
75
68
  */
@@ -77,20 +70,18 @@ export type CreateRequest = {
77
70
  /**
78
71
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
79
72
  *
80
- * * **`ltx-2`**: Supports 480p, 720p, 1080p.
73
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
81
74
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
75
+ * * **`kling-2.5`**: Supports 720p, 1080p.
76
+ * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
77
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
78
+ * * **`veo3.1`**: Supports 720p, 1080p.
82
79
  * * **`seedance`**: Supports 480p, 720p, 1080p.
83
80
  * * **`seedance-2.0`**: Supports 480p, 720p.
84
- * * **`kling-2.5`**: Supports 720p, 1080p.
85
- * * **`kling-3.0`**: Supports 720p, 1080p.
86
81
  * * **`sora-2`**: Supports 720p.
87
- * * **`veo3.1`**: Supports 720p, 1080p.
88
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
89
82
  *
90
- * Legacy models:
91
- * * **`kling-1.6`**: Supports 720p, 1080p.
92
83
  */
93
- resolution?: ("1080p" | "480p" | "720p") | undefined;
84
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
94
85
  /**
95
86
  * Attributed used to dictate the style of the output
96
87
  */
@@ -112,9 +103,9 @@ export type External$CreateRequest = {
112
103
  audio?: boolean | undefined;
113
104
  end_seconds: number;
114
105
  height?: number | null | undefined;
115
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
106
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
116
107
  name?: string | undefined;
117
- resolution?: ("1080p" | "480p" | "720p") | undefined;
108
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
118
109
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
119
110
  width?: number | null | undefined;
120
111
  };
@@ -55,6 +55,7 @@ const SchemaIn$CreateRequest = z
55
55
  "kling-2.5-audio",
56
56
  "kling-3.0",
57
57
  "ltx-2",
58
+ "ltx-2.3",
58
59
  "seedance",
59
60
  "seedance-2.0",
60
61
  "sora-2",
@@ -65,7 +66,7 @@ const SchemaIn$CreateRequest = z
65
66
  ])
66
67
  .optional(),
67
68
  name: z.string().optional(),
68
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
69
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
69
70
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
70
71
  width: z.number().int().nullable().optional(),
71
72
  })
@@ -100,6 +101,7 @@ const SchemaOut$CreateRequest = z
100
101
  "kling-2.5-audio",
101
102
  "kling-3.0",
102
103
  "ltx-2",
104
+ "ltx-2.3",
103
105
  "seedance",
104
106
  "seedance-2.0",
105
107
  "sora-2",
@@ -110,7 +112,7 @@ const SchemaOut$CreateRequest = z
110
112
  ])
111
113
  .optional(),
112
114
  name: z.string().optional(),
113
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
115
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
114
116
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
115
117
  width: z.number().int().nullable().optional(),
116
118
  })
@@ -7,75 +7,66 @@ export type CreateRequest = {
7
7
  /**
8
8
  * Determines the aspect ratio of the output video.
9
9
  *
10
- * * **`ltx-2`**: Supports 9:16, 16:9, 1:1.
10
+ * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
11
11
  * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
12
- * * **`seedance`**: Supports 9:16, 16:9, 1:1.
13
- * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
14
12
  * * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
15
13
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
16
- * * **`sora-2`**: Supports 9:16, 16:9.
17
- * * **`veo3.1`**: Supports 9:16, 16:9.
18
14
  * * **`veo3.1-lite`**: Supports 9:16, 16:9.
15
+ * * **`veo3.1`**: Supports 9:16, 16:9.
16
+ * * **`seedance`**: Supports 9:16, 16:9, 1:1.
17
+ * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
18
+ * * **`sora-2`**: Supports 9:16, 16:9.
19
19
  *
20
- * Legacy models:
21
- * * **`kling-1.6`**: Supports 9:16, 16:9, 1:1.
22
20
  */
23
21
  aspectRatio?: ("16:9" | "1:1" | "9:16") | undefined;
24
22
  /**
25
23
  * Whether to include audio in the video. Defaults to `false` if not specified.
26
24
  *
27
25
  * Audio support varies by model:
28
- * * **`ltx-2`**: Automatically included with no extra credits
26
+ * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
29
27
  * * **`wan-2.2`**: Not supported
28
+ * * **`kling-2.5`**: Toggle-able: no additional credits for audio
29
+ * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
30
+ * * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
31
+ * * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
30
32
  * * **`seedance`**: Not supported
31
- * * **`seedance-2.0`**: Automatically included with no extra credits
32
- * * **`kling-2.5`**: Automatically included with no extra credits
33
- * * **`kling-3.0`**: Toggle-able (can enable/disable)
34
- * * **`sora-2`**: Automatically included with no extra credits
35
- * * **`veo3.1`**: Toggle-able (can enable/disable)
36
- * * **`veo3.1-lite`**: Toggle-able (can enable/disable)
33
+ * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
34
+ * * **`sora-2`**: Toggle-able: no additional credits for audio
37
35
  *
38
- * Legacy models:
39
- * * **`kling-1.6`**: Not supported
40
36
  */
41
37
  audio?: boolean | undefined;
42
38
  /**
43
39
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
44
40
  *
45
- * * **`ltx-2`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
41
+ * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
46
42
  * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
47
- * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
48
- * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
49
43
  * * **`kling-2.5`**: 5, 10
50
44
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
51
- * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
52
- * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
53
45
  * * **`veo3.1-lite`**: 8, 16, 24, 32, 40, 48, 56
46
+ * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
47
+ * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
48
+ * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
49
+ * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
54
50
  *
55
- * Legacy models:
56
- * * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
57
51
  */
58
52
  endSeconds: number;
59
53
  /**
60
54
  * The AI model to use for video generation.
61
55
  *
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`.
63
- * * `ltx-2`: Fast iteration with audio and lip-sync
56
+ * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
57
+ * * `ltx-2.3`: Fast iteration with audio, lip-sync, and end frame
64
58
  * * `wan-2.2`: Fast, strong visuals with effects
65
- * * `seedance`: Fast iteration and start/end frames
66
- * * `seedance-2.0`: State-of-the-art quality and consistency
67
59
  * * `kling-2.5`: Motion, action, and camera control
68
60
  * * `kling-3.0`: Cinematic, multi-scene storytelling
69
- * * `sora-2`: Story-first concepts and creativity
61
+ * * `veo3.1-lite`: Fast, affordable, high-quality
70
62
  * * `veo3.1`: Realistic visuals and prompt adherence
71
- * * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
72
- *
73
- * Legacy models:
74
- * * `kling-1.6`: Reliable baseline with smooth motion
63
+ * * `seedance`: Fast iteration and start/end frames
64
+ * * `seedance-2.0`: State-of-the-art quality and consistency
65
+ * * `sora-2`: Story-first concepts and creativity
75
66
  *
76
67
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
77
68
  */
78
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
69
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
79
70
  /**
80
71
  * Give your video a custom name for easy identification.
81
72
  */
@@ -87,20 +78,18 @@ export type CreateRequest = {
87
78
  /**
88
79
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
89
80
  *
90
- * * **`ltx-2`**: Supports 480p, 720p, 1080p.
81
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
91
82
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
83
+ * * **`kling-2.5`**: Supports 720p, 1080p.
84
+ * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
85
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
86
+ * * **`veo3.1`**: Supports 720p, 1080p.
92
87
  * * **`seedance`**: Supports 480p, 720p, 1080p.
93
88
  * * **`seedance-2.0`**: Supports 480p, 720p.
94
- * * **`kling-2.5`**: Supports 720p, 1080p.
95
- * * **`kling-3.0`**: Supports 720p, 1080p.
96
89
  * * **`sora-2`**: Supports 720p.
97
- * * **`veo3.1`**: Supports 720p, 1080p.
98
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
99
90
  *
100
- * Legacy models:
101
- * * **`kling-1.6`**: Supports 720p, 1080p.
102
91
  */
103
- resolution?: ("1080p" | "480p" | "720p") | undefined;
92
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
104
93
  style: V1TextToVideoCreateBodyStyle;
105
94
  };
106
95
  /**
@@ -112,10 +101,10 @@ export type External$CreateRequest = {
112
101
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
113
102
  audio?: boolean | undefined;
114
103
  end_seconds: number;
115
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
104
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
116
105
  name?: string | undefined;
117
106
  orientation?: ("landscape" | "portrait" | "square") | undefined;
118
- resolution?: ("1080p" | "480p" | "720p") | undefined;
107
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
119
108
  style: External$V1TextToVideoCreateBodyStyle;
120
109
  };
121
110
  export declare const Schemas$CreateRequest: {
@@ -53,6 +53,7 @@ const SchemaIn$CreateRequest = z
53
53
  "kling-2.5-audio",
54
54
  "kling-3.0",
55
55
  "ltx-2",
56
+ "ltx-2.3",
56
57
  "seedance",
57
58
  "seedance-2.0",
58
59
  "sora-2",
@@ -64,7 +65,7 @@ const SchemaIn$CreateRequest = z
64
65
  .optional(),
65
66
  name: z.string().optional(),
66
67
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
67
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
68
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
68
69
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.in,
69
70
  })
70
71
  .transform((obj) => {
@@ -96,6 +97,7 @@ const SchemaOut$CreateRequest = z
96
97
  "kling-2.5-audio",
97
98
  "kling-3.0",
98
99
  "ltx-2",
100
+ "ltx-2.3",
99
101
  "seedance",
100
102
  "seedance-2.0",
101
103
  "sora-2",
@@ -107,7 +109,7 @@ const SchemaOut$CreateRequest = z
107
109
  .optional(),
108
110
  name: z.string().optional(),
109
111
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
110
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
112
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
111
113
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.out,
112
114
  })
113
115
  .transform((obj) => {
@@ -27,6 +27,10 @@
27
27
  * - Supported resolutions: 640px, 1k, 2k, 4k
28
28
  * - Available for tiers: creator, pro, business
29
29
  * - Max additional input images: 9
30
+ * - `gpt-image-2` - from 50 credits/image
31
+ * - Supported resolutions: 640px, 1k, 2k, 4k
32
+ * - Available for tiers: creator, pro, business
33
+ * - Max additional input images: 9
30
34
  *
31
35
  */
32
- export type V1AiImageEditorCreateBodyModelEnum = "default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5";
36
+ export type V1AiImageEditorCreateBodyModelEnum = "default" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5";
@@ -15,6 +15,7 @@
15
15
  * - `seedream-v4` - 640px, 1k, 2k, 4k
16
16
  * - `nano-banana-pro` - 1k, 2k, 4k
17
17
  * - `seedream-v4.5` - 640px, 1k, 2k, 4k
18
+ * - `gpt-image-2` - 640px, 1k, 2k, 4k
18
19
  *
19
20
  * Note: Resolution availability depends on the model and your subscription tier.
20
21
  */
@@ -46,9 +46,13 @@ export type V1AiImageEditorCreateBody = {
46
46
  * - Supported resolutions: 640px, 1k, 2k, 4k
47
47
  * - Available for tiers: creator, pro, business
48
48
  * - Max additional input images: 9
49
+ * - `gpt-image-2` - from 50 credits/image
50
+ * - Supported resolutions: 640px, 1k, 2k, 4k
51
+ * - Available for tiers: creator, pro, business
52
+ * - Max additional input images: 9
49
53
  *
50
54
  */
51
- model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
55
+ model?: ("default" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
52
56
  /**
53
57
  * Give your image a custom name for easy identification.
54
58
  */
@@ -70,6 +74,7 @@ export type V1AiImageEditorCreateBody = {
70
74
  * - `seedream-v4` - 640px, 1k, 2k, 4k
71
75
  * - `nano-banana-pro` - 1k, 2k, 4k
72
76
  * - `seedream-v4.5` - 640px, 1k, 2k, 4k
77
+ * - `gpt-image-2` - 640px, 1k, 2k, 4k
73
78
  *
74
79
  * Note: Resolution availability depends on the model and your subscription tier.
75
80
  */
@@ -85,7 +90,7 @@ export type External$V1AiImageEditorCreateBody = {
85
90
  aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
86
91
  assets: External$V1AiImageEditorCreateBodyAssets;
87
92
  image_count?: number | undefined;
88
- model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
93
+ model?: ("default" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
89
94
  name?: string | undefined;
90
95
  resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
91
96
  style: External$V1AiImageEditorCreateBodyStyle;
@@ -51,6 +51,7 @@ const SchemaIn$V1AiImageEditorCreateBody = z
51
51
  model: z
52
52
  .enum([
53
53
  "default",
54
+ "gpt-image-2",
54
55
  "nano-banana",
55
56
  "nano-banana-2",
56
57
  "nano-banana-pro",
@@ -88,6 +89,7 @@ const SchemaOut$V1AiImageEditorCreateBody = z
88
89
  model: z
89
90
  .enum([
90
91
  "default",
92
+ "gpt-image-2",
91
93
  "nano-banana",
92
94
  "nano-banana-2",
93
95
  "nano-banana-pro",
@@ -27,9 +27,13 @@
27
27
  * - Supported resolutions: 1k, 2k, 4k
28
28
  * - Available for tiers: creator, pro, business
29
29
  * - Image count allowed: 1, 4, 9, 16
30
+ * - `gpt-image-2` - from 50 credits/image
31
+ * - Supported resolutions: 640px, 1k, 2k, 4k
32
+ * - Available for tiers: creator, pro, business
33
+ * - Image count allowed: 1, 2, 3, 4
30
34
  *
31
35
  * **Deprecated Enum Values:**
32
36
  * - `seedream` - Use `seedream-v4` instead.
33
37
  *
34
38
  */
35
- export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo";
39
+ export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo";
@@ -15,6 +15,7 @@
15
15
  * - `nano-banana` - 640px, 1k
16
16
  * - `nano-banana-2` - 640px, 1k, 2k, 4k
17
17
  * - `nano-banana-pro` - 1k, 2k, 4k
18
+ * - `gpt-image-2` - 640px, 1k, 2k, 4k
18
19
  *
19
20
  * Note: Resolution availability depends on the model and your subscription tier.
20
21
  */
@@ -41,12 +41,16 @@ export type V1AiImageGeneratorCreateBody = {
41
41
  * - Supported resolutions: 1k, 2k, 4k
42
42
  * - Available for tiers: creator, pro, business
43
43
  * - Image count allowed: 1, 4, 9, 16
44
+ * - `gpt-image-2` - from 50 credits/image
45
+ * - Supported resolutions: 640px, 1k, 2k, 4k
46
+ * - Available for tiers: creator, pro, business
47
+ * - Image count allowed: 1, 2, 3, 4
44
48
  *
45
49
  * **Deprecated Enum Values:**
46
50
  * - `seedream` - Use `seedream-v4` instead.
47
51
  *
48
52
  */
49
- model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
53
+ model?: ("default" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
50
54
  /**
51
55
  * Give your image a custom name for easy identification.
52
56
  */
@@ -74,6 +78,7 @@ export type V1AiImageGeneratorCreateBody = {
74
78
  * - `nano-banana` - 640px, 1k
75
79
  * - `nano-banana-2` - 640px, 1k, 2k, 4k
76
80
  * - `nano-banana-pro` - 1k, 2k, 4k
81
+ * - `gpt-image-2` - 640px, 1k, 2k, 4k
77
82
  *
78
83
  * Note: Resolution availability depends on the model and your subscription tier.
79
84
  */
@@ -91,7 +96,7 @@ export type V1AiImageGeneratorCreateBody = {
91
96
  export type External$V1AiImageGeneratorCreateBody = {
92
97
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
93
98
  image_count: number;
94
- model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
99
+ model?: ("default" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
95
100
  name?: string | undefined;
96
101
  orientation?: ("landscape" | "portrait" | "square") | undefined;
97
102
  resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
@@ -48,6 +48,7 @@ const SchemaIn$V1AiImageGeneratorCreateBody = z
48
48
  .enum([
49
49
  "default",
50
50
  "flux-schnell",
51
+ "gpt-image-2",
51
52
  "nano-banana",
52
53
  "nano-banana-2",
53
54
  "nano-banana-pro",
@@ -84,6 +85,7 @@ const SchemaOut$V1AiImageGeneratorCreateBody = z
84
85
  .enum([
85
86
  "default",
86
87
  "flux-schnell",
88
+ "gpt-image-2",
87
89
  "nano-banana",
88
90
  "nano-banana-2",
89
91
  "nano-banana-pro",
@@ -4,7 +4,7 @@ import * as z from "zod";
4
4
  */
5
5
  export type V1FilesUploadUrlsCreateBodyItemsItem = {
6
6
  /**
7
- * The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,m4a,png,jpg,jpeg,heic,webp,avif,jp2,tiff,bmp,gif,webp,webm
7
+ * The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,m4a,png,jpg,jpeg,heic,heif,webp,avif,jp2,tiff,bmp,gif,webp,webm
8
8
  */
9
9
  extension: string;
10
10
  /**
@@ -6,18 +6,16 @@ export type V1ImageToVideoCreateBodyAssets = {
6
6
  /**
7
7
  * The image to use as the last frame of the video.
8
8
  *
9
- * * **`ltx-2`**: Not supported
9
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
10
10
  * * **`wan-2.2`**: Not supported
11
+ * * **`kling-2.5`**: Supports 1080p.
12
+ * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
13
+ * * **`veo3.1-lite`**: Not supported
14
+ * * **`veo3.1`**: Not supported
11
15
  * * **`seedance`**: Supports 480p, 720p, 1080p.
12
16
  * * **`seedance-2.0`**: Supports 480p, 720p.
13
- * * **`kling-2.5`**: Supports 1080p.
14
- * * **`kling-3.0`**: Supports 1080p.
15
17
  * * **`sora-2`**: Not supported
16
- * * **`veo3.1`**: Not supported
17
- * * **`veo3.1-lite`**: Not supported
18
18
  *
19
- * Legacy models:
20
- * * **`kling-1.6`**: Not supported
21
19
  */
22
20
  endImageFilePath?: string | undefined;
23
21
  /**
@@ -1,20 +1,17 @@
1
1
  /**
2
2
  * The AI model to use for video generation.
3
3
  *
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`.
5
- * * `ltx-2`: Fast iteration with audio and lip-sync
4
+ * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
5
+ * * `ltx-2.3`: Fast iteration with audio, lip-sync, and end frame
6
6
  * * `wan-2.2`: Fast, strong visuals with effects
7
- * * `seedance`: Fast iteration and start/end frames
8
- * * `seedance-2.0`: State-of-the-art quality and consistency
9
7
  * * `kling-2.5`: Motion, action, and camera control
10
8
  * * `kling-3.0`: Cinematic, multi-scene storytelling
11
- * * `sora-2`: Story-first concepts and creativity
9
+ * * `veo3.1-lite`: Fast, affordable, high-quality
12
10
  * * `veo3.1`: Realistic visuals and prompt adherence
13
- * * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
14
- *
15
- * Legacy models:
16
- * * `kling-1.6`: Reliable baseline with smooth motion
11
+ * * `seedance`: Fast iteration and start/end frames
12
+ * * `seedance-2.0`: State-of-the-art quality and consistency
13
+ * * `sora-2`: Story-first concepts and creativity
17
14
  *
18
15
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
19
16
  */
20
- export type V1ImageToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2";
17
+ export type V1ImageToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2";
@@ -1,17 +1,15 @@
1
1
  /**
2
2
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
3
3
  *
4
- * * **`ltx-2`**: Supports 480p, 720p, 1080p.
4
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
5
5
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
6
+ * * **`kling-2.5`**: Supports 720p, 1080p.
7
+ * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
8
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
9
+ * * **`veo3.1`**: Supports 720p, 1080p.
6
10
  * * **`seedance`**: Supports 480p, 720p, 1080p.
7
11
  * * **`seedance-2.0`**: Supports 480p, 720p.
8
- * * **`kling-2.5`**: Supports 720p, 1080p.
9
- * * **`kling-3.0`**: Supports 720p, 1080p.
10
12
  * * **`sora-2`**: Supports 720p.
11
- * * **`veo3.1`**: Supports 720p, 1080p.
12
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
13
13
  *
14
- * Legacy models:
15
- * * **`kling-1.6`**: Supports 720p, 1080p.
16
14
  */
17
- export type V1ImageToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "720p";
15
+ export type V1ImageToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "4k" | "720p";
@@ -13,35 +13,31 @@ 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
- * * **`ltx-2`**: Automatically included with no extra credits
16
+ * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
17
17
  * * **`wan-2.2`**: Not supported
18
+ * * **`kling-2.5`**: Toggle-able: no additional credits for audio
19
+ * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
20
+ * * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
21
+ * * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
18
22
  * * **`seedance`**: Not supported
19
- * * **`seedance-2.0`**: Automatically included with no extra credits
20
- * * **`kling-2.5`**: Automatically included with no extra credits
21
- * * **`kling-3.0`**: Toggle-able (can enable/disable)
22
- * * **`sora-2`**: Automatically included with no extra credits
23
- * * **`veo3.1`**: Toggle-able (can enable/disable)
24
- * * **`veo3.1-lite`**: Toggle-able (can enable/disable)
23
+ * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
24
+ * * **`sora-2`**: Toggle-able: no additional credits for audio
25
25
  *
26
- * Legacy models:
27
- * * **`kling-1.6`**: Not supported
28
26
  */
29
27
  audio?: boolean | undefined;
30
28
  /**
31
29
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
32
30
  *
33
- * * **`ltx-2`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
31
+ * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
34
32
  * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
35
- * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
36
- * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
37
33
  * * **`kling-2.5`**: 5, 10
38
34
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
39
- * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
40
- * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
41
35
  * * **`veo3.1-lite`**: 8, 16, 24, 32, 40, 48, 56
36
+ * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
37
+ * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
38
+ * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
39
+ * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
42
40
  *
43
- * Legacy models:
44
- * * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
45
41
  */
46
42
  endSeconds: number;
47
43
  /**
@@ -53,23 +49,20 @@ export type V1ImageToVideoCreateBody = {
53
49
  /**
54
50
  * The AI model to use for video generation.
55
51
  *
56
- * * `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`.
57
- * * `ltx-2`: Fast iteration with audio and lip-sync
52
+ * * `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`.
53
+ * * `ltx-2.3`: Fast iteration with audio, lip-sync, and end frame
58
54
  * * `wan-2.2`: Fast, strong visuals with effects
59
- * * `seedance`: Fast iteration and start/end frames
60
- * * `seedance-2.0`: State-of-the-art quality and consistency
61
55
  * * `kling-2.5`: Motion, action, and camera control
62
56
  * * `kling-3.0`: Cinematic, multi-scene storytelling
63
- * * `sora-2`: Story-first concepts and creativity
57
+ * * `veo3.1-lite`: Fast, affordable, high-quality
64
58
  * * `veo3.1`: Realistic visuals and prompt adherence
65
- * * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
66
- *
67
- * Legacy models:
68
- * * `kling-1.6`: Reliable baseline with smooth motion
59
+ * * `seedance`: Fast iteration and start/end frames
60
+ * * `seedance-2.0`: State-of-the-art quality and consistency
61
+ * * `sora-2`: Story-first concepts and creativity
69
62
  *
70
63
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
71
64
  */
72
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
65
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
73
66
  /**
74
67
  * Give your video a custom name for easy identification.
75
68
  */
@@ -77,20 +70,18 @@ export type V1ImageToVideoCreateBody = {
77
70
  /**
78
71
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
79
72
  *
80
- * * **`ltx-2`**: Supports 480p, 720p, 1080p.
73
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
81
74
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
75
+ * * **`kling-2.5`**: Supports 720p, 1080p.
76
+ * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
77
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
78
+ * * **`veo3.1`**: Supports 720p, 1080p.
82
79
  * * **`seedance`**: Supports 480p, 720p, 1080p.
83
80
  * * **`seedance-2.0`**: Supports 480p, 720p.
84
- * * **`kling-2.5`**: Supports 720p, 1080p.
85
- * * **`kling-3.0`**: Supports 720p, 1080p.
86
81
  * * **`sora-2`**: Supports 720p.
87
- * * **`veo3.1`**: Supports 720p, 1080p.
88
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
89
82
  *
90
- * Legacy models:
91
- * * **`kling-1.6`**: Supports 720p, 1080p.
92
83
  */
93
- resolution?: ("1080p" | "480p" | "720p") | undefined;
84
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
94
85
  /**
95
86
  * Attributed used to dictate the style of the output
96
87
  */
@@ -112,9 +103,9 @@ export type External$V1ImageToVideoCreateBody = {
112
103
  audio?: boolean | undefined;
113
104
  end_seconds: number;
114
105
  height?: number | null | undefined;
115
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
106
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
116
107
  name?: string | undefined;
117
- resolution?: ("1080p" | "480p" | "720p") | undefined;
108
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
118
109
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
119
110
  width?: number | null | undefined;
120
111
  };
@@ -55,6 +55,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
55
55
  "kling-2.5-audio",
56
56
  "kling-3.0",
57
57
  "ltx-2",
58
+ "ltx-2.3",
58
59
  "seedance",
59
60
  "seedance-2.0",
60
61
  "sora-2",
@@ -65,7 +66,7 @@ const SchemaIn$V1ImageToVideoCreateBody = z
65
66
  ])
66
67
  .optional(),
67
68
  name: z.string().optional(),
68
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
69
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
69
70
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.in.optional(),
70
71
  width: z.number().int().nullable().optional(),
71
72
  })
@@ -100,6 +101,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
100
101
  "kling-2.5-audio",
101
102
  "kling-3.0",
102
103
  "ltx-2",
104
+ "ltx-2.3",
103
105
  "seedance",
104
106
  "seedance-2.0",
105
107
  "sora-2",
@@ -110,7 +112,7 @@ const SchemaOut$V1ImageToVideoCreateBody = z
110
112
  ])
111
113
  .optional(),
112
114
  name: z.string().optional(),
113
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
115
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
114
116
  style: v1_image_to_video_create_body_style_1.Schemas$V1ImageToVideoCreateBodyStyle.out.optional(),
115
117
  width: z.number().int().nullable().optional(),
116
118
  })
@@ -1,17 +1,15 @@
1
1
  /**
2
2
  * Determines the aspect ratio of the output video.
3
3
  *
4
- * * **`ltx-2`**: Supports 9:16, 16:9, 1:1.
4
+ * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
5
5
  * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
6
- * * **`seedance`**: Supports 9:16, 16:9, 1:1.
7
- * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
8
6
  * * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
9
7
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
10
- * * **`sora-2`**: Supports 9:16, 16:9.
11
- * * **`veo3.1`**: Supports 9:16, 16:9.
12
8
  * * **`veo3.1-lite`**: Supports 9:16, 16:9.
9
+ * * **`veo3.1`**: Supports 9:16, 16:9.
10
+ * * **`seedance`**: Supports 9:16, 16:9, 1:1.
11
+ * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
12
+ * * **`sora-2`**: Supports 9:16, 16:9.
13
13
  *
14
- * Legacy models:
15
- * * **`kling-1.6`**: Supports 9:16, 16:9, 1:1.
16
14
  */
17
15
  export type V1TextToVideoCreateBodyAspectRatioEnum = "16:9" | "1:1" | "9:16";
@@ -1,20 +1,17 @@
1
1
  /**
2
2
  * The AI model to use for video generation.
3
3
  *
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`.
5
- * * `ltx-2`: Fast iteration with audio and lip-sync
4
+ * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
5
+ * * `ltx-2.3`: Fast iteration with audio, lip-sync, and end frame
6
6
  * * `wan-2.2`: Fast, strong visuals with effects
7
- * * `seedance`: Fast iteration and start/end frames
8
- * * `seedance-2.0`: State-of-the-art quality and consistency
9
7
  * * `kling-2.5`: Motion, action, and camera control
10
8
  * * `kling-3.0`: Cinematic, multi-scene storytelling
11
- * * `sora-2`: Story-first concepts and creativity
9
+ * * `veo3.1-lite`: Fast, affordable, high-quality
12
10
  * * `veo3.1`: Realistic visuals and prompt adherence
13
- * * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
14
- *
15
- * Legacy models:
16
- * * `kling-1.6`: Reliable baseline with smooth motion
11
+ * * `seedance`: Fast iteration and start/end frames
12
+ * * `seedance-2.0`: State-of-the-art quality and consistency
13
+ * * `sora-2`: Story-first concepts and creativity
17
14
  *
18
15
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
19
16
  */
20
- export type V1TextToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2";
17
+ export type V1TextToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2";
@@ -1,17 +1,15 @@
1
1
  /**
2
2
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
3
3
  *
4
- * * **`ltx-2`**: Supports 480p, 720p, 1080p.
4
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
5
5
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
6
+ * * **`kling-2.5`**: Supports 720p, 1080p.
7
+ * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
8
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
9
+ * * **`veo3.1`**: Supports 720p, 1080p.
6
10
  * * **`seedance`**: Supports 480p, 720p, 1080p.
7
11
  * * **`seedance-2.0`**: Supports 480p, 720p.
8
- * * **`kling-2.5`**: Supports 720p, 1080p.
9
- * * **`kling-3.0`**: Supports 720p, 1080p.
10
12
  * * **`sora-2`**: Supports 720p.
11
- * * **`veo3.1`**: Supports 720p, 1080p.
12
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
13
13
  *
14
- * Legacy models:
15
- * * **`kling-1.6`**: Supports 720p, 1080p.
16
14
  */
17
- export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "720p";
15
+ export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "4k" | "720p";
@@ -7,75 +7,66 @@ export type V1TextToVideoCreateBody = {
7
7
  /**
8
8
  * Determines the aspect ratio of the output video.
9
9
  *
10
- * * **`ltx-2`**: Supports 9:16, 16:9, 1:1.
10
+ * * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
11
11
  * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
12
- * * **`seedance`**: Supports 9:16, 16:9, 1:1.
13
- * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
14
12
  * * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
15
13
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
16
- * * **`sora-2`**: Supports 9:16, 16:9.
17
- * * **`veo3.1`**: Supports 9:16, 16:9.
18
14
  * * **`veo3.1-lite`**: Supports 9:16, 16:9.
15
+ * * **`veo3.1`**: Supports 9:16, 16:9.
16
+ * * **`seedance`**: Supports 9:16, 16:9, 1:1.
17
+ * * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
18
+ * * **`sora-2`**: Supports 9:16, 16:9.
19
19
  *
20
- * Legacy models:
21
- * * **`kling-1.6`**: Supports 9:16, 16:9, 1:1.
22
20
  */
23
21
  aspectRatio?: ("16:9" | "1:1" | "9:16") | undefined;
24
22
  /**
25
23
  * Whether to include audio in the video. Defaults to `false` if not specified.
26
24
  *
27
25
  * Audio support varies by model:
28
- * * **`ltx-2`**: Automatically included with no extra credits
26
+ * * **`ltx-2.3`**: Toggle-able: no additional credits for audio
29
27
  * * **`wan-2.2`**: Not supported
28
+ * * **`kling-2.5`**: Toggle-able: no additional credits for audio
29
+ * * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
30
+ * * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
31
+ * * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
30
32
  * * **`seedance`**: Not supported
31
- * * **`seedance-2.0`**: Automatically included with no extra credits
32
- * * **`kling-2.5`**: Automatically included with no extra credits
33
- * * **`kling-3.0`**: Toggle-able (can enable/disable)
34
- * * **`sora-2`**: Automatically included with no extra credits
35
- * * **`veo3.1`**: Toggle-able (can enable/disable)
36
- * * **`veo3.1-lite`**: Toggle-able (can enable/disable)
33
+ * * **`seedance-2.0`**: Toggle-able: no additional credits for audio
34
+ * * **`sora-2`**: Toggle-able: no additional credits for audio
37
35
  *
38
- * Legacy models:
39
- * * **`kling-1.6`**: Not supported
40
36
  */
41
37
  audio?: boolean | undefined;
42
38
  /**
43
39
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
44
40
  *
45
- * * **`ltx-2`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
41
+ * * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
46
42
  * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
47
- * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
48
- * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
49
43
  * * **`kling-2.5`**: 5, 10
50
44
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
51
- * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
52
- * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
53
45
  * * **`veo3.1-lite`**: 8, 16, 24, 32, 40, 48, 56
46
+ * * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
47
+ * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
48
+ * * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
49
+ * * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
54
50
  *
55
- * Legacy models:
56
- * * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
57
51
  */
58
52
  endSeconds: number;
59
53
  /**
60
54
  * The AI model to use for video generation.
61
55
  *
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`.
63
- * * `ltx-2`: Fast iteration with audio and lip-sync
56
+ * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.3`.
57
+ * * `ltx-2.3`: Fast iteration with audio, lip-sync, and end frame
64
58
  * * `wan-2.2`: Fast, strong visuals with effects
65
- * * `seedance`: Fast iteration and start/end frames
66
- * * `seedance-2.0`: State-of-the-art quality and consistency
67
59
  * * `kling-2.5`: Motion, action, and camera control
68
60
  * * `kling-3.0`: Cinematic, multi-scene storytelling
69
- * * `sora-2`: Story-first concepts and creativity
61
+ * * `veo3.1-lite`: Fast, affordable, high-quality
70
62
  * * `veo3.1`: Realistic visuals and prompt adherence
71
- * * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
72
- *
73
- * Legacy models:
74
- * * `kling-1.6`: Reliable baseline with smooth motion
63
+ * * `seedance`: Fast iteration and start/end frames
64
+ * * `seedance-2.0`: State-of-the-art quality and consistency
65
+ * * `sora-2`: Story-first concepts and creativity
75
66
  *
76
67
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
77
68
  */
78
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
69
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
79
70
  /**
80
71
  * Give your video a custom name for easy identification.
81
72
  */
@@ -87,20 +78,18 @@ export type V1TextToVideoCreateBody = {
87
78
  /**
88
79
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
89
80
  *
90
- * * **`ltx-2`**: Supports 480p, 720p, 1080p.
81
+ * * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
91
82
  * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
83
+ * * **`kling-2.5`**: Supports 720p, 1080p.
84
+ * * **`kling-3.0`**: Supports 720p, 1080p, 4k.
85
+ * * **`veo3.1-lite`**: Supports 720p, 1080p.
86
+ * * **`veo3.1`**: Supports 720p, 1080p.
92
87
  * * **`seedance`**: Supports 480p, 720p, 1080p.
93
88
  * * **`seedance-2.0`**: Supports 480p, 720p.
94
- * * **`kling-2.5`**: Supports 720p, 1080p.
95
- * * **`kling-3.0`**: Supports 720p, 1080p.
96
89
  * * **`sora-2`**: Supports 720p.
97
- * * **`veo3.1`**: Supports 720p, 1080p.
98
- * * **`veo3.1-lite`**: Supports 720p, 1080p.
99
90
  *
100
- * Legacy models:
101
- * * **`kling-1.6`**: Supports 720p, 1080p.
102
91
  */
103
- resolution?: ("1080p" | "480p" | "720p") | undefined;
92
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
104
93
  style: V1TextToVideoCreateBodyStyle;
105
94
  };
106
95
  /**
@@ -112,10 +101,10 @@ export type External$V1TextToVideoCreateBody = {
112
101
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
113
102
  audio?: boolean | undefined;
114
103
  end_seconds: number;
115
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
104
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
116
105
  name?: string | undefined;
117
106
  orientation?: ("landscape" | "portrait" | "square") | undefined;
118
- resolution?: ("1080p" | "480p" | "720p") | undefined;
107
+ resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
119
108
  style: External$V1TextToVideoCreateBodyStyle;
120
109
  };
121
110
  export declare const Schemas$V1TextToVideoCreateBody: {
@@ -53,6 +53,7 @@ const SchemaIn$V1TextToVideoCreateBody = z
53
53
  "kling-2.5-audio",
54
54
  "kling-3.0",
55
55
  "ltx-2",
56
+ "ltx-2.3",
56
57
  "seedance",
57
58
  "seedance-2.0",
58
59
  "sora-2",
@@ -64,7 +65,7 @@ const SchemaIn$V1TextToVideoCreateBody = z
64
65
  .optional(),
65
66
  name: z.string().optional(),
66
67
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
67
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
68
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
68
69
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.in,
69
70
  })
70
71
  .transform((obj) => {
@@ -96,6 +97,7 @@ const SchemaOut$V1TextToVideoCreateBody = z
96
97
  "kling-2.5-audio",
97
98
  "kling-3.0",
98
99
  "ltx-2",
100
+ "ltx-2.3",
99
101
  "seedance",
100
102
  "seedance-2.0",
101
103
  "sora-2",
@@ -107,7 +109,7 @@ const SchemaOut$V1TextToVideoCreateBody = z
107
109
  .optional(),
108
110
  name: z.string().optional(),
109
111
  orientation: z.enum(["landscape", "portrait", "square"]).optional(),
110
- resolution: z.enum(["1080p", "480p", "720p"]).optional(),
112
+ resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(),
111
113
  style: v1_text_to_video_create_body_style_1.Schemas$V1TextToVideoCreateBodyStyle.out,
112
114
  })
113
115
  .transform((obj) => {
@@ -61,7 +61,7 @@ export type V1VideoProjectsGetResponse = {
61
61
  */
62
62
  totalFrameCost: number;
63
63
  /**
64
- * The type of the video project. Possible values are ANIMATION, AUTO_SUBTITLE, VIDEO_TO_VIDEO, FACE_SWAP, TEXT_TO_VIDEO, IMAGE_TO_VIDEO, LIP_SYNC, TALKING_PHOTO, VIDEO_UPSCALER, EXTEND, AUDIO_TO_VIDEO, UGC_AD
64
+ * The type of the video project. Possible values are ANIMATION, AUTO_SUBTITLE, VIDEO_TO_VIDEO, FACE_SWAP, TEXT_TO_VIDEO, IMAGE_TO_VIDEO, LIP_SYNC, TALKING_PHOTO, VIDEO_UPSCALER, EXTEND, AUDIO_TO_VIDEO, VIDEO_EXPANDER, UGC_AD
65
65
  */
66
66
  type: string;
67
67
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.61.0",
3
+ "version": "0.62.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {