WP Manifestindependent plugin directory
manifest / ai / ai-content-assistant

AI Content Assistant

WordPress plugin that integrates Google Gemini AI into the post editor

by Vaibhav Kumar · github.com/vaibhavkumar-wpdev/ai-content-assistant · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/vaibhavkumar-wpdev/ai-content-assistant/archive/refs/heads/main.zip

AI Content Assistant for WordPress

A custom WordPress plugin that integrates Google Gemini AI directly into the WordPress post editor. Generate content drafts, blog posts, product descriptions, and more — without leaving WordPress.

Features

  • Generate AI content directly inside the WordPress post editor
  • Four writing tones: Professional, Casual, Technical, SEO Optimized
  • Powered by Google Gemini 2.0 Flash (free API — no credit card required)
  • Insert, append, or copy generated content with one click
  • Works with both Gutenberg (Block Editor) and Classic Editor
  • Secure API key storage in WordPress options table
  • Nonce-based AJAX security (CSRF protected)
  • Rate limit and error handling built in
  • Clean, minimal admin UI — no bloat

Screenshots

Settings Page

Settings → AI Content Assistant → Paste your API key and choose your model.

Post Editor Meta Box

The AI Content Assistant box appears on the right side of every post and page editor.

Installation

  1. Download the plugin ZIP file
  2. Go to WordPress Admin → Plugins → Add New → Upload Plugin
  3. Upload the ZIP file and click Install Now
  4. Click Activate Plugin
  5. Go to Settings → AI Content Assistant
  6. Paste your Google Gemini API key
  7. Click Save Settings

Getting a Free Gemini API Key

  1. Go to aistudio.google.com
  2. Sign in with your Google account
  3. Click "Create API key"
  4. Copy and paste the key into plugin settings

Free tier limits: 15 requests/minute, 1,500 requests/day. No credit card required.

How to Use

  1. Open any post or page in the WordPress editor
  2. Find the 🤖 AI Content Assistant box on the right side panel
  3. Type your prompt (what you want to write about)
  4. Select a writing tone (Professional, Casual, Technical, or SEO Optimized)
  5. Click ✨ Generate with Gemini
  6. Wait 3–5 seconds for the AI response
  7. Click ↩ Insert into Post to replace editor content
  8. Or click ↓ Append to Post to add after existing content
  9. Or click 📋 Copy to copy to clipboard

Supported Models

Model Speed Quality Cost
Gemini 2.0 Flash Fastest Very Good Free
Gemini 1.5 Flash Fast Good Free
Gemini 1.5 Pro Moderate Best Free (limited)

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • Google Gemini API key (free)

Error Reference

Error Cause Fix
API key not set No key in settings Add key in Settings → AI Content Assistant
Invalid API key Wrong or deleted key Regenerate key at aistudio.google.com
Rate limit reached Too many requests Wait 1 minute and try again
Empty response Gemini returned nothing Try a different or more specific prompt
Connection error No internet Check your server internet connection

This Plugin as a Service

This plugin demonstrates the kind of AI integration I build for WordPress clients:

  • OpenAI API integration into WordPress and WooCommerce
  • Claude AI integration for custom WordPress workflows
  • AI chatbots for customer support and lead qualification
  • AI-powered WooCommerce product recommendations
  • N8n + AI automation connected to WordPress

Need a custom AI integration for your WordPress site? Contact me on Upwork

Author

Vaibhav Kumar WordPress & AI Integration Developer Top Rated on Upwork | 97% Job Success | 3,100+ Hours

License

GPL v2 or later — https://www.gnu.org/licenses/gpl-2.0.html

Changelog

1.0.0

  • Initial release
  • Gemini 2.0 Flash, 1.5 Flash, 1.5 Pro support
  • Four writing tones
  • Gutenberg and Classic Editor support
  • Insert, Append, Copy actions
  • Secure nonce-based AJAX