> 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-opus-clip-jiang-chang-shi-pin-zhuan-cheng-she-jiao-duan-pian.md).

# 使用 Opus Clip 将长视频转成社交短片

自动将长视频发送到 Opus Clip，并把它生成的短片段保存回你的驱动器中。

**结果：** 将每个放入文件夹中的播客、访谈或网络研讨会录音，处理后会在你的云盘中变成一组可供查看的竖版短剪辑。

**适用于：** 从长视频录制中剪出短片段的社交和内容团队。

**时间：** 搭建约需 15 分钟。每次运行所需时间与 Opus Clip 处理视频所需时间相同。

## 开始之前

* 构建 [你的第一个自动化](/guides/guides-zh/zi-dong-hua/ni-de-di-yi-ge-zi-dong-hua.md) 如果你还没有使用过自动化编辑器，请先。
* 拥有一个支持 API 访问的 Opus Clip 账户。在 **设置 > 集成 > 集成**中，打开 **Opus Clip** 并用你的 API 密钥连接。
* 创建两个文件夹，例如 `长视频` 用于源视频，以及 `剪辑` 用于结果。

## 工作原理

```mermaid
flowchart LR
  T["资产已上传（长视频）"] --> G["使用 Opus Clip 生成剪辑"]
  G --> S["保存文件到云盘（剪辑）"]
```

## 步骤

{% stepper %}
{% step %}

### 在长视频文件夹的上传事件上触发

创建一个名为 `制作社交短片`的新自动化。选择 **资产上传** 并将 **上传位置** 设置为 `长视频`.
{% endstep %}

{% step %}

### 生成剪辑

添加 **使用 Opus Clip 生成剪辑**:

* **视频：** 触发器中的已上传资产。
* **筛选模型：** **ClipBasic** 适用于播客和访谈等对着镜头讲话的录制。 **ClipAnything** 适用于任何素材，并按提示词运行。
* **自定义提示词** （仅限 ClipAnything）：例如 `最令人惊讶的时刻` 或 `每个产品演示`.
* **单个剪辑最长时长：** 以秒为单位。60 到 90 秒适合大多数平台。
* **宽高比：** **竖版** 用于 Reels、Shorts 和 TikTok， **方形** 或 **横版** 用于其他所有场景。
  {% endstep %}

{% step %}

### 将剪辑保存到你的云盘中

添加 **保存文件到云盘**。Shade 建议将此步骤放在 Opus Clip 步骤之后，并会填充 **源 URL** 与剪辑链接。如果你自己添加，请将 **源 URL** 设为 Opus Clip 步骤的剪辑 URL。将 **目标文件夹** 设置为 `剪辑`，或者一个以源视频命名的子文件夹。
{% endstep %}

{% step %}

### 保存、启用并测试

点击 **保存**，然后 **启用**。上传一段短录制到 `长视频` 并在 **运行**中查看运行过程。每个 Opus Clip 阶段都会在工作时显示出来，从查找亮点到渲染和上传。
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
将剪辑保存在被监视文件夹之外。如果剪辑又落回 `长视频`中，它们会再次触发自动化。
{% endhint %}

## 变体

* **发布前审核：** 添加 **添加到集合** 在保存后，将新剪辑放入一个供你的社交负责人审核的“待审核剪辑”集合中。
* **重新获取旧项目：** **从 Opus Clip 项目获取剪辑** 使用其 Opus Clip 项目 ID，从一个已经完成的项目中拉取剪辑。

## 相关文章

* [审核通过后发布到 YouTube 或 Vimeo](/guides/guides-zh/zi-dong-hua/shen-he-tong-guo-hou-fa-bu-dao-youtube-huo-vimeo.md)
* [构建可搜索的归档](/guides/guides-zh/sou-suo-ai-he-dang-an/gou-jian-ke-sou-suo-de-gui-dang.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-opus-clip-jiang-chang-shi-pin-zhuan-cheng-she-jiao-duan-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.
