> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/guides/guides-zh/zi-dong-hua/shi-yong-topaz-pi-liang-zeng-qiang-zhao-pian.md).

# 使用 Topaz 批量增强照片

使用 Topaz Labs 对文件夹中放入的每张照片进行放大、降噪、锐化或去模糊处理，并将结果保存到原图旁边。

**结果：** 拖入一个 `要增强` 文件夹中的内容会由 Topaz Labs 处理，增强后的副本会保存到一个 `增强后` 文件夹中。原始文件保持不变。

**适用于：** 供摄影团队和档案库批量清理低分辨率、噪点多或发虚的图像。

**时间：** 大约 10 分钟。

## 开始之前

* 构建 [你的第一个自动化](/guides/guides-zh/zi-dong-hua/ni-de-di-yi-ge-zi-dong-hua.md) 如果你还没有使用过自动化编辑器，请先。
* 在 **设置 > 集成 > 集成**中，打开 **Topaz** 并使用你的 Topaz API 密钥进行连接。
* 创建一个 `要增强` 文件夹和一个 `增强后` 文件夹。

## 步骤

{% stepper %}
{% step %}

### 在上传到“要增强”时触发

创建一个名为 `增强照片`的新自动化。选择 **资产上传** 并将 **上传位置** 设置为 `要增强`.
{% endstep %}

{% step %}

### 跳过任何不是图像的内容

添加一个 **筛选器** 一个步骤，仅在资源的 **输入** 是图像时才继续。
{% endstep %}

{% step %}

### 选择增强类型

添加一个 Topaz 操作，并将 **资源** 设置为已上传的资源：

| 操作        | 用于             |
| --------- | -------------- |
| **放大图像**  | 需要放大尺寸的低分辨率图像  |
| **降噪图像**  | 高 ISO 或颗粒感重的照片 |
| **锐化图像**  | 略微发虚的图像        |
| **去模糊图像** | 运动模糊、镜头模糊或对焦失误 |

你可以串联多个，例如 **降噪图像**，然后 **放大图像**.
{% endstep %}

{% step %}

### 保存结果

添加 **保存文件到云盘**。将 **源 URL** 设置为 Topaz 步骤的输出 URL（Shade 会建议此步骤并自动填入），并将 **目标文件夹** 设置为 `增强后`.
{% endstep %}

{% step %}

### 保存、启用并测试

点击 **保存**，然后 **启用**，并将一张图像拖入到 `要增强`。检查 **运行** 选项卡，如果在其中没有显示任何内容 `增强后` ，请在一两分钟后查看。
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
切勿将结果保存到你正在监视的文件夹中。每个已保存的文件都会被算作新的上传并再次启动自动化。
{% endhint %}

## 变体

* **按每张照片而不是按文件夹选择：** 使用一个 **手动触发器** 其运行于 **文件**，这样任何人都可以右键单击图像，选择 **运行自动化**，并选择增强类型。

## 相关文章

* [自动整理新上传内容](/guides/guides-zh/zi-dong-hua/zi-dong-zheng-li-xin-shang-chuan-nei-rong.md)
* [你的第一个自动化](/guides/guides-zh/zi-dong-hua/ni-de-di-yi-ge-zi-dong-hua.md)


---

# 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://academy.shade.inc/guides/guides-zh/zi-dong-hua/shi-yong-topaz-pi-liang-zeng-qiang-zhao-pian.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.
