@pilio/gemini-watermark-remover 1.0.40 → 1.0.41
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/video-app.js +1 -1
- package/package.json +1 -1
- package/src/core/geminiSizeCatalog.js +29 -0
package/dist/video-app.js
CHANGED
package/package.json
CHANGED
|
@@ -25,6 +25,10 @@ const GEMINI_3X_CURRENT_1K_LARGE_MARGIN_WATERMARK_CONFIG = Object.freeze({
|
|
|
25
25
|
marginRight: 96,
|
|
26
26
|
marginBottom: 96
|
|
27
27
|
});
|
|
28
|
+
const GEMINI_3X_CURRENT_2K_LARGE_MARGIN_SIZE_KEYS = new Set([
|
|
29
|
+
'2048x2048',
|
|
30
|
+
'2400x1792'
|
|
31
|
+
]);
|
|
28
32
|
const GEMINI_3X_V2_SMALL_WATERMARK_CONFIG = Object.freeze({
|
|
29
33
|
logoSize: 36,
|
|
30
34
|
marginRight: 96,
|
|
@@ -380,6 +384,31 @@ export function resolveOfficialGeminiSearchConfigEntries(
|
|
|
380
384
|
}));
|
|
381
385
|
}
|
|
382
386
|
}
|
|
387
|
+
if (
|
|
388
|
+
match?.modelFamily === 'gemini-3.x-image' &&
|
|
389
|
+
match.resolutionTier === '2k' &&
|
|
390
|
+
GEMINI_3X_CURRENT_2K_LARGE_MARGIN_SIZE_KEYS.has(
|
|
391
|
+
`${normalizedWidth}x${normalizedHeight}`
|
|
392
|
+
)
|
|
393
|
+
) {
|
|
394
|
+
const currentLargeMarginVariant = createCurrentLargeMarginVariantConfig(
|
|
395
|
+
exactOfficialConfig,
|
|
396
|
+
normalizedWidth,
|
|
397
|
+
normalizedHeight,
|
|
398
|
+
{ allowAnyBase: true }
|
|
399
|
+
);
|
|
400
|
+
if (currentLargeMarginVariant) {
|
|
401
|
+
entries.push(createCatalogEntry(currentLargeMarginVariant, {
|
|
402
|
+
family: 'known-current-variant',
|
|
403
|
+
sourcePriority: 1,
|
|
404
|
+
evidenceGate: 'required',
|
|
405
|
+
modelFamily: match.modelFamily,
|
|
406
|
+
resolutionTier: match.resolutionTier,
|
|
407
|
+
aspectRatio: match.aspectRatio,
|
|
408
|
+
source: '202608-2k-large-margin'
|
|
409
|
+
}));
|
|
410
|
+
}
|
|
411
|
+
}
|
|
383
412
|
for (const legacyConfig of getEntryLegacyConfigs(match)) {
|
|
384
413
|
entries.push(createCatalogEntry({ ...legacyConfig }, {
|
|
385
414
|
family: 'exact-official-legacy',
|