WP AI Client Demo releases
A demo plugin to showcase the integration of the WordPress AI Client.
by Jonathan Bossenger · github.com/jonathanbossenger/wp-ai-client-demo · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/jonathanbossenger/wp-ai-client-demo/releases/download/2.0.0/wp-ai-client-demo.2.0.0.zipReadme
WP AI Client Demo
A demonstration plugin showcasing the integration and capabilities of the WordPress AI Client library. This plugin demonstrates how to build AI-powered features in WordPress using both PHP and JavaScript.
Description
WP AI Client Demo provides a practical example of integrating AI capabilities into WordPress. It demonstrates:
- Text generation using AI
- Image generation using AI
- Creating WordPress posts with AI-generated content and featured images
- Custom WordPress Abilities API integration
- Admin interface for interacting with AI features
Requirements
- WordPress 6.0 or higher
- PHP 8.0 or higher
- Composer
- Node.js and npm (for building JavaScript assets)
- API credentials for an AI provider (configured through the WP AI Client)
Installation
-
Clone or download this plugin to your WordPress plugins directory:
cd wp-content/plugins git clone git@github.com:jonathanbossenger/wp-ai-client-demo.git -
Install PHP dependencies:
cd wp-ai-client-demo composer install -
Install JavaScript dependencies and build assets:
npm install npm run build -
Activate the plugin through the WordPress admin interface or via WP-CLI:
wp plugin activate wp-ai-client-demo -
Configure your AI provider credentials as required by the WP AI Client library
Usage
Admin Interface
Access the demo tools page from the WordPress admin:
- Navigate to Tools > WP AI Client Demo in your WordPress admin
- Use the interface to test AI capabilities
License
GPL-2.0-or-later
Author
Jonathan Bossenger
Read the full README on GitHub →