vidspotai-shared 1.0.108 → 1.0.109
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/services/aiGen/providers/alibaba/helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/services/aiGen/providers/alibaba/helpers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,MAAM,GAAG,MAAM,GAAG,OAAO,EACzB,MAAM,CAAC,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,EAAE,MAAM,CAAC,CAuBxD,CAAC;AAEF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,IAAI,CAMf"}
|
|
@@ -2,27 +2,31 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VideoModelsDimensionsMap = void 0;
|
|
4
4
|
exports.getAlibabaDimensions = getAlibabaDimensions;
|
|
5
|
+
// DashScope's video `size` parameter is "WIDTH*HEIGHT" (asterisk separator,
|
|
6
|
+
// matching resolveDashScopeSize below) — NOT "WIDTHxHEIGHT". Sending "x"
|
|
7
|
+
// caused DashScope to reject every T2V request with "Invalid input format"
|
|
8
|
+
// (observed in prod on alibaba-wan-2.5-t2v, 2026-08-16).
|
|
5
9
|
exports.VideoModelsDimensionsMap = {
|
|
6
10
|
"480p": {
|
|
7
|
-
"16:9": "
|
|
8
|
-
"9:16": "
|
|
9
|
-
"1:1": "
|
|
10
|
-
"4:3": "
|
|
11
|
-
"3:4": "
|
|
11
|
+
"16:9": "832*480",
|
|
12
|
+
"9:16": "480*832",
|
|
13
|
+
"1:1": "624*624",
|
|
14
|
+
"4:3": "640*480",
|
|
15
|
+
"3:4": "480*640",
|
|
12
16
|
},
|
|
13
17
|
"720p": {
|
|
14
|
-
"16:9": "
|
|
15
|
-
"9:16": "
|
|
16
|
-
"1:1": "
|
|
17
|
-
"4:3": "
|
|
18
|
-
"3:4": "
|
|
18
|
+
"16:9": "1280*720",
|
|
19
|
+
"9:16": "720*1280",
|
|
20
|
+
"1:1": "960*960",
|
|
21
|
+
"4:3": "1088*832",
|
|
22
|
+
"3:4": "832*1088",
|
|
19
23
|
},
|
|
20
24
|
"1080p": {
|
|
21
|
-
"16:9": "
|
|
22
|
-
"9:16": "
|
|
23
|
-
"1:1": "
|
|
24
|
-
"4:3": "
|
|
25
|
-
"3:4": "
|
|
25
|
+
"16:9": "1920*1080",
|
|
26
|
+
"9:16": "1080*1920",
|
|
27
|
+
"1:1": "1440*1440",
|
|
28
|
+
"4:3": "1632*1248",
|
|
29
|
+
"3:4": "1248*1632",
|
|
26
30
|
},
|
|
27
31
|
};
|
|
28
32
|
function getAlibabaDimensions(resolution, aspectRatio) {
|