> 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-neng/layers.md).

# 图层

将任意图像图层拆分为可独立编辑的元素，然后直接在画布上旋转、翻转并重新排序图层。

### 拆分为图层

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FETpMtVp515Mq3dNvlLQ0%2Fimage.png?alt=media&amp;token=3f809eb1-5877-4b91-9e96-69d5385cbe9b" alt=""><figcaption></figcaption></figure>

将任何图像图层分解为其各个对象。每个对象都会变成一个独立图层，你可以重新定位、调整大小或编辑，然后再将它们融合回场景中。

{% stepper %}
{% step %}

#### **右键单击图层**

在画布中的任意图像图层上，右键单击并选择 <kbd><mark style="color:$primary;">**拆分为图层**<mark style="color:$primary;"></kbd>.

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FwiCWhHlsgPx7lnFqKdcv%2Fimage.png?alt=media&amp;token=9ed360e6-b40c-40bd-a47c-9ac7a9183d3a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
拆分需要几分钟。处理过程中，图层上会出现闪光效果。
{% endhint %}
{% endstep %}

{% step %}

#### **等待拆分完成**

图层在处理期间会被锁定。你无法选择、移动、调整大小或删除它。你仍然可以处理其他图层，或者拆分它们。拆分通常需要 1–2 分钟，具体取决于图像复杂度。
{% endstep %}

{% step %}

#### **编辑你的图层**

拆分完成后，原始图层会被分离后的图层替换。每个图层都会在画布上显示一个框，并在左侧边栏中有一个名称。你可以移动、调整大小或编辑每个图层。
{% endstep %}

{% step %}

#### 将图层重新融合

编辑完成后，你可以通过使用 Beachside Tasks 将图层以三种方式重新融合回场景中

