# Layerize AI-powered image to PSD layers splitter. Runs entirely in your browser using Transformers.js and WASM. ## Product Details - **Core Feature**: Splits any image (JPG, PNG, WebP) into multiple depth-based layers using AI depth estimation. - **Technology**: Uses `onnx-community/depth-anything-v2-small` for depth analysis and a custom WASM module for pixel extraction. - **Output Formats**: - **PSD**: Layered Photoshop document with transparency. - **ZIP**: Individual PNG layers in a bundle (Premium only). - **Privacy**: All processing happens on the user's device. No images are uploaded to any server for analysis. - **Subscription**: Free tier (2 layers, PSD export) and Premium tier (unlimited layers, ZIP export, no ads). ## Key Links - [Main Application](https://layerize.app/) - [Sitemap](https://layerize.app/sitemap.xml) ## Technical Overview The application is a single-page state machine: 1. **Idle**: User uploads an image. 2. **Preview**: User configures the maximum number of layers. 3. **Splitting**: Browser-side AI generates depth map and extracts segments. 4. **Result**: User previews and downloads the resulting layers. ## Stack - **Frontend**: Vite, TypeScript, Tailwind CSS. - **AI Engine**: Transformers.js (Hugging Face). - **Formatters**: ag-psd, jszip. - **Hosting**: Firebase Hosting. - **Auth/Billing**: Firebase Auth, Razorpay.