> For the complete documentation index, see [llms.txt](https://docs.acestudio.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acestudio.ai/docs/product-wiki-zh/ai-gong-ju/video-composer.md).

# 视频作曲器

在 ACE Studio 中借助 AI 辅助的时间线编辑，为视频生成音乐和音效。

## 什么是 Video Composer

Video Composer 是 ACE Studio 中用于为视频配乐的内置 AI 智能体。它会逐帧、逐场景分析你的视频，然后在时间线上规划并生成匹配的配乐或音效，作为可编辑片段。

## 如何使用 Video Composer

Video Composer 可与 [视频轨道](/docs/product-wiki-zh/gong-cheng/arrangement-in-canvas/video-track.md).

将视频导入到画布后，视频监看器和智能体聊天框会出现。随后，你可以向智能体发出提示，为整段视频或所选范围生成音乐或音效。

### 导入视频

<figure><img src="https://1816898227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsn71WYzecYYQw3KkF40b%2Fuploads%2FWVxQbswVfr81f4nVMq3p%2Fimport%20video.gif?alt=media&amp;token=30a83d4a-b78c-446f-8947-d0460b2984fe" alt=""><figcaption></figcaption></figure>

1. 将你的视频文件拖到画布上。
2. ACE Studio 会自动将其放置到视频轨道上。
3. 视频监看器会自动打开。关闭后，你可以通过双击视频片段或点击轨道标题栏重新打开它。

你可以显示或隐藏 [视频轨道](/docs/product-wiki-zh/gong-cheng/arrangement-in-canvas/video-track.md) 轨道列表标题栏中的

使用 [混音器](/docs/product-wiki-zh/gong-cheng/mixing/mixer.md) 来静音、独奏，或调整视频音频音量。

如果视频包含嵌入音频，你可以右键单击视频片段以分离音频。ACE Studio 会将分离出的音频放到音频轨上，便于单独编辑。

{% hint style="info" %}
Video Composer 目前支持最长 45 分钟、2 GB 的视频文件。
{% endhint %}

{% hint style="info" %}
ACE Studio 目前只支持一个全局视频轨道。在这个视频轨道上，你一次只能插入一个视频片段。

你可以替换视频，但无法在 ACE Studio 内重新定位或裁剪画面。
{% endhint %}

更多信息，请参阅 [导入文件](/docs/product-wiki-zh/gong-cheng/file-management/import-files.md).

### 与 Video Composer 智能体协作

<figure><img src="https://1816898227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsn71WYzecYYQw3KkF40b%2Fuploads%2FpweJNjhiUoNgoLk6OmDw%2Fagent.gif?alt=media&amp;token=207bd011-8c9b-4ecd-8b96-055e61eabfcb" alt=""><figcaption></figcaption></figure>

#### 生成音乐和音效

1. 选择生成音乐还是音效。
2. 描述你想要的情绪、时间点、风格或事件。
3. 可针对所选范围生成；如果不选择任何内容，则使用整段视频。
4. 在时间线上查看、编辑并重新排列生成的片段。
5. 继续在同一会话中对话，以优化之前的结果或添加新的提示。

#### 管理聊天会话

点击 <kbd>+</kbd> 图标，用于开始新会话。

点击 <i class="fa-clock">:clock:</i> 图标，用于重新打开之前的会话。

当你想要不同的创作方向时，请使用新会话。

{% hint style="info" %}
Video Composer 功能目前处于 Beta 版。
{% endhint %}


---

# 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.acestudio.ai/docs/product-wiki-zh/ai-gong-ju/video-composer.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.
