WINSUN CUTOUT STUDIO — CPANEL INSTALLATION

1. Open cPanel > File Manager > public_html.
2. Create a NEW folder named cutout (recommended; avoids overwriting an existing website).
3. Upload Winsun-Cutout-Studio-v2-cPanel.zip into that folder and Extract.
4. index.html, app.js, style.css and both worker .js files must be directly inside cutout, not another nested folder.
5. Enable SSL for your domain and open https://YOUR-DOMAIN/cutout/.
6. Upload an original product photo. First use downloads the AI model; keep the tab open.

No PHP, MySQL database, npm build, API key, or ChatGPT login is needed on your own hosting. This is a static browser application. Do not double-click index.html via file://: workers need a web server. HTTPS is recommended for browser feature compatibility.

IMPORTANT DEPENDENCIES
The app is complete source code, but the AI engine/model binaries are fetched online, not bundled. The visitor browser needs access to cdn.jsdelivr.net and staticimgly.com. Detailed mode downloads about 80 MB of model data plus runtime files on first use. Models are cached by the browser. This package is not a fully offline installer.
Processing happens on the visitor device; performance depends on CPU and memory. Upload limit: 10 MB and 20 megapixels. No image history is stored after leaving/reloading the page.

QUALITY
Detailed mode plus edge refinement is the default. Crispness/Fringe Cleanup adjust transparency edges; RGB fabric colours are retained. Fine hair/lace and low-contrast edges can need manual corrections. Use original images, not screenshots of another editing tool. There is no guarantee of identical output to Yellow Images.

IF SOMETHING DOES NOT LOAD
- Check that ai-worker.js and edge-worker.js are beside index.html.
- Open your site over HTTPS; hard-refresh if old files are cached.
- If an existing parent Content-Security-Policy blocks scripts/workers, ask your host to allow this app's same-origin workers and its IMG.LY/jsDelivr dependencies; do not disable your site's security globally.
- If AI reports a download/processing failure, check internet access, then try Fast quality or a smaller image.
- If .htaccess causes a server error on a non-Apache server, remove only this package's .htaccess; the app has no rewrite requirement.

SOURCE AND LICENSE
Complete application source is included. Source download remains available from the app footer. AGPL-3.0 license included; upstream AI library: https://github.com/imgly/background-removal-js version 1.5.8. Keep license and source availability when distributing this application.
