---
url: 'https://dxpr.com/zh-hans/hc/documentation/learn-dxpr-builder/ai/configuration'
title: 'AI 配置 | DXPR'
author:
  name: Jurriaan
  url: 'https://dxpr.com/users/jurriaan'
date: '2026-10-24T00:42:58+00:00'
updated: '2026-10-24T09:09:48+00:00'
copyright: 'Copyright DXPR. All rights reserved.'
type: article
summary: |-
  本页列出了 DXPR Builder AI Settings 页面上的所有设置，以及它们在编辑器中改变的内容。API 密钥和模型位于 DXPR AI 提供方自己的页面上；请参阅 模型和服务商。
  该视频演示了添加一种语气，编辑人员可在编辑器中选用。
tags:
  - 'Schrijven en ontwerpen met AI'
image: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
published: true
og:
  site_name: DXPR
  updated_time: '2026-10-24T09:09:48+0000'
  'image:alt': 'DXPR, powered by Drupal: AI-powered Drupal for marketers.'
schema:
  '@context': 'https://schema.org'
  '@graph':
    -
      mainEntity: {  }
    -
      '@type': TechArticle
      headline: 'AI 配置'
      description: |-
        本页列出了 DXPR Builder AI Settings 页面上的所有设置，以及它们在编辑器中改变的内容。API 密钥和模型位于 DXPR AI 提供方自己的页面上；请参阅 模型和服务商。
        该视频演示了添加一种语气，编辑人员可在编辑器中选用。
      image:
        '@type': ImageObject
        url: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
        width: '1200'
        height: '630'
      datePublished: '2026-10-24T00:42:58+0000'
      dateModified: '2026-10-24T09:09:48+0000'
      author:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      mainEntityOfPage: 'https://dxpr.com/zh-hans/hc/documentation/learn-dxpr-builder/ai/configuration'
      articleSection: 'Schrijven en ontwerpen met AI'
    -
      '@type': WebPage
      '@id': 'https://dxpr.com/zh-hans/hc/documentation/learn-dxpr-builder/ai/configuration'
      description: |-
        本页列出了 DXPR Builder AI Settings 页面上的所有设置，以及它们在编辑器中改变的内容。API 密钥和模型位于 DXPR AI 提供方自己的页面上；请参阅 模型和服务商。
        该视频演示了添加一种语气，编辑人员可在编辑器中选用。
      breadcrumb:
        '@type': BreadcrumbList
        itemListElement:
          -
            '@type': ListItem
            position: 1
            name: 首页
            item: 'https://dxpr.com/zh-hans'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
      inLanguage: zh-hans
---
[Help Center](/zh-hans/node/75)/[Documentation](/zh-hans/hc/documentation) /[Learn DXPR Builder](/hc/documentation/learn-dxpr-builder) /[Build pages](/hc/documentation/learn-dxpr-builder/build) /[Schrijven en ontwerpen met AI](/hc/documentation/learn-dxpr-builder/ai) # AI 配置.

 Learn DXPR BuilderBuild pagesSchrijven en ontwerpen met AI

   ## In this guide

 Related guides

- [AI 模型和服务商](/zh-hans/hc/documentation/learn-dxpr-builder/ai/models-and-providers)
- [AI API 参考](/zh-hans/hc/documentation/learn-dxpr-builder/ai/api-reference)
- [AI 故障排查](/zh-hans/hc/documentation/learn-dxpr-builder/ai/troubleshooting)

本页列出了 DXPR Builder **AI Settings** 页面上的所有设置，以及它们在编辑器中改变的内容。API 密钥和模型位于 DXPR AI 提供方自己的页面上；请参阅 [模型和服务商](/zh-hans/hc/documentation/learn-dxpr-builder/ai/models-and-providers)。

该视频演示了添加一种语气，编辑人员可在编辑器中选用。

  前往 **DXPR Studio** &gt; **DXPR Builder** &gt; **AI** (`/admin/dxpr_studio/dxpr_builder/ai_settings`)。您需要 **Administer DXPR Builder configuration** 权限。点击底部的 **Save settings** 保存更改。

## 用量与积分

**Credits remaining** 显示您 DXPR 账户的余额。其下方一行显示本月已用积分。**your subscription page** 链接打开 dxpr.com，您可以在那里充值。余额属于 **General Settings** 下的产品密钥。余额加载失败时，该部分显示“Unable to load usage data. Check your connection and refresh the page.”。

