
MP AI Content Generator
by Mayank Pandya on WordPress.org
Seamlessly generate AI-powered content in your WordPress editor using Google Gemini or OpenAI's ChatGPT with a simple prompt.

Plugin Settings Page: Screenshot of the AI Content Gen settings page showing API key input and model selection.
The “MP AI Content Generator” plugin seamlessly integrates powerful AI capabilities from Google Gemini and OpenAI (ChatGPT) directly into your WordPress post and page editor. Say goodbye to content blocks and tedious manual writing. With this plugin, you can generate creative text, expand on ideas, or create drafts simply by providing a prompt, all without leaving your WordPress dashboard.
Boost your content creation workflow, save time, and overcome writer’s block by leveraging the power of AI right where you write.
Features:
– Integrated Editor Experience: Generate AI content directly within the Gutenberg editor (and Classic Editor for basic text insertion).
– Flexible AI Model Selection: Choose between Google Gemini AI and OpenAI’s ChatGPT (e.g., GPT-3.5 Turbo) based on your preference and API key.
– Simple Prompt Input: A dedicated meta box in the post/page editor allows you to quickly input your content generation prompts.
– Direct Content Insertion: AI-generated text is automatically inserted as new paragraphs or headings directly into your post content.
– Basic Markdown Recognition: Converts ##
to headings and
**text**
to text
for improved formatting.
– Secure API Key Management: Store your AI API keys securely in the plugin’s dedicated settings page.
– Dedicated Admin Menu: Easy access to plugin settings via a top-level menu item in your WordPress admin sidebar.
Usage
- Edit a Post or Page: Go to Posts > Add New or Pages > Add New (or edit an existing one).
- Locate the AI Content Generator Meta Box: On the edit screen, look for the “AI Content Generator” meta box, typically found in the right sidebar.
- Enter Your Prompt: In the textarea provided, write a clear and concise prompt for the AI. For example:
– “Write a short introduction about the benefits of using AI in content creation.”
– “Generate 3 bullet points on SEO best practices.”
– “Write a conclusion for an article about remote work, emphasizing flexibility.” - Generate Content: Click the “Generate Content with AI” button. A loading indicator will appear.
- Content Appears: Once the AI finishes generating, the content will automatically be inserted into your post/page editor as new paragraphs or headings.
- Review and Edit: Review the generated content, making any necessary edits or refinements to fit your needs.
External Services
This plugin connects to external Artificial Intelligence (AI) services to generate content based on user prompts. This functionality is essential for the plugin to operate as intended.
-
Google Gemini AI
– What the service is and what it is used for: Google Gemini AI is a family of generative AI models provided by Google. This plugin uses it to process text prompts and generate creative, relevant text content to assist users in writing. The API endpoint used is https://generativelanguage.googleapis.com.
– What data is sent and when: When a user clicks the “Generate Content with AI” button, the text entered in the “Write your prompt here” textarea is sent to the Google Gemini API. This occurs only when the user explicitly initiates the content generation process. Your API key is also sent for authentication.
– Terms of Service and Privacy Policy:
– Google AI Studio Terms of Service: https://policies.google.com/terms/service-specific/ai-studio (Note: Specific AI Studio terms may be part of broader Google terms or linked from the AI Studio site.)
– Google Privacy Policy: https://policies.google.com/privacy -
OpenAI (ChatGPT)
– What the service is and what it is used for: OpenAI provides various AI models, including the GPT (Generative Pre-trained Transformer) series. This plugin uses OpenAI’s API to process text prompts and generate creative, relevant text content to assist users in writing. The API endpoint used is https://api.openai.com.
– What data is sent and when: When a user clicks the “Generate Content with AI” button, the text entered in the “Write your prompt here” textarea is sent to the OpenAI API. This occurs only when the user explicitly initiates the content generation process. Your API key is also sent for authentication.
– Terms of Service and Privacy Policy:
– OpenAI Terms of Use: https://openai.com/policies/terms-of-use
– OpenAI Privacy Policy: https://openai.com/policies/privacy-policy
Important Note: The plugin does not store the content generated by these AI services beyond inserting it into your post draft within your WordPress site. Your API keys are stored securely in your WordPress database options table and are not transmitted to any other third parties by the plugin itself.