Suppression de filigrane Gemini

VérifiéPrudence

Supprime les filigranes visibles des images générées par Gemini via un décomposite alpha inversé. Idéal pour les captures d'écran, documents et images textuelles.

Spar Skills Guide Bot
ContenuIntermédiaire
24/07/2026
Claude Code
#image-processing#watermark-removal#gemini#batch-processing#reverse-alpha-blending

Recommandé pour

Synthèse automatique

Ce skill supprime les filigranes visibles des images générées par Gemini en inversant le mélange alpha appliqué au logo.

Points forts

  • Détecte automatiquement la taille du filigrane selon les dimensions de l'image
  • Prend en charge le traitement d'une image unique ou d'un dossier entier
  • Conserve le format d'entrée et permet d'écrire dans un fichier de sortie distinct

Limites

  • Ne retire que le filigrane Gemini visible, pas le filigrane invisible SynthID
  • Le résultat peut être peu visible lorsque l'arrière-plan est proche de la couleur blanche du logo
  • Nécessite le script local et l'exécution via uv
Quand l'utiliser

Utilisez ce skill lorsque vous devez nettoyer des captures, schémas ou images générées par Gemini portant le filigrane visible dans le coin inférieur droit.

Quand l'éviter

Ne l'utilisez pas pour retirer des filigranes d'autres outils, des filigranes opaques ou le filigrane invisible SynthID.

Analyse de sécurité

Prudence
Score qualité78/100

No dangerous shell patterns (no curl|sh, rm -rf, base64 payloads, or secret exfiltration) appear in the instructions; it only invokes a local Python image-processing script. Risk is moderate because the actual script and mask assets are external/unreviewed and the default mode modifies images in place, so a user could lose originals. Additionally, the tool intentionally strips visible watermarks, which is an ethical/attribution concern rather than a runtime security one. Hence 'caution' rather than 'safe' or 'risky'.

Points d'attention
  • •Executes a bundled Python script via `uv run` that is not shown/auditable in SKILL.md, so its behavior cannot be verified from the listing
  • •Default single-image mode overwrites the original file in place (backup is only advised, not enforced)
  • •Requires external alpha-mask assets extracted from a third-party GitHub repo (extract_masks.py from GeminiWatermarkTool), introducing an unaudited external dependency
  • •Tool's purpose is removing visible provenance watermarks from AI-generated images, which may raise attribution/ToS concerns even though it is not a code-execution risk
  • •No network calls, secret access, obfuscation, or destructive commands present; SynthID limitation is honestly disclosed
Comment cette analyse est faite

Exemples

Remove one watermark
I have a Gemini-generated image with a visible watermark. Please remove it and keep the original file intact.
Batch clean a folder
Remove the Gemini watermarks from all images in ./gemini_images/ and save the cleaned versions to ./cleaned_images/.
Force watermark size
The watermark size wasn't detected correctly on this image. Remove it using the large Gemini watermark setting.

name: Watermark Remover description: Remove visible Gemini AI watermarks from images using reverse alpha blending. Use when user mentions "remove watermark", "Gemini watermark", "去水印", or wants to clean AI-generated images.

Watermark Remover

Instructions

This skill removes visible Gemini AI watermarks from images using mathematically accurate reverse alpha blending. It is based on GeminiWatermarkTool by Allen Kuo.

Important Notes

  • This tool removes VISIBLE watermarks only (the semi-transparent logo in bottom-right corner)
  • It does NOT remove SynthID invisible watermarks - those are embedded during image generation and cannot be separated from the image
  • Best results on: slides, documents, UI screenshots, diagrams, logos, text-heavy images
  • Always backup original images before processing

How It Works

Gemini adds watermarks using alpha blending:

watermarked = alpha × logo + (1 - alpha) × original

This tool reverses the equation:

original = (watermarked - alpha × logo) / (1 - alpha)

Watermark Size Detection

The tool automatically detects watermark size based on image dimensions:

| Image Size | Watermark | Position | |------------|-----------|----------| | W ≤ 1024 OR H ≤ 1024 | 48×48 | Bottom-right, 32px margin | | W > 1024 AND H > 1024 | 96×96 | Bottom-right, 64px margin |

Usage

Remove watermark from a single image (in-place):

uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove image.jpg

Remove watermark and save to new file:

uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove input.jpg output.jpg

Batch process a directory:

uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove ./input_folder/ ./output_folder/

Force specific watermark size:

# Force small (48x48) watermark
uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove image.jpg --force-small

# Force large (96x96) watermark
uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove image.jpg --force-large

Verbose output:

uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove image.jpg -v

Show tool information:

uv run .claude/skills/watermark-remover/scripts/watermark_remover.py info

Supported Formats

  • Input: .jpg, .jpeg, .png, .webp, .bmp
  • Output: Same as input format (preserves quality settings)

Examples

Example 1: Quick Watermark Removal

User request:

I have a Gemini-generated image with a watermark. Can you remove it?

You would:

  1. Ask for the image path
  2. Run the removal command:
    uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove /path/to/image.jpg -v
    
  3. Confirm the watermark was removed

Example 2: Batch Processing

User request:

I have a folder of AI-generated images that all have watermarks. Can you clean them?

You would:

  1. Process the entire directory:
    uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove ./gemini_images/ ./cleaned_images/ -v
    
  2. Report how many images were processed

Example 3: Preserve Original

User request:

Remove the watermark but keep my original file intact.

You would:

  1. Specify a different output path:
    uv run .claude/skills/watermark-remover/scripts/watermark_remover.py remove original.png cleaned.png -v
    

Troubleshooting

"The image doesn't look different after processing"

The watermark is semi-transparent. If the original background was similar to the watermark color (white), the difference may be subtle. Try viewing at 100% zoom in the watermark area (bottom-right corner).

"Wrong watermark size detected"

Use --force-small or --force-large to manually specify the watermark size.

"Alpha map not found"

The skill requires alpha mask files in the assets/ directory. If missing, run:

python3 .claude/skills/watermark-remover/scripts/extract_masks.py /path/to/GeminiWatermarkTool/assets/embedded_assets.hpp

Credits

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/watermark-remover-mryiqh7e/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/watermark-remover-mryiqh7e' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/watermark-remover-mryiqh7e/download' --output '.skill-downloads/watermark-remover-mryiqh7e/SKILL.md.part' && mv '.skill-downloads/watermark-remover-mryiqh7e/SKILL.md.part' '.skill-downloads/watermark-remover-mryiqh7e/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Le fichier ne fournit pas un en-tête name/description exploitable pour cette procédure native. Le téléchargement reste disponible pour lecture ; utilisez le mode manuel ci-dessous.

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/watermark-remover-mryiqh7e/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires