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

# ElevenLabsTextToSoundEffects - ComfyUI Built-in Node Documentation

> Complete documentation for the ElevenLabsTextToSoundEffects 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/ElevenLabsTextToSoundEffects/zh.md)

ElevenLabs 文本转音效节点可根据文本描述生成音频音效。它利用 ElevenLabs API 基于您的提示创建音效，允许您控制音效的持续时间、循环行为以及音效与文本描述的贴合程度。

## 输入参数

| 参数              | 数据类型   | 必填 | 取值范围                                      | 描述                                                                                                                      |
| --------------- | ------ | -- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `text`          | STRING | 是  | 不适用                                       | 要生成的音效的文本描述。此为必填字段。                                                                                                     |
| `model`         | COMBO  | 是  | `"eleven_sfx_v2"`                         | 用于音效生成的模型。选择此模型会显示额外参数：`duration`（默认值：5.0，范围：0.5 至 30.0 秒）、`loop`（默认值：False）和 `prompt_influence`（默认值：0.3，范围：0.0 至 1.0）。 |
| `output_format` | COMBO  | 是  | `"mp3_44100_192"`<br />`"opus_48000_192"` | 音频输出格式。                                                                                                                 |

**参数详情：**

* **`model["duration"]`**：生成音效的持续时间（秒）。默认值为 5.0，最小值为 0.5，最大值为 30.0。
* **`model["loop"]`**：启用后，将创建平滑循环的音效。默认值为 False。
* **`model["prompt_influence"]`**：控制生成结果与文本提示的贴合程度。数值越高，音效越贴合文本。默认值为 0.3，取值范围为 0.0 至 1.0。

## 输出参数

| 输出名称    | 数据类型  | 描述         |
| ------- | ----- | ---------- |
| `audio` | AUDIO | 生成的音效音频文件。 |
