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

# ElevenLabsTextToSoundEffects - ComfyUI Built-in Node Documentation

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

ElevenLabs 文本转音效节点可根据文本描述生成音频音效。该节点利用 ElevenLabs API，基于您的提示词创建音效，并允许您控制时长、循环行为以及音效与文本的匹配程度。

## 输入

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

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

***

**Source fingerprint (SHA-256):** `c23c4dd3c9c12f0e891d40683265c5b74b5c6320601aaadb686489510db9f107`
