magic-hour 0.53.1 → 0.54.1

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 (26) 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 +6 -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 +10 -2
  6. package/dist/resources/v1/ai-image-generator/request-types.js +4 -0
  7. package/dist/resources/v1/face-detection/request-types.d.ts +1 -1
  8. package/dist/resources/v1/face-detection/resource-client.d.ts +2 -2
  9. package/dist/resources/v1/face-detection/resource-client.js +2 -2
  10. package/dist/resources/v1/image-to-video/request-types.d.ts +2 -0
  11. package/dist/resources/v1/text-to-video/request-types.d.ts +2 -0
  12. package/dist/types/v1-ai-image-editor-create-body-model-enum.d.ts +5 -1
  13. package/dist/types/v1-ai-image-editor-create-body.d.ts +6 -2
  14. package/dist/types/v1-ai-image-editor-create-body.js +2 -0
  15. package/dist/types/v1-ai-image-generator-create-body-model-enum.d.ts +9 -1
  16. package/dist/types/v1-ai-image-generator-create-body.d.ts +10 -2
  17. package/dist/types/v1-ai-image-generator-create-body.js +4 -0
  18. package/dist/types/v1-ai-voice-generator-create-body-style.d.ts +1 -1
  19. package/dist/types/v1-audio-projects-get-response.d.ts +1 -1
  20. package/dist/types/v1-face-detection-create-response.d.ts +1 -1
  21. package/dist/types/v1-face-detection-get-response.d.ts +1 -1
  22. package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +1 -0
  23. package/dist/types/v1-image-to-video-create-body.d.ts +2 -0
  24. package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +1 -0
  25. package/dist/types/v1-text-to-video-create-body.d.ts +2 -0
  26. 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.53.1"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.55.1"
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.53.1";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.55.1";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -30,6 +30,10 @@ export type CreateRequest = {
30
30
  * - Available for tiers: free, creator, pro, business
31
31
  * - Image count allowed: 1
32
32
  * - Max additional input images: 9
33
+ * - `nano-banana-2` - 100 credits/image
34
+ * - Available for tiers: free, creator, pro, business
35
+ * - Image count allowed: 1
36
+ * - Max additional input images: 9
33
37
  * - `seedream-v4` - 50 credits/image
34
38
  * - Available for tiers: free, creator, pro, business
35
39
  * - Image count allowed: 1
@@ -44,7 +48,7 @@ export type CreateRequest = {
44
48
  * - Max additional input images: 9
45
49
  *
46
50
  */
47
- model?: ("default" | "nano-banana" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
51
+ model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
48
52
  /**
49
53
  * Give your image a custom name for easy identification.
50
54
  */
@@ -60,7 +64,7 @@ export type External$CreateRequest = {
60
64
  aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
61
65
  assets: External$V1AiImageEditorCreateBodyAssets;
62
66
  image_count?: number | undefined;
63
- model?: ("default" | "nano-banana" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
67
+ model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
64
68
  name?: string | undefined;
65
69
  style: External$V1AiImageEditorCreateBodyStyle;
66
70
  };
@@ -52,6 +52,7 @@ const SchemaIn$CreateRequest = z
52
52
  .enum([
53
53
  "default",
54
54
  "nano-banana",
55
+ "nano-banana-2",
55
56
  "nano-banana-pro",
56
57
  "qwen-edit",
57
58
  "seedream-v4",
@@ -86,6 +87,7 @@ const SchemaOut$CreateRequest = z
86
87
  .enum([
87
88
  "default",
88
89
  "nano-banana",
90
+ "nano-banana-2",
89
91
  "nano-banana-pro",
90
92
  "qwen-edit",
91
93
  "seedream-v4",
@@ -29,13 +29,21 @@ export type CreateRequest = {
29
29
  * - Supported resolutions: auto, 2k, 4k
30
30
  * - Available for tiers: free, creator, pro, business
31
31
  * - Image count allowed: 1, 2, 3, 4
32
+ * - `nano-banana` - 50 credits/image
33
+ * - Supported resolutions: auto
34
+ * - Available for tiers: free, creator, pro, business
35
+ * - Image count allowed: 1, 2, 3, 4
36
+ * - `nano-banana-2` - 100 credits/image
37
+ * - Supported resolutions: auto
38
+ * - Available for tiers: free, creator, pro, business
39
+ * - Image count allowed: 1, 2, 3, 4
32
40
  * - `nano-banana-pro` - 150 credits/image
33
41
  * - Supported resolutions: auto
34
42
  * - Available for tiers: creator, pro, business
35
43
  * - Image count allowed: 1, 4, 9, 16
36
44
  *
37
45
  */
38
- model?: ("default" | "flux-schnell" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
46
+ model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
39
47
  /**
40
48
  * Give your image a custom name for easy identification.
41
49
  */
@@ -70,7 +78,7 @@ export type CreateRequest = {
70
78
  export type External$CreateRequest = {
71
79
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
72
80
  image_count: number;
73
- model?: ("default" | "flux-schnell" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
81
+ model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
74
82
  name?: string | undefined;
75
83
  orientation?: ("landscape" | "portrait" | "square") | undefined;
76
84
  resolution?: ("2k" | "4k" | "auto") | undefined;
@@ -48,6 +48,8 @@ const SchemaIn$CreateRequest = z
48
48
  .enum([
49
49
  "default",
50
50
  "flux-schnell",
51
+ "nano-banana",
52
+ "nano-banana-2",
51
53
  "nano-banana-pro",
52
54
  "seedream",
53
55
  "z-image-turbo",
@@ -81,6 +83,8 @@ const SchemaOut$CreateRequest = z
81
83
  .enum([
82
84
  "default",
83
85
  "flux-schnell",
86
+ "nano-banana",
87
+ "nano-banana-2",
84
88
  "nano-banana-pro",
85
89
  "seedream",
86
90
  "z-image-turbo",
@@ -5,7 +5,7 @@ import { External$V1FaceDetectionCreateBodyAssets, V1FaceDetectionCreateBodyAsse
5
5
  */
6
6
  export type GetRequest = {
7
7
  /**
8
- * The id of the task. This value is returned by the [face detection API](/api-reference/files/face-detection#response-id).
8
+ * The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id).
9
9
  */
10
10
  id: string;
11
11
  };
@@ -37,7 +37,7 @@ export declare class FaceDetectionClient extends CoreResourceClient {
37
37
  *
38
38
  * Get the details of a face detection task.
39
39
  *
40
- * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](/api-reference/face-swap-photo/face-swap-photo) or [face swap video](/api-reference/face-swap/face-swap-video) API calls for multi-face swaps.
40
+ * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.
41
41
  *
42
42
  * GET /v1/face-detection/{id}
43
43
  */
@@ -47,7 +47,7 @@ export declare class FaceDetectionClient extends CoreResourceClient {
47
47
  *
48
48
  * Detect faces in an image or video.
49
49
  *
50
- * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](/api-reference/face-swap-photo/face-swap-photo) or [face swap video](/api-reference/face-swap/face-swap-video) API calls for multi-face swaps.
50
+ * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/face-swap-photo/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/face-swap/face-swap-video) API calls for multi-face swaps.
51
51
  *
52
52
  * Note: Face detection is free to use for the near future. Pricing may change in the future.
53
53
  *
@@ -89,7 +89,7 @@ class FaceDetectionClient extends make_api_request_js_1.CoreResourceClient {
89
89
  *
90
90
  * Get the details of a face detection task.
91
91
  *
92
- * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](/api-reference/face-swap-photo/face-swap-photo) or [face swap video](/api-reference/face-swap/face-swap-video) API calls for multi-face swaps.
92
+ * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.
93
93
  *
94
94
  * GET /v1/face-detection/{id}
95
95
  */
@@ -107,7 +107,7 @@ class FaceDetectionClient extends make_api_request_js_1.CoreResourceClient {
107
107
  *
108
108
  * Detect faces in an image or video.
109
109
  *
110
- * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](/api-reference/face-swap-photo/face-swap-photo) or [face swap video](/api-reference/face-swap/face-swap-video) API calls for multi-face swaps.
110
+ * Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/face-swap-photo/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/face-swap/face-swap-video) API calls for multi-face swaps.
111
111
  *
112
112
  * Note: Face detection is free to use for the near future. Pricing may change in the future.
113
113
  *
@@ -20,6 +20,7 @@ export type CreateRequest = {
20
20
  * * **`sora-2`**: Automatically included with no extra credits
21
21
  * * **`veo3.1`**: Toggle-able (can enable/disable)
22
22
  *
23
+ * Legacy models:
23
24
  * * **`kling-1.6`**: Not supported
24
25
  */
25
26
  audio?: boolean | undefined;
@@ -74,6 +75,7 @@ export type CreateRequest = {
74
75
  * * **`sora-2`**: Supports 720p.
75
76
  * * **`veo3.1`**: Supports 720p, 1080p.
76
77
  *
78
+ * Legacy models:
77
79
  * * **`kling-1.6`**: Supports 720p, 1080p.
78
80
  */
79
81
  resolution?: ("1080p" | "480p" | "720p") | undefined;
@@ -29,6 +29,7 @@ export type CreateRequest = {
29
29
  * * **`sora-2`**: Automatically included with no extra credits
30
30
  * * **`veo3.1`**: Toggle-able (can enable/disable)
31
31
  *
32
+ * Legacy models:
32
33
  * * **`kling-1.6`**: Not supported
33
34
  */
34
35
  audio?: boolean | undefined;
@@ -81,6 +82,7 @@ export type CreateRequest = {
81
82
  * * **`sora-2`**: Supports 720p.
82
83
  * * **`veo3.1`**: Supports 720p, 1080p.
83
84
  *
85
+ * Legacy models:
84
86
  * * **`kling-1.6`**: Supports 720p, 1080p.
85
87
  */
86
88
  resolution?: ("1080p" | "480p" | "720p") | undefined;
@@ -11,6 +11,10 @@
11
11
  * - Available for tiers: free, creator, pro, business
12
12
  * - Image count allowed: 1
13
13
  * - Max additional input images: 9
14
+ * - `nano-banana-2` - 100 credits/image
15
+ * - Available for tiers: free, creator, pro, business
16
+ * - Image count allowed: 1
17
+ * - Max additional input images: 9
14
18
  * - `seedream-v4` - 50 credits/image
15
19
  * - Available for tiers: free, creator, pro, business
16
20
  * - Image count allowed: 1
@@ -25,4 +29,4 @@
25
29
  * - Max additional input images: 9
26
30
  *
27
31
  */
28
- export type V1AiImageEditorCreateBodyModelEnum = "default" | "nano-banana" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5";
32
+ export type V1AiImageEditorCreateBodyModelEnum = "default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5";
@@ -30,6 +30,10 @@ export type V1AiImageEditorCreateBody = {
30
30
  * - Available for tiers: free, creator, pro, business
31
31
  * - Image count allowed: 1
32
32
  * - Max additional input images: 9
33
+ * - `nano-banana-2` - 100 credits/image
34
+ * - Available for tiers: free, creator, pro, business
35
+ * - Image count allowed: 1
36
+ * - Max additional input images: 9
33
37
  * - `seedream-v4` - 50 credits/image
34
38
  * - Available for tiers: free, creator, pro, business
35
39
  * - Image count allowed: 1
@@ -44,7 +48,7 @@ export type V1AiImageEditorCreateBody = {
44
48
  * - Max additional input images: 9
45
49
  *
46
50
  */
47
- model?: ("default" | "nano-banana" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
51
+ model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
48
52
  /**
49
53
  * Give your image a custom name for easy identification.
50
54
  */
@@ -60,7 +64,7 @@ export type External$V1AiImageEditorCreateBody = {
60
64
  aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
61
65
  assets: External$V1AiImageEditorCreateBodyAssets;
62
66
  image_count?: number | undefined;
63
- model?: ("default" | "nano-banana" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
67
+ model?: ("default" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
64
68
  name?: string | undefined;
65
69
  style: External$V1AiImageEditorCreateBodyStyle;
66
70
  };
@@ -52,6 +52,7 @@ const SchemaIn$V1AiImageEditorCreateBody = z
52
52
  .enum([
53
53
  "default",
54
54
  "nano-banana",
55
+ "nano-banana-2",
55
56
  "nano-banana-pro",
56
57
  "qwen-edit",
57
58
  "seedream-v4",
@@ -86,6 +87,7 @@ const SchemaOut$V1AiImageEditorCreateBody = z
86
87
  .enum([
87
88
  "default",
88
89
  "nano-banana",
90
+ "nano-banana-2",
89
91
  "nano-banana-pro",
90
92
  "qwen-edit",
91
93
  "seedream-v4",
@@ -15,10 +15,18 @@
15
15
  * - Supported resolutions: auto, 2k, 4k
16
16
  * - Available for tiers: free, creator, pro, business
17
17
  * - Image count allowed: 1, 2, 3, 4
18
+ * - `nano-banana` - 50 credits/image
19
+ * - Supported resolutions: auto
20
+ * - Available for tiers: free, creator, pro, business
21
+ * - Image count allowed: 1, 2, 3, 4
22
+ * - `nano-banana-2` - 100 credits/image
23
+ * - Supported resolutions: auto
24
+ * - Available for tiers: free, creator, pro, business
25
+ * - Image count allowed: 1, 2, 3, 4
18
26
  * - `nano-banana-pro` - 150 credits/image
19
27
  * - Supported resolutions: auto
20
28
  * - Available for tiers: creator, pro, business
21
29
  * - Image count allowed: 1, 4, 9, 16
22
30
  *
23
31
  */
24
- export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-schnell" | "nano-banana-pro" | "seedream" | "z-image-turbo";
32
+ export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "z-image-turbo";
@@ -29,13 +29,21 @@ export type V1AiImageGeneratorCreateBody = {
29
29
  * - Supported resolutions: auto, 2k, 4k
30
30
  * - Available for tiers: free, creator, pro, business
31
31
  * - Image count allowed: 1, 2, 3, 4
32
+ * - `nano-banana` - 50 credits/image
33
+ * - Supported resolutions: auto
34
+ * - Available for tiers: free, creator, pro, business
35
+ * - Image count allowed: 1, 2, 3, 4
36
+ * - `nano-banana-2` - 100 credits/image
37
+ * - Supported resolutions: auto
38
+ * - Available for tiers: free, creator, pro, business
39
+ * - Image count allowed: 1, 2, 3, 4
32
40
  * - `nano-banana-pro` - 150 credits/image
33
41
  * - Supported resolutions: auto
34
42
  * - Available for tiers: creator, pro, business
35
43
  * - Image count allowed: 1, 4, 9, 16
36
44
  *
37
45
  */
38
- model?: ("default" | "flux-schnell" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
46
+ model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
39
47
  /**
40
48
  * Give your image a custom name for easy identification.
41
49
  */
@@ -70,7 +78,7 @@ export type V1AiImageGeneratorCreateBody = {
70
78
  export type External$V1AiImageGeneratorCreateBody = {
71
79
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
72
80
  image_count: number;
73
- model?: ("default" | "flux-schnell" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
81
+ model?: ("default" | "flux-schnell" | "nano-banana" | "nano-banana-2" | "nano-banana-pro" | "seedream" | "z-image-turbo") | undefined;
74
82
  name?: string | undefined;
75
83
  orientation?: ("landscape" | "portrait" | "square") | undefined;
76
84
  resolution?: ("2k" | "4k" | "auto") | undefined;
@@ -48,6 +48,8 @@ const SchemaIn$V1AiImageGeneratorCreateBody = z
48
48
  .enum([
49
49
  "default",
50
50
  "flux-schnell",
51
+ "nano-banana",
52
+ "nano-banana-2",
51
53
  "nano-banana-pro",
52
54
  "seedream",
53
55
  "z-image-turbo",
@@ -81,6 +83,8 @@ const SchemaOut$V1AiImageGeneratorCreateBody = z
81
83
  .enum([
82
84
  "default",
83
85
  "flux-schnell",
86
+ "nano-banana",
87
+ "nano-banana-2",
84
88
  "nano-banana-pro",
85
89
  "seedream",
86
90
  "z-image-turbo",
@@ -4,7 +4,7 @@ import * as z from "zod";
4
4
  */
5
5
  export type V1AiVoiceGeneratorCreateBodyStyle = {
6
6
  /**
7
- * Text used to generate speech. Starter tier users can use up to 1000 characters, while Creator, Pro, or Business users can use up to 1000.
7
+ * Text used to generate speech. The character limit is 1000 characters.
8
8
  */
9
9
  prompt: string;
10
10
  /**
@@ -34,7 +34,7 @@ export type V1AudioProjectsGetResponse = {
34
34
  */
35
35
  status: "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
36
36
  /**
37
- * The type of the audio project. Possible values are VOICE_GENERATOR, VOICE_CHANGER, VOICE_CLONER
37
+ * The type of the audio project. Possible values are VOICE_GENERATOR, VOICE_CHANGER, VOICE_CLONER, VIDEO_TO_AUDIO
38
38
  */
39
39
  type: string;
40
40
  };
@@ -8,7 +8,7 @@ export type V1FaceDetectionCreateResponse = {
8
8
  */
9
9
  creditsCharged: number;
10
10
  /**
11
- * The id of the task. Use this value in the [get face detection details API](/api-reference/files/get-face-detection-details) to get the details of the face detection task.
11
+ * The id of the task. Use this value in the [get face detection details API](https://docs.magichour.ai/api-reference/files/get-face-detection-details) to get the details of the face detection task.
12
12
  */
13
13
  id: string;
14
14
  };
@@ -13,7 +13,7 @@ export type V1FaceDetectionGetResponse = {
13
13
  */
14
14
  faces: V1FaceDetectionGetResponseFacesItem[];
15
15
  /**
16
- * The id of the task. This value is returned by the [face detection API](/api-reference/files/face-detection#response-id).
16
+ * The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id).
17
17
  */
18
18
  id: string;
19
19
  /**
@@ -8,6 +8,7 @@
8
8
  * * **`sora-2`**: Supports 720p.
9
9
  * * **`veo3.1`**: Supports 720p, 1080p.
10
10
  *
11
+ * Legacy models:
11
12
  * * **`kling-1.6`**: Supports 720p, 1080p.
12
13
  */
13
14
  export type V1ImageToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "720p";
@@ -20,6 +20,7 @@ export type V1ImageToVideoCreateBody = {
20
20
  * * **`sora-2`**: Automatically included with no extra credits
21
21
  * * **`veo3.1`**: Toggle-able (can enable/disable)
22
22
  *
23
+ * Legacy models:
23
24
  * * **`kling-1.6`**: Not supported
24
25
  */
25
26
  audio?: boolean | undefined;
@@ -74,6 +75,7 @@ export type V1ImageToVideoCreateBody = {
74
75
  * * **`sora-2`**: Supports 720p.
75
76
  * * **`veo3.1`**: Supports 720p, 1080p.
76
77
  *
78
+ * Legacy models:
77
79
  * * **`kling-1.6`**: Supports 720p, 1080p.
78
80
  */
79
81
  resolution?: ("1080p" | "480p" | "720p") | undefined;
@@ -8,6 +8,7 @@
8
8
  * * **`sora-2`**: Supports 720p.
9
9
  * * **`veo3.1`**: Supports 720p, 1080p.
10
10
  *
11
+ * Legacy models:
11
12
  * * **`kling-1.6`**: Supports 720p, 1080p.
12
13
  */
13
14
  export type V1TextToVideoCreateBodyResolutionEnum = "1080p" | "480p" | "720p";
@@ -29,6 +29,7 @@ export type V1TextToVideoCreateBody = {
29
29
  * * **`sora-2`**: Automatically included with no extra credits
30
30
  * * **`veo3.1`**: Toggle-able (can enable/disable)
31
31
  *
32
+ * Legacy models:
32
33
  * * **`kling-1.6`**: Not supported
33
34
  */
34
35
  audio?: boolean | undefined;
@@ -81,6 +82,7 @@ export type V1TextToVideoCreateBody = {
81
82
  * * **`sora-2`**: Supports 720p.
82
83
  * * **`veo3.1`**: Supports 720p, 1080p.
83
84
  *
85
+ * Legacy models:
84
86
  * * **`kling-1.6`**: Supports 720p, 1080p.
85
87
  */
86
88
  resolution?: ("1080p" | "480p" | "720p") | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.53.1",
3
+ "version": "0.54.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {