PrestaShop Artificial Intelligence

AI Virtual Try-On Module for PrestaShop

AI virtual try-on on your product pages, powered by Google Vertex AI.

Let your customers see the garment on themselves before they buy: a generative virtual try-on widget directly on the product page, fully proxied server-side and GDPR-ready.

PrestaShop 8 & 9 PHP 8.1+ Google Vertex AI 100% server-side GDPR SynthID
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
Module Essayage Virtuel IA (Try-On) pour PrestaShop
v1.0.0 · updated 2026-07-09
What it does

The short version.

01

Try-on on the product page

A Try it on button opens a modal where the customer sees themselves wearing the item within seconds.

02

Powered by Google Vertex AI

Generative Virtual Try-On model (virtual-try-on-preview-08-04 / virtual-try-on-001), photorealistic quality.

03

Photo or camera

The customer uploads a JPEG, PNG or WebP, or captures directly from their webcam.

04

100% server-side

The service-account key stays on the server, never exposed on the front office.

05

GDPR-ready

Mandatory, customizable consent checkbox; the customer photo is never stored on the shop.

06

SynthID watermark

Invisible AI watermark, toggleable on every generated image, for full transparency.

07

Cost control

Per-session generation cap and anti-spam cooldown, fully configurable.

08

Category filtering

Show the widget only on apparel, or everywhere, based on category IDs.

09

PS 8 and 9 compatible

No composer dependency, PHP 8.1 minimum, ready for PrestaShop 9.

The long version

Everything you'd want to know before you install.

A detailed look at how AI Virtual Try-On Module for PrestaShop works, why we built it the way we did, and the thinking behind the features above.

§ 01

The real barrier to buying clothes online: uncertainty

In fashion, the number-one cause of hesitation and returns is not knowing how a garment will look once worn. Photos on a model don't answer the question the customer is really asking: will it suit me? dfgoogletryon closes that gap directly on the product page.

§ 02

A generative virtual try-on, on the product page

The module adds a Try it on button that opens a modal. The customer uploads a photo or uses their camera, and the garment from the page is rendered onto them via the Google Vertex AI Virtual Try-On model. The result is photorealistic: the garment follows the pose and body shape. You can generate 1 to 4 proposals per try-on.

§ 03

Privacy-respecting by design

The customer photo is downscaled in the browser, sent to your server then to Google, and is never saved on the shop: processing happens in memory. A mandatory, customizable consent checkbox appears before any upload, for clean GDPR compliance. The SynthID watermark invisibly marks generated images.

§ 04

Security: nothing leaks on the client

Unlike a naive front-end integration, dfgoogletryon proxies every call server-side. The service-account key stays on your server; the module signs an RS256 JWT, obtains an OAuth token cached for about 55 minutes, and calls the Vertex AI API from the back end. The browser never sees your Google credentials.

§ 05

Controlled costs, blocked abuse

Each generated image is billed by Google. The module includes a per-session generation cap and a cooldown between attempts, both configurable, to keep costs predictable. A per-product token and same-origin checks discourage use of the proxy outside your pages.

§ 06

PrestaShop 8 and 9 compatible, guided setup

The module runs on PS 8.0 to 9.x, PHP 8.1 to 8.4, with no composer dependency. On the Google side: create a Google Cloud project with billing, enable the Vertex AI API, create a service account with the Vertex AI User role, download its JSON key and paste it into the configuration. The Save and test authentication button validates your credentials in one click.