magic-hour 0.58.0 → 0.59.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/image-to-video/request-types.d.ts +18 -10
- package/dist/resources/v1/image-to-video/request-types.js +4 -0
- package/dist/resources/v1/text-to-video/request-types.d.ts +20 -10
- package/dist/resources/v1/text-to-video/request-types.js +4 -0
- package/dist/types/v1-image-projects-get-response.d.ts +1 -1
- package/dist/types/v1-image-to-video-create-body-assets.d.ts +2 -0
- package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +11 -9
- package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +2 -0
- package/dist/types/v1-image-to-video-create-body.d.ts +18 -10
- package/dist/types/v1-image-to-video-create-body.js +4 -0
- package/dist/types/v1-text-to-video-create-body-aspect-ratio-enum.d.ts +2 -0
- package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +11 -9
- package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +2 -0
- package/dist/types/v1-text-to-video-create-body.d.ts +20 -10
- package/dist/types/v1-text-to-video-create-body.js +4 -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.60.0";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -16,10 +16,12 @@ export type CreateRequest = {
|
|
|
16
16
|
* * **`ltx-2`**: Automatically included with no extra credits
|
|
17
17
|
* * **`wan-2.2`**: Not supported
|
|
18
18
|
* * **`seedance`**: Not supported
|
|
19
|
+
* * **`seedance-2.0`**: Not supported
|
|
19
20
|
* * **`kling-2.5`**: Automatically included with no extra credits
|
|
20
21
|
* * **`kling-3.0`**: Toggle-able (can enable/disable)
|
|
21
22
|
* * **`sora-2`**: Automatically included with no extra credits
|
|
22
23
|
* * **`veo3.1`**: Toggle-able (can enable/disable)
|
|
24
|
+
* * **`veo3.1-lite`**: Automatically included with no extra credits
|
|
23
25
|
*
|
|
24
26
|
* Legacy models:
|
|
25
27
|
* * **`kling-1.6`**: Not supported
|
|
@@ -31,10 +33,12 @@ export type CreateRequest = {
|
|
|
31
33
|
* * **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
|
|
32
34
|
* * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
|
|
33
35
|
* * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
|
|
36
|
+
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
34
37
|
* * **`kling-2.5`**: 5, 10
|
|
35
38
|
* * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
36
39
|
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
|
|
37
40
|
* * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
41
|
+
* * **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
38
42
|
*
|
|
39
43
|
* Legacy models:
|
|
40
44
|
* * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
|
|
@@ -50,20 +54,22 @@ export type CreateRequest = {
|
|
|
50
54
|
* The AI model to use for video generation.
|
|
51
55
|
*
|
|
52
56
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
|
|
53
|
-
* * `ltx-2`:
|
|
54
|
-
* * `wan-2.2`: Fast,
|
|
55
|
-
* * `seedance`:
|
|
56
|
-
* * `
|
|
57
|
-
* * `kling-
|
|
58
|
-
* * `
|
|
59
|
-
* * `
|
|
57
|
+
* * `ltx-2`: Fast iteration with audio and lip-sync
|
|
58
|
+
* * `wan-2.2`: Fast, strong visuals with effects
|
|
59
|
+
* * `seedance`: Fast iteration and start/end frames
|
|
60
|
+
* * `seedance-2.0`: State-of-the-art quality and consistency
|
|
61
|
+
* * `kling-2.5`: Motion, action, and camera control
|
|
62
|
+
* * `kling-3.0`: Cinematic, multi-scene storytelling
|
|
63
|
+
* * `sora-2`: Story-first concepts and creativity
|
|
64
|
+
* * `veo3.1`: Realistic visuals and prompt adherence
|
|
65
|
+
* * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
|
|
60
66
|
*
|
|
61
67
|
* Legacy models:
|
|
62
|
-
* * `kling-1.6`:
|
|
68
|
+
* * `kling-1.6`: Reliable baseline with smooth motion
|
|
63
69
|
*
|
|
64
70
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
65
71
|
*/
|
|
66
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
72
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
67
73
|
/**
|
|
68
74
|
* Give your video a custom name for easy identification.
|
|
69
75
|
*/
|
|
@@ -74,10 +80,12 @@ export type CreateRequest = {
|
|
|
74
80
|
* * **`ltx-2`**: Supports 480p, 720p, 1080p.
|
|
75
81
|
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
76
82
|
* * **`seedance`**: Supports 480p, 720p, 1080p.
|
|
83
|
+
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
77
84
|
* * **`kling-2.5`**: Supports 720p, 1080p.
|
|
78
85
|
* * **`kling-3.0`**: Supports 720p, 1080p.
|
|
79
86
|
* * **`sora-2`**: Supports 720p.
|
|
80
87
|
* * **`veo3.1`**: Supports 720p, 1080p.
|
|
88
|
+
* * **`veo3.1-lite`**: Supports 720p, 1080p.
|
|
81
89
|
*
|
|
82
90
|
* Legacy models:
|
|
83
91
|
* * **`kling-1.6`**: Supports 720p, 1080p.
|
|
@@ -104,7 +112,7 @@ export type External$CreateRequest = {
|
|
|
104
112
|
audio?: boolean | undefined;
|
|
105
113
|
end_seconds: number;
|
|
106
114
|
height?: number | null | undefined;
|
|
107
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
115
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
108
116
|
name?: string | undefined;
|
|
109
117
|
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
110
118
|
style?: External$V1ImageToVideoCreateBodyStyle | undefined;
|
|
@@ -56,9 +56,11 @@ const SchemaIn$CreateRequest = z
|
|
|
56
56
|
"kling-3.0",
|
|
57
57
|
"ltx-2",
|
|
58
58
|
"seedance",
|
|
59
|
+
"seedance-2.0",
|
|
59
60
|
"sora-2",
|
|
60
61
|
"veo3.1",
|
|
61
62
|
"veo3.1-audio",
|
|
63
|
+
"veo3.1-lite",
|
|
62
64
|
"wan-2.2",
|
|
63
65
|
])
|
|
64
66
|
.optional(),
|
|
@@ -99,9 +101,11 @@ const SchemaOut$CreateRequest = z
|
|
|
99
101
|
"kling-3.0",
|
|
100
102
|
"ltx-2",
|
|
101
103
|
"seedance",
|
|
104
|
+
"seedance-2.0",
|
|
102
105
|
"sora-2",
|
|
103
106
|
"veo3.1",
|
|
104
107
|
"veo3.1-audio",
|
|
108
|
+
"veo3.1-lite",
|
|
105
109
|
"wan-2.2",
|
|
106
110
|
])
|
|
107
111
|
.optional(),
|
|
@@ -10,10 +10,12 @@ export type CreateRequest = {
|
|
|
10
10
|
* * **`ltx-2`**: Supports 9:16, 16:9, 1:1.
|
|
11
11
|
* * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
|
|
12
12
|
* * **`seedance`**: Supports 9:16, 16:9, 1:1.
|
|
13
|
+
* * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
|
|
13
14
|
* * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
|
|
14
15
|
* * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
|
|
15
16
|
* * **`sora-2`**: Supports 9:16, 16:9.
|
|
16
17
|
* * **`veo3.1`**: Supports 9:16, 16:9.
|
|
18
|
+
* * **`veo3.1-lite`**: Supports 9:16, 16:9.
|
|
17
19
|
*
|
|
18
20
|
* Legacy models:
|
|
19
21
|
* * **`kling-1.6`**: Supports 9:16, 16:9, 1:1.
|
|
@@ -26,10 +28,12 @@ export type CreateRequest = {
|
|
|
26
28
|
* * **`ltx-2`**: Automatically included with no extra credits
|
|
27
29
|
* * **`wan-2.2`**: Not supported
|
|
28
30
|
* * **`seedance`**: Not supported
|
|
31
|
+
* * **`seedance-2.0`**: Not supported
|
|
29
32
|
* * **`kling-2.5`**: Automatically included with no extra credits
|
|
30
33
|
* * **`kling-3.0`**: Toggle-able (can enable/disable)
|
|
31
34
|
* * **`sora-2`**: Automatically included with no extra credits
|
|
32
35
|
* * **`veo3.1`**: Toggle-able (can enable/disable)
|
|
36
|
+
* * **`veo3.1-lite`**: Automatically included with no extra credits
|
|
33
37
|
*
|
|
34
38
|
* Legacy models:
|
|
35
39
|
* * **`kling-1.6`**: Not supported
|
|
@@ -41,10 +45,12 @@ export type CreateRequest = {
|
|
|
41
45
|
* * **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
|
|
42
46
|
* * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
|
|
43
47
|
* * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
|
|
48
|
+
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
44
49
|
* * **`kling-2.5`**: 5, 10
|
|
45
50
|
* * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
46
51
|
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
|
|
47
52
|
* * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
53
|
+
* * **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
48
54
|
*
|
|
49
55
|
* Legacy models:
|
|
50
56
|
* * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
|
|
@@ -54,20 +60,22 @@ export type CreateRequest = {
|
|
|
54
60
|
* The AI model to use for video generation.
|
|
55
61
|
*
|
|
56
62
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
|
|
57
|
-
* * `ltx-2`:
|
|
58
|
-
* * `wan-2.2`: Fast,
|
|
59
|
-
* * `seedance`:
|
|
60
|
-
* * `
|
|
61
|
-
* * `kling-
|
|
62
|
-
* * `
|
|
63
|
-
* * `
|
|
63
|
+
* * `ltx-2`: Fast iteration with audio and lip-sync
|
|
64
|
+
* * `wan-2.2`: Fast, strong visuals with effects
|
|
65
|
+
* * `seedance`: Fast iteration and start/end frames
|
|
66
|
+
* * `seedance-2.0`: State-of-the-art quality and consistency
|
|
67
|
+
* * `kling-2.5`: Motion, action, and camera control
|
|
68
|
+
* * `kling-3.0`: Cinematic, multi-scene storytelling
|
|
69
|
+
* * `sora-2`: Story-first concepts and creativity
|
|
70
|
+
* * `veo3.1`: Realistic visuals and prompt adherence
|
|
71
|
+
* * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
|
|
64
72
|
*
|
|
65
73
|
* Legacy models:
|
|
66
|
-
* * `kling-1.6`:
|
|
74
|
+
* * `kling-1.6`: Reliable baseline with smooth motion
|
|
67
75
|
*
|
|
68
76
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
69
77
|
*/
|
|
70
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
78
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
71
79
|
/**
|
|
72
80
|
* Give your video a custom name for easy identification.
|
|
73
81
|
*/
|
|
@@ -82,10 +90,12 @@ export type CreateRequest = {
|
|
|
82
90
|
* * **`ltx-2`**: Supports 480p, 720p, 1080p.
|
|
83
91
|
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
84
92
|
* * **`seedance`**: Supports 480p, 720p, 1080p.
|
|
93
|
+
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
85
94
|
* * **`kling-2.5`**: Supports 720p, 1080p.
|
|
86
95
|
* * **`kling-3.0`**: Supports 720p, 1080p.
|
|
87
96
|
* * **`sora-2`**: Supports 720p.
|
|
88
97
|
* * **`veo3.1`**: Supports 720p, 1080p.
|
|
98
|
+
* * **`veo3.1-lite`**: Supports 720p, 1080p.
|
|
89
99
|
*
|
|
90
100
|
* Legacy models:
|
|
91
101
|
* * **`kling-1.6`**: Supports 720p, 1080p.
|
|
@@ -102,7 +112,7 @@ export type External$CreateRequest = {
|
|
|
102
112
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
103
113
|
audio?: boolean | undefined;
|
|
104
114
|
end_seconds: number;
|
|
105
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
115
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
106
116
|
name?: string | undefined;
|
|
107
117
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
108
118
|
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
@@ -54,9 +54,11 @@ const SchemaIn$CreateRequest = z
|
|
|
54
54
|
"kling-3.0",
|
|
55
55
|
"ltx-2",
|
|
56
56
|
"seedance",
|
|
57
|
+
"seedance-2.0",
|
|
57
58
|
"sora-2",
|
|
58
59
|
"veo3.1",
|
|
59
60
|
"veo3.1-audio",
|
|
61
|
+
"veo3.1-lite",
|
|
60
62
|
"wan-2.2",
|
|
61
63
|
])
|
|
62
64
|
.optional(),
|
|
@@ -95,9 +97,11 @@ const SchemaOut$CreateRequest = z
|
|
|
95
97
|
"kling-3.0",
|
|
96
98
|
"ltx-2",
|
|
97
99
|
"seedance",
|
|
100
|
+
"seedance-2.0",
|
|
98
101
|
"sora-2",
|
|
99
102
|
"veo3.1",
|
|
100
103
|
"veo3.1-audio",
|
|
104
|
+
"veo3.1-lite",
|
|
101
105
|
"wan-2.2",
|
|
102
106
|
])
|
|
103
107
|
.optional(),
|
|
@@ -42,7 +42,7 @@ export type V1ImageProjectsGetResponse = {
|
|
|
42
42
|
*/
|
|
43
43
|
totalFrameCost: number;
|
|
44
44
|
/**
|
|
45
|
-
* The type of the image project. Possible values are AI_HEADSHOT, AI_IMAGE, IMAGE_UPSCALER, FACE_SWAP, PHOTO_EDITOR, QR_CODE, BACKGROUND_REMOVER, CLOTHES_CHANGER, AI_MEME, FACE_EDITOR, PHOTO_COLORIZER, AI_GIF, AI_SELFIE, AI_IMAGE_EDITOR, HEAD_SWAP, STORYBOARD
|
|
45
|
+
* The type of the image project. Possible values are AI_HEADSHOT, AI_IMAGE, IMAGE_UPSCALER, FACE_SWAP, PHOTO_EDITOR, QR_CODE, BACKGROUND_REMOVER, CLOTHES_CHANGER, AI_MEME, FACE_EDITOR, PHOTO_COLORIZER, AI_GIF, AI_SELFIE, AI_IMAGE_EDITOR, HEAD_SWAP, STORYBOARD, BODY_SWAP
|
|
46
46
|
*/
|
|
47
47
|
type: string;
|
|
48
48
|
};
|
|
@@ -9,10 +9,12 @@ export type V1ImageToVideoCreateBodyAssets = {
|
|
|
9
9
|
* * **`ltx-2`**: Not supported
|
|
10
10
|
* * **`wan-2.2`**: Not supported
|
|
11
11
|
* * **`seedance`**: Supports 480p, 720p, 1080p.
|
|
12
|
+
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
12
13
|
* * **`kling-2.5`**: Supports 1080p.
|
|
13
14
|
* * **`kling-3.0`**: Supports 1080p.
|
|
14
15
|
* * **`sora-2`**: Not supported
|
|
15
16
|
* * **`veo3.1`**: Not supported
|
|
17
|
+
* * **`veo3.1-lite`**: Not supported
|
|
16
18
|
*
|
|
17
19
|
* Legacy models:
|
|
18
20
|
* * **`kling-1.6`**: Not supported
|
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
* The AI model to use for video generation.
|
|
3
3
|
*
|
|
4
4
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
|
|
5
|
-
* * `ltx-2`:
|
|
6
|
-
* * `wan-2.2`: Fast,
|
|
7
|
-
* * `seedance`:
|
|
8
|
-
* * `
|
|
9
|
-
* * `kling-
|
|
10
|
-
* * `
|
|
11
|
-
* * `
|
|
5
|
+
* * `ltx-2`: Fast iteration with audio and lip-sync
|
|
6
|
+
* * `wan-2.2`: Fast, strong visuals with effects
|
|
7
|
+
* * `seedance`: Fast iteration and start/end frames
|
|
8
|
+
* * `seedance-2.0`: State-of-the-art quality and consistency
|
|
9
|
+
* * `kling-2.5`: Motion, action, and camera control
|
|
10
|
+
* * `kling-3.0`: Cinematic, multi-scene storytelling
|
|
11
|
+
* * `sora-2`: Story-first concepts and creativity
|
|
12
|
+
* * `veo3.1`: Realistic visuals and prompt adherence
|
|
13
|
+
* * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
|
|
12
14
|
*
|
|
13
15
|
* Legacy models:
|
|
14
|
-
* * `kling-1.6`:
|
|
16
|
+
* * `kling-1.6`: Reliable baseline with smooth motion
|
|
15
17
|
*
|
|
16
18
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
17
19
|
*/
|
|
18
|
-
export type V1ImageToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2";
|
|
20
|
+
export type V1ImageToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2";
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
* * **`ltx-2`**: Supports 480p, 720p, 1080p.
|
|
5
5
|
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
6
6
|
* * **`seedance`**: Supports 480p, 720p, 1080p.
|
|
7
|
+
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
7
8
|
* * **`kling-2.5`**: Supports 720p, 1080p.
|
|
8
9
|
* * **`kling-3.0`**: Supports 720p, 1080p.
|
|
9
10
|
* * **`sora-2`**: Supports 720p.
|
|
10
11
|
* * **`veo3.1`**: Supports 720p, 1080p.
|
|
12
|
+
* * **`veo3.1-lite`**: Supports 720p, 1080p.
|
|
11
13
|
*
|
|
12
14
|
* Legacy models:
|
|
13
15
|
* * **`kling-1.6`**: Supports 720p, 1080p.
|
|
@@ -16,10 +16,12 @@ export type V1ImageToVideoCreateBody = {
|
|
|
16
16
|
* * **`ltx-2`**: Automatically included with no extra credits
|
|
17
17
|
* * **`wan-2.2`**: Not supported
|
|
18
18
|
* * **`seedance`**: Not supported
|
|
19
|
+
* * **`seedance-2.0`**: Not supported
|
|
19
20
|
* * **`kling-2.5`**: Automatically included with no extra credits
|
|
20
21
|
* * **`kling-3.0`**: Toggle-able (can enable/disable)
|
|
21
22
|
* * **`sora-2`**: Automatically included with no extra credits
|
|
22
23
|
* * **`veo3.1`**: Toggle-able (can enable/disable)
|
|
24
|
+
* * **`veo3.1-lite`**: Automatically included with no extra credits
|
|
23
25
|
*
|
|
24
26
|
* Legacy models:
|
|
25
27
|
* * **`kling-1.6`**: Not supported
|
|
@@ -31,10 +33,12 @@ export type V1ImageToVideoCreateBody = {
|
|
|
31
33
|
* * **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
|
|
32
34
|
* * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
|
|
33
35
|
* * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
|
|
36
|
+
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
34
37
|
* * **`kling-2.5`**: 5, 10
|
|
35
38
|
* * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
36
39
|
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
|
|
37
40
|
* * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
41
|
+
* * **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
38
42
|
*
|
|
39
43
|
* Legacy models:
|
|
40
44
|
* * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
|
|
@@ -50,20 +54,22 @@ export type V1ImageToVideoCreateBody = {
|
|
|
50
54
|
* The AI model to use for video generation.
|
|
51
55
|
*
|
|
52
56
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
|
|
53
|
-
* * `ltx-2`:
|
|
54
|
-
* * `wan-2.2`: Fast,
|
|
55
|
-
* * `seedance`:
|
|
56
|
-
* * `
|
|
57
|
-
* * `kling-
|
|
58
|
-
* * `
|
|
59
|
-
* * `
|
|
57
|
+
* * `ltx-2`: Fast iteration with audio and lip-sync
|
|
58
|
+
* * `wan-2.2`: Fast, strong visuals with effects
|
|
59
|
+
* * `seedance`: Fast iteration and start/end frames
|
|
60
|
+
* * `seedance-2.0`: State-of-the-art quality and consistency
|
|
61
|
+
* * `kling-2.5`: Motion, action, and camera control
|
|
62
|
+
* * `kling-3.0`: Cinematic, multi-scene storytelling
|
|
63
|
+
* * `sora-2`: Story-first concepts and creativity
|
|
64
|
+
* * `veo3.1`: Realistic visuals and prompt adherence
|
|
65
|
+
* * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
|
|
60
66
|
*
|
|
61
67
|
* Legacy models:
|
|
62
|
-
* * `kling-1.6`:
|
|
68
|
+
* * `kling-1.6`: Reliable baseline with smooth motion
|
|
63
69
|
*
|
|
64
70
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
65
71
|
*/
|
|
66
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
72
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
67
73
|
/**
|
|
68
74
|
* Give your video a custom name for easy identification.
|
|
69
75
|
*/
|
|
@@ -74,10 +80,12 @@ export type V1ImageToVideoCreateBody = {
|
|
|
74
80
|
* * **`ltx-2`**: Supports 480p, 720p, 1080p.
|
|
75
81
|
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
76
82
|
* * **`seedance`**: Supports 480p, 720p, 1080p.
|
|
83
|
+
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
77
84
|
* * **`kling-2.5`**: Supports 720p, 1080p.
|
|
78
85
|
* * **`kling-3.0`**: Supports 720p, 1080p.
|
|
79
86
|
* * **`sora-2`**: Supports 720p.
|
|
80
87
|
* * **`veo3.1`**: Supports 720p, 1080p.
|
|
88
|
+
* * **`veo3.1-lite`**: Supports 720p, 1080p.
|
|
81
89
|
*
|
|
82
90
|
* Legacy models:
|
|
83
91
|
* * **`kling-1.6`**: Supports 720p, 1080p.
|
|
@@ -104,7 +112,7 @@ export type External$V1ImageToVideoCreateBody = {
|
|
|
104
112
|
audio?: boolean | undefined;
|
|
105
113
|
end_seconds: number;
|
|
106
114
|
height?: number | null | undefined;
|
|
107
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
115
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
108
116
|
name?: string | undefined;
|
|
109
117
|
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
110
118
|
style?: External$V1ImageToVideoCreateBodyStyle | undefined;
|
|
@@ -56,9 +56,11 @@ const SchemaIn$V1ImageToVideoCreateBody = z
|
|
|
56
56
|
"kling-3.0",
|
|
57
57
|
"ltx-2",
|
|
58
58
|
"seedance",
|
|
59
|
+
"seedance-2.0",
|
|
59
60
|
"sora-2",
|
|
60
61
|
"veo3.1",
|
|
61
62
|
"veo3.1-audio",
|
|
63
|
+
"veo3.1-lite",
|
|
62
64
|
"wan-2.2",
|
|
63
65
|
])
|
|
64
66
|
.optional(),
|
|
@@ -99,9 +101,11 @@ const SchemaOut$V1ImageToVideoCreateBody = z
|
|
|
99
101
|
"kling-3.0",
|
|
100
102
|
"ltx-2",
|
|
101
103
|
"seedance",
|
|
104
|
+
"seedance-2.0",
|
|
102
105
|
"sora-2",
|
|
103
106
|
"veo3.1",
|
|
104
107
|
"veo3.1-audio",
|
|
108
|
+
"veo3.1-lite",
|
|
105
109
|
"wan-2.2",
|
|
106
110
|
])
|
|
107
111
|
.optional(),
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
* * **`ltx-2`**: Supports 9:16, 16:9, 1:1.
|
|
5
5
|
* * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
|
|
6
6
|
* * **`seedance`**: Supports 9:16, 16:9, 1:1.
|
|
7
|
+
* * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
|
|
7
8
|
* * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
|
|
8
9
|
* * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
|
|
9
10
|
* * **`sora-2`**: Supports 9:16, 16:9.
|
|
10
11
|
* * **`veo3.1`**: Supports 9:16, 16:9.
|
|
12
|
+
* * **`veo3.1-lite`**: Supports 9:16, 16:9.
|
|
11
13
|
*
|
|
12
14
|
* Legacy models:
|
|
13
15
|
* * **`kling-1.6`**: Supports 9:16, 16:9, 1:1.
|
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
* The AI model to use for video generation.
|
|
3
3
|
*
|
|
4
4
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
|
|
5
|
-
* * `ltx-2`:
|
|
6
|
-
* * `wan-2.2`: Fast,
|
|
7
|
-
* * `seedance`:
|
|
8
|
-
* * `
|
|
9
|
-
* * `kling-
|
|
10
|
-
* * `
|
|
11
|
-
* * `
|
|
5
|
+
* * `ltx-2`: Fast iteration with audio and lip-sync
|
|
6
|
+
* * `wan-2.2`: Fast, strong visuals with effects
|
|
7
|
+
* * `seedance`: Fast iteration and start/end frames
|
|
8
|
+
* * `seedance-2.0`: State-of-the-art quality and consistency
|
|
9
|
+
* * `kling-2.5`: Motion, action, and camera control
|
|
10
|
+
* * `kling-3.0`: Cinematic, multi-scene storytelling
|
|
11
|
+
* * `sora-2`: Story-first concepts and creativity
|
|
12
|
+
* * `veo3.1`: Realistic visuals and prompt adherence
|
|
13
|
+
* * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
|
|
12
14
|
*
|
|
13
15
|
* Legacy models:
|
|
14
|
-
* * `kling-1.6`:
|
|
16
|
+
* * `kling-1.6`: Reliable baseline with smooth motion
|
|
15
17
|
*
|
|
16
18
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
17
19
|
*/
|
|
18
|
-
export type V1TextToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2";
|
|
20
|
+
export type V1TextToVideoCreateBodyModelEnum = "default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2";
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
* * **`ltx-2`**: Supports 480p, 720p, 1080p.
|
|
5
5
|
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
6
6
|
* * **`seedance`**: Supports 480p, 720p, 1080p.
|
|
7
|
+
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
7
8
|
* * **`kling-2.5`**: Supports 720p, 1080p.
|
|
8
9
|
* * **`kling-3.0`**: Supports 720p, 1080p.
|
|
9
10
|
* * **`sora-2`**: Supports 720p.
|
|
10
11
|
* * **`veo3.1`**: Supports 720p, 1080p.
|
|
12
|
+
* * **`veo3.1-lite`**: Supports 720p, 1080p.
|
|
11
13
|
*
|
|
12
14
|
* Legacy models:
|
|
13
15
|
* * **`kling-1.6`**: Supports 720p, 1080p.
|
|
@@ -10,10 +10,12 @@ export type V1TextToVideoCreateBody = {
|
|
|
10
10
|
* * **`ltx-2`**: Supports 9:16, 16:9, 1:1.
|
|
11
11
|
* * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
|
|
12
12
|
* * **`seedance`**: Supports 9:16, 16:9, 1:1.
|
|
13
|
+
* * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
|
|
13
14
|
* * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
|
|
14
15
|
* * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
|
|
15
16
|
* * **`sora-2`**: Supports 9:16, 16:9.
|
|
16
17
|
* * **`veo3.1`**: Supports 9:16, 16:9.
|
|
18
|
+
* * **`veo3.1-lite`**: Supports 9:16, 16:9.
|
|
17
19
|
*
|
|
18
20
|
* Legacy models:
|
|
19
21
|
* * **`kling-1.6`**: Supports 9:16, 16:9, 1:1.
|
|
@@ -26,10 +28,12 @@ export type V1TextToVideoCreateBody = {
|
|
|
26
28
|
* * **`ltx-2`**: Automatically included with no extra credits
|
|
27
29
|
* * **`wan-2.2`**: Not supported
|
|
28
30
|
* * **`seedance`**: Not supported
|
|
31
|
+
* * **`seedance-2.0`**: Not supported
|
|
29
32
|
* * **`kling-2.5`**: Automatically included with no extra credits
|
|
30
33
|
* * **`kling-3.0`**: Toggle-able (can enable/disable)
|
|
31
34
|
* * **`sora-2`**: Automatically included with no extra credits
|
|
32
35
|
* * **`veo3.1`**: Toggle-able (can enable/disable)
|
|
36
|
+
* * **`veo3.1-lite`**: Automatically included with no extra credits
|
|
33
37
|
*
|
|
34
38
|
* Legacy models:
|
|
35
39
|
* * **`kling-1.6`**: Not supported
|
|
@@ -41,10 +45,12 @@ export type V1TextToVideoCreateBody = {
|
|
|
41
45
|
* * **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
|
|
42
46
|
* * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
|
|
43
47
|
* * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
|
|
48
|
+
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
44
49
|
* * **`kling-2.5`**: 5, 10
|
|
45
50
|
* * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
|
|
46
51
|
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
|
|
47
52
|
* * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
53
|
+
* * **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
|
|
48
54
|
*
|
|
49
55
|
* Legacy models:
|
|
50
56
|
* * **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
|
|
@@ -54,20 +60,22 @@ export type V1TextToVideoCreateBody = {
|
|
|
54
60
|
* The AI model to use for video generation.
|
|
55
61
|
*
|
|
56
62
|
* * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
|
|
57
|
-
* * `ltx-2`:
|
|
58
|
-
* * `wan-2.2`: Fast,
|
|
59
|
-
* * `seedance`:
|
|
60
|
-
* * `
|
|
61
|
-
* * `kling-
|
|
62
|
-
* * `
|
|
63
|
-
* * `
|
|
63
|
+
* * `ltx-2`: Fast iteration with audio and lip-sync
|
|
64
|
+
* * `wan-2.2`: Fast, strong visuals with effects
|
|
65
|
+
* * `seedance`: Fast iteration and start/end frames
|
|
66
|
+
* * `seedance-2.0`: State-of-the-art quality and consistency
|
|
67
|
+
* * `kling-2.5`: Motion, action, and camera control
|
|
68
|
+
* * `kling-3.0`: Cinematic, multi-scene storytelling
|
|
69
|
+
* * `sora-2`: Story-first concepts and creativity
|
|
70
|
+
* * `veo3.1`: Realistic visuals and prompt adherence
|
|
71
|
+
* * `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.
|
|
64
72
|
*
|
|
65
73
|
* Legacy models:
|
|
66
|
-
* * `kling-1.6`:
|
|
74
|
+
* * `kling-1.6`: Reliable baseline with smooth motion
|
|
67
75
|
*
|
|
68
76
|
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
|
|
69
77
|
*/
|
|
70
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
78
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
71
79
|
/**
|
|
72
80
|
* Give your video a custom name for easy identification.
|
|
73
81
|
*/
|
|
@@ -82,10 +90,12 @@ export type V1TextToVideoCreateBody = {
|
|
|
82
90
|
* * **`ltx-2`**: Supports 480p, 720p, 1080p.
|
|
83
91
|
* * **`wan-2.2`**: Supports 480p, 720p, 1080p.
|
|
84
92
|
* * **`seedance`**: Supports 480p, 720p, 1080p.
|
|
93
|
+
* * **`seedance-2.0`**: Supports 480p, 720p.
|
|
85
94
|
* * **`kling-2.5`**: Supports 720p, 1080p.
|
|
86
95
|
* * **`kling-3.0`**: Supports 720p, 1080p.
|
|
87
96
|
* * **`sora-2`**: Supports 720p.
|
|
88
97
|
* * **`veo3.1`**: Supports 720p, 1080p.
|
|
98
|
+
* * **`veo3.1-lite`**: Supports 720p, 1080p.
|
|
89
99
|
*
|
|
90
100
|
* Legacy models:
|
|
91
101
|
* * **`kling-1.6`**: Supports 720p, 1080p.
|
|
@@ -102,7 +112,7 @@ export type External$V1TextToVideoCreateBody = {
|
|
|
102
112
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
103
113
|
audio?: boolean | undefined;
|
|
104
114
|
end_seconds: number;
|
|
105
|
-
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
|
|
115
|
+
model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "seedance-2.0" | "sora-2" | "veo3.1" | "veo3.1-audio" | "veo3.1-lite" | "wan-2.2") | undefined;
|
|
106
116
|
name?: string | undefined;
|
|
107
117
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
108
118
|
resolution?: ("1080p" | "480p" | "720p") | undefined;
|
|
@@ -54,9 +54,11 @@ const SchemaIn$V1TextToVideoCreateBody = z
|
|
|
54
54
|
"kling-3.0",
|
|
55
55
|
"ltx-2",
|
|
56
56
|
"seedance",
|
|
57
|
+
"seedance-2.0",
|
|
57
58
|
"sora-2",
|
|
58
59
|
"veo3.1",
|
|
59
60
|
"veo3.1-audio",
|
|
61
|
+
"veo3.1-lite",
|
|
60
62
|
"wan-2.2",
|
|
61
63
|
])
|
|
62
64
|
.optional(),
|
|
@@ -95,9 +97,11 @@ const SchemaOut$V1TextToVideoCreateBody = z
|
|
|
95
97
|
"kling-3.0",
|
|
96
98
|
"ltx-2",
|
|
97
99
|
"seedance",
|
|
100
|
+
"seedance-2.0",
|
|
98
101
|
"sora-2",
|
|
99
102
|
"veo3.1",
|
|
100
103
|
"veo3.1-audio",
|
|
104
|
+
"veo3.1-lite",
|
|
101
105
|
"wan-2.2",
|
|
102
106
|
])
|
|
103
107
|
.optional(),
|