=== AI Content Wizard Lite — SEO Content & Planner for OpenAI, Claude, DeepSeek & Gemini ===
Contributors: ksanyok
Donate link: https://aiwizard.buyreadysite.com/
Tags: content creation, SEO, AI, ChatGPT, OpenAI
Requires at least: 5.5
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Advanced AI-driven content creation and SEO optimization tool (Lite version). Some features are disabled and available only in the Pro version.

== Description ==

AI Content Wizard Lite by BuyReadySite.com is the streamlined version of our advanced AI-driven content creation and SEO optimization suite. It now blends OpenAI, Claude, DeepSeek, Gemini Flash, and curated Google image generation (via the “Nano Banana” Imagen profile) into a single WordPress-native studio. Generate SEO-ready drafts, pull topic inspiration, and keep meta data in sync without leaving wp-admin. Lite focuses on the most-requested workflows while keeping the Pro automations only a click away.

Key advantages of the Lite release:
- Generate SEO-optimized articles powered by OpenAI GPT-5-mini or GPT-4 Turbo.
- Keyword de-duplication with smart retries and topic-aware prompts.
- Real-time progress tracking with resumable jobs and timeout diagnostics.
- Contextual tips, cost estimation, and guardrails that mirror the Pro UI refresh.
- Enjoy the polished experience of version 2.5 while upgrading anytime for advanced queues, longreads, and expanded providers.

= What’s new in 2.5 =
- Added multi-provider auto-detection so Lite surfaces the same “Pro glass” UI while still routing text to GPT-5-mini, GPT-4 Turbo, Claude 3 Haiku, and DeepSeek R1 (where available).
- Integrated the Google Imagen 3 pipeline under the playful alias **“Nano Banana”** for image prompts, complementing GPT-Image-1 and DALL·E 3.
- Refined dashboards, tooltips, and hero stats to better communicate token usage and recent drafts even when advanced columns are absent.
- Hardened keyword generation retries and removed noisy logs to keep Lite deployments clean on shared hosting.

> Want cross-channel planners, automation queues, and every provider? Spin up the Pro trial (5 days, no cards) directly from the Lite banner.

### 🚀 Expanded AI Content Wizard Overview

AI Content Wizard integrates seamlessly with WordPress to turn ideas into fully optimized, publish-ready articles—no outsourcing needed. Harness AI to craft titles, meta descriptions, keywords, structured paragraphs, and link blocks that rank and convert.

**Compatible with:** Yoast SEO, Rank Math, All in One SEO Pack, SEOPress, WooCommerce, and multilingual plugins (WPML/Polylang).

**Core Lite & Pro Features:**
- **Automatic Title & Description** – AI-crafted SEO title + meta description using your preferred text model.
- **Unique Keyword Suggestion** – Finds a keyword not used previously on your site, with collision retries.
- **Context-Aware Content** – Analyzes existing posts and WooCommerce products to maintain consistency.
- **Internal & External Linking** – Smart related-post/product linking + authoritative outbound links with broken-link checks.
- **Flexible Formats** – Article, recipe, review, interview, news, listicle, FAQ, and more.
- **Audience & Tone Presets** – Specify target persona, originality level, and recommended length.
- **WooCommerce Integration** – Auto-inject product cards or upsell bundles while drafting blog posts.
- **Quick Setup** – Guided wizard for API keys, diagnostics for timeouts, and resumable jobs.

### 🌟 Pro-Only Power-Ups
1. **Regional & Audience Targeting** – Tailor content to locales, channels, or demographics.
2. **Advanced Image Handling** – Insert multi-size assets, add watermarks, or pick “Nano Banana” for playful Imagen runs.
3. **Category-Level Defaults** – Build presets per taxonomy, including custom affiliate disclosures.
4. **Telegram & Streams** – Auto-send teaser announcements or moderate feeds (RSS/Telegram) into drafts.
5. **Content Planner & Scheduler** – Create multi-week plans with ownership, due dates, and auto-scheduling.
6. **Expert Longread Studio** – 20–100k character flows with TOC, fact cards, and section rewrites.
7. **Advanced AI & Live Research** – Web-enabled Claude, DeepSeek, Gemini, and Grok connectors for factual refreshes.
8. **Expanded Image Models** – GPT-Image-1, DALL·E 3, Midjourney-style SDXL variants, Ideogram, and Google Imagen (Nano Banana persona).