## AI 功能

三个开关默认全开。

| 设置 | 在编辑器中显示的内容 |
|---|---|
| **Enable text editing assistant** | 文本编辑器工具栏中的 **AI Agent** 和 **Tone of voice** 按钮，以及构建器工具栏上的 **AI settings**（**More** 菜单中） |
| **Enable page creation assistant** | 空页面上的提示框、构建器工具栏上的 **AI Agent** 按钮，以及 **Edit with AI**（每个元素的 **More** 菜单中） |
| **Enable image generation** | **Edit with AI**（Image 元素上），以及 **AI Image Generation** 按钮（**Background image** 下 **Style** 面板中的） |

在 **Enable page creation assistant** 开启时，空页面打开即显示 AI 提示框。

## 语气与命令

两个列表都是 Drupal 分类词汇表。DXPR Builder 在安装时创建它们：**AI Tone of Voice** 和 **AI Edit Commands**。

- **Tone of voice vocabulary**：编辑人员在 **Tone of voice** 下选择的语气。每个术语是一种语气。其描述存放 AI 遵循的指令，例如“Write in a friendly and accessible manner”。没有描述的术语不列出。**Manage tones** 链接打开术语列表。
- **Commands vocabulary**：**AI Agent** 菜单中的命令。顶级术语是分组标题，例如 **Edit or review**。其子术语是命令。每个命令的描述是发送给 AI 的指令。**Manage commands** 链接打开术语列表。

默认语气和命令见 [用 AI 改写文本](/zh-hans/hc/documentation/learn-dxpr-builder/ai/text-commands)。

### 添加一种语气

1. 前往 **DXPR Studio** &gt; **DXPR Builder** &gt; **AI** (`/admin/dxpr_studio/dxpr_builder/ai_settings`)。
2. 在 **Tone and Commands** 下点击 **Manage tones**。语气列表在新标签页中打开。
3. 点击 **Add term**。
4. 在 **Name** 中输入语气，例如 `Warm and welcoming`。
5. 在 **Description** 中写 AI 遵循的指令，例如“Write warmly, as if you welcome a guest in person.”。
6. 点击 **Save**。

编辑人员下次打开页面时，新语气会出现在文本工具栏的 **Tone of voice** 下和 **AI Settings** 对话框中。

## AI 输出过滤

这些设置决定 AI 所写文本中可以出现哪些 HTML 和哪些外部链接。

| 设置 | 作用 | 默认值 |
|---|---|---|
| **Filter AI output** | 取消勾选时，允许所有标签和所有外部链接 | 已勾选 |
| **Allowed domains** | 链接和图片中允许的外部域名，每行一个。支持 `*.wikipedia.org` 等通配符。留空则屏蔽所有外部链接。请保留 `promptahuman.com`：占位图片来自那里 | Unsplash、Pexels、Pixabay 和 `promptahuman.com` |
| **Blocked tags** | 连同其中全部内容一起移除的标签 | `script` 和 `style` |
| **Allowed HTML tags** | AI 输出中保留的标签。其他标签移除，但保留其中的文本 | 常见的文本、列表、表格、链接和图片标签 |

标签名不写尖括号，每行一个，只用字母和数字。

## 模型与服务提供方

大多数网站使用 DXPR AI 提供方模块。此时本页只显示一个 **Configure AI service providers** 链接（**Service providers** 下）。模型和提供方顺序在提供方页面上设置；请参阅 [模型和服务商](/zh-hans/hc/documentation/learn-dxpr-builder/ai/models-and-providers)。

没有该模块时，本页还有三个设置：

- **Default model**：DXAI Kavya M1、DXAI Kavya M1 EU 或 DXAI Kavya M1 Fast。
- **Allow users to choose model**：允许编辑人员在编辑器的 **AI Settings** 对话框中选择其他模型。
- **Service providers**：**Automatic** 或 **Manual priority**。仅对 DXAI Kavya M1 显示。

## 接下来做什么？

- [模型和服务商](/zh-hans/hc/documentation/learn-dxpr-builder/ai/models-and-providers)：API 密钥、模型和提供方顺序。
- [AI API 参考](/zh-hans/hc/documentation/learn-dxpr-builder/ai/api-reference)：这些设置保护的路由。
- [AI 故障排查](/zh-hans/hc/documentation/learn-dxpr-builder/ai/troubleshooting)：AI 按钮缺失时检查什么。