=== ContentGen AI Product Content & Image Generator ===
Contributors: shsajalchowdhury
Tags: ai, woocommerce, product content, image generation, openai
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate compelling product descriptions, titles, and images using AI for WooCommerce products. Supports multiple AI providers.

== Description ==

AI Product Content & Image Generator is a powerful WordPress plugin that leverages artificial intelligence to create compelling product content and stunning images for your WooCommerce store. Save time and improve your product listings with AI-generated descriptions, titles, tags, and images.

**Key Features:**

* **Multiple AI Providers**: Support for OpenAI (GPT-3.5, GPT-4), Anthropic Claude, Google Gemini, and OpenRouter
* **Content Generation**: Create product titles, short descriptions, long descriptions, and tags
* **Lifestyle Image Generation**: Generate lifestyle and A+ content images based on existing product images
* **Bulk Processing**: Process up to 50 products at once
* **Customizable Tones**: Choose from professional, friendly, casual, luxury, technical, and persuasive tones
* **SEO Optimization**: Generate SEO-friendly content with relevant keywords
* **Background Processing**: Handle large batches without blocking your admin interface
* **Content Backup**: Automatically backup original content before applying AI-generated content
* **Usage Analytics**: Track API usage and generation statistics

**Supported AI Providers:**

* **OpenAI**: GPT-5.2 Turbo, GPT-4, GPT-4 Turbo, DALL-E 3
* **Anthropic Claude**: Claude 3 Haiku, Claude 3 Sonnet, Claude 3 Opus
* **Google Gemini**: Gemini Pro, Gemini Pro Vision
* **OpenRouter**: Access to multiple models including Llama 2, Claude Instant, PaLM 2

**Perfect for:**