* <kbd><mark style="color:$primary;">**融合**<mark style="color:$primary;"></kbd> 可一键真实地融合你的图层，无需提示。 [融合](/main/ch/ren-wu/blend.md)
* <kbd><mark style="color:$primary;">**组合**<mark style="color:$primary;"></kbd> 使用提示词引导结果来融合你的图层。 [Broken mention](broken://pages/399595d5415f4fa8f0265d7db6f9f984dee22cb2)
* <kbd><mark style="color:$primary;">**图像到图像生成**<mark style="color:$primary;"></kbd> 使用提示词引导结果来融合你的图层。 [模型生成](/main/ch/ren-wu/model.md)
* <kbd><mark style="color:$primary;">**光照**<mark style="color:$primary;"></kbd> 通过引入新的光线来融合你的图层。 [灯光](/main/ch/ren-wu/light.md)
  {% endstep %}
  {% endstepper %}

***

### 置于顶层 / 置于底层

一步即可将任意图层移动到图层堆栈的最上方或最下方。

右键单击任意图层并选择 <kbd><mark style="color:$primary;">**置于顶层**<mark style="color:$primary;"></kbd> 或 <kbd><mark style="color:$primary;">**置于底层**<mark style="color:$primary;"></kbd>，或者使用键盘快捷键 <kbd><mark style="color:$primary;">**]**<mark style="color:$primary;"></kbd> 和 <kbd><mark style="color:$primary;">**\[**<mark style="color:$primary;"></kbd>.

***

### 旋转图层

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FEND4KoxX4Y8VfODtA4ZN%2Fimage.png?alt=media&amp;token=69926206-f8dc-484a-a549-fec5693c0724" alt=""><figcaption></figcaption></figure>

你可以从图层的角点或臂状控制柄旋转任何图层。旋转适用于图像、生成的视觉内容、上传的资源和工具图层，包括延伸到场景边框之外的图层。

{% stepper %}
{% step %}

#### 选择一个图层

单击画布上的图层以将其选中。变换控制柄会显示在其周围。
{% endstep %}

{% step %}

#### 移动到旋转控制柄

将鼠标悬停在角点外侧，或悬停在图层上方的臂柄上。光标会变为旋转光标，表示你已进入旋转区域。
{% endstep %}

{% step %}

#### 拖动以旋转

按住并拖动即可围绕中心旋转图层。你旋转时，角度提示会跟随光标并显示当前角度。
{% endstep %}

{% step %}

#### 松开以设置角度

松开即可应用旋转。图层会保留你设置的角度。
{% endstep %}
{% endstepper %}

{% hint style="info" %}
按住 **Shift** ，旋转时可吸附到最接近的 15° 增量。
{% endhint %}

***

### 翻转图层

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FnqTemwCbT1IfLx0k5eFN%2Fimage.png?alt=media&amp;token=c5da6e16-5e0a-47ff-afbb-7c0974760785" alt=""><figcaption></figcaption></figure>

翻转会在原位镜像图层。图层保持相同的位置、大小和边界框，且翻转会与已应用的任何旋转叠加。

{% stepper %}
{% step %}

#### 右键单击图层

右键单击一个已选中的单个图层以打开图层菜单。
{% endstep %}

{% step %}

#### 选择翻转方向

选择 <kbd><mark style="color:$primary;">**水平翻转**<mark style="color:$primary;"></kbd> 以左右镜像，或者 <kbd><mark style="color:$primary;">**垂直翻转**<mark style="color:$primary;"></kbd> 以上下镜像。

翻转会立即生效。
{% endstep %}
{% endstepper %}

{% hint style="info" %}
要撤销翻转，请使用常规撤销操作。连续两次执行相同方向的翻转会使图层恢复到原始状态。
{% endhint %}

***

### 常见问题

<details>

<summary><strong>我可以再次拆分图层以获得更高精度吗？</strong></summary>

可以。任何图层，包括之前拆分得到的图层，都可以再次拆分。如果图层小于 512px 且大于 6000px，拆分操作将被禁用。

</details>

<details>

<summary><strong>我把图像拆分成图层了，但它们的排列顺序不对</strong></summary>

拆分图像后，图层可能会以错误的顺序显示。使用 <kbd><mark style="color:$primary;">**置于顶层**<mark style="color:$primary;"></kbd> 或 <kbd><mark style="color:$primary;">**置于底层**<mark style="color:$primary;"></kbd> 来重新排列它们。

</details>

<details>

<summary><strong>我可以一次拆分多个图层吗？</strong></summary>

可以。

</details>

<details>

<summary><strong>我可以撤销拆分吗？</strong></summary>

可以。按下 <kbd><mark style="color:$primary;">**⌘Z**<mark style="color:$primary;"></kbd> 来撤销。

</details>

<details>

<summary><strong>“拆分为图层”为什么是灰色的？</strong></summary>

当图层过小（<512px）或过大（>6000px）而无法拆分时，该操作会被禁用。

</details>

<details>

<summary><strong>拆分失败了，我该怎么办？</strong></summary>

如果拆分失败，图层会恢复为正常状态，并显示错误。右键单击该图层并重试。

</details>

<details>

<summary><strong>我可以在拆分过程中离开场景编辑吗？</strong></summary>

可以。你离开编辑后拆分仍会继续。选择 <kbd><mark style="color:$primary;">**恢复**<mark style="color:$primary;"></kbd> 以查看结果。

</details>

<details>

<summary><strong>我可以从缩放控制点精确旋转到某个角度吗？</strong></summary>

可以。将鼠标悬停在角点缩放控制点上并按住 **⌘ Command** （或 **Ctrl** （在 Windows 上）。按住该键时，角点会切换到旋转模式，拖动即可旋转图层。松开该键可返回缩放。

</details>

<details>

<summary><strong>我可以一次旋转多个图层吗？</strong></summary>

可以。选择一个组或多个图层，并将它们作为一个整体旋转。它们会围绕组合选区的中心旋转。

</details>

<details>

<summary><strong>为什么我看不到图层的翻转选项？</strong></summary>

翻转适用于图像、生成的视觉内容、上传的资源、蒙版和产品资源。以下对象不会显示这些选项：

* 文本图层
* 组
* 已锁定图层
* 同时选中了多个图层

</details>

<details>

<summary><strong>当我继续编辑翻转后的图层时会发生什么？</strong></summary>

你的任务不会有任何变化。翻转是一种原位变换，因此你当前正在进行的任务会继续以翻转后的图层作为当前状态。

</details>


---

# 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-neng/layers.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.
