> ## 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.

# StabilityTextToAudio - ComfyUI Built-in Node Documentation

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

根据文本描述生成高质量的音乐和音效。此节点使用 Stability AI 的音频生成技术，根据您的文本提示创建音频内容。

## 输入

| 参数    | 描述                                 | 数据类型   | 是否必填 | 范围                   |
| ----- | ---------------------------------- | ------ | ---- | -------------------- |
| `模型`  | 要使用的音频生成模型（默认值："stable-audio-2.5"） | COMBO  | 是    | `"stable-audio-2.5"` |
| `提示词` | 用于生成音频内容的文本描述（默认值：空字符串）            | STRING | 是    | -                    |
| `时长`  | 控制生成音频的时长（秒）（默认值：190）              | INT    | 否    | 1-190                |
| `种子`  | 用于生成的随机种子（默认值：0）                   | INT    | 否    | 0-4294967294         |
| `步数`  | 控制采样步数（默认值：8）                      | INT    | 否    | 4-8                  |

## 输出

| 输出名称    | 描述            | 数据类型  |
| ------- | ------------- | ----- |
| `audio` | 根据文本提示生成的音频文件 | AUDIO |

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

***

**Source fingerprint (SHA-256):** `5185241ca7a9b4bc38dfa8bafdae63ec3c151a3038a26ffe8e35492c0550fa88`
