=== AI Try-On Assistant ===
Contributors: eric0324
Tags: woocommerce, ai, virtual-try-on, gemini, e-commerce
Requires at least: 6.8
Tested up to: 6.8.2
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A WooCommerce AI try-on assistant that allows customers to try on clothes, hairstyles, and makeup using Google Gemini AI.

== Description ==

A WooCommerce AI try-on assistant that allows customers to try on clothes, hairstyles, and makeup using Google Gemini AI.

This plugin enables customers to virtually try on products before making a purchase, using advanced AI technology powered by Google Gemini.

== Features ==

* Clothing Try-On - Let customers virtually try on clothes
* Hairstyle Try-On - Let customers experiment with different hairstyles
* Makeup Try-On - Let customers preview makeup effects
* AI-Powered - Uses Google Gemini AI to generate realistic try-on effects
* Responsive Design - Supports desktop and mobile devices
* Secure & Reliable - Follows WordPress security standards

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ai-try-on-assistant` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the AI Try-On->Settings screen to configure the plugin
4. Get your Google Gemini API key from https://aistudio.google.com/app/apikey
5. Configure which products support try-on in the product edit pages

== Requirements ==

* WordPress 5.0 or higher
* WooCommerce 6.0 or higher
* PHP 8.0 or higher
* Google Gemini API Key

## External Services

This plugin connects to Google's Gemini AI API to provide AI-powered virtual try-on functionality. The service is essential for generating realistic try-on images that show how clothing, hairstyles, or makeup would look on customers.

### What the service is and what it is used for:
Google Gemini AI is an artificial intelligence service that processes images to generate virtual try-on effects. It analyzes a user's photo along with a product image to create a realistic visualization of how the product would look when worn or applied.

### What data is sent and when:
- User-uploaded photos (converted to base64 format) - sent when a customer initiates a try-on
- Product images from your WooCommerce store (converted to base64 format) - sent with each try-on request  
- Try-on type specification (clothes, hair, makeup) - sent with each request
- AI processing prompts and configuration parameters - sent with each request

Data is only transmitted when a customer actively uses the virtual try-on feature. No data is sent without explicit user interaction.

### Service provider details:
This service is provided by Google LLC.
- [Terms of Service](https://policies.google.com/terms)
- [Privacy Policy](https://policies.google.com/privacy)  
- [Google AI/Gemini API Terms](https://ai.google.dev/terms)

### API endpoint used:
`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-image-preview:generateContent`

### Important notes:
- You must obtain your own Google Gemini API key to use this plugin
- Usage is subject to Google's API quotas and pricing
- Images are processed by Google's servers but are not stored permanently by this plugin
- Users should be aware that their photos will be processed by Google's AI systems when using the try-on feature

== Changelog ==

= 1.0.0 =
* Initial release
* Support clothing, hairstyle, and makeup try-on
* Google Gemini AI integration
* Responsive design
* Multi-language support

== License ==

This plugin is licensed under GPLv2 or later.