outstand/ai
Composer 安装命令:
composer require outstand/ai
包简介
README 文档
README
Add AI features to WordPress.
Description
Outstand AI brings AI features to the WordPress editor, with controls for AI behavior that WordPress and the WordPress AI plugin don't expose on their own.
The first feature steers featured image generation: describe how the image should look, per post or as a site-wide default, and Outstand AI feeds that into the AI plugin's image prompt.
This is useful when:
- A post needs a specific featured image direction (style, mood, composition).
- You want a consistent default look for AI-generated images across the site.
- You want editors to control AI behavior from the editor, without touching code.
How it works
- Open a post in the Block Editor.
- Open the AI Prompts sidebar (icon in the editor header, or the more menu).
- Enter a prompt for the post (for example, the Featured Image direction). This overrides the site-wide default for that post.
- Generate the featured image with the AI plugin as usual — Outstand AI injects your prompt.
Site-wide defaults are managed under Settings → Outstand AI. When the WordPress/Gutenberg Guidelines feature is available, manage the global direction there instead; Outstand AI defers to it and keeps the per-post override.
Installation
Manual Installation
- Download the latest release ZIP from the Releases page.
- Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
- Upload the ZIP file and click Install Now.
- Activate the plugin.
Install with Composer
To include this plugin as a dependency in your Composer-managed WordPress project:
- Add the plugin to your project using the following command:
composer require outstand/ai
- Run
composer install. - Activate the plugin from your WordPress admin area or using WP-CLI.
Requirements
- WordPress 6.7+
- PHP 8.2+
Features that extend the WordPress AI plugin — such as Featured Image prompts — additionally require that plugin to be active with a configured AI connector. They stay hidden until it is.
Extending
Register additional prompt-steering features with the outstand_ai_features filter. Each feature must extend Outstand\WP\AI\PromptFeature:
use Outstand\WP\AI\PromptFeature; class My_Custom_Prompt_Feature extends PromptFeature { // Implement get_id(), get_label(), get_ability(), // get_inject_field() and get_description(). } add_filter( 'outstand_ai_features', function ( $features ) { $features[] = new My_Custom_Prompt_Feature(); return $features; } );
Changelog
All notable changes to this project are documented in CHANGELOG.md.
Credits
The AI Prompts sidebar icon is from the Industrial Sharp UI Icons collection by Siemens AG, licensed under the MIT License.
License
This project is licensed under the GPL-3.0-or-later.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-06-20