> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SoniloVideoToMusic - ComfyUI Built-in Node Documentation

> Complete documentation for the SoniloVideoToMusic node in ComfyUI. Learn its inputs, outputs, parameters and usage.

使用 Sonilo 的 AI 模型从视频生成音乐。此节点分析输入视频的内容，并创作一段与之匹配的音乐。它利用外部 AI 服务处理视频并生成音频。

## 输入

| 参数       | 描述                                                 | 数据类型   | 是否必填 | 取值范围                     |
| -------- | -------------------------------------------------- | ------ | ---- | ------------------------ |
| `video`  | 用于生成音乐的输入视频。最长时长：6 分钟。                             | VIDEO  | 是    | -                        |
| `prompt` | 可选的文本提示，用于引导音乐生成。留空可获得最佳质量——模型将完全分析视频内容。（默认值：空字符串） | STRING | 否    | -                        |
| `seed`   | 用于结果可复现的随机种子。当前被 Sonilo 服务忽略，但为保持图结构一致性而保留。（默认值：0） | INT    | 否    | 0 到 18446744073709551615 |

## 输出

| 输出名称    | 描述               | 数据类型  |
| ------- | ---------------- | ----- |
| `audio` | 生成的音乐，以音频文件形式输出。 | AUDIO |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SoniloVideoToMusic/zh.md)

***

**Source fingerprint (SHA-256):** `542fff1d8db8e48156bf9d1ff4690c91a7d71676332eef4708a6d36686abb31e`
