面向内容管理的人工智能
🌐 AI for content managers
Page summary:Strapi AI 帮助内容管理者设计内容结构、翻译内容,并从管理面板生成资源元数据。在 GrowthThis feature is available with a Growth plan. 计划上,它由 Strapi 管理。在 EnterpriseThis feature is available with an Enterprise plan. 计划上,它使用你自己的 AI 密钥,仅用于翻译和资源元数据。Strapi 还包含一个内置的 MCP 服务器,允许 AI 客户端通过自然语言管理内容。
本页面总结了 Strapi 中面向内容管理者的 AI 功能:管理面板内置的 AI 功能,以及让 AI 客户端管理你内容的 MCP 服务器。
🌐 This page sums up the AI-powered capabilities available to content managers in Strapi: the AI features built into the admin panel, and the MCP server that lets AI clients manage your content.
Strapi 人工智能
🌐 Strapi AI
GrowthThis feature is available with a Growth plan. EnterpriseThis feature is available with an Enterprise plan. 5.30+This feature requires Strapi version 5.30+ or later.一些 Strapi CMS 功能可以通过 Strapi AI 得到增强,帮助内容管理者和管理员设计内容结构、自动翻译内容以及生成资源元数据,所有操作都可以在管理面板完成。
🌐 Some Strapi CMS features can be enhanced with Strapi AI, helping content managers and administrators design content structures, translate content automatically, and generate asset metadata, all from the admin panel.
Strapi AI 的动力来源取决于你的套餐,有两种方式:
🌐 Strapi AI is powered in one of 2 ways, depending on your plan:
| Strapi 管理 | 自带 AI 密钥 | |
|---|---|---|
| 计划 | GrowthThis feature is available with a Growth plan. | EnterpriseThis feature is available with an Enterprise plan. |
| 功能 | 内容类型构建助手、AI 翻译、AI 元数据生成 | AI 翻译和 AI 元数据生成。不含内容类型构建助手。 |
| Strapi 版本 | 5.30 或更高 | 5.59 或更高 |
| AI 请求发送到 | Strapi 管理的基础设施 | 你自己的 AI 提供商,使用你的 API 密钥和模型 |
| 计费 | AI 积分 | 你的 AI 提供商定价 |
| 数据处理 | Strapi 管理 | 你的提供商条款 |
激活和配置
🌐 Activation and configuration
通过 Strapi 管理的 AI,Strapi AI 可与 Strapi Cloud 和自托管部署一起使用。要开始使用:
🌐 With Strapi-managed AI, Strapi AI works with both Strapi Cloud and self-hosted deployments. To get started:
- 升级到 Strapi v5.30+。AI 功能在早期版本中不可用。
- 通过 CLI 或 Strapi Cloud 激活 Growth 许可证密钥,或开始 30 天免费试用。试用包括 10 个用于探索 AI 功能的免费积分。
- 可以从内容类型构建器、媒体库或内容管理器中访问 AI 功能。内容类型构建器助手和 AI 元数据生成功能默认启用。AI 翻译必须在国际化设置中启用。
要在企业计划中使用你自己的 AI 密钥为 Strapi AI 提供动力,请安装并配置自带 AI 密钥插件。
🌐 To power Strapi AI with your own AI key, on the Enterprise plan, install and configure the Bring your own AI key plugin.
所有 Strapi AI 功能都可以通过管理员面板配置全局启用或禁用,无论它们是由 Strapi 管理的还是使用你自己的 AI 密钥驱动的:
🌐 All Strapi AI features can be enabled or disabled globally through the admin panel configuration, whether they are Strapi-managed or powered by your own AI key:
module.exports = {
// ...
ai: {
enabled: true, // set to false to disable all Strapi AI features
},
};
有关所有配置选项,请参见 管理员面板配置 > Strapi AI。
可用功能
🌐 Available features
| 功能 | 描述 | Strapi 管理 | 自带 AI 密钥 |
|---|---|---|---|
| 内容类型构建器 | AI 聊天助手,帮助设计内容类型结构、解释现有的模式,并规划数据模型。使用你现有的内容类型作为上下文。 | 可用 | 不可用 |
| 国际化 | 当你保存条目时,会自动将内容从默认语言翻译到所有其他配置的语言。 | 可用 | 可用 |
| 媒体库 | 为上传的图片生成替代文本和字幕。 | 可用 | 可用 |
积分与数据处理
🌐 Credits and data handling
Strapi 管理的 AI 会消耗 AI 积分。
🌐 Strapi-managed AI consumes AI credits.
Strapi 管理的 AI 在 Growth 计划中每月包含 1,000 个积分,免费试用期间还可获得 10 个免费积分。在 Enterprise 计划中,Strapi AI 由你自己的 AI 提供商驱动,通过 自带 AI 密钥插件,你的提供商会对请求进行计费。
轻量级操作使用较少的积分,而更复杂的操作使用更多。
🌐 Lightweight actions use fewer credits, while more complex ones use more.
你可以在管理面板的 Settings Overview 中查看你的信用使用情况。当你的使用量达到每月配额的80%、90%和100%时,会发送通知。超额使用将产生额外费用。
积分在同一项目实例的所有用户之间共享。
🌐 Credits are shared across all users within the same project instance.
当你的积分用完后,你仍然可以继续使用 Strapi 管理的 AI,超出部分将按月计费。有关 Strapi AI 的更多信息,请参考专门的支持文章。
🌐 When your credits run out, you can keep using Strapi-managed AI, with overages billed monthly. For more information about Strapi AI, please refer to the dedicated support article.
Strapi 管理的 AI 请求都是通过 Strapi 管理的基础设施处理的。内容只在每次请求时临时使用,不会存储在你的实例之外。Strapi 管理的 AI 遵循与 Strapi Cloud 相同的 GDPR 框架。如果你使用自己的 AI 密钥,则适用你服务提供商的数据处理条款。
🌐 Strapi-managed AI requests are processed through Strapi-managed infrastructure. Content is only used temporarily during each request and is not stored outside your instance. Strapi-managed AI follows the same GDPR-aligned framework as Strapi Cloud. With your own AI key, your provider's data handling terms apply.
有关详细信息,请参见 使用信息 > Strapi AI 数据处理。
Strapi MCP 服务器
🌐 Strapi MCP server
Strapi 内置了一个模型上下文协议 (MCP) 服务器,让像 Claude、Cursor 或任何兼容 MCP 的工具这样的 AI 客户端可以通过自然语言管理你 的内容。一旦启用并连接,AI 客户端就可以直接通过 Strapi 的内容管理器创建、读取、更新、删除、发布和取消发布条目,所有操作都受管理员令牌权限控制。Strapi MCP 服务器是 Strapi 的内置免费功能。点击下面的卡片了解更多信息:
🌐 Strapi includes a built-in Model Context Protocol (MCP) server that lets AI clients like Claude, Cursor, or any MCP-compatible tool manage your content through natural language. Once enabled and connected, an AI client can create, read, update, delete, publish, and unpublish entries directly through Strapi's Content Manager, all gated by Admin token permissions. The Strapi MCP server is a built-in, free feature of Strapi. Click on the following card to learn more:
MCP 服务器
了解如何启用、配置、连接和使用 Strapi 内置的 MCP 服务器。