* E-commerce store owners who want to improve product descriptions
* Marketers looking to scale content creation
* Store managers handling large product catalogs
* Anyone wanting to leverage AI for better product presentation

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ai-product-content-image-generator` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Make sure WooCommerce is installed and activated.
4. Go to AI Product Gen > Settings to configure your AI provider API keys.
5. Start generating content from AI Product Gen > Content or AI Product Gen > Images.

== Frequently Asked Questions ==

= Do I need API keys for AI providers? =

Yes, you need to obtain API keys from the AI providers you want to use (OpenAI, Anthropic, Google, or OpenRouter). The plugin doesn't include built-in AI capabilities.

= Is WooCommerce required? =

Yes, this plugin is specifically designed for WooCommerce stores and requires WooCommerce to be installed and activated.

= Can I generate content for multiple products at once? =

Yes, the bulk processing feature allows you to generate content for up to 50 products simultaneously.

= Will the plugin overwrite my existing content? =

No, the plugin will backup your original content before applying AI-generated content. You can always revert to the original content.

= What image formats are supported? =

The plugin generates images in PNG format and automatically creates WordPress media library entries.

= How does lifestyle image generation work? =

The plugin uses your existing product images as a reference to generate lifestyle and A+ content images. You need to have a product image uploaded first, then the AI will create contextual lifestyle scenes featuring your product.

= Can I customize the AI prompts? =

Yes, you can provide custom instructions and choose from different tones to customize the generated content.

== Screenshots ==

1. Dashboard overview with statistics and quick actions
2. Content generator interface with tone and provider selection
3. Image generator with style and size options
4. Bulk processing interface for handling multiple products
5. Settings page for configuring AI providers
6. Settings page background remove settings

== Changelog ==

= 1.0.0 =
* Initial release
* Support for OpenAI, Claude, Gemini, and OpenRouter
* Content generation for titles, descriptions, and tags
* Lifestyle and A+ image generation based on existing product images
* Bulk processing capabilities
* Background processing system
* Usage analytics and statistics
* Content backup and restore functionality

== Upgrade Notice ==

= 1.0.0 =
Initial release of AI Product Content & Image Generator. Install to start generating AI-powered product content and images for your WooCommerce store.

== External Services ==

This plugin connects to external third-party services to provide AI-powered content generation and image processing functionality. Below is a detailed disclosure of all external services used:

**AI Content Generation Services:**

The plugin sends product information (titles, descriptions, categories, attributes) to AI providers for content generation:

* **OpenAI** - Used for generating product descriptions, titles, tags, and images
  - Data sent: Product name, category, attributes, existing descriptions
  - When: When you click "Generate Content" or "Generate Images"
  - Service URL: https://api.openai.com/
  - Privacy Policy: https://openai.com/privacy/
  - Terms of Service: https://openai.com/policies/terms-of-use

* **Anthropic Claude** - Used for generating product descriptions and content
  - Data sent: Product name, category, attributes, existing descriptions
  - When: When you select Claude as provider and generate content
  - Service URL: https://api.anthropic.com/
  - Privacy Policy: https://www.anthropic.com/privacy
  - Terms of Service: https://www.anthropic.com/legal/consumer-terms

* **Google Gemini** - Used for generating product descriptions and content
  - Data sent: Product name, category, attributes, existing descriptions
  - When: When you select Gemini as provider and generate content
  - Service URL: https://generativelanguage.googleapis.com/
  - Privacy Policy: https://policies.google.com/privacy
  - Terms of Service: https://policies.google.com/terms

* **OpenRouter** - Provides access to multiple AI models for content generation
  - Data sent: Product name, category, attributes, existing descriptions
  - When: When you select OpenRouter as provider and generate content
  - Service URL: https://openrouter.ai/api/
  - Privacy Policy: https://openrouter.ai/privacy
  - Terms of Service: https://openrouter.ai/terms

**Image Processing Services:**

* **Remove.bg** - Used for professional background removal from product images
  - Data sent: Product images (as base64 encoded data)
  - When: When you use the "Remove Background" feature
  - Service URL: https://api.remove.bg/
  - Privacy Policy: https://www.remove.bg/privacy
  - Terms of Service: https://www.remove.bg/terms

**Important Notes:**

* All external service connections require you to provide your own API keys
* No data is sent to external services without your explicit action (clicking generate buttons)
* Generated content and processed images are stored locally in your WordPress database
* The plugin does not share your data with any parties other than the services listed above
* You can review each service's privacy policy and terms before using them
* API keys are stored securely in your WordPress database

== Privacy Policy ==

This plugin sends product data to third-party AI services only when you explicitly request content or image generation. All generated content is stored locally in your WordPress database. The plugin does not collect, store, or transmit any user data to the plugin developers.

== Support ==

For support, feature requests, or bug reports, please visit our GitHub repository or contact us through the WordPress.org support forums.


== External Services ==

This plugin connects to external third-party services to provide AI-powered content generation and image processing capabilities. Below is a detailed explanation of what services are used, what data is sent, and when:

**AI Content Generation Services**

The plugin uses AI services to generate product descriptions, titles, and tags. You must configure at least one AI provider API key in the plugin settings.

1. **OpenAI (https://openai.com)**
   - **What it's used for**: Generating product content and images using GPT and DALL-E models
   - **Data sent**: Product name, category, attributes, existing descriptions (when generating content); text prompts and product images (when generating lifestyle images)
   - **When**: Every time you generate content or images using OpenAI as the provider
   - **Terms of Service**: https://openai.com/policies/terms-of-use
   - **Privacy Policy**: https://openai.com/privacy/

2. **Anthropic Claude (https://www.anthropic.com)**
   - **What it's used for**: Generating product content using Claude AI models
   - **Data sent**: Product name, category, attributes, existing descriptions
   - **When**: Every time you generate content using Claude as the provider
   - **Terms of Service**: https://www.anthropic.com/legal/consumer-terms
   - **Privacy Policy**: https://www.anthropic.com/privacy

3. **Google Gemini (https://ai.google.dev)**
   - **What it's used for**: Generating product content using Gemini AI models
   - **Data sent**: Product name, category, attributes, existing descriptions
   - **When**: Every time you generate content using Gemini as the provider
   - **Terms of Service**: https://ai.google.dev/terms
   - **Privacy Policy**: https://policies.google.com/privacy

4. **OpenRouter (https://openrouter.ai)**
   - **What it's used for**: Accessing multiple AI models through a unified API
   - **Data sent**: Product name, category, attributes, existing descriptions
   - **When**: Every time you generate content using OpenRouter as the provider
   - **Terms of Service**: https://openrouter.ai/terms
   - **Privacy Policy**: https://openrouter.ai/privacy

**Image Processing Services**

5. **remove.bg (https://www.remove.bg)**
   - **What it's used for**: Removing backgrounds from product images
   - **Data sent**: Product image files (JPEG, PNG, or other supported formats)
   - **When**: Only when you use the "Remove Background" feature AND have configured a remove.bg API key in settings
   - **Terms of Service**: https://www.remove.bg/terms
   - **Privacy Policy**: https://www.remove.bg/privacy
   - **Note**: This service is optional. If no API key is configured, the plugin will use basic local image processing instead.

**Important Notes:**
- All external service connections require you to obtain and configure API keys
- No data is sent to external services without your explicit action (clicking generate/process buttons)
- You can choose which AI provider to use for each generation request
- The remove.bg service is completely optional and only used when explicitly requested
- All generated content is stored locally in your WordPress database
- The plugin does not share your data with any services other than those listed above
