=== XealBrax AI Auto Blogging Engine ===
Contributors: XealBrax
Tags: ai blog, autoblogging, seo content, content generator, autopilot blogging
Requires at least: 6.0
Tested up to: 7.1
Stable tag: 2.1.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Autonomous AI blogging engine and SEO hub for digital growth. Generate high-quality, SEO-optimized articles with featured visuals instantly.

== Description ==

XealBrax Studio is an autonomous AI blogging engine and SEO hub designed to scale your digital growth. 

Instead of writing generic content, XealBrax allows you to index your own website URLs into "Knowledge Pillars." The AI reads your pages, learns your core business offerings, and generates highly targeted, SEO-optimized articles written in your custom brand voice. 

Whether you want to manually review every article or put your content strategy on full WP-Cron autopilot, XealBrax handles the brainstorming, writing, and visual generation in one seamless workflow.

= Key Features =
- **Bring-Your-Own-Key (BYOK):** Generate at wholesale API costs (fractions of a penny) with $0 markup.
- **Knowledge Pillars:** Train the AI on your exact business context by simply pasting a URL.
- **Autonomous Brainstorming:** The engine automatically pitches relevant topics based on your knowledge base.
- **AI Image Generation:** Automatically generates a Hero image and an in-post context visual to boost engagement.
- **Custom Brand Voice:** Define your persona (Founder, Team, Analyst) and content angle (Diagnostic, Strategy, Case Study).
- **WP-Cron Autopilot:** Put your blog on autopilot and let XealBrax generate and save drafts while you sleep.
- **Smart UI Dashboard:** A modern, distraction-free React-style interface built directly into WordPress.

= Free vs Pro =
XealBrax Studio is built on a Bring-Your-Own-Key (BYOK) model. Because you plug in your own DeepSeek and Fal.ai keys, you pay zero middleman markup on the AI generation.

The core XealBrax Auto Blogger engine is 100% free and fully functional. Free users enjoy unlimited manual article generation using their own API keys, with full access to Knowledge Pillar indexing. 

For high-volume agencies and publishers, premium tiers (SEO Launch & SEO Growth) unlock the true automation machine:
- The WP-Cron Autopilot (generate on a schedule while you sleep).
- Automated social media syndication (Make.com/Zapier webhooks).
- Custom white-label branding on generated images (Agency level).
- Advanced DeepSeek-Reasoner model access.
- Internal silo cross-linking strategy.

== External Services ==

This plugin relies on external third-party services to provide its core functionality. By using this plugin, data is sent to these APIs to generate content and create images:

1. DeepSeek API (Content Generation)
This service is used to generate the AI blog articles, summaries, and social media promotional text. When you trigger a generation, the plugin sends your requested topic, blog title, and optional instructions to DeepSeek.
- DeepSeek Terms of Use: https://chat.deepseek.com/sign/terms
- DeepSeek Privacy Policy: https://chat.deepseek.com/sign/privacy

2. Fal.ai API (Image Generation)
This service is used to generate featured and in-post images. When an image prompt is generated, it is sent to Fal.ai's servers to render the visual asset.
- Fal.ai Terms of Service: https://fal.ai/terms
- Fal.ai Privacy Policy: https://fal.ai/privacy

3. XealBrax Studio API (Feedback & Diagnostics)
If you optionally submit a bug report or feature request via the Feedback tab, your email address, website URL, and typed message are sent securely to our servers so our support team can assist you.
- XealBrax Terms of Service: https://xealbrax.com/terms-of-service/
- XealBrax Privacy Policy: https://xealbrax.com/privacy-policy/

== Installation ==

1. Upload the `xealbrax-ai-auto-blogging-engine` folder to the `/wp-content/plugins/` directory, or install directly through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Click on **XealBrax Studio** in your left-hand WordPress admin menu.
4. Complete the 3-step setup wizard to connect your API keys and train the AI on your business.
5. Generate your first article!

== Frequently Asked Questions ==

= Does this use my own OpenAI API key? =
No. XealBrax is a Bring-Your-Own-Key (BYOK) engine uniquely powered by DeepSeek (for advanced reasoning/text) and Fal.ai (for high-speed image generation). You provide your own keys for these platforms, meaning you pay wholesale API prices (fractions of a penny) with absolutely zero markup from us!

= Will this slow down my website? =
Not at all. The heavy AI processing happens on secure external servers. XealBrax only uses a lightweight background WP-Cron task to fetch the final article, meaning zero impact on your site's frontend speed.

= Can I auto-publish directly to my blog? =
By default, all AI articles are securely saved as 'Drafts' so you can review them. Premium users can toggle a setting to Auto-Publish immediately upon generation.

== Screenshots ==

1. The XealBrax Studio modern generation dashboard.
2. Training the AI Knowledge Pillars with a single URL.
3. Reviewing generated Hero and Context images.

== Changelog ==

= 2.1.1 =
- Updated the Freemius SDK core to the latest version for improved platform compatibility and deployment tracking.

= 2.1.0 =
- Massive architecture pivot to Bring-Your-Own-Key (BYOK). Users now generate at wholesale costs with zero markup!
- Removed all artificial AI generation limits. Manual generation is now fully uncapped.
- Unlocked Developer API credential inputs for all user tiers.
- Unlocked unlimited Knowledge Pillars for all user tiers.
- Added live API Connection Testers to the UI to verify DeepSeek and Fal.ai keys instantly.
- Improved Setup Wizard UX to prevent indexing errors before keys are added.
- Removed all programmatic watermarks from free tier generated visuals.

= 2.0.9 =
- Initial public release on the WordPress repository.
- Integrated intelligent WP-Cron autopilot generation.
- Added Knowledge Pillar scraping and indexing.
- Implemented DeepSeek and Fal.ai integration matrix.
- Shipped modern UI dashboard with responsive design.