### 🤖 Supported AI Models

<table>
<thead>
<tr><th>Version</th><th>Text Models</th></tr>
</thead>
<tbody>
<tr><td><strong>Lite</strong></td><td>GPT-5-mini · GPT-4 Turbo · GPT-4o mini · Claude 3 Haiku · DeepSeek R1-lite</td></tr>
<tr><td><strong>Pro</strong></td><td>All Lite models + Claude 3.5 Sonnet · DeepSeek V3 · Gemini 2.0 Flash · Grok 3 beta · custom OpenAI endpoints</td></tr>
</tbody>
</table>

<table>
<thead>
<tr><th>Version</th><th>Image Models</th></tr>
</thead>
<tbody>
<tr><td><strong>Lite</strong></td><td>DALL·E (standard) · GPT-Image-1 preview</td></tr>
<tr><td><strong>Pro</strong></td><td>DALL·E 3 · GPT-Image-1 full · Stable Diffusion SDXL/Ultra · Ideogram · <strong>Google Imagen 3 (“Nano Banana”)</strong> · Midjourney-compatible webhooks</td></tr>
</tbody>
</table>

### ⚖️ Free vs Pro Comparison

<table>
<thead>
<tr><th>Feature</th><th>Lite</th><th>Pro</th></tr>
</thead>
<tbody>
<tr><td>Title &amp; Meta Description Generation</td><td>✅</td><td>✅</td></tr>
<tr><td>Keyword Suggestions with Collision Avoidance</td><td>✅</td><td>✅</td></tr>
<tr><td>Contextual Internal &amp; External Linking</td><td>✅</td><td>✅</td></tr>
<tr><td>GPT-5-mini / GPT-4 Turbo routing</td><td>✅</td><td>✅</td></tr>
<tr><td>DALL·E + GPT-Image previews</td><td>✅</td><td>✅</td></tr>
<tr><td>WooCommerce Product Linking</td><td>✅</td><td>✅</td></tr>
<tr><td>Diagnostics &amp; Resume Jobs</td><td>✅</td><td>✅</td></tr>
<tr><td>Regional Targeting</td><td>❌</td><td>✅</td></tr>
<tr><td>Background Generation Queue</td><td>❌</td><td>✅</td></tr>
<tr><td>Planner, Streams &amp; Schedulers</td><td>❌</td><td>✅</td></tr>
<tr><td>“Nano Banana” (Google Imagen) + SDXL/Ideogram</td><td>❌</td><td>✅</td></tr>
<tr><td>Longread Studio (30–100k chars)</td><td>❌</td><td>✅</td></tr>
<tr><td>Advanced live-research providers</td><td>❌</td><td>✅</td></tr>
</tbody>
</table>


### 🔑 Why Choose AI Content Wizard?

- **Time-saving automation**: Automate planning, drafting, linking and publishing in one workflow.
- **SEO-first approach**: Built-in best practices for titles, meta descriptions, keywords, and link structures.
- **Unlimited creativity**: Define style, tone, visuals and region-specific targeting to match your brand voice.
- **Scalable solutions**: Category-level presets, multi-site support, and team collaboration features.
- **Continuous innovation**: Regular updates with new AI models, features, and dedicated technical support.


Note: On deactivation, you can optionally delete the plugin-created database tables and settings.

== Installation ==

1. Upload the `ai-content-wizard-lite` folder to your `/wp-content/plugins/` directory.  
2. Activate the plugin through the 'Plugins' menu in WordPress.  
3. Configure the plugin via the AI Content Wizard Lite menu in your WordPress admin panel.  
4. Some features are disabled in this Lite version. Upgrade to Pro to access full functionality.

== Screenshots ==
1. **Main Plugin Page** – Overview of the plugin’s dashboard and navigation.  
2. **API Settings Page** – Interface for managing your OpenAI API key and related API settings.  
3. **General Settings Page** – Configure general options and preferences.  
4. **Setup Wizard Interface** – Step-by-step setup wizard for initial configuration.  
5. **Single Post Generation Interface** – Simple, intuitive interface for generating individual articles.  
6. **Logs Interface** – View and filter logs for content generation and system events.  
7. **Statistics Interface** – Analyze plugin usage statistics and performance metrics.

