Home Plugins tryonx
TryonX – Virtual Try-On for WooCommerce logo

TryonX – Virtual Try-On for WooCommerce

by WPXERO on WordPress.org

Allow customers to virtually try on clothing items by uploading their photos using Google's Gemini AI for a realistic shopping experience.

(0)

Try-On transforms the online shopping experience by enabling customers to see how clothing items would look on them before making a purchase. Using Google’s advanced Gemini AI technology, the plugin creates realistic visualizations of customers wearing your products.

Key Features

  • Easy Integration: Adds a “Try On Virtually” button to product pages for selected categories
  • User-Friendly Interface: Intuitive modal with photo upload and visualization capabilities
  • Realistic AI Visualization: Powered by Google’s Gemini AI for high-quality try-on images
  • Category Selection: Choose which product categories should have the try-on feature
  • Responsive Design: Works perfectly on both mobile and desktop devices
  • Secure Image Processing: Temporary storage with proper security measures
  • Customizable Appearance: Easily style the interface to match your theme

How It Works

  1. When a customer visits a product page in an enabled category, they’ll see a “Try On Virtually” button
  2. Clicking the button opens a modal where they can upload their photo
  3. After uploading, they click “Generate Try-On” to see a visualization of themselves wearing the product
  4. The image generation is handled by Google’s Gemini AI using their image-generation capabilities
  5. The result shows a realistic composite of the customer wearing the selected clothing item

Technical Features

  • Secure image handling with proper validation and sanitization
  • Temporary file storage with security measures
  • Responsive modal interface with drag-and-drop upload capability
  • AJAX-based processing for seamless user experience
  • Error handling and user feedback
  • Customizable styling via CSS files

Privacy Considerations

The plugin processes user-uploaded images to generate try-on visualizations. These images are:
* Temporarily stored on your server during processing
* Sent to Google’s Gemini API for generation
* The resulting images are stored in your WordPress media library

Consider updating your Privacy Policy to inform users about this data processing.

External services

This plugin connects to Google’s Gemini AI API to generate virtual try-on images. The service is essential for creating realistic visualizations of customers wearing clothing items from your store.

What data is sent and when:
– User-uploaded photos (customer images) are sent to Google’s Gemini API when a customer clicks “Generate Try-On”
– Product images from your WooCommerce store are sent along with the user photos
– Both images are converted to Base64 format and transmitted via HTTPS to Google’s servers
– A detailed AI prompt describing the virtual try-on requirements is also sent
– Data is only sent when customers actively use the virtual try-on feature

API endpoint used: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-preview-image-generation:generateContent

Data handling:
– Images are temporarily stored on your server during processing
– After processing, temporary files are automatically deleted
– Generated try-on images are stored in your WordPress media library
– No data is permanently stored on Google’s servers beyond their standard API retention policies

This service is provided by Google LLC. Please review their terms of service and privacy policy:
Google AI Terms of Service
Google Privacy Policy

Configuration

  1. Navigate to WooCommerce > Virtual Try-On in your WordPress admin
  2. Enter your Gemini API key (you can get one from Google AI Studio)
  3. Select which product categories should have the Try-On feature
  4. Save your settings

Customization

The plugin includes several CSS files that can be customized to match your theme:

  • assets/css/tryon.css – Front-end styles for the try-on button and modal
  • assets/css/tryon-admin.css – Admin interface styles

You can modify these files directly or add custom CSS to your theme to override specific styles.

Support

For support, feature requests, or bug reports, please contact us at support@wpxero.com.

Active installations0+
Weekly downloads
11-47.62%
Version1.0.1
Last updated10/2/2025
WordPress version5.6
Tested up to6.8.3
PHP version7.2
Tags
AIecommerceproduct visualizationvirtual try onwoocommerce
TryonX – Virtual Try-On for WooCommerce | Plugin0