vidspotai-shared 1.0.75 → 1.0.76
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":"google.d.ts","sourceRoot":"","sources":["../../../../src/globals/aiModels/providers/google.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"google.d.ts","sourceRoot":"","sources":["../../../../src/globals/aiModels/providers/google.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,CAiSpE,CAAC"}
|
|
@@ -27,6 +27,16 @@ exports.googleConfigs = {
|
|
|
27
27
|
personGeneration: { allowedValues: ["allow_all", "allow_adult", "dont_allow"] },
|
|
28
28
|
promptOptimizer: {},
|
|
29
29
|
},
|
|
30
|
+
// Gemini API cross-constraint: 1080p and 4k ONLY support an 8s duration
|
|
31
|
+
// (the API rejects e.g. 1080p@6s with "1080p is not supported for a
|
|
32
|
+
// duration of 6 seconds"). 720p supports the full 4/6/8 range. Encoded here
|
|
33
|
+
// so validateParams fails fast with a clear message instead of a wasted
|
|
34
|
+
// provider call + opaque 400.
|
|
35
|
+
durationRules: {
|
|
36
|
+
4: ["720p"],
|
|
37
|
+
6: ["720p"],
|
|
38
|
+
8: ["720p", "1080p", "4k"],
|
|
39
|
+
},
|
|
30
40
|
requestPerMin: 50,
|
|
31
41
|
cost: {
|
|
32
42
|
// Vertex: $0.40/s @ 720p/1080p, $0.60/s @ 4k.
|
|
@@ -57,6 +67,12 @@ exports.googleConfigs = {
|
|
|
57
67
|
personGeneration: { allowedValues: ["allow_all", "allow_adult", "dont_allow"] },
|
|
58
68
|
promptOptimizer: {},
|
|
59
69
|
},
|
|
70
|
+
// 1080p only supports 8s on the Gemini API (no 4k for fast). See veo-3.1.
|
|
71
|
+
durationRules: {
|
|
72
|
+
4: ["720p"],
|
|
73
|
+
6: ["720p"],
|
|
74
|
+
8: ["720p", "1080p"],
|
|
75
|
+
},
|
|
60
76
|
requestPerMin: 50,
|
|
61
77
|
cost: {
|
|
62
78
|
perResolution: { "720p": 0.10, "1080p": 0.12 },
|
|
@@ -81,6 +97,12 @@ exports.googleConfigs = {
|
|
|
81
97
|
personGeneration: { allowedValues: ["allow_all", "allow_adult", "dont_allow"] },
|
|
82
98
|
promptOptimizer: {},
|
|
83
99
|
},
|
|
100
|
+
// 1080p only supports 8s on the Gemini API (no 4k for lite). See veo-3.1.
|
|
101
|
+
durationRules: {
|
|
102
|
+
4: ["720p"],
|
|
103
|
+
6: ["720p"],
|
|
104
|
+
8: ["720p", "1080p"],
|
|
105
|
+
},
|
|
84
106
|
requestPerMin: 50,
|
|
85
107
|
cost: {
|
|
86
108
|
perResolution: { "720p": 0.05, "1080p": 0.08 },
|