=== RoidNet AI Content Generator - Automated Article Writer with 400+ AI Models & AI Images ===
Contributors: mohamadrw, freemius
Tags: ai content generator, automation, ai images, article writer, seo
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.3.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate unlimited AI articles and images. Automate your WordPress blog with 400+ models (GPT-4o, Claude, Llama) and Pexels integration.

== Description ==

**RoidNet AI Content Generator** is the most powerful **free AI content automation plugin** for WordPress. Whether you're a blogger, SEO professional, niche site builder, or agency owner, this plugin will revolutionize the way you create and publish content — including **AI-generated images** alongside every article.

🚀 **Generate Unlimited Articles for FREE** — Unlike other plugins that limit your content generation, RoidNet AI Content Generator allows you to create as many AI-powered articles as you want. There are NO hard limits on article generation in the free version.

🖼️ **Automatic HD Images — Pexels + AI Image Generation** — Every article you generate automatically includes beautiful images. Choose between royalty-free HD photos from Pexels **or generate unique AI images** tailored specifically to your content. No more searching for stock photos manually!

🤖 **Access 400+ AI Models via OpenRouter** — Connect to OpenRouter and choose from the world's best AI models including OpenAI GPT-4o, GPT-4 Turbo, Claude 3.5 Sonnet, Llama 3.1, Mistral, Gemini, and many more across 60+ providers. You're not locked into a single AI provider.

🔌 **WordPress 7.0+ Native AI Client Integration** — Seamlessly integrate with the native WordPress AI Client and Connectors API. If you are running WordPress 7.0+ with configured AI connectors, the plugin can generate keywords, articles, and images natively without requiring external API keys.

= Why This Plugin is a Game-Changer for Content Creators =

Content is the backbone of SEO. But creating high-quality, optimized content consistently is time-consuming and expensive. With **RoidNet AI Content Generator**, you can:

* **Build authority sites faster** by automating your content pipeline
* **Scale your affiliate marketing** with bulk AI-generated reviews and guides
* **Power your dropshipping blog** with SEO-rich product descriptions and articles
* **Grow your personal brand** with consistent publishing schedules
* **Support multi-language audiences** with content in 20+ languages

= 🆓 Powerful Free Features =

The free version of this plugin is incredibly powerful and includes:

* ✅ **WordPress Native AI Client Support** — Natively connect to the WordPress 7.0+ AI Client for provider-agnostic content generation
* ✅ **Unlimited AI Article Generation** — Generate as many articles as you need
* ✅ **Automatic HD Images** — Choose between Pexels stock photos or AI-generated images for every article
* ✅ **AI Image Generation** — Generate unique, on-topic images using AI directly within the plugin
* ✅ **OpenRouter AI Integration** — Access GPT-4, Claude, Llama, Gemini, and 400+ models from 60+ providers
* ✅ **Yoast SEO & Rank Math Integration** — Auto-generate meta titles and descriptions
* ✅ **Smart Internal Linking** — Automatically link to related posts on your site
* ✅ **Multi-Language Support** — Generate content in English, Arabic, Spanish, French, German, Turkish, and more
* ✅ **Scheduled Publishing** — Set up automated publishing schedules
* ✅ **Keyword Queue System** — Manage hundreds of keywords for bulk generation
* ✅ **Custom AI Instructions** — Fine-tune the AI's writing style and tone
* ✅ **Category Assignment** — Auto-assign posts to WordPress categories
* ✅ **Clean HTML Output** — Proper heading tags (H2, H3), lists, and formatting
* ✅ **AI Keyword Suggestions** — Get keyword ideas generated by AI (10/month limit)

= 💎 Pro Features for Power Users =

For users who need even more control and scalability, the Pro version unlocks:

* 🔓 **Unlimited Scheduling Slots** — Free users can schedule up to 4 posts/week; Pro users have unlimited scheduling
* 🔓 **Unlimited AI Keyword Generation** — Generate unlimited keyword suggestions with AI
* 🔓 **Priority Support** — Get faster responses from our support team

