magic-hour 0.81.0 → 0.82.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.
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/resources/v1/ai-image-editor/request-types.d.ts +7 -2
- package/dist/resources/v1/ai-image-editor/request-types.js +2 -0
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +7 -2
- package/dist/resources/v1/ai-image-generator/request-types.js +2 -0
- package/dist/types/v1-ai-image-editor-create-body-model-enum.d.ts +5 -1
- package/dist/types/v1-ai-image-editor-create-body-resolution-enum.d.ts +1 -0
- package/dist/types/v1-ai-image-editor-create-body.d.ts +7 -2
- package/dist/types/v1-ai-image-editor-create-body.js +2 -0
- package/dist/types/v1-ai-image-generator-create-body-model-enum.d.ts +5 -1
- package/dist/types/v1-ai-image-generator-create-body-resolution-enum.d.ts +1 -0
- package/dist/types/v1-ai-image-generator-create-body.d.ts +7 -2
- package/dist/types/v1-ai-image-generator-create-body.js +2 -0
- package/dist/types/v1-lip-sync-create-body-style-generation-mode-enum.d.ts +5 -3
- package/dist/types/v1-lip-sync-create-body-style.d.ts +5 -3
- package/package.json +1 -1
package/dist/environment.d.ts
CHANGED
package/dist/environment.js
CHANGED
|
@@ -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.
|
|
7
|
+
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.86.0";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -58,6 +58,10 @@ export type CreateRequest = {
|
|
|
58
58
|
* - Supported resolutions: 640px, 1k, 2k
|
|
59
59
|
* - Available for tiers: free, creator, pro, business
|
|
60
60
|
* - Max additional input images: 2
|
|
61
|
+
* - `qwen-image-2.1` - from 10 credits/image
|
|
62
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
63
|
+
* - Available for tiers: free, creator, pro, business
|
|
64
|
+
* - Max additional input images: 2
|
|
61
65
|
* - `seedream-v4` - from 40 credits/image
|
|
62
66
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
63
67
|
* - Available for tiers: creator, pro, business
|
|
@@ -72,7 +76,7 @@ export type CreateRequest = {
|
|
|
72
76
|
* - Max additional input images: 9
|
|
73
77
|
*
|
|
74
78
|
*/
|
|
75
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
79
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
76
80
|
/**
|
|
77
81
|
* Give your image a custom name for easy identification.
|
|
78
82
|
*/
|
|
@@ -97,6 +101,7 @@ export type CreateRequest = {
|
|
|
97
101
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
98
102
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
99
103
|
* - `qwen-edit` - 640px, 1k, 2k
|
|
104
|
+
* - `qwen-image-2.1` - 640px, 1k, 2k
|
|
100
105
|
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
101
106
|
* - `seedream-v4.5` - 640px, 1k, 2k, 4k
|
|
102
107
|
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
@@ -115,7 +120,7 @@ export type External$CreateRequest = {
|
|
|
115
120
|
aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
|
|
116
121
|
assets: External$V1AiImageEditorCreateBodyAssets;
|
|
117
122
|
image_count?: number | undefined;
|
|
118
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
123
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
119
124
|
name?: string | undefined;
|
|
120
125
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
121
126
|
style: External$V1AiImageEditorCreateBodyStyle;
|
|
@@ -60,6 +60,7 @@ const SchemaIn$CreateRequest = z
|
|
|
60
60
|
"nano-banana-2-lite",
|
|
61
61
|
"nano-banana-pro",
|
|
62
62
|
"qwen-edit",
|
|
63
|
+
"qwen-image-2.1",
|
|
63
64
|
"seedream-v4",
|
|
64
65
|
"seedream-v4.5",
|
|
65
66
|
"seedream-v5-pro",
|
|
@@ -103,6 +104,7 @@ const SchemaOut$CreateRequest = z
|
|
|
103
104
|
"nano-banana-2-lite",
|
|
104
105
|
"nano-banana-pro",
|
|
105
106
|
"qwen-edit",
|
|
107
|
+
"qwen-image-2.1",
|
|
106
108
|
"seedream-v4",
|
|
107
109
|
"seedream-v4.5",
|
|
108
110
|
"seedream-v5-pro",
|
|
@@ -53,6 +53,10 @@ export type CreateRequest = {
|
|
|
53
53
|
* - Supported resolutions: 1k, 2k, 4k
|
|
54
54
|
* - Available for tiers: creator, pro, business
|
|
55
55
|
* - Image count allowed: 1, 4, 9, 16
|
|
56
|
+
* - `qwen-image-2.1` - from 10 credits/image
|
|
57
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
58
|
+
* - Available for tiers: free, creator, pro, business
|
|
59
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
56
60
|
* - `seedream-v4` - from 40 credits/image
|
|
57
61
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
58
62
|
* - Available for tiers: creator, pro, business
|
|
@@ -70,7 +74,7 @@ export type CreateRequest = {
|
|
|
70
74
|
* - `seedream` - Use `seedream-v4` instead.
|
|
71
75
|
*
|
|
72
76
|
*/
|
|
73
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
77
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
74
78
|
/**
|
|
75
79
|
* Give your image a custom name for easy identification.
|
|
76
80
|
*/
|
|
@@ -101,6 +105,7 @@ export type CreateRequest = {
|
|
|
101
105
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
102
106
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
103
107
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
108
|
+
* - `qwen-image-2.1` - 640px, 1k, 2k
|
|
104
109
|
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
105
110
|
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
106
111
|
* - `z-image-turbo` - 640px, 1k, 2k
|
|
@@ -121,7 +126,7 @@ export type CreateRequest = {
|
|
|
121
126
|
export type External$CreateRequest = {
|
|
122
127
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
123
128
|
image_count: number;
|
|
124
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
129
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
125
130
|
name?: string | undefined;
|
|
126
131
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
127
132
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
@@ -56,6 +56,7 @@ const SchemaIn$CreateRequest = z
|
|
|
56
56
|
"nano-banana-2",
|
|
57
57
|
"nano-banana-2-lite",
|
|
58
58
|
"nano-banana-pro",
|
|
59
|
+
"qwen-image-2.1",
|
|
59
60
|
"seedream",
|
|
60
61
|
"seedream-v4",
|
|
61
62
|
"seedream-v5-pro",
|
|
@@ -98,6 +99,7 @@ const SchemaOut$CreateRequest = z
|
|
|
98
99
|
"nano-banana-2",
|
|
99
100
|
"nano-banana-2-lite",
|
|
100
101
|
"nano-banana-pro",
|
|
102
|
+
"qwen-image-2.1",
|
|
101
103
|
"seedream",
|
|
102
104
|
"seedream-v4",
|
|
103
105
|
"seedream-v5-pro",
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
* - Supported resolutions: 640px, 1k, 2k
|
|
40
40
|
* - Available for tiers: free, creator, pro, business
|
|
41
41
|
* - Max additional input images: 2
|
|
42
|
+
* - `qwen-image-2.1` - from 10 credits/image
|
|
43
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
44
|
+
* - Available for tiers: free, creator, pro, business
|
|
45
|
+
* - Max additional input images: 2
|
|
42
46
|
* - `seedream-v4` - from 40 credits/image
|
|
43
47
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
44
48
|
* - Available for tiers: creator, pro, business
|
|
@@ -53,4 +57,4 @@
|
|
|
53
57
|
* - Max additional input images: 9
|
|
54
58
|
*
|
|
55
59
|
*/
|
|
56
|
-
export type V1AiImageEditorCreateBodyModelEnum = "default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro";
|
|
60
|
+
export type V1AiImageEditorCreateBodyModelEnum = "default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro";
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
19
19
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
20
20
|
* - `qwen-edit` - 640px, 1k, 2k
|
|
21
|
+
* - `qwen-image-2.1` - 640px, 1k, 2k
|
|
21
22
|
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
22
23
|
* - `seedream-v4.5` - 640px, 1k, 2k, 4k
|
|
23
24
|
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
@@ -58,6 +58,10 @@ export type V1AiImageEditorCreateBody = {
|
|
|
58
58
|
* - Supported resolutions: 640px, 1k, 2k
|
|
59
59
|
* - Available for tiers: free, creator, pro, business
|
|
60
60
|
* - Max additional input images: 2
|
|
61
|
+
* - `qwen-image-2.1` - from 10 credits/image
|
|
62
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
63
|
+
* - Available for tiers: free, creator, pro, business
|
|
64
|
+
* - Max additional input images: 2
|
|
61
65
|
* - `seedream-v4` - from 40 credits/image
|
|
62
66
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
63
67
|
* - Available for tiers: creator, pro, business
|
|
@@ -72,7 +76,7 @@ export type V1AiImageEditorCreateBody = {
|
|
|
72
76
|
* - Max additional input images: 9
|
|
73
77
|
*
|
|
74
78
|
*/
|
|
75
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
79
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
76
80
|
/**
|
|
77
81
|
* Give your image a custom name for easy identification.
|
|
78
82
|
*/
|
|
@@ -97,6 +101,7 @@ export type V1AiImageEditorCreateBody = {
|
|
|
97
101
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
98
102
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
99
103
|
* - `qwen-edit` - 640px, 1k, 2k
|
|
104
|
+
* - `qwen-image-2.1` - 640px, 1k, 2k
|
|
100
105
|
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
101
106
|
* - `seedream-v4.5` - 640px, 1k, 2k, 4k
|
|
102
107
|
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
@@ -115,7 +120,7 @@ export type External$V1AiImageEditorCreateBody = {
|
|
|
115
120
|
aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
|
|
116
121
|
assets: External$V1AiImageEditorCreateBodyAssets;
|
|
117
122
|
image_count?: number | undefined;
|
|
118
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
123
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
119
124
|
name?: string | undefined;
|
|
120
125
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
121
126
|
style: External$V1AiImageEditorCreateBodyStyle;
|
|
@@ -60,6 +60,7 @@ const SchemaIn$V1AiImageEditorCreateBody = z
|
|
|
60
60
|
"nano-banana-2-lite",
|
|
61
61
|
"nano-banana-pro",
|
|
62
62
|
"qwen-edit",
|
|
63
|
+
"qwen-image-2.1",
|
|
63
64
|
"seedream-v4",
|
|
64
65
|
"seedream-v4.5",
|
|
65
66
|
"seedream-v5-pro",
|
|
@@ -103,6 +104,7 @@ const SchemaOut$V1AiImageEditorCreateBody = z
|
|
|
103
104
|
"nano-banana-2-lite",
|
|
104
105
|
"nano-banana-pro",
|
|
105
106
|
"qwen-edit",
|
|
107
|
+
"qwen-image-2.1",
|
|
106
108
|
"seedream-v4",
|
|
107
109
|
"seedream-v4.5",
|
|
108
110
|
"seedream-v5-pro",
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
* - Supported resolutions: 1k, 2k, 4k
|
|
40
40
|
* - Available for tiers: creator, pro, business
|
|
41
41
|
* - Image count allowed: 1, 4, 9, 16
|
|
42
|
+
* - `qwen-image-2.1` - from 10 credits/image
|
|
43
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
44
|
+
* - Available for tiers: free, creator, pro, business
|
|
45
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
42
46
|
* - `seedream-v4` - from 40 credits/image
|
|
43
47
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
44
48
|
* - Available for tiers: creator, pro, business
|
|
@@ -56,4 +60,4 @@
|
|
|
56
60
|
* - `seedream` - Use `seedream-v4` instead.
|
|
57
61
|
*
|
|
58
62
|
*/
|
|
59
|
-
export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo";
|
|
63
|
+
export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo";
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
19
19
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
20
20
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
21
|
+
* - `qwen-image-2.1` - 640px, 1k, 2k
|
|
21
22
|
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
22
23
|
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
23
24
|
* - `z-image-turbo` - 640px, 1k, 2k
|
|
@@ -53,6 +53,10 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
53
53
|
* - Supported resolutions: 1k, 2k, 4k
|
|
54
54
|
* - Available for tiers: creator, pro, business
|
|
55
55
|
* - Image count allowed: 1, 4, 9, 16
|
|
56
|
+
* - `qwen-image-2.1` - from 10 credits/image
|
|
57
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
58
|
+
* - Available for tiers: free, creator, pro, business
|
|
59
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
56
60
|
* - `seedream-v4` - from 40 credits/image
|
|
57
61
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
58
62
|
* - Available for tiers: creator, pro, business
|
|
@@ -70,7 +74,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
70
74
|
* - `seedream` - Use `seedream-v4` instead.
|
|
71
75
|
*
|
|
72
76
|
*/
|
|
73
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
77
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
74
78
|
/**
|
|
75
79
|
* Give your image a custom name for easy identification.
|
|
76
80
|
*/
|
|
@@ -101,6 +105,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
101
105
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
102
106
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
103
107
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
108
|
+
* - `qwen-image-2.1` - 640px, 1k, 2k
|
|
104
109
|
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
105
110
|
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
106
111
|
* - `z-image-turbo` - 640px, 1k, 2k
|
|
@@ -121,7 +126,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
121
126
|
export type External$V1AiImageGeneratorCreateBody = {
|
|
122
127
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
123
128
|
image_count: number;
|
|
124
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
129
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
125
130
|
name?: string | undefined;
|
|
126
131
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
127
132
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
@@ -56,6 +56,7 @@ const SchemaIn$V1AiImageGeneratorCreateBody = z
|
|
|
56
56
|
"nano-banana-2",
|
|
57
57
|
"nano-banana-2-lite",
|
|
58
58
|
"nano-banana-pro",
|
|
59
|
+
"qwen-image-2.1",
|
|
59
60
|
"seedream",
|
|
60
61
|
"seedream-v4",
|
|
61
62
|
"seedream-v5-pro",
|
|
@@ -98,6 +99,7 @@ const SchemaOut$V1AiImageGeneratorCreateBody = z
|
|
|
98
99
|
"nano-banana-2",
|
|
99
100
|
"nano-banana-2-lite",
|
|
100
101
|
"nano-banana-pro",
|
|
102
|
+
"qwen-image-2.1",
|
|
101
103
|
"seedream",
|
|
102
104
|
"seedream-v4",
|
|
103
105
|
"seedream-v5-pro",
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A specific version of our lip sync system, optimized for different needs.
|
|
3
3
|
* * `lite` - Fast lip sync - best for simple videos. Costs 1 credit per frame of video.
|
|
4
|
-
* * `standard` - Natural, accurate lip sync - best for most creators. Costs 1 credit per frame of video.
|
|
5
|
-
* * `pro` - Premium fidelity with enhanced detail - best for professionals. Costs 2 credits per frame of video.
|
|
4
|
+
* * `standard` - Natural, accurate lip sync - best for most creators. Requires visible mouth movement in the opening seconds of the input video. Costs 1 credit per frame of video.
|
|
5
|
+
* * `pro` - Premium fidelity with enhanced detail - best for professionals. Requires visible mouth movement in the opening seconds of the input video. Costs 2 credits per frame of video.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* If your source is a still image, including a still image saved as a static video, use [AI Talking Photo](https://docs.magichour.ai/api-reference/video-projects/ai-talking-photo) with the original image and your audio instead.
|
|
8
|
+
*
|
|
9
|
+
* Note: `pro` is only available for users on Creator, Pro, and Business tiers.
|
|
8
10
|
*
|
|
9
11
|
*/
|
|
10
12
|
export type V1LipSyncCreateBodyStyleGenerationModeEnum = "lite" | "pro" | "standard";
|
|
@@ -6,10 +6,12 @@ export type V1LipSyncCreateBodyStyle = {
|
|
|
6
6
|
/**
|
|
7
7
|
* A specific version of our lip sync system, optimized for different needs.
|
|
8
8
|
* * `lite` - Fast lip sync - best for simple videos. Costs 1 credit per frame of video.
|
|
9
|
-
* * `standard` - Natural, accurate lip sync - best for most creators. Costs 1 credit per frame of video.
|
|
10
|
-
* * `pro` - Premium fidelity with enhanced detail - best for professionals. Costs 2 credits per frame of video.
|
|
9
|
+
* * `standard` - Natural, accurate lip sync - best for most creators. Requires visible mouth movement in the opening seconds of the input video. Costs 1 credit per frame of video.
|
|
10
|
+
* * `pro` - Premium fidelity with enhanced detail - best for professionals. Requires visible mouth movement in the opening seconds of the input video. Costs 2 credits per frame of video.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* If your source is a still image, including a still image saved as a static video, use [AI Talking Photo](https://docs.magichour.ai/api-reference/video-projects/ai-talking-photo) with the original image and your audio instead.
|
|
13
|
+
*
|
|
14
|
+
* Note: `pro` is only available for users on Creator, Pro, and Business tiers.
|
|
13
15
|
*
|
|
14
16
|
*/
|
|
15
17
|
generationMode?: ("lite" | "pro" | "standard") | undefined;
|