Content AI Summary

Description

Generate AI-powered summaries for your posts using Gemini AI. Display clean summaries with a shortcode on any supported post type.

Features

  • Securely store a Gemini API key via the admin panel
  • Choose specific post types for AI-generated summaries
  • Automatically generate summaries on post save
  • Clean and simple admin interface under Settings > Gemini API Key
  • Shortcode [contaisu_summary] to display summaries on the front end
  • Modular plugin structure (admin/frontend/core separation)

Shortcode

Use [contaisu_summary] inside a post or template to display its AI-generated summary.

Admin Panel

Navigate to Settings > Gemini API Key in the WordPress admin:

  • Add or update your Gemini API Key
  • Choose which post types to enable for AI summaries

API Key Instructions

Obtain your Gemini API key from:

Note: API key must be at least 30 characters long.

Requirements

  • WordPress 6.0 or higher
  • PHP 7.0 or higher
  • Valid Google Gemini API Key

Release

  1. Initial release 1.0.0

License

This plugin is licensed under the GPLv2 or later. For more information, see https://www.gnu.org/licenses/gpl-2.0.html.

External Services

This plugin connects to Google’s Gemini API to generate AI-powered summaries of WordPress post content.

  • What is the service?
    The Gemini API is a language model developed by Google, capable of summarizing content in multiple languages.

  • What is it used for?
    It generates a short summary (3 bullet points) for WordPress posts, which is then displayed in the post editor as a meta box.

  • What data is sent?
    When a post is saved or when a summary is manually triggered, the plugin sends the post content (up to 3000 characters) to Google’s Gemini API.

  • When is data sent?
    Only when the user saves a post or manually clicks the “Regenerate Summary” button.

  • Where is data sent?
    To: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent

  • Service Provider:
    Google LLC

  • Terms of Service:
    https://policies.google.com/terms

  • Privacy Policy:
    https://policies.google.com/privacy

This external API is required for the plugin to function. If no API key is provided, no data is sent and no summaries are generated.

Screenshots

  • Backend settings panel
  • Generate Content

Installation

  1. Upload the plugin to your /wp-content/plugins/ directory
  2. Activate it via the WordPress Plugins menu
  3. Go to Settings > Gemini API Key to enter your API key and select post types

FAQ

Can I apply summaries to a specific post type?

Yes, you can choose which post types the AI summaries apply to from the plugin settings.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Content AI Summary” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Content AI Summary” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release
  • Added shortcode [contaisu_summary] to render summaries as bullet points