magic-hour 0.96.0 → 0.97.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.
- 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/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.102.0";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -26,6 +26,10 @@ export type CreateRequest = {
|
|
|
26
26
|
* - Supported resolutions: 640px, 1k, 2k
|
|
27
27
|
* - Available for tiers: free, creator, pro, business
|
|
28
28
|
* - Max additional input images: 5
|
|
29
|
+
* - `flux-3-klein` - from 5 credits/image
|
|
30
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
31
|
+
* - Available for tiers: free, creator, pro, business
|
|
32
|
+
* - Max additional input images: 1
|
|
29
33
|
* - `gpt-image-2` - from 50 credits/image
|
|
30
34
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
31
35
|
* - Available for tiers: creator, pro, business
|
|
@@ -80,7 +84,7 @@ export type CreateRequest = {
|
|
|
80
84
|
* - Max additional input images: 9
|
|
81
85
|
*
|
|
82
86
|
*/
|
|
83
|
-
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-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
87
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
84
88
|
/**
|
|
85
89
|
* Give your image a custom name for easy identification.
|
|
86
90
|
*/
|
|
@@ -97,6 +101,7 @@ export type CreateRequest = {
|
|
|
97
101
|
*
|
|
98
102
|
* **Per-model support:**
|
|
99
103
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
104
|
+
* - `flux-3-klein` - 640px, 1k, 2k
|
|
100
105
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
101
106
|
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
102
107
|
* - `krea-2` - 640px, 1k
|
|
@@ -125,7 +130,7 @@ export type External$CreateRequest = {
|
|
|
125
130
|
aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
|
|
126
131
|
assets: External$V1AiImageEditorCreateBodyAssets;
|
|
127
132
|
image_count?: number | undefined;
|
|
128
|
-
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-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
133
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
129
134
|
name?: string | undefined;
|
|
130
135
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
131
136
|
style: External$V1AiImageEditorCreateBodyStyle;
|
|
@@ -52,6 +52,7 @@ const SchemaIn$CreateRequest = z
|
|
|
52
52
|
.enum([
|
|
53
53
|
"default",
|
|
54
54
|
"flux-2-klein",
|
|
55
|
+
"flux-3-klein",
|
|
55
56
|
"gpt-image-2",
|
|
56
57
|
"gpt-image-2.5-flare",
|
|
57
58
|
"krea-2",
|
|
@@ -98,6 +99,7 @@ const SchemaOut$CreateRequest = z
|
|
|
98
99
|
.enum([
|
|
99
100
|
"default",
|
|
100
101
|
"flux-2-klein",
|
|
102
|
+
"flux-3-klein",
|
|
101
103
|
"gpt-image-2",
|
|
102
104
|
"gpt-image-2.5-flare",
|
|
103
105
|
"krea-2",
|
|
@@ -21,6 +21,10 @@ export type CreateRequest = {
|
|
|
21
21
|
* - Supported resolutions: 640px, 1k, 2k
|
|
22
22
|
* - Available for tiers: free, creator, pro, business
|
|
23
23
|
* - Image count allowed: 1
|
|
24
|
+
* - `flux-3-klein` - from 5 credits/image
|
|
25
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
26
|
+
* - Available for tiers: free, creator, pro, business
|
|
27
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
24
28
|
* - `flux-schnell` - from 5 credits/image
|
|
25
29
|
* - Supported resolutions: 640px, 1k, 2k
|
|
26
30
|
* - Available for tiers: free, creator, pro, business
|
|
@@ -82,7 +86,7 @@ export type CreateRequest = {
|
|
|
82
86
|
* - `seedream` - Use `seedream-v4` instead.
|
|
83
87
|
*
|
|
84
88
|
*/
|
|
85
|
-
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-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
89
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
86
90
|
/**
|
|
87
91
|
* Give your image a custom name for easy identification.
|
|
88
92
|
*/
|
|
@@ -105,6 +109,7 @@ export type CreateRequest = {
|
|
|
105
109
|
*
|
|
106
110
|
* **Per-model support:**
|
|
107
111
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
112
|
+
* - `flux-3-klein` - 640px, 1k, 2k
|
|
108
113
|
* - `flux-schnell` - 640px, 1k, 2k
|
|
109
114
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
110
115
|
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
@@ -136,7 +141,7 @@ export type CreateRequest = {
|
|
|
136
141
|
export type External$CreateRequest = {
|
|
137
142
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
138
143
|
image_count: number;
|
|
139
|
-
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-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
144
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
140
145
|
name?: string | undefined;
|
|
141
146
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
142
147
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
@@ -48,6 +48,7 @@ const SchemaIn$CreateRequest = z
|
|
|
48
48
|
.enum([
|
|
49
49
|
"default",
|
|
50
50
|
"flux-2-klein",
|
|
51
|
+
"flux-3-klein",
|
|
51
52
|
"flux-schnell",
|
|
52
53
|
"gpt-image-2",
|
|
53
54
|
"gpt-image-2.5-flare",
|
|
@@ -94,6 +95,7 @@ const SchemaOut$CreateRequest = z
|
|
|
94
95
|
.enum([
|
|
95
96
|
"default",
|
|
96
97
|
"flux-2-klein",
|
|
98
|
+
"flux-3-klein",
|
|
97
99
|
"flux-schnell",
|
|
98
100
|
"gpt-image-2",
|
|
99
101
|
"gpt-image-2.5-flare",
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
* - Supported resolutions: 640px, 1k, 2k
|
|
8
8
|
* - Available for tiers: free, creator, pro, business
|
|
9
9
|
* - Max additional input images: 5
|
|
10
|
+
* - `flux-3-klein` - from 5 credits/image
|
|
11
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
12
|
+
* - Available for tiers: free, creator, pro, business
|
|
13
|
+
* - Max additional input images: 1
|
|
10
14
|
* - `gpt-image-2` - from 50 credits/image
|
|
11
15
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
12
16
|
* - Available for tiers: creator, pro, business
|
|
@@ -61,4 +65,4 @@
|
|
|
61
65
|
* - Max additional input images: 9
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
|
-
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-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro";
|
|
68
|
+
export type V1AiImageEditorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-3-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro";
|
|
@@ -26,6 +26,10 @@ export type V1AiImageEditorCreateBody = {
|
|
|
26
26
|
* - Supported resolutions: 640px, 1k, 2k
|
|
27
27
|
* - Available for tiers: free, creator, pro, business
|
|
28
28
|
* - Max additional input images: 5
|
|
29
|
+
* - `flux-3-klein` - from 5 credits/image
|
|
30
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
31
|
+
* - Available for tiers: free, creator, pro, business
|
|
32
|
+
* - Max additional input images: 1
|
|
29
33
|
* - `gpt-image-2` - from 50 credits/image
|
|
30
34
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
31
35
|
* - Available for tiers: creator, pro, business
|
|
@@ -80,7 +84,7 @@ export type V1AiImageEditorCreateBody = {
|
|
|
80
84
|
* - Max additional input images: 9
|
|
81
85
|
*
|
|
82
86
|
*/
|
|
83
|
-
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-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
87
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
84
88
|
/**
|
|
85
89
|
* Give your image a custom name for easy identification.
|
|
86
90
|
*/
|
|
@@ -97,6 +101,7 @@ export type V1AiImageEditorCreateBody = {
|
|
|
97
101
|
*
|
|
98
102
|
* **Per-model support:**
|
|
99
103
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
104
|
+
* - `flux-3-klein` - 640px, 1k, 2k
|
|
100
105
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
101
106
|
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
102
107
|
* - `krea-2` - 640px, 1k
|
|
@@ -125,7 +130,7 @@ export type External$V1AiImageEditorCreateBody = {
|
|
|
125
130
|
aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
|
|
126
131
|
assets: External$V1AiImageEditorCreateBodyAssets;
|
|
127
132
|
image_count?: number | undefined;
|
|
128
|
-
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-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
133
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-edit" | "qwen-image-2.1" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro") | undefined;
|
|
129
134
|
name?: string | undefined;
|
|
130
135
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
131
136
|
style: External$V1AiImageEditorCreateBodyStyle;
|
|
@@ -52,6 +52,7 @@ const SchemaIn$V1AiImageEditorCreateBody = z
|
|
|
52
52
|
.enum([
|
|
53
53
|
"default",
|
|
54
54
|
"flux-2-klein",
|
|
55
|
+
"flux-3-klein",
|
|
55
56
|
"gpt-image-2",
|
|
56
57
|
"gpt-image-2.5-flare",
|
|
57
58
|
"krea-2",
|
|
@@ -98,6 +99,7 @@ const SchemaOut$V1AiImageEditorCreateBody = z
|
|
|
98
99
|
.enum([
|
|
99
100
|
"default",
|
|
100
101
|
"flux-2-klein",
|
|
102
|
+
"flux-3-klein",
|
|
101
103
|
"gpt-image-2",
|
|
102
104
|
"gpt-image-2.5-flare",
|
|
103
105
|
"krea-2",
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
* - Supported resolutions: 640px, 1k, 2k
|
|
8
8
|
* - Available for tiers: free, creator, pro, business
|
|
9
9
|
* - Image count allowed: 1
|
|
10
|
+
* - `flux-3-klein` - from 5 credits/image
|
|
11
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
12
|
+
* - Available for tiers: free, creator, pro, business
|
|
13
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
10
14
|
* - `flux-schnell` - from 5 credits/image
|
|
11
15
|
* - Supported resolutions: 640px, 1k, 2k
|
|
12
16
|
* - Available for tiers: free, creator, pro, business
|
|
@@ -68,4 +72,4 @@
|
|
|
68
72
|
* - `seedream` - Use `seedream-v4` instead.
|
|
69
73
|
*
|
|
70
74
|
*/
|
|
71
|
-
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-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo";
|
|
75
|
+
export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-3-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo";
|
|
@@ -21,6 +21,10 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
21
21
|
* - Supported resolutions: 640px, 1k, 2k
|
|
22
22
|
* - Available for tiers: free, creator, pro, business
|
|
23
23
|
* - Image count allowed: 1
|
|
24
|
+
* - `flux-3-klein` - from 5 credits/image
|
|
25
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
26
|
+
* - Available for tiers: free, creator, pro, business
|
|
27
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
24
28
|
* - `flux-schnell` - from 5 credits/image
|
|
25
29
|
* - Supported resolutions: 640px, 1k, 2k
|
|
26
30
|
* - Available for tiers: free, creator, pro, business
|
|
@@ -82,7 +86,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
82
86
|
* - `seedream` - Use `seedream-v4` instead.
|
|
83
87
|
*
|
|
84
88
|
*/
|
|
85
|
-
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-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
89
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
86
90
|
/**
|
|
87
91
|
* Give your image a custom name for easy identification.
|
|
88
92
|
*/
|
|
@@ -105,6 +109,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
105
109
|
*
|
|
106
110
|
* **Per-model support:**
|
|
107
111
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
112
|
+
* - `flux-3-klein` - 640px, 1k, 2k
|
|
108
113
|
* - `flux-schnell` - 640px, 1k, 2k
|
|
109
114
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
110
115
|
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
@@ -136,7 +141,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
136
141
|
export type External$V1AiImageGeneratorCreateBody = {
|
|
137
142
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
138
143
|
image_count: number;
|
|
139
|
-
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-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
144
|
+
model?: ("default" | "flux-2-klein" | "flux-3-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "krea-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-2.1" | "nano-banana-pro" | "qwen-image-2.1" | "seedream" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-flash" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
140
145
|
name?: string | undefined;
|
|
141
146
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
142
147
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
@@ -48,6 +48,7 @@ const SchemaIn$V1AiImageGeneratorCreateBody = z
|
|
|
48
48
|
.enum([
|
|
49
49
|
"default",
|
|
50
50
|
"flux-2-klein",
|
|
51
|
+
"flux-3-klein",
|
|
51
52
|
"flux-schnell",
|
|
52
53
|
"gpt-image-2",
|
|
53
54
|
"gpt-image-2.5-flare",
|
|
@@ -94,6 +95,7 @@ const SchemaOut$V1AiImageGeneratorCreateBody = z
|
|
|
94
95
|
.enum([
|
|
95
96
|
"default",
|
|
96
97
|
"flux-2-klein",
|
|
98
|
+
"flux-3-klein",
|
|
97
99
|
"flux-schnell",
|
|
98
100
|
"gpt-image-2",
|
|
99
101
|
"gpt-image-2.5-flare",
|