@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pilio/gemini-watermark-remover v1.0.40+507da4e
2
+ * @pilio/gemini-watermark-remover v1.0.41+15e3798
3
3
  * Automatically removes watermarks from Gemini AI generated images
4
4
  * (c) 2026 GargantuaX
5
5
  * https://github.com/GargantuaX/gemini-watermark-remover
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pilio/gemini-watermark-remover",
3
3
  "description": "Automatically removes watermarks from Gemini AI generated images",
4
- "version": "1.0.40",
4
+ "version": "1.0.41",
5
5
  "author": "GargantuaX",
6
6
  "sideEffects": false,
7
7
  "files": [
@@ -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',