=== Antradus AI Lite — AI SEO Content Writer & Image Creator ===
Contributors: ehabahmad
Tags: ai, content generator, openai, seo, image generation
Requires at least: 5.8
Tested up to: 7.1
Stable tag: 2.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free AI article writer for WordPress: complete SEO-optimized articles and AI featured images from a keyword or URL, inside the editor. OpenAI, Claude, Gemini, OpenRouter & DeepSeek — your own API key.

== Description ==

**Antradus AI Lite** writes complete, SEO-optimized articles with a matching AI featured image — right inside the WordPress post editor, using your own AI provider key. No middleman, no per-word fees: bring your OpenAI, Anthropic (Claude), Google Gemini, OpenRouter, or DeepSeek key and start writing.

Describe your topic, pick a writing style and tone, and the plugin writes a full article plus the focus keyword, SEO meta title, and meta description — shown with one-click Copy buttons so you can paste them into your SEO plugin. Paste any external link and rewrite that article in your own voice. Highlight any sentence while editing and let the AI rewrite, improve, expand, shorten, fix, or translate it. Then generate a matching featured image with one click.

**Supported AI Providers**

* **OpenAI** — All models supported
* **Anthropic** — All models supported
* **Google Gemini** — All models supported
* **OpenRouter** — Access 200+ models including free tiers (Gemini Flash, Llama, Mistral, and more)
* **DeepSeek** — All models supported (text generation)
Check [our AI models recommendation list here ](https://antradusai.com/antradus-ai-lite-models-tested/)

**Key Features (free)**

* Generate full articles from a keyword or external URL
* Focus keyword, SEO meta title and meta description generation — shown with Copy buttons ready for your SEO plugin
* **In-editor AI assistant** — highlight text and rewrite, enhance, expand, shorten, fix grammar, translate, or run your own custom instruction (Classic and Block editor toolbars)
* AI featured image generation with one-click **Set as Featured Image** and automatic Media Library upload
* 10 image style presets (Default, Gaming, Medical, News, Sports, Finance, Tech, Food, Travel, Entertainment)
* Customizable image presets with your own visual style prompts
* Optional color cast overlay on generated images
* 5 writing styles x 5 tones x 17 languages
* FAQ section generation
* Works with both Classic Editor and Block Editor (Gutenberg)
* Optional disable Gutenberg for Posts
* **Built-in documentation** — browse every guide inside the plugin (Antradus AI → Docs), and publish the same guides on your own site with the `[antradus_docs]` shortcode
* Customizable system prompt to define your writing style
* Topic/niche buttons for quick keyword entry
* SSRF-protected external URL fetching
* AI-powered correction of public figure names in keywords

**Antradus AI Pro — for working at scale**

Upgrading to [Antradus AI Pro](https://antradusai.com/) unlocks the automation features on top of everything above:

* **Bulk Publishing** — paste up to 200 keywords or import a CSV and the AI writes and schedules every post, suggests topic ideas from your niche, and sorts posts into your categories; drip-schedule, review as drafts, retry failures, export client reports
* **YouTube to Article** — paste a video link and turn its transcript into an original article (with the free companion browser extension)
* **WooCommerce product generator** — drop in a product photo and AI vision writes a titled, described, SEO-ready product
* **Yoast SEO & Rank Math auto-fill** — the generated focus keyword, title and description are inserted into your SEO plugin automatically, in both editors
* **Generate meta from any existing article** with one click
* **Album generation** — up to 9 distinct AI-designed scenes from your article, inserted as a gallery or featured image
* **🌐 Live web search** — the AI researches the live web first, so you can cover news from hours ago
* **Merge 2 sources** — blend two article URLs into one original piece
* **Free-form post assistant** — tell the AI what to do with the whole post, in your own words
* **Reporting** — words, images, tokens and estimated cost per post, with editable model prices

== Installation ==

1. Install directly via the WordPress **Plugins > Add New** screen, or upload the `antradus-ai-lite` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Open the new **Antradus AI** menu in your admin sidebar and enter your API key for your chosen provider.
4. Open any post or page, find the **Antradus AI** panel, enter a keyword, and click **Start Writing**.

== Frequently Asked Questions ==

= Where do I find the plugin while editing a post? =

In the Classic editor it appears as a panel under the content area. In the block editor it lives in the right-hand sidebar — click the anchor (Antradus AI) icon in the top toolbar (or the three-dots menu, then Antradus AI) to open it.

= Which API key do I need? =

You need an API key from at least one supported provider:

* [OpenAI](https://platform.openai.com/)
* [Anthropic](https://console.anthropic.com/)
* [Google AI Studio](https://aistudio.google.com/)
* [OpenRouter](https://openrouter.ai/) — offers free models requiring only a free account

= Does this plugin store my content on external servers? =

No. Your keywords and articles are sent directly to the AI provider you have configured. This plugin does not store, log, or transmit your data to any server other than the provider you choose. Refer to each provider's privacy policy for details on how they handle request data.

= How do the SEO meta and my SEO plugin work together? =

The free version generates the focus keyword, SEO title, and meta description and shows them with Copy buttons — paste each value into Yoast SEO, Rank Math, or any other SEO plugin. In **Antradus AI Pro** the values are inserted into Yoast or Rank Math automatically, in both editors.

= How does the in-editor AI assistant work? =

Highlight any text while writing. In the Classic editor, open the **AI ✨** dropdown in the toolbar; in the Block editor, it appears in the block's text toolbar. Pick Rewrite, Enhance, Expand, Shorten, Fix Grammar, Translate, or type your own instruction — the highlighted text is replaced with the result (Ctrl+Z brings the original back).

= Does image generation work with all providers? =

Image generation is available via OpenAI (gpt-image/DALL-E 2 / DALL-E 3), Google Gemini (Imagen), and OpenRouter (Flux and compatible models). Anthropic does not offer an image generation API.

= Can I use a free AI model? =

Yes. OpenRouter provides access to free models such as Google Gemini Flash and others. Select OpenRouter as your provider, create a free account at openrouter.ai, and choose a free model in the settings.

= Can I customize the writing style? =

Yes. You can set a custom system prompt in the **Antradus AI** admin menu to define the writing style, persona, language, or any standing instructions the AI should follow for every article.

= How does YouTube to Article work? (Pro) =

In Antradus AI Pro, install the free companion browser extension, the **Antradus Auto Pilot YT extension**, and enable it on your WordPress site. Paste a YouTube link into the panel, click **Get transcript** — the extension reads the video's transcript inside your own browser — review it, then click **Start Writing** to turn it into an original article. Videos with subtitles (CC) give the best results.

= How does album generation work? (Pro) =

Open **Album Generating** in the panel, choose how many images you want (up to 9), and click Generate Album. The AI reads your article, designs a different scene for each image, and draws them one by one. Click any image to set it as featured, or insert them all as a gallery.

= Does it work with the Classic Editor? =

Yes. The plugin automatically detects whether a post uses the Block Editor or the Classic Editor and loads the correct interface.

= Will it conflict with other AI plugins? =

The plugin uses a unique `antradus_` option prefix and `antradus_lite_` function prefix throughout.

== Screenshots ==

1. Choose your model (OpenRouter supports free models)
2. Antradus AI main view
3. Antradus AI rewrite from external source
4. Antradus AI writing and style features
5. Antradus AI Image capabilities
6. Antradus AI find your settings page

== Changelog ==

= 2.0.1 =
* Changed: Streamlined the plugin's display name.

= 2.0.0 =
* New: **Antradus AI Lite and Antradus AI Pro are now one plugin.** The free version (this listing) includes article generation, SEO meta with Copy buttons, the in-editor AI assistant, featured image generation with style presets, FAQ generation, and the built-in docs — for all 5 providers, in both editors.
* New: **Antradus AI Pro** unlocks bulk publishing, YouTube to Article, the WooCommerce product generator, image albums, live web search, merge-2-sources, automatic Yoast/Rank Math fill, meta from existing articles, the free-form post assistant, and the Reporting page — [see plans](https://antradusai.com/).
* New: Licensing, secure checkout, and automatic updates powered by Freemius; upgrading to Pro takes one click from inside WordPress, and your settings carry over unchanged.
* Changed: The plugin's display name is now simply **Antradus AI** (the "Autopilot" name is retired).
* Note for existing Lite users: everything you used keeps working — your API keys, prompts, presets, and topics are preserved.

= 1.3.2 =
* Fixed: **Write from Product Photo** — on a brand-new product the AI couldn't see the product image until the post was saved. It now reads the photo the moment you pick it — no need to save first.
* Fixed: Bulk Publishing topic suggester — with "Allow NEW categories" ticked, topics could be forced into unrelated existing categories. The AI now uses an existing category only when its name genuinely fits the topic, and invents a fitting new one otherwise.
* Improved: The Antradus AI panel is now always the first panel directly below the editor, even if the boxes were dragged into a different order before.
* Improved: The "Generate SEO with Antradus AI" button now shows its progress right next to the button and reminds you to click Save Draft / Publish / Update once the SEO fields are filled (both editors).

= 1.3.1 =
* Fixed: YouTube to Article — long transcripts were cut off around the 12-minute mark; the full transcript is now used, however long the video.
* Improved: Clearer setup for the **Antradus Auto Pilot YT extension** — the setup box now tells you when the extension is installed but not yet enabled on this site, and no longer implies the "re-check" button can enable it for you.

= 1.3.0 =
* New: **Antradus Auto Pilot YT extension** — a companion browser extension that reads a YouTube video's transcript in your own browser and hands it to the plugin. This is far more reliable than reading transcripts server-side, which YouTube frequently blocks.
* New: A "What the AI does with the transcript" setting — customize the instructions the AI follows when writing from a YouTube video.
* Changed: The optional YouTube Data API key setting has been removed — the browser extension replaces it and needs no key.
* New: **Built-in documentation** — a Docs page inside the plugin (Antradus AI → Docs) with every guide, plus an `[antradus_docs]` shortcode to publish the same guides on your own website.

= 1.2.0 =
* Rebranded the premium edition to Antradus AI Autopilot (name retired again in 2.0.0).
* New: License management powered by Freemius — activate your license, receive automatic updates, and manage your account right from the WordPress dashboard.
* Changed: uninstall cleanup now runs through the licensing SDK's uninstall hook (same cleanup, Freemius-compliant packaging).
* Tested up to WordPress 7.1.
* Documented the WooCommerce product generator (build a product from a photo with AI vision).

= 1.1.0 =
* New: Reporting page — see words generated, images created, tokens used, and an estimated cost per post; model prices are pre-filled and fully editable, and all data stays in your own database.
* New: Live web search — an optional "Search the web" checkbox for articles about news and recent events, supported on OpenAI (search-capable models), Anthropic, Gemini, and OpenRouter (any model).
* New: DeepSeek provider — use deepseek-chat or deepseek-reasoner for article generation (text only).
* New: Bulk Publishing for Agencies — create dozens of posts at once from a keyword list or CSV import, with AI topic suggestions, an AI categorizer, drip scheduling, retries, and batch reports.
* New: YouTube to Article, Merge 2 Sources, Yoast SEO & Rank Math auto-fill, Generate Meta from Existing Article, Album generation, and the in-editor AI assistant.

= 1.0.1 =
* Fixed styling issues.
