=== AI Puffer – Your AI engine for WordPress (formerly AI Power) ===
Contributors: senols
Tags: ai, chatbot, gpt, claude, openai
Requires at least: 5.0.0
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 2.3.90
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Your AI engine for WordPress. Chat, write, automate, and generate — all in one workspace.

== Description ==

**AI Power (AIP)** is the **complete AI plugin for WordPress** — a full set of **artificial intelligence tools** to transform your site. From **AI chatbot** and **content generation** to **image creation, automation, and AI training** on your own data, AIP gives you everything in one place, right inside your WordPress dashboard.

Our **"Bring Your Own API Key"** model lets you connect to top AI providers (OpenAI, Google Gemini, Microsoft Azure, OpenRouter, DeepSeek and Ollama). No hidden credits — you use your own account and control your costs.

[📖 Documentation & Guides](https://docs.aipower.org/)  

### Why Choose AIP?

* **All-in-One** – Chatbot, AI Writer, AI Forms, Image Generator, Automation, WooCommerce AI tools, and more.
* **Train on Your Data** – Build your own **AI knowledge base** from posts, pages, products, PDFs, or files.
* **Voice + Chat** – Real-time voice agents and voice input for interactive AI experiences.
* **WooCommerce AI** – Generate product descriptions, titles, SEO tags, and even sell AI tokens to customers.
* **Fast & Flexible** – Works with OpenAI GPT-5/4o, Google Gemini & Imagen, Azure, Replicate, and others.
* **Secure** – 100% hosted on your WordPress site. Your data stays with you.

---

### 🚀 Key Features

#### 🤖 AI Chatbot
- Create custom **AI chatbots** for WordPress or any external site (embed with shortcode or HTML).
- Train bots on your **own website content** or external files.
- Enable **web search** (OpenAI or Google) for real-time answers.
- Add **voice input & playback**, triggers, and usage limits.

#### ✍️ AI Content Generator
- Generate **high-quality articles, blog posts, or product descriptions**.
- Input ideas via text, CSV, RSS feeds, or URLs.
- SEO-friendly output with custom templates and placeholders.

#### 📝 AI Forms
- Drag-and-drop **AI-powered forms** to process user input into useful outputs — from outlines to support replies.
- Connect forms to **web search** and your AI training data.

#### ⚙️ AI Automation Engine
- Schedule recurring or one-time AI tasks.
- Automate content creation, comment replies, or vector indexing.

#### 🎨 AI Image Generator
- Convert text to image with **OpenAI DALL·E 3, GPT-4o, Google Imagen, Replicate models**.
- Pull free stock images from **Pexels** or **Pixabay**.
- Works in posts, tasks, chatbot, and forms.

#### 📚 AI Training / Vector Database
- Build a **knowledge base** from your posts, products, PDFs, or uploaded files.
- Supports **OpenAI Vector Stores**, **Pinecone**, and **Qdrant**.
- Use in Chatbot or Forms for **context-aware AI answers**.

#### 🛒 WooCommerce AI Tools
- Bulk-generate or enhance product descriptions, titles, and tags.
- Sell **AI tokens** to customers via WooCommerce.

#### 🛠 Content Assistant
- Bulk-enhance existing posts, generate SEO titles/excerpts.
- Works in Block Editor, Classic Editor, or directly from the post list.

#### 🔌 REST API Access
- Call text, image, embedding, and chatbot functions programmatically from other apps.

---

== Installation ==

1. Install via Plugins → Add New, or upload to `/wp-content/plugins/gpt3-ai-content-generator`.
2. Activate via the **Plugins** menu.
3. Go to **AIP → Dashboard** and enter your API key for at least one provider (e.g., OpenAI).
4. Click **Sync Models** to load available AI models.
5. Explore modules (Chat, Write, Automate, etc.) and start using AI features.

---

== Frequently Asked Questions ==

= Do I need to buy credits from you? =  
No. AIP works with your **own API key** from AI providers like OpenAI, Google Gemini, etc. You pay them directly for usage.

= Which AI providers and models are supported? =  
We support **OpenAI** (GPT-5, GPT-4o, GPT-3.5, DALL·E 3, etc.), **Google** (Gemini, Imagen), **Microsoft Azure OpenAI**, **OpenRouter**, **DeepSeek**, **Ollama** and **Replicate**.

= Can I train the AI on my own content? =  
Yes. Use the **Train** module to index posts, pages, WooCommerce products, PDFs, or uploaded files into a **vector store**. Then link that knowledge base to your Chatbot or Forms.

= How do I limit AI usage for visitors or members? =  
The **Token Management** add-on lets you set role-based or guest usage limits for Chat, Forms, Images, etc. Limits can reset daily, weekly, monthly, or never.

= Can I monetize my AI tools? =  
Yes. Sell **token packages** via WooCommerce. Tokens are consumed when users access AI features.

= What makes AIP different from other AI plugins? =  
AIP is **all-in-one** — instead of installing separate plugins for chatbots, content writing, AI forms, and WooCommerce AI, you get them all in one optimized toolkit with centralized settings.

= Is AIP compatible with GPT-5 and other latest models? =  
Yes. AIP supports GPT-5, GPT-4o, GPT-4 Turbo, Google Gemini 1.5, Imagen 4.0, and more.

---

== Screenshots ==

1. Main dashboard with quick access to all modules.
2. Add-ons page for enabling/disabling features.
3. Chatbot builder with real-time preview.
4. Content Writer with single, bulk, and RSS generation.
5. Automated Tasks scheduler.
6. Drag-and-drop AI Form builder.
7. AI Image Generator interface.
8. AI Training vector store management.
9. Token Management system.
10. WooCommerce AI integration.

---

== Changelog ==

= 2.3.90 =

- **Added**: Gutenberg blocks for Chatbot, AI Forms, and Image Generator embeds.

= 2.3.89 =

- Refined Content Writer UI.
- Improved Chatbot appearance settings.
- Added new global Security settings for moderation, banned words, and banned IPs.

= 2.3.88 =

- Refined Content Writer UI.
- Improved Chatbot appearance settings.
- Added new global Security settings for moderation, banned words, and banned IPs.

= 2.3.87 =

Performance improvements.

= 2.3.86 =

Performance improvements.

= 2.3.85 =

- **New**: App integrations for Slack, HubSpot, Notion, Pipedrive, Zapier, Make, and n8n.
- **New**: Event Webhooks for chatbot, AI Forms, content generation, image generation, automated tasks, and knowledge base events.

= 2.3.84 =

- **Added**: Multi-step forms with conditional steps.

= 2.3.83 =

- **Added**: AI Forms prompt-to-form generator to draft form titles, prompt templates, and fields from a natural-language request.
- General bug fixes and performance improvements.

= 2.3.82 =

- **Added**: Ollama embedding support.
- **Added**: Ollama image analysis support.
- **Added**: New Google embedding model: `gemini-embedding-2-preview`.
- **Fixed**: Google embedding batch inputs now process all provided text items instead of only the first one.
- **Fixed**: REST embeddings `task_type` handling for Google now preserves valid uppercase task types (e.g. `RETRIEVAL_QUERY`).
- General bug fixes and performance improvements.

= 2.3.81 =

- Further performance improvements in the Chatbot module.

= 2.3.80 =

- Performance improvements in the Chatbot module.
- Added gpt-5.4 to the OpenAI recommended model list.

= 2.3.79 =

- **Fixed**: On-page chatbots no longer auto-switch to fullscreen on small screens; popup chatbots still fullscreen only when opened.

= 2.3.78 =

- **Added**: A shared Prompt Library for Content Writer, Content Assistant, and Automated Tasks.
- **Fixed**: OpenAI store lists now update right away in AI Forms and Automated Tasks.
- **Fixed**: Generated images now save correctly in Content Writer.

= 2.3.77 =

- **Fixed**: OpenRouter image selection now shows only models that can actually create images, and Content Writer/Automated Tasks no longer report image success when no image is created.
- **Fixed**: OpenRouter now correctly creates the requested number of content images in Content Writer and Automated Tasks.

= 2.3.76 =

- **Fixed**: Webhook call issue in chatbot rules.

= 2.3.75 =

- **Fixed**: Chatbot no longer sends `temperature` to unsupported OpenAI GPT-5 chat-series models (e.g., `gpt-5.2-chat-latest`).
- **Improved**: AI Forms reliability with autosave and unsaved-work protection to reduce accidental data loss.

= 2.3.74 =

- **Added**: New maintenance tools in Settings (backup/import, restore point, cache cleanup, sync all models).

= 2.3.73 =

- **Added**: Duplicate functionality for the chatbots.
- **Improved**: Redesigned Chatbot settings UI.
- **Improved**: Trigger validation now avoids blocking incomplete payload fields while rules are inactive.
- **Improved**: Admin asset cache busting now uses file modification timestamps for dashboard bundles.

= 2.3.72 =

- **Improved**: Added option to enable web search by default for chatbots.
- **Added**: Image editing support for Image Generator (OpenAI, Google, OpenRouter models).
- **Improved**: Simplified image generate/edit flow in the shortcode (`mode="generate|edit|both"` with default mode and switch).
- **Improved**: Better image upload experience for edit mode (drag & drop, preview, clear errors).
- **Improved**: One-click **Edit** from image history to reuse images without re-uploading.

= 2.3.71 =

- **Improved**: Migrated OpenRouter to the Responses API.
- **Added**: OpenRouter embeddings support in chatbot, content writer, automated task and ai forms.
- **Added**: OpenRouter web search support in chatbot and ai forms.
- **Added**: OpenRouter image analysis support in chatbot.
- **Added**: OpenRouter image generation support in chatbot, content writer, automated task and image generator module.

= 2.3.70 =

NEW!: We have a new AI provider in the house: Claude!

You can now add your Claude API key in AI Settings and use Claude directly in the plugin.

Capabilities:

- Use Claude models across supported modules, including Opus 4.6.
- Generate content and run chatbot conversations with Claude.
- Analyze images in Chatbot with Claude vision support.
- Use chatbot file uploads with Claude Files.
