100% Client-Side In-Browser Media Restoration Tool
Mathematically precise reverse alpha blending to remove visible watermarks from Google Gemini AI images and Google Veo videos with zero cloud uploads, zero generative hallucinations, and lossless audio passthrough.
-
Mathematical Inversion: Restores original pixel values via canonical reverse alpha blending:
$$\text{Original} = \text{clamp}\left(\frac{\text{Watermarked} - \alpha \times 255}{1 - \alpha}, 0, 255\right)$$ - Calibrated Multi-Profile Support: Built-in calibrated alpha masks for Gemini 3.5+ (V2), Legacy Gemini (V1), and free-tier half-scale (1376×768) resolutions.
- 3-Stage NCC Detector: Spatial and gradient-space Normalized Cross-Correlation with variance dampening and automatic V2-to-V1 fallback.
-
Interactive Split Slider: Real-time before/after comparison slider with zoom/pan, 1-click watermark focus, and hold-to-peek original (
Space/V). - Batch Processing: Queue dozens of images with progress indicators and one-click Export All (.ZIP).
- Soft Edge Inpainting: Optional gradient-weighted Gaussian edge smoothing to eliminate faint JPEG recompression halos.
- Dynamic Resolution-Scaled Geometry: Automatically calculates watermark position and size based on video dimensions (
base = min(width, height),size = round(base / 15),margin = round(base / 10)). - Live Interactive Tuner: Real-time corner preview with 200×200 magnified pixel view and live sliders for:
- Inversion Strength (Gain)
- Watermark Size
- Offset X & Y
- Veo (Default Inset) & Classic Corner Presets
- Hardware-Accelerated WebCodecs: Powered by
mediabunnyfor fast H.264 frame decoding and encoding directly on your GPU/CPU. - Lossless Audio Passthrough: Audio streams pass directly through without lossy re-encoding (
-c:a copyequivalent).
- Zero server endpoints. All pixel manipulation, decoding, and encoding run entirely within your local browser sandbox.
- Your media never leaves your device.
- Node.js 18+ or 20+
- A modern desktop browser with WebCodecs support (Chrome, Edge, Brave, etc.)
# Clone the repository
git clone https://github.com/adityakhadsecode/markless.git
cd markless
# Install dependencies
npm install
# Start the development server
npm run devOpen http://localhost:3000 in your browser.
npm run build
npm run start- Framework: Next.js 16 (App Router, Turbopack)
- Language: TypeScript
- Styling: Tailwind CSS v4 + Vanilla CSS tokens
- UI Components: shadcn/ui (Dark Industrial Technical Theme)
- Video Engine: WebCodecs + mediabunny
- Image Math: Typed
Float32Arraykernels & pure TypeScript CV primitives - Exporting: JSZip
- Mathematical reverse alpha blending equations and calibrated alpha channel matrices.
- Hardware WebCodecs decoding and encoding pipeline with lossless audio passthrough.
MIT License. Free for personal and educational use.