> For the complete documentation index, see [llms.txt](https://docs.theseaai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseaai.com/main/ch/gong-ju/wen-ben.md).

# 文本

{% hint style="danger" %}
**文本** 是测试版功能，可能无法按预期运行。

目前，您只能在“文本布局”任务中创建文本。在其他任务中使用可能会产生扁平化且不可预测的结果。此功能将逐步在所有任务中提供。
{% endhint %}

***

## 相关使用场景

* 为生成的视觉内容添加产品名称、描述或促销文案
* 处理需要精确字符级控制的 CJK（中文、日文、韩文）文本
* 在单一平台内制作可直接用于生产的素材

***

## 使用方法

### <i class="fa-text" style="color:blue;">:text:</i> 创建新的文本图层

{% stepper %}
{% step %}

#### 选择“文本布局”

在左侧任务菜单中，选择 <kbd><mark style="color:$primary;">**文本布局**<mark style="color:$primary;"></kbd>.

这将打开文本布局工作区。

或者，将鼠标悬停在现有场景上，然后选择从此图像继续。
{% endstep %}

{% step %}

#### 选择“T”

在底部工具栏中，选择 <i class="fa-text" style="color:$primary;">:text:</i> <kbd><mark style="color:$primary;">**文本**<mark style="color:$primary;"></kbd> 工具。
{% endstep %}

{% step %}

#### 向场景中添加文本

1. 点击场景中的任意位置并输入您的文本
2. 一旦您点击文本区域外部，文本图层就会出现在图层列表中。

您可以在一个场景中创建任意多个文本图层。&#x20;

{% hint style="warning" %}
**字符限制**

每个场景中的文本图层没有硬性上限，但当文本图层数量非常多（100+）时，性能可能会下降。
{% endhint %}
{% endstep %}
{% endstepper %}

### <i class="fa-message-pen" style="color:blue;">:message-pen:</i> 编辑现有文本图层

{% stepper %}
{% step %}

#### 选择文本图层

选择文本图层以移动、调整大小或修改它们。

**选择单个图层：**

* 单击任意文本图层即可选中
* 文本周围会出现选区边框

**选择多个图层：**

* 按住 Shift 并单击每个文本图层
* 两个文本图层周围都会出现选区边框

{% hint style="info" %}
**多图层选择**

选择多个图层后，您可以：对齐、将它们组合，并应用相同的文本样式。
{% endhint %}
{% endstep %}

{% step %}

#### 进行编辑

* **编辑您的文本：** 双击文本图层即可编辑文本。
* **移动您的文本**：点击并拖动到新位置。
  {% endstep %}

{% step %}

#### 完成编辑

1. 点击文本区域外的任意位置即可退出编辑模式。
2. 您的编辑会自动保存。
   {% endstep %}
   {% endstepper %}

***

## 其他文本功能

{% content-ref url="/pages/f354e532281eff17cd12a9c724d6ab6ee263df48" %}
[字体](/main/ch/gong-ju/wen-ben/zi-ti.md)
{% endcontent-ref %}

{% content-ref url="/pages/38df4c547ca5b48f25d3cc4f7ce8ec5a817eba64" %}
[文字设置](/main/ch/gong-ju/wen-ben/wen-zi-she-zhi.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.theseaai.com/main/ch/gong-ju/wen-ben.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
