> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/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.

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

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

## 输入参数

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

## 输出结果

| 输出名称    | 数据类型  | 说明            |
| ------- | ----- | ------------- |
| `audio` | AUDIO | 基于文本提示生成的音频文件 |