== Video Demonstration ==

1. **Create a Winning Content Plan with AI Content Wizard: See the Magic in Action! ✨**  
   https://www.youtube.com/channel/UCPB8m7BgaexcZh0Vr49ViYA/videos citeturn1search0

2. **AI Content Wizard: Революция в Создании Контента для Ваших Сайтов**  
   https://www.youtube.com/watch?v=l4C3g8-HMXk citeturn1search1

== FAQ ==

= What is AI Content Wizard Lite? =  
It is the streamlined version of AI Content Wizard, offering essential AI-driven content generation and SEO optimization features powered by OpenAI. Advanced features are available only in the Pro version.

= Does the plugin support GPT-5 models? =
Yes. As of version 2.5, AI Content Wizard Lite ships with **gpt-5-mini**, GPT-4 Turbo, GPT-4o mini, and Claude 3 Haiku as selectable defaults. Pro unlocks Gemini Flash, Grok Beta, and custom OpenAI routes.

= How do I upgrade to the Pro version? =  
Visit our [Buy Pro](https://aiwizard.buyreadysite.com/) page to purchase a license. We also offer a free 5-day trial so you can experience the full capabilities before upgrading.

= Is an API key required? =  
Yes. You need at least one API key (OpenAI by default). Pro users can optionally add DeepSeek, Anthropic, Google AI Studio, or “Nano Banana” Imagen tokens. Obtain your OpenAI key at [OpenAI's API page](https://openai.com/api/).

= What data is sent to external services? =  
See “External Services” below.

= Can I remove the plugin data on deactivation? =  
Yes. You can delete the plugin-created database tables and settings when deactivating the plugin.

= Is this plugin GDPR compliant? =  
Our plugin follows WordPress guidelines and respects user data. Please review our documentation for detailed GDPR compliance information.

== External Services ==

This plugin connects to the following third-party APIs. All calls occur only when you initiate content generation, statistics, or model retrieval:

1. **OpenAI API**  
   - **Purpose**: Text generation (chat completions) and image generation.  
   - **Data sent**: Your API key in header; prompts and settings in request body.  
   - **When**: On-demand, when generating content or retrieving available models.  
   - **Terms & Privacy**: https://openai.com/policies/terms-of-use, https://openai.com/policies/privacy-policy

2. **Bing News Search API**  
   - **Purpose**: Fetch related news articles for content suggestions.  
   - **Data sent**: Query string only.  
   - **When**: When Lite’s “related news” feature is used.  
   - **Terms & Privacy**: https://docs.microsoft.com/en-us/legal/cognitive-services-terms

3. **Google Custom Search JSON API**  
   - **Purpose**: Fetch web results for additional content references.  
   - **Data sent**: Query string, CSE ID, API key.  
   - **When**: When Lite’s “related web search” feature is used.  
   - **Terms & Privacy**: https://developers.google.com/custom-search/terms

4. **Telegram Bot API** (optional)  
   - **Purpose**: Send deactivation feedback to a configured Telegram chat.  
   - **Data sent**: Your bot token, chat ID, feedback message.  
   - **When**: Only if you enable Telegram feedback in settings.  
   - **Terms & Privacy**: https://core.telegram.org/bots/api#terms-of-service

5. **Google Imagen 3 (“Nano Banana”)** (Pro)  
   - **Purpose**: Generate playful or photorealistic featured images.  
   - **Data sent**: Prompt text, requested styles, and authentication token from your Google AI Studio project.  
   - **When**: When Pro users pick the “Nano Banana” style in the image card selector.  
   - **Terms & Privacy**: https://ai.google.dev/terms


== Changelog ==

= 2.5 - 2025-11-24 =
* New: Surface GPT-5-mini, GPT-4 Turbo, Claude 3 Haiku, and DeepSeek R1-lite under the refreshed Lite modal, matching the Pro selector.
* New: Added Google Imagen 3 via the **“Nano Banana”** alias to the Pro image model carousel, alongside GPT-Image-1 previews in Lite.
* New: WordPress.org-ready readme with clearer feature tables, translator notes, and external-service disclosures.
* Improved: Dashboard stats gracefully handle missing token columns while still showing totals and recent drafts.
* Improved: Keyword generation retries are logged silently to keep shared hosting `debug.log` files clean.
* Improved: RSS cards and gradients stay in sync with the Pro hero layout for a unified experience.
* Fixed: POT build warnings by documenting all placeholders for translators.

= 2.1 - 2025-08-29 =
* Fixed bugs and improved overall stability.
* Optimized performance and reduced resource usage in core workflows.

= 2.0 - 2025-08-08 =
* New: Added **gpt-5-mini** text model support (intonation-aware, newest and most capable in its class).
* Improved: Cost calculator updated to include gpt-5-mini pricing.
* UX: Model picker now shows gpt-5-mini with tooltip pricing info.
* Docs: Description and FAQ updated to reflect new model support.

= 1.5 - 2025-08-03 =
* Improved: Enhanced usability on the single-post generation page with contextual hints and pre-submit checks.
* Added: Inline guidance and tips for required fields to streamline article generation.
* Improved: Redesigned system check diagnostics for clearer host environment feedback.

= 1.3.1 - 2025-05-17 =
* Fixed minor bugs.
* Updated plugin icon.

= 1.3 - 2025-05-11 =
* Fixed syntax errors in the keyword generation function.
* Removed bulk $_POST processing; implemented selective field sanitization.
* Improved security by adding validation and escaping for input and output data.

= 1.2 - 2025-04-27 =
* Fixed undefined constant and require_once path errors.
* Addressed security warnings: all input is now sanitized, validated, and escaped.
* Renamed functions and prefixes to unique `aicwli_` to prevent conflicts.
* Optimized asset loading: scripts and styles enqueued via `AICWLI_PLUGIN_*` constants.
* Consolidated DOMContentLoaded listeners and added AJAX debug logging.

= 1.1 - 2025-04-23 =  
* Fixed various technical issues and code warnings for improved security, performance, and WordPress coding standards compliance.  
* Updated “Tested up to” and “Requires PHP” values.  
* Documented all external API integrations in “External Services” section.  
* Enqueued all assets correctly and removed direct remote file calls.  
* Sanitized, validated, and escaped all inputs and outputs.  
* Replaced manual <img> tags with WordPress image functions where appropriate.  
* Refactored WP_Query usages to avoid exclusionary parameters and optimized tax queries.  
* Corrected SQL calls to use prepared statements.  
* Added missing nonce and permission checks on all forms and AJAX endpoints.  

= 1.0 - 2025-03-27 =  
* Initial release of AI Content Wizard Lite.  
* Basic AI-driven content generation and SEO optimization features.  
* Integration with OpenAI for text and image generation.  
* Real-time progress tracking during article generation.  
* Basic content analysis and keyword suggestion functionalities.  
* Advanced features (enhanced model selection, image generation, detailed SEO tools) disabled in Lite.  
* External services documented.  
* Corrected “Tested up to” and “Requires PHP” values.  
* Option to delete plugin-created tables upon deactivation.

== Upgrade Notice ==

= 2.5 =
Brings the refreshed 2.5 workspace with GPT-5-mini defaults, the Nano Banana image provider, quieter logs, and improved translator notes.

= 2.0 =
Adds support for the gpt-5-mini text model and updates cost calculations. Update to leverage higher quality, more natural outputs.

= 1.5 =
Upgrade to version 1.5 of AI Content Wizard Lite for:
* Improved single-post generation usability with inline hints and pre-submit checks.
* Redesigned and overhauled system diagnostics UI for better clarity.

Upgrade to AI Content Wizard Pro to unlock advanced features including multiple AI models, enhanced image generation, and comprehensive SEO tools. Enjoy a free 5-day trial to experience the full power of our AI-driven content creation suite.

== Additional Information ==

For documentation, support, and purchasing options, please visit:  
* [Official Website](https://aiwizard.buyreadysite.com/)  
* [Documentation](https://aiwizard.buyreadysite.com/docs)  
* [Support](https://aiwizard.buyreadysite.com/support)  
* [Buy Pro](https://aiwizard.buyreadysite.com/)

Thank you for using AI Content Wizard Lite by BuyReadySite.com!  