vidspotai-shared 1.0.73 → 1.0.74
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.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/aiGen/providers/google/google.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAoIlB,qBAAa,aAAc,SAAQ,wBAAwB;IACzD,OAAO,CAAC,EAAE,CAAc;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAK;;IAO/C;;;;OAIG;YACW,kBAAkB;IA+B1B,aAAa,CACjB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"google.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/aiGen/providers/google/google.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAoIlB,qBAAa,aAAc,SAAQ,wBAAwB;IACzD,OAAO,CAAC,EAAE,CAAc;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAK;;IAO/C;;;;OAIG;YACW,kBAAkB;IA+B1B,aAAa,CACjB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,qBAAqB,CAAC;IAqF3B,gBAAgB,CAAC,EACrB,IAAI,EACJ,cAAc,EACd,cAAyB,GAC1B,EAAE,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA0F3C,aAAa,CACjB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,qBAAqB,CAAC;IAsGjC;;;;;;OAMG;IACG,aAAa,CACjB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,qBAAqB,CAAC;IAqEjC,aAAa,CAAC,EAAE,QAAQ,EAAE,QAAY,EAAE,UAAmB,EAAE,SAAiB,EAAE,SAAa,EAAE,SAAS,EAAE,EAAE,iBAAiB,GAAG,MAAM;CA8BvI"}
|
|
@@ -193,7 +193,17 @@ class GoogleService extends baseAiGenProvider_service_1.BaseAiGenProviderService
|
|
|
193
193
|
...(params.seed !== undefined ? { seed: params.seed } : {}),
|
|
194
194
|
...(params.personGeneration ? { personGeneration: params.personGeneration } : {}),
|
|
195
195
|
...(params.negativePrompt ? { negativePrompt: params.negativePrompt } : {}),
|
|
196
|
-
|
|
196
|
+
// REMOVED for the Gemini Developer API backend — kept for reference.
|
|
197
|
+
// `generateAudio` is a Vertex-AI-only config field. This client is
|
|
198
|
+
// constructed with `new GoogleGenAI({ apiKey })` (the Mldev / Gemini
|
|
199
|
+
// Developer API backend), whose SDK transformer throws
|
|
200
|
+
// "generateAudio parameter is not supported in Gemini API". Veo 3.x on
|
|
201
|
+
// the Gemini API generates audio natively (always on — there is no
|
|
202
|
+
// toggle), so omitting the param is the correct behavior here.
|
|
203
|
+
// NOTE: this means an explicit `audio: false` cannot be honored on the
|
|
204
|
+
// Gemini API (see docs/known-limitations.md). Restore this line if/when
|
|
205
|
+
// this client is switched to Vertex (`vertexai: true`).
|
|
206
|
+
// ...(params.audio !== undefined ? { generateAudio: params.audio } : {}),
|
|
197
207
|
...(params.promptOptimizer !== undefined ? { enhancePrompt: params.promptOptimizer } : {}),
|
|
198
208
|
},
|
|
199
209
|
};
|