👉 **[Upgrade to Pro](https://roidnet.com/en/ai-content-generator-2/)** for unlimited features and priority support!

= Free vs Pro Comparison =

| Feature | Free | Pro |
|---------|------|-----|
| AI Article Generation | ✅ Unlimited | ✅ Unlimited |
| Pexels HD Images | ✅ Yes | ✅ Yes |
| AI Image Generation | ✅ Yes | ✅ Yes |
| OpenRouter AI Models (400+) | ✅ All Models | ✅ All Models |
| SEO Plugin Integration | ✅ Yes | ✅ Yes |
| Internal Linking | ✅ Yes | ✅ Yes |
| Multi-Language | ✅ 20+ Languages | ✅ 20+ Languages |
| Scheduling Slots | ⚠️ Up to 4/week | ✅ Unlimited |
| AI Keywords/Month | ⚠️ 10/month | ✅ Unlimited |
| Priority Support | ❌ No | ✅ Yes |

= How It Works =

1. **Install & Activate** — Install the plugin and activate it from your WordPress dashboard
2. **Configure API Keys** — Get your free API keys from OpenRouter, Pexels, and/or an AI image provider
3. **Add Keywords** — Enter the topics you want to write about
4. **Set Your Schedule** — Choose when you want articles to be published
5. **Let AI Do the Work** — The plugin generates and publishes articles automatically

= Complete SEO Automation =

This plugin doesn't just generate content — it optimizes it for search engines:

* **Meta Titles & Descriptions** — Automatically generated and pushed to Yoast SEO or Rank Math
* **Focus Keywords** — Each article is optimized around your target keyword
* **Internal Links** — Smart linking to related content on your site
* **Proper HTML Structure** — Clean code with proper heading hierarchy
* **Image Alt Tags** — All images include SEO-friendly alt text

= Multilingual Content Creation =

Reach global audiences by generating content in multiple languages:

* English, Arabic, Spanish, French, German, Italian, Portuguese, Dutch, Russian, Turkish, Japanese, Korean, Chinese, and more!

= Who Is This Plugin For? =

* **Bloggers** who want to publish more frequently without spending hours writing
* **SEO Agencies** managing multiple client websites
* **Affiliate Marketers** building niche review sites
* **eCommerce Store Owners** who need product descriptions and blog content
* **Content Marketers** looking to scale their content production
* **Digital Publishers** running news or magazine-style websites

= API Requirements =

To use this plugin, you'll need:

* **WordPress 7.0+ Native AI Client** (Optional/Alternative) — If your WordPress site has configured AI connectors, the plugin can use them directly without external API keys.
* **OpenRouter API Key** (Alternative/Default) — Get it free at [openrouter.ai/keys](https://openrouter.ai/keys) if not using the WordPress Native AI Client.
* **Pexels API Key** (Optional) — Get it free at [pexels.com/api](https://www.pexels.com/api/)
* **AI Image Generation** (Optional) — Supported natively via WP AI Client or via OpenRouter image models for generating unique AI-powered images for your articles.

Both services offer generous free tiers, making this plugin truly free to use for most users.

= Privacy & Data Handling =

We take your privacy seriously. This plugin:

* Does NOT store your content on our servers
* Does NOT share your data with third parties (except the APIs you configure)
* Processes everything through your WordPress installation
* Fully complies with WordPress.org plugin guidelines

== Installation ==

1. Upload the `roidnet-ai-content-generator` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to 'AI Content' in your WordPress admin sidebar
4. Go to Settings and enter your API keys
5. Start adding keywords and creating your publishing schedule!

= Quick Start Guide =

After activation, follow these steps:

1. **Get Your OpenRouter API Key**: Visit [openrouter.ai](https://openrouter.ai), create an account, and generate your API key
2. **Get Your Pexels API Key (Optional)**: Visit [pexels.com/api](https://www.pexels.com/api/) for free HD images
3. **Configure Settings**: Enter your API keys in the plugin settings page
4. **Add Keywords**: Go to the Keywords tab and add topics you want to write about
5. **Create a Schedule**: Set up your publishing schedule in the Schedules tab
6. **Relax**: The plugin will automatically generate and publish content!

== Frequently Asked Questions ==

= Is this plugin really free? =

Yes! The core functionality is completely free. You can generate unlimited AI articles with Pexels images at no cost. The Pro version adds extra scheduling flexibility and unlimited AI keyword suggestions.

= What AI models can I use? =

All 400+ models available through OpenRouter, including OpenAI GPT-4, GPT-4o, GPT-4 Turbo, Claude 3.5 Sonnet, Claude 3 Opus, Llama 3.1, Mistral, Gemini, and hundreds more from 60+ providers.

= Can the plugin generate AI images for my articles? =

Yes! In addition to fetching royalty-free photos from Pexels, the plugin now supports AI image generation. Every article can include a unique, AI-generated image that perfectly matches your content topic.

= Do I need to pay for AI API usage? =

OpenRouter offers pay-as-you-go pricing for AI models. Many models have very low costs, and some are free. The average cost per article is typically just a few cents.

= Are the Pexels images free to use? =

Yes! All images from Pexels are royalty-free and can be used for commercial purposes. The plugin automatically credits Pexels as required by their terms of service.

= Will the content be unique? =

Yes, every article is generated fresh by the AI based on your keywords. The plugin also includes duplicate-checking functionality.

= Does it work with my theme? =

Yes! The plugin generates standard WordPress posts with clean HTML that works with any theme or page builder.

= Can I edit articles before publishing? =

Absolutely! You can set articles to save as drafts instead of publishing automatically. This lets you review and edit before going live.

= What languages are supported? =

The plugin supports 20+ languages including English, Arabic, Spanish, French, German, Italian, Portuguese, Dutch, Russian, Turkish, Japanese, Korean, Chinese, Hindi, Vietnamese, Thai, Polish, Swedish, Norwegian, and Danish.

= Is there a limit on article generation? =

No! The free version allows unlimited article generation. The only limits are on scheduling slots (4/week) and AI keyword suggestions (10/month).

== Screenshots ==

1. **Dashboard** — Overview of your content generation status with quick actions
2. **Keywords Management** — Add, manage, and track your keyword queue
3. **Article Generation Settings** — Configure AI models, languages, and content options
4. **Scheduling System** — Set up automated publishing schedules
5. **Settings Page** — Configure API keys and plugin options
6. **Generated Article Preview** — See how your AI-generated content looks
7. **SEO Integration** — Automatic meta data for Yoast SEO and Rank Math

== Changelog ==

= 1.3.2 =
* **Fix:** Resolved translation category mapping issue where translated keywords were assigned the source language category ID instead of the translated target category ID. Integrated Polylang (`pll_get_term`) and WPML filters to automatically look up and map category IDs dynamically.

= 1.3.1 =
* **Fix:** Resolved Polylang compatibility critical error `PLL()->model->get_languages()` by using the official public API `pll_languages_list()`.
* **Fix:** Corrected Select2 category dropdown option filtering in Add and Generate Keyword modals.
* **Fix:** Added automatic source language exclusion for target translation dropdowns (individual and bulk).
* **Fix:** Added browser assets caching bypass using `filemtime` version parameters.
* **Feature:** Added bulk content generation action support in the keywords list table.

= 1.3.0 =
* **Feature:** Added AI Bulk Translation support for keywords queue to easily translate all/multiple keywords to all active languages or a specific target language at once.
* **Feature:** Added visual Translation Grid/Status badges to the Keywords Table showing existing translation statuses (Completed, Pending, Failed, Processing) and "+" badge links to quickly add missing translations.
* **Feature:** Added Queue Filtering by Language in the Keywords Queue list table.
* **Optimization:** Modified scheduler and buffer manager to treat sibling translations as a single logical slot (unified draft counting & parent-first generation order) to prevent translations from filling up the buffer queue.
* **Feature:** Added dynamic multilingual keyword queue management and translation linking.
* **Feature:** Added AI-powered SEO translation action for keywords in the queue.
* **Feature:** Automated linking of translated articles generated via Polylang or WPML regardless of the generation order.

= 1.2.9 =
* **Feature:** Added native WordPress 7.0+ AI Client support for images.
* **Fix:** Resolved OpenRouter image generation parsing error (images were failing to download due to api response structure changes).
* **Fix:** Replaced deprecated flux image generation model with google/gemini-2.5-flash-image to ensure stable out-of-the-box performance.

= 1.2.8 =
* Fix duplicate function declaration fatal error during Pro version activation beside Free version.

= 1.2.7 =
* Automatic upgrade flow adjustments and basename logic fix.

= 1.2.6 =
* Compliance improvements and clean-up of Pro files from the free version.

= 1.2.5 =
* Minor improvements and updates.

= 1.2.4 =
* **Feature:** Added manual license key activation form in Settings > License tab for free version users.
* **Fix:** License tab now displays as an internal tab instead of redirecting away from settings.
* **Fix:** Free version users can now enter a license key directly without needing the premium opt-in screen.

= 1.2.3 =
* Fix: Resolved license tab redirection/reconnect URL logic for unregistered users.

= 1.2.2 =
* **Feature:** Added AI Image Generation support (FLUX, Recraft, Grok Imagine).
* **Feature:** Integrated with native WordPress 7.0+ AI Client / Connectors API.
* **Feature:** Full multilingual compatibility with Polylang and WPML.
* **Improvement:** Upgraded Freemius SDK to 2.13.1 for enhanced security and stability.
* **Fix:** Resolved license activation screen visibility and redirect loops.
* **Fix:** Restored missing admin submenus (Keywords, Schedules, Settings) for unregistered users.

= 1.2.1 =
* **Feature:** Added Polylang and WPML multilingual integration to set generated post and tag languages programmatically

= 1.2.0 =
* **Feature:** Added AI Image Generation — generate unique AI images for every article
* **Feature:** Added integration with the new WordPress 7.0 Native AI Client (WP AI Client & Connectors API)
* **Improvement:** Expanded OpenRouter support to 400+ AI models from 60+ providers
* **Improvement:** Fully tested and compatible up to WordPress 7.0

= 1.1.0 =
* **Improvement:** Refined Pro feature UI for better visibility
* **Fix:** Fixed scheduling slot limit logic for free users
* **Fix:** Resolved browser caching issues with strict versioning

= 1.0.7 =
* **Feature:** Official WordPress.org Plugin Directory release
* **Improvement:** Enhanced compatibility with latest WordPress 6.7
* **Improvement:** Optimized codebase for WordPress.org compliance
* **Fix:** Various bug fixes and performance improvements

= 1.0.6 =
* **Feature:** Added monthly AI keyword limits (10/month) for free users
* **Feature:** Integrated step-by-step API Setup Guide
* **Security:** Added Privacy Policy and Service disclosures

= 1.0.5 =
* **Feature:** Implemented Free vs Pro plans
* **Feature:** Added smart weekly publishing limits
* **Feature:** Integrated AI keyword generation quotas
* **Improvement:** Enhanced scheduling and queue management UI
* **Security:** Integrated Freemius SDK for secure licensing

= 1.0.0 =
* Initial release
* OpenRouter AI integration
* Pexels image integration
* Keyword queue management
* Scheduling system
* Yoast SEO and Rank Math integration
* Multi-language support
* Internal linking feature

== Upgrade Notice ==

= 1.2.3 =
Fixes license tab redirection/reconnect URL logic. Recommended for all users.

= 1.2.2 =
Includes important fixes for licensing visibility, compatibility with WPML/Polylang, native WordPress AI Client integration, and AI image generation. Recommended for all users.

= 1.0.7 =
Official WordPress.org release with improved stability and compliance.

= 1.0.5 =
Major update introducing Free/Pro plans and enhanced stability. Recommended for all users.

== Support & Company ==

For professional support and business inquiries:

* **Company:** RoidNet
* **Website:** [https://roidnet.com/](https://roidnet.com/)
* **Email:** info@roidnet.com

== External Services ==

This plugin connects to external third-party services. By using this plugin, you acknowledge and agree to their terms.

= OpenRouter API =

This plugin uses OpenRouter to generate AI content. Your prompts and keywords are sent to OpenRouter's API.

* Service URL: [https://openrouter.ai/](https://openrouter.ai/)
* Data Sent: Keywords, content prompts, language preferences
* When: Each time content is generated
* [Terms of Use](https://openrouter.ai/terms)
* [Privacy Policy](https://openrouter.ai/privacy)

= Pexels API =

This plugin optionally uses Pexels to fetch royalty-free images for your articles.

* Service URL: [https://www.pexels.com/](https://www.pexels.com/)
* Data Sent: Image search queries based on keywords
* When: Each time an article with images is generated
* [Terms of Service](https://www.pexels.com/terms-of-service/)
* [Privacy Policy](https://www.pexels.com/privacy-policy/)

= Freemius SDK =

This plugin includes Freemius for licensing management and optional usage analytics.

* Service URL: [https://freemius.com/](https://freemius.com/)
* [Terms of Use](https://freemius.com/terms/)
* [Privacy Policy](https://freemius.com/privacy/)
