> 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;">**Combo**<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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.theseaai.com/main/ch/gong-neng/layers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
