magic-hour 0.69.0 → 0.71.2
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 +20 -15
- package/dist/resources/v1/ai-image-editor/request-types.js +2 -0
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +23 -18
- package/dist/resources/v1/ai-image-generator/request-types.js +2 -0
- package/dist/resources/v1/ai-video-editor/request-types.d.ts +11 -1
- package/dist/resources/v1/ai-video-editor/request-types.js +8 -0
- package/dist/resources/v1/ai-video-editor/resource-client.d.ts +1 -1
- package/dist/resources/v1/ai-video-editor/resource-client.js +1 -1
- package/dist/resources/v1/ai-voice-cloner/resource-client.d.ts +1 -1
- package/dist/resources/v1/ai-voice-cloner/resource-client.js +1 -1
- package/dist/resources/v1/ai-voice-generator/resource-client.d.ts +1 -1
- package/dist/resources/v1/ai-voice-generator/resource-client.js +1 -1
- package/dist/resources/v1/body-swap/resource-client.d.ts +1 -1
- package/dist/resources/v1/body-swap/resource-client.js +1 -1
- package/dist/resources/v1/files/upload-urls/resource-client.d.ts +1 -1
- package/dist/resources/v1/files/upload-urls/resource-client.js +1 -1
- package/dist/resources/v1/image-to-video/request-types.d.ts +34 -26
- package/dist/resources/v1/image-to-video/request-types.js +6 -0
- package/dist/resources/v1/text-to-video/request-types.d.ts +42 -32
- package/dist/resources/v1/text-to-video/request-types.js +6 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/v1-ai-image-editor-create-body-model-enum.d.ts +15 -11
- package/dist/types/v1-ai-image-editor-create-body-resolution-enum.d.ts +4 -3
- package/dist/types/v1-ai-image-editor-create-body.d.ts +20 -15
- 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 +16 -12
- package/dist/types/v1-ai-image-generator-create-body-resolution-enum.d.ts +6 -5
- package/dist/types/v1-ai-image-generator-create-body.d.ts +23 -18
- package/dist/types/v1-ai-image-generator-create-body.js +2 -0
- package/dist/types/v1-ai-video-editor-create-body-model-enum.d.ts +4 -0
- package/dist/types/v1-ai-video-editor-create-body-model-enum.js +2 -0
- package/dist/types/v1-ai-video-editor-create-body-resolution-enum.d.ts +4 -0
- package/dist/types/v1-ai-video-editor-create-body-resolution-enum.js +2 -0
- package/dist/types/v1-ai-video-editor-create-body.d.ts +11 -1
- package/dist/types/v1-ai-video-editor-create-body.js +8 -0
- package/dist/types/v1-ai-voice-generator-create-body-style-voice-name-enum.d.ts +2 -2
- package/dist/types/v1-ai-voice-generator-create-body-style.d.ts +3 -3
- package/dist/types/v1-ai-voice-generator-create-body-style.js +0 -2
- package/dist/types/v1-audio-projects-get-response-status-enum.d.ts +9 -0
- package/dist/types/v1-audio-projects-get-response.d.ts +9 -0
- package/dist/types/v1-files-upload-urls-create-response.d.ts +1 -1
- package/dist/types/v1-image-projects-get-response-status-enum.d.ts +9 -0
- package/dist/types/v1-image-projects-get-response.d.ts +10 -1
- package/dist/types/v1-image-to-video-create-body-assets.d.ts +8 -6
- package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +9 -7
- package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +8 -6
- package/dist/types/v1-image-to-video-create-body.d.ts +34 -26
- package/dist/types/v1-image-to-video-create-body.js +6 -0
- package/dist/types/v1-text-to-video-create-body-aspect-ratio-enum.d.ts +8 -6
- package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +9 -7
- package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +8 -6
- package/dist/types/v1-text-to-video-create-body.d.ts +42 -32
- package/dist/types/v1-text-to-video-create-body.js +6 -0
- package/dist/types/v1-video-projects-get-response-status-enum.d.ts +9 -0
- package/dist/types/v1-video-projects-get-response.d.ts +10 -1
- package/package.json +14 -4
|
@@ -7,16 +7,18 @@ export type CreateRequest = {
|
|
|
7
7
|
/**
|
|
8
8
|
* Determines the aspect ratio of the output video.
|
|
9
9
|
*
|
|
10
|
-
* * **`
|
|
11
|
-
* * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
|
|
12
|
-
* * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
|
|
10
|
+
* * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
|
|
13
11
|
* * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
|
|
14
|
-
* * **`
|
|
15
|
-
* * **`
|
|
12
|
+
* * **`ltx-2.3`**: Supports 9:16, 16:9, 1:1.
|
|
13
|
+
* * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
|
|
16
14
|
* * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
|
|
17
|
-
* * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
|
|
18
15
|
* * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
|
|
16
|
+
* * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
|
|
17
|
+
* * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
|
|
19
18
|
* * **`sora-2`**: Supports 9:16, 16:9.
|
|
19
|
+
* * **`veo3.1`**: Supports 9:16, 16:9.
|
|
20
|
+
* * **`veo3.1-lite`**: Supports 9:16, 16:9.
|
|
21
|
+
* * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
|
|
20
22
|
*
|
|
21
23
|
*/
|
|
22
24
|
aspectRatio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
@@ -24,32 +26,36 @@ export type CreateRequest = {
|
|
|
24
26
|
* Whether to include audio in the video. Defaults to `false` if not specified.
|
|
25
27
|
*
|
|
26
28
|
* Audio support varies by model:
|
|
27
|
-
* * **`
|
|
28
|
-
* * **`wan-2.2`**: Not supported
|
|
29
|
-
* * **`kling-2.5`**: Toggle-able: no additional credits for audio
|
|
29
|
+
* * **`kling-2.6`**: Not supported
|
|
30
30
|
* * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
|
|
31
|
-
* * **`
|
|
32
|
-
* * **`
|
|
31
|
+
* * **`ltx-2.3`**: Toggle-able: no additional credits for audio
|
|
32
|
+
* * **`minimax-h3`**: Toggle-able: no additional credits for audio
|
|
33
33
|
* * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
|
|
34
|
-
* * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
|
|
35
34
|
* * **`seedance-2.0`**: Toggle-able: no additional credits for audio
|
|
35
|
+
* * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
|
|
36
|
+
* * **`seedance-2.5`**: Toggle-able: no additional credits for audio
|
|
36
37
|
* * **`sora-2`**: Toggle-able: no additional credits for audio
|
|
38
|
+
* * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
|
|
39
|
+
* * **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
|
|
40
|
+
* * **`wan-2.2`**: Not supported
|
|
37
41
|
*
|
|
38
42
|
*/
|
|
39
43
|
audio?: boolean | undefined;
|
|
40
44
|
/**
|
|
41
45
|
* The total duration of the output video in seconds. Supported durations depend on the chosen model:
|
|
42
46
|
*
|
|
43
|
-
* * **`
|
|
44
|
-
* * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
|
|
45
|
-
* * **`kling-2.5`**: 5, 10
|
|
47
|
+
* * **`kling-2.6`**: 5, 10
|
|
46
48
|
* * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
47
|
-
* * **`
|
|
48
|
-
* * **`
|
|
49
|
+
* * **`ltx-2.3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
|
|
50
|
+
* * **`minimax-h3`**: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
|
|
49
51
|
* * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
|
|
50
|
-
* * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
51
52
|
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
53
|
+
* * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
54
|
+
* * **`seedance-2.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
|
|
52
55
|
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
|
|
56
|
+
* * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
57
|
+
* * **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
58
|
+
* * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
|
|
53
59
|
*
|
|
54
60
|
*/
|
|
55
61
|
endSeconds: number;
|
|
@@ -57,20 +63,22 @@ export type CreateRequest = {
|
|
|
57
63
|
* The AI model to use for video generation.
|
|
58
64
|
*
|
|
59
65
|
* * `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`.
|
|
60
|
-
* * `
|
|
61
|
-
* * `wan-2.2`: Strong physics, camera moves, and motion.
|
|
62
|
-
* * `kling-2.5`: Great for action, motion blur, and camera moves.
|
|
66
|
+
* * `kling-2.6`: Great for action, motion blur, and camera moves.
|
|
63
67
|
* * `kling-3.0`: Best overall quality for cinematic storytelling.
|
|
64
|
-
* * `
|
|
65
|
-
* * `
|
|
68
|
+
* * `ltx-2.3`: Fastest output. Best for rapid iteration.
|
|
69
|
+
* * `minimax-h3`: Reference-driven video with native audio.
|
|
66
70
|
* * `seedance-1.5`: Smooth, consistent motion with precision.
|
|
67
|
-
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
|
|
68
71
|
* * `seedance-2.0`: Top quality with reference-to-video control.
|
|
72
|
+
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
|
|
73
|
+
* * `seedance-2.5`: Highest quality with superior realism, detail, and motion
|
|
69
74
|
* * `sora-2`: Open AI's model. Great for creativity and viral clips.
|
|
75
|
+
* * `veo3.1`: Google's model. Highest realism and detail.
|
|
76
|
+
* * `veo3.1-lite`: Veo quality at a more accessible cost.
|
|
77
|
+
* * `wan-2.2`: Strong physics, camera moves, and motion.
|
|
70
78
|
*
|
|
71
79
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
72
80
|
*/
|
|
73
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
81
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "minimax-h3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "seedance-2.5" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
74
82
|
/**
|
|
75
83
|
* Give your video a custom name for easy identification.
|
|
76
84
|
*/
|
|
@@ -82,16 +90,18 @@ export type CreateRequest = {
|
|
|
82
90
|
/**
|
|
83
91
|
* Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
|
|
84
92
|
*
|
|
85
|
-
* * **`
|
|
86
|
-
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
87
|
-
* * **`kling-2.5`**: Supports 720p, 1080p.
|
|
93
|
+
* * **`kling-2.6`**: Supports 720p, 1080p.
|
|
88
94
|
* * **`kling-3.0`**: Supports 720p, 1080p, 4k.
|
|
89
|
-
* * **`
|
|
90
|
-
* * **`
|
|
95
|
+
* * **`ltx-2.3`**: Supports 480p, 720p, 1080p.
|
|
96
|
+
* * **`minimax-h3`**: Supports 480p, 720p, 1080p.
|
|
91
97
|
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
|
|
92
|
-
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
|
|
93
98
|
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
99
|
+
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
|
|
100
|
+
* * **`seedance-2.5`**: Supports 480p, 720p.
|
|
94
101
|
* * **`sora-2`**: Supports 720p.
|
|
102
|
+
* * **`veo3.1`**: Supports 720p, 1080p.
|
|
103
|
+
* * **`veo3.1-lite`**: Supports 720p, 1080p.
|
|
104
|
+
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
95
105
|
*
|
|
96
106
|
*/
|
|
97
107
|
resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
|
|
@@ -106,7 +116,7 @@ export type External$CreateRequest = {
|
|
|
106
116
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
107
117
|
audio?: boolean | undefined;
|
|
108
118
|
end_seconds: number;
|
|
109
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
119
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-2.6" | "kling-3.0" | "ltx-2" | "ltx-2.3" | "minimax-h3" | "seedance" | "seedance-1.5" | "seedance-2.0" | "seedance-2.0-mini" | "seedance-2.5" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
110
120
|
name?: string | undefined;
|
|
111
121
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
112
122
|
resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined;
|
|
@@ -51,13 +51,16 @@ const SchemaIn$CreateRequest = z
|
|
|
51
51
|
"kling-1.6",
|
|
52
52
|
"kling-2.5",
|
|
53
53
|
"kling-2.5-audio",
|
|
54
|
+
"kling-2.6",
|
|
54
55
|
"kling-3.0",
|
|
55
56
|
"ltx-2",
|
|
56
57
|
"ltx-2.3",
|
|
58
|
+
"minimax-h3",
|
|
57
59
|
"seedance",
|
|
58
60
|
"seedance-1.5",
|
|
59
61
|
"seedance-2.0",
|
|
60
62
|
"seedance-2.0-mini",
|
|
63
|
+
"seedance-2.5",
|
|
61
64
|
"sora-2",
|
|
62
65
|
"veo3.1",
|
|
63
66
|
"veo3.1-audio",
|
|
@@ -97,13 +100,16 @@ const SchemaOut$CreateRequest = z
|
|
|
97
100
|
"kling-1.6",
|
|
98
101
|
"kling-2.5",
|
|
99
102
|
"kling-2.5-audio",
|
|
103
|
+
"kling-2.6",
|
|
100
104
|
"kling-3.0",
|
|
101
105
|
"ltx-2",
|
|
102
106
|
"ltx-2.3",
|
|
107
|
+
"minimax-h3",
|
|
103
108
|
"seedance",
|
|
104
109
|
"seedance-1.5",
|
|
105
110
|
"seedance-2.0",
|
|
106
111
|
"seedance-2.0-mini",
|
|
112
|
+
"seedance-2.5",
|
|
107
113
|
"sora-2",
|
|
108
114
|
"veo3.1",
|
|
109
115
|
"veo3.1-audio",
|
package/dist/types/index.d.ts
CHANGED
|
@@ -51,6 +51,8 @@ export { V1AiTalkingPhotoCreateBodyStyleGenerationModeEnum } from "./v1-ai-talki
|
|
|
51
51
|
export { V1AiTalkingPhotoCreateResponse } from "./v1-ai-talking-photo-create-response";
|
|
52
52
|
export { V1AiVideoEditorCreateBody } from "./v1-ai-video-editor-create-body";
|
|
53
53
|
export { V1AiVideoEditorCreateBodyAssets } from "./v1-ai-video-editor-create-body-assets";
|
|
54
|
+
export { V1AiVideoEditorCreateBodyModelEnum } from "./v1-ai-video-editor-create-body-model-enum";
|
|
55
|
+
export { V1AiVideoEditorCreateBodyResolutionEnum } from "./v1-ai-video-editor-create-body-resolution-enum";
|
|
54
56
|
export { V1AiVideoEditorCreateBodyStyle } from "./v1-ai-video-editor-create-body-style";
|
|
55
57
|
export { V1AiVideoEditorCreateResponse } from "./v1-ai-video-editor-create-response";
|
|
56
58
|
export { V1AiVoiceClonerCreateBody } from "./v1-ai-voice-cloner-create-body";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* **Models:**
|
|
5
5
|
* - `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
|
|
6
|
-
* - `qwen-edit` - from 10 credits/image
|
|
7
|
-
* - Supported resolutions: 640px, 1k, 2k
|
|
8
|
-
* - Available for tiers: free, creator, pro, business
|
|
9
|
-
* - Max additional input images: 2
|
|
10
6
|
* - `flux-2-klein` - from 5 credits/image
|
|
11
7
|
* - Supported resolutions: 640px, 1k, 2k
|
|
12
8
|
* - Available for tiers: free, creator, pro, business
|
|
13
9
|
* - Max additional input images: 5
|
|
10
|
+
* - `gpt-image-2` - from 50 credits/image
|
|
11
|
+
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
12
|
+
* - Available for tiers: creator, pro, business
|
|
13
|
+
* - Max additional input images: 9
|
|
14
14
|
* - `nano-banana` - from 50 credits/image
|
|
15
15
|
* - Supported resolutions: 640px, 1k
|
|
16
16
|
* - Available for tiers: creator, pro, business
|
|
@@ -23,22 +23,26 @@
|
|
|
23
23
|
* - Supported resolutions: 640px, 1k
|
|
24
24
|
* - Available for tiers: creator, pro, business
|
|
25
25
|
* - Max additional input images: 9
|
|
26
|
-
* - `seedream-v4` - from 40 credits/image
|
|
27
|
-
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
28
|
-
* - Available for tiers: creator, pro, business
|
|
29
|
-
* - Max additional input images: 9
|
|
30
26
|
* - `nano-banana-pro` - from 150 credits/image
|
|
31
27
|
* - Supported resolutions: 1k, 2k, 4k
|
|
32
28
|
* - Available for tiers: creator, pro, business
|
|
33
29
|
* - Max additional input images: 9
|
|
34
|
-
* - `
|
|
30
|
+
* - `qwen-edit` - from 10 credits/image
|
|
31
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
32
|
+
* - Available for tiers: free, creator, pro, business
|
|
33
|
+
* - Max additional input images: 2
|
|
34
|
+
* - `seedream-v4` - from 40 credits/image
|
|
35
35
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
36
36
|
* - Available for tiers: creator, pro, business
|
|
37
37
|
* - Max additional input images: 9
|
|
38
|
-
* - `
|
|
38
|
+
* - `seedream-v4.5` - from 50 credits/image
|
|
39
39
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
40
40
|
* - Available for tiers: creator, pro, business
|
|
41
41
|
* - Max additional input images: 9
|
|
42
|
+
* - `seedream-v5-pro` - from 75 credits/image
|
|
43
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
44
|
+
* - Available for tiers: creator, pro, business
|
|
45
|
+
* - Max additional input images: 9
|
|
42
46
|
*
|
|
43
47
|
*/
|
|
44
|
-
export type V1AiImageEditorCreateBodyModelEnum = "default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5";
|
|
48
|
+
export type V1AiImageEditorCreateBodyModelEnum = "default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro";
|
|
@@ -9,15 +9,16 @@
|
|
|
9
9
|
* - `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports
|
|
10
10
|
*
|
|
11
11
|
* **Per-model support:**
|
|
12
|
-
* - `qwen-edit` - 640px, 1k, 2k
|
|
13
12
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
13
|
+
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
14
14
|
* - `nano-banana` - 640px, 1k
|
|
15
15
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
16
16
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
17
|
-
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
18
17
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
18
|
+
* - `qwen-edit` - 640px, 1k, 2k
|
|
19
|
+
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
19
20
|
* - `seedream-v4.5` - 640px, 1k, 2k, 4k
|
|
20
|
-
* - `
|
|
21
|
+
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
21
22
|
*
|
|
22
23
|
* Note: Resolution availability depends on the model and your subscription tier.
|
|
23
24
|
*/
|
|
@@ -22,14 +22,14 @@ export type V1AiImageEditorCreateBody = {
|
|
|
22
22
|
*
|
|
23
23
|
* **Models:**
|
|
24
24
|
* - `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
|
|
25
|
-
* - `qwen-edit` - from 10 credits/image
|
|
26
|
-
* - Supported resolutions: 640px, 1k, 2k
|
|
27
|
-
* - Available for tiers: free, creator, pro, business
|
|
28
|
-
* - Max additional input images: 2
|
|
29
25
|
* - `flux-2-klein` - from 5 credits/image
|
|
30
26
|
* - Supported resolutions: 640px, 1k, 2k
|
|
31
27
|
* - Available for tiers: free, creator, pro, business
|
|
32
28
|
* - Max additional input images: 5
|
|
29
|
+
* - `gpt-image-2` - from 50 credits/image
|
|
30
|
+
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
31
|
+
* - Available for tiers: creator, pro, business
|
|
32
|
+
* - Max additional input images: 9
|
|
33
33
|
* - `nano-banana` - from 50 credits/image
|
|
34
34
|
* - Supported resolutions: 640px, 1k
|
|
35
35
|
* - Available for tiers: creator, pro, business
|
|
@@ -42,25 +42,29 @@ export type V1AiImageEditorCreateBody = {
|
|
|
42
42
|
* - Supported resolutions: 640px, 1k
|
|
43
43
|
* - Available for tiers: creator, pro, business
|
|
44
44
|
* - Max additional input images: 9
|
|
45
|
-
* - `seedream-v4` - from 40 credits/image
|
|
46
|
-
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
47
|
-
* - Available for tiers: creator, pro, business
|
|
48
|
-
* - Max additional input images: 9
|
|
49
45
|
* - `nano-banana-pro` - from 150 credits/image
|
|
50
46
|
* - Supported resolutions: 1k, 2k, 4k
|
|
51
47
|
* - Available for tiers: creator, pro, business
|
|
52
48
|
* - Max additional input images: 9
|
|
53
|
-
* - `
|
|
49
|
+
* - `qwen-edit` - from 10 credits/image
|
|
50
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
51
|
+
* - Available for tiers: free, creator, pro, business
|
|
52
|
+
* - Max additional input images: 2
|
|
53
|
+
* - `seedream-v4` - from 40 credits/image
|
|
54
54
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
55
55
|
* - Available for tiers: creator, pro, business
|
|
56
56
|
* - Max additional input images: 9
|
|
57
|
-
* - `
|
|
57
|
+
* - `seedream-v4.5` - from 50 credits/image
|
|
58
58
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
59
59
|
* - Available for tiers: creator, pro, business
|
|
60
60
|
* - Max additional input images: 9
|
|
61
|
+
* - `seedream-v5-pro` - from 75 credits/image
|
|
62
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
63
|
+
* - Available for tiers: creator, pro, business
|
|
64
|
+
* - Max additional input images: 9
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
|
|
67
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
64
68
|
/**
|
|
65
69
|
* Give your image a custom name for easy identification.
|
|
66
70
|
*/
|
|
@@ -76,15 +80,16 @@ export type V1AiImageEditorCreateBody = {
|
|
|
76
80
|
* - `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports
|
|
77
81
|
*
|
|
78
82
|
* **Per-model support:**
|
|
79
|
-
* - `qwen-edit` - 640px, 1k, 2k
|
|
80
83
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
84
|
+
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
81
85
|
* - `nano-banana` - 640px, 1k
|
|
82
86
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
83
87
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
84
|
-
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
85
88
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
89
|
+
* - `qwen-edit` - 640px, 1k, 2k
|
|
90
|
+
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
86
91
|
* - `seedream-v4.5` - 640px, 1k, 2k, 4k
|
|
87
|
-
* - `
|
|
92
|
+
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
88
93
|
*
|
|
89
94
|
* Note: Resolution availability depends on the model and your subscription tier.
|
|
90
95
|
*/
|
|
@@ -100,7 +105,7 @@ export type External$V1AiImageEditorCreateBody = {
|
|
|
100
105
|
aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
|
|
101
106
|
assets: External$V1AiImageEditorCreateBodyAssets;
|
|
102
107
|
image_count?: number | undefined;
|
|
103
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5") | undefined;
|
|
108
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
104
109
|
name?: string | undefined;
|
|
105
110
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
106
111
|
style: External$V1AiImageEditorCreateBodyStyle;
|
|
@@ -60,6 +60,7 @@ const SchemaIn$V1AiImageEditorCreateBody = z
|
|
|
60
60
|
"qwen-edit",
|
|
61
61
|
"seedream-v4",
|
|
62
62
|
"seedream-v4.5",
|
|
63
|
+
"seedream-v5-pro",
|
|
63
64
|
])
|
|
64
65
|
.optional(),
|
|
65
66
|
name: z.string().optional(),
|
|
@@ -100,6 +101,7 @@ const SchemaOut$V1AiImageEditorCreateBody = z
|
|
|
100
101
|
"qwen-edit",
|
|
101
102
|
"seedream-v4",
|
|
102
103
|
"seedream-v4.5",
|
|
104
|
+
"seedream-v5-pro",
|
|
103
105
|
])
|
|
104
106
|
.optional(),
|
|
105
107
|
name: z.string().optional(),
|
|
@@ -3,19 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* **Models:**
|
|
5
5
|
* - `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
|
|
6
|
-
* - `flux-schnell` - from 5 credits/image
|
|
7
|
-
* - Supported resolutions: 640px, 1k, 2k
|
|
8
|
-
* - Available for tiers: free, creator, pro, business
|
|
9
|
-
* - Image count allowed: 1, 2, 3, 4
|
|
10
6
|
* - `flux-2-klein` - from 5 credits/image
|
|
11
7
|
* - Supported resolutions: 640px, 1k, 2k
|
|
12
8
|
* - Available for tiers: free, creator, pro, business
|
|
13
9
|
* - Image count allowed: 1
|
|
14
|
-
* - `
|
|
10
|
+
* - `flux-schnell` - from 5 credits/image
|
|
15
11
|
* - Supported resolutions: 640px, 1k, 2k
|
|
16
12
|
* - Available for tiers: free, creator, pro, business
|
|
17
13
|
* - Image count allowed: 1, 2, 3, 4
|
|
18
|
-
* - `
|
|
14
|
+
* - `gpt-image-2` - from 50 credits/image
|
|
19
15
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
20
16
|
* - Available for tiers: creator, pro, business
|
|
21
17
|
* - Image count allowed: 1, 2, 3, 4
|
|
@@ -23,25 +19,33 @@
|
|
|
23
19
|
* - Supported resolutions: 640px, 1k
|
|
24
20
|
* - Available for tiers: creator, pro, business
|
|
25
21
|
* - Image count allowed: 1, 2, 3, 4
|
|
26
|
-
* - `nano-banana-2-lite` - from 50 credits/image
|
|
27
|
-
* - Supported resolutions: 640px, 1k
|
|
28
|
-
* - Available for tiers: creator, pro, business
|
|
29
|
-
* - Image count allowed: 1, 2, 3, 4
|
|
30
22
|
* - `nano-banana-2` - from 100 credits/image
|
|
31
23
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
32
24
|
* - Available for tiers: creator, pro, business
|
|
33
25
|
* - Image count allowed: 1, 4, 9, 16
|
|
26
|
+
* - `nano-banana-2-lite` - from 50 credits/image
|
|
27
|
+
* - Supported resolutions: 640px, 1k
|
|
28
|
+
* - Available for tiers: creator, pro, business
|
|
29
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
34
30
|
* - `nano-banana-pro` - from 150 credits/image
|
|
35
31
|
* - Supported resolutions: 1k, 2k, 4k
|
|
36
32
|
* - Available for tiers: creator, pro, business
|
|
37
33
|
* - Image count allowed: 1, 4, 9, 16
|
|
38
|
-
* - `
|
|
34
|
+
* - `seedream-v4` - from 40 credits/image
|
|
39
35
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
40
36
|
* - Available for tiers: creator, pro, business
|
|
41
37
|
* - Image count allowed: 1, 2, 3, 4
|
|
38
|
+
* - `seedream-v5-pro` - from 75 credits/image
|
|
39
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
40
|
+
* - Available for tiers: creator, pro, business
|
|
41
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
42
|
+
* - `z-image-turbo` - from 5 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
|
*
|
|
43
47
|
* **Deprecated Enum Values:**
|
|
44
48
|
* - `seedream` - Use `seedream-v4` instead.
|
|
45
49
|
*
|
|
46
50
|
*/
|
|
47
|
-
export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo";
|
|
51
|
+
export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo";
|
|
@@ -9,15 +9,16 @@
|
|
|
9
9
|
* - `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports
|
|
10
10
|
*
|
|
11
11
|
* **Per-model support:**
|
|
12
|
-
* - `flux-schnell` - 640px, 1k, 2k
|
|
13
12
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
14
|
-
* - `
|
|
15
|
-
* - `
|
|
13
|
+
* - `flux-schnell` - 640px, 1k, 2k
|
|
14
|
+
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
16
15
|
* - `nano-banana` - 640px, 1k
|
|
17
|
-
* - `nano-banana-2-lite` - 640px, 1k
|
|
18
16
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
17
|
+
* - `nano-banana-2-lite` - 640px, 1k
|
|
19
18
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
20
|
-
* - `
|
|
19
|
+
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
20
|
+
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
21
|
+
* - `z-image-turbo` - 640px, 1k, 2k
|
|
21
22
|
*
|
|
22
23
|
* Note: Resolution availability depends on the model and your subscription tier.
|
|
23
24
|
*/
|
|
@@ -17,19 +17,15 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
17
17
|
*
|
|
18
18
|
* **Models:**
|
|
19
19
|
* - `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
|
|
20
|
-
* - `flux-schnell` - from 5 credits/image
|
|
21
|
-
* - Supported resolutions: 640px, 1k, 2k
|
|
22
|
-
* - Available for tiers: free, creator, pro, business
|
|
23
|
-
* - Image count allowed: 1, 2, 3, 4
|
|
24
20
|
* - `flux-2-klein` - from 5 credits/image
|
|
25
21
|
* - Supported resolutions: 640px, 1k, 2k
|
|
26
22
|
* - Available for tiers: free, creator, pro, business
|
|
27
23
|
* - Image count allowed: 1
|
|
28
|
-
* - `
|
|
24
|
+
* - `flux-schnell` - from 5 credits/image
|
|
29
25
|
* - Supported resolutions: 640px, 1k, 2k
|
|
30
26
|
* - Available for tiers: free, creator, pro, business
|
|
31
27
|
* - Image count allowed: 1, 2, 3, 4
|
|
32
|
-
* - `
|
|
28
|
+
* - `gpt-image-2` - from 50 credits/image
|
|
33
29
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
34
30
|
* - Available for tiers: creator, pro, business
|
|
35
31
|
* - Image count allowed: 1, 2, 3, 4
|
|
@@ -37,28 +33,36 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
37
33
|
* - Supported resolutions: 640px, 1k
|
|
38
34
|
* - Available for tiers: creator, pro, business
|
|
39
35
|
* - Image count allowed: 1, 2, 3, 4
|
|
40
|
-
* - `nano-banana-2-lite` - from 50 credits/image
|
|
41
|
-
* - Supported resolutions: 640px, 1k
|
|
42
|
-
* - Available for tiers: creator, pro, business
|
|
43
|
-
* - Image count allowed: 1, 2, 3, 4
|
|
44
36
|
* - `nano-banana-2` - from 100 credits/image
|
|
45
37
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
46
38
|
* - Available for tiers: creator, pro, business
|
|
47
39
|
* - Image count allowed: 1, 4, 9, 16
|
|
40
|
+
* - `nano-banana-2-lite` - from 50 credits/image
|
|
41
|
+
* - Supported resolutions: 640px, 1k
|
|
42
|
+
* - Available for tiers: creator, pro, business
|
|
43
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
48
44
|
* - `nano-banana-pro` - from 150 credits/image
|
|
49
45
|
* - Supported resolutions: 1k, 2k, 4k
|
|
50
46
|
* - Available for tiers: creator, pro, business
|
|
51
47
|
* - Image count allowed: 1, 4, 9, 16
|
|
52
|
-
* - `
|
|
48
|
+
* - `seedream-v4` - from 40 credits/image
|
|
53
49
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
54
50
|
* - Available for tiers: creator, pro, business
|
|
55
51
|
* - Image count allowed: 1, 2, 3, 4
|
|
52
|
+
* - `seedream-v5-pro` - from 75 credits/image
|
|
53
|
+
* - Supported resolutions: 640px, 1k, 2k
|
|
54
|
+
* - Available for tiers: creator, pro, business
|
|
55
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
56
|
+
* - `z-image-turbo` - from 5 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
|
*
|
|
57
61
|
* **Deprecated Enum Values:**
|
|
58
62
|
* - `seedream` - Use `seedream-v4` instead.
|
|
59
63
|
*
|
|
60
64
|
*/
|
|
61
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
|
|
65
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
62
66
|
/**
|
|
63
67
|
* Give your image a custom name for easy identification.
|
|
64
68
|
*/
|
|
@@ -80,15 +84,16 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
80
84
|
* - `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports
|
|
81
85
|
*
|
|
82
86
|
* **Per-model support:**
|
|
83
|
-
* - `flux-schnell` - 640px, 1k, 2k
|
|
84
87
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
85
|
-
* - `
|
|
86
|
-
* - `
|
|
88
|
+
* - `flux-schnell` - 640px, 1k, 2k
|
|
89
|
+
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
87
90
|
* - `nano-banana` - 640px, 1k
|
|
88
|
-
* - `nano-banana-2-lite` - 640px, 1k
|
|
89
91
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
92
|
+
* - `nano-banana-2-lite` - 640px, 1k
|
|
90
93
|
* - `nano-banana-pro` - 1k, 2k, 4k
|
|
91
|
-
* - `
|
|
94
|
+
* - `seedream-v4` - 640px, 1k, 2k, 4k
|
|
95
|
+
* - `seedream-v5-pro` - 640px, 1k, 2k
|
|
96
|
+
* - `z-image-turbo` - 640px, 1k, 2k
|
|
92
97
|
*
|
|
93
98
|
* Note: Resolution availability depends on the model and your subscription tier.
|
|
94
99
|
*/
|
|
@@ -106,7 +111,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
106
111
|
export type External$V1AiImageGeneratorCreateBody = {
|
|
107
112
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
108
113
|
image_count: number;
|
|
109
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "z-image-turbo") | undefined;
|
|
114
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
110
115
|
name?: string | undefined;
|
|
111
116
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
112
117
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
@@ -56,6 +56,7 @@ const SchemaIn$V1AiImageGeneratorCreateBody = z
|
|
|
56
56
|
"nano-banana-pro",
|
|
57
57
|
"seedream",
|
|
58
58
|
"seedream-v4",
|
|
59
|
+
"seedream-v5-pro",
|
|
59
60
|
"z-image-turbo",
|
|
60
61
|
])
|
|
61
62
|
.optional(),
|
|
@@ -95,6 +96,7 @@ const SchemaOut$V1AiImageGeneratorCreateBody = z
|
|
|
95
96
|
"nano-banana-pro",
|
|
96
97
|
"seedream",
|
|
97
98
|
"seedream-v4",
|
|
99
|
+
"seedream-v5-pro",
|
|
98
100
|
"z-image-turbo",
|
|
99
101
|
])
|
|
100
102
|
.optional(),
|
|
@@ -10,13 +10,21 @@ export type V1AiVideoEditorCreateBody = {
|
|
|
10
10
|
*/
|
|
11
11
|
assets: V1AiVideoEditorCreateBodyAssets;
|
|
12
12
|
/**
|
|
13
|
-
* End time of your clip in seconds. Must be greater than `start_seconds`.
|
|
13
|
+
* End time of your clip in seconds. Must be greater than `start_seconds`. Minimum duration depends on model: `gemini-omni`: 3s, `ltx-2.3`: 0.5s. Maximum duration depends on model: `gemini-omni`: 10s, `ltx-2.3`: 45s.
|
|
14
14
|
*/
|
|
15
15
|
endSeconds: number;
|
|
16
|
+
/**
|
|
17
|
+
* Editing model. Defaults to `ltx-2.3` for free tier and `gemini-omni` for paid. Use `ltx-2.3` for LTX video edit.
|
|
18
|
+
*/
|
|
19
|
+
model?: ("gemini-omni" | "ltx-2.3") | undefined;
|
|
16
20
|
/**
|
|
17
21
|
* Give your video a custom name for easy identification.
|
|
18
22
|
*/
|
|
19
23
|
name?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Output resolution. Defaults to `480p` for free tier and `720p` for paid. Google Omni supports 720p only; LTX-2.3 supports 480p, 720p, and 1080p.
|
|
26
|
+
*/
|
|
27
|
+
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
20
28
|
/**
|
|
21
29
|
* Start time of your clip (seconds). Must be ≥ 0.
|
|
22
30
|
*/
|
|
@@ -31,7 +39,9 @@ export type V1AiVideoEditorCreateBody = {
|
|
|
31
39
|
export type External$V1AiVideoEditorCreateBody = {
|
|
32
40
|
assets: External$V1AiVideoEditorCreateBodyAssets;
|
|
33
41
|
end_seconds: number;
|
|
42
|
+
model?: ("gemini-omni" | "ltx-2.3") | undefined;
|
|
34
43
|
name?: string | undefined;
|
|
44
|
+
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
35
45
|
start_seconds?: number | undefined;
|
|
36
46
|
style: External$V1AiVideoEditorCreateBodyStyle;
|
|
37
47
|
};
|