Getting Started with the UnmrkGemini CLI
The UnmrkGemini CLI is a powerful tool for batch processing images to remove Gemini watermarks. This guide will walk you through the installation and basic usage of the CLI.
Installation
To use the CLI, you need to have Node.js installed on your system. You can install the UnmrkGemini CLI globally using npm:
npm install -g unmrkgemini
Basic Usage
The most common use case is to remove watermarks from a single image or a directory of images.
Removing a Watermark from a Single Image
To remove a watermark from a single image, use the --input and --output options:
unmrkgemini --input /path/to/your/image.jpg --output /path/to/your/processed-image.jpg
Removing Watermarks from a Directory
To process all images in a directory, provide the directory paths for the --input and --output options:
unmrkgemini --input /path/to/your/images --output /path/to/your/processed-images
Adding a Watermark
You can also use the CLI to add a Gemini-style watermark to an image. Use the --add flag to enable this feature:
unmrkgemini --input /path/to/your/image.jpg --output /path/to/your/watermarked-image.jpg --add
Forcing Watermark Size
The CLI can force the use of a small (48x48) or large (96x96) watermark. Use the --force-small or --force-large flags:
unmrkgemini --input /path/to/your/image.jpg --output /path/to/your/processed-image.jpg --force-small
CLI Options
-i, --input: Input image file or directory (required)-o, --output: Output image file or directory (required)-a, --add: Add watermark-r, --remove: Remove watermark (default)--force-small: Force small watermark (48x48)--force-large: Force large watermark (96x96)
We hope this guide helps you get started with the UnmrkGemini CLI. If you have any questions, feel free to reach out to us at apps@hotbrains.com.br.