> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ElevenLabsTextToSoundEffects - ComfyUI Built-in Node Documentation

> ElevenLabs 文本转音效节点可根据文本描述生成音频音效。

ElevenLabs 文本转音效节点可根据文本描述生成音频音效。它使用 ElevenLabs API 根据您的提示生成音效，让您能够控制时长、循环行为以及音效与文本的贴合程度。

## 输入

### 通用输入

| 参数     | 描述                                   | 数据类型           | 必需 | 范围                                        |
| ------ | ------------------------------------ | -------------- | -- | ----------------------------------------- |
| `模型`   | 用于生成音效的模型。当前仅提供一个模型：`eleven_sfx_v2`。 | DYNAMIC\_COMBO | 是  | `"eleven_sfx_v2"`                         |
| `文本`   | 要生成的音效的文本描述。（默认：空）                   | STRING         | 是  | N/A                                       |
| `输出格式` | 音频输出格式。                              | COMBO          | 是  | `"mp3_44100_192"`<br />`"opus_48000_192"` |

### eleven\_sfx\_v2 输入

当选择 `eleven_sfx_v2` 模型时，会显示这些参数。

| 参数                 | 描述                                  | 数据类型    | 必需 | 范围              |
| ------------------ | ----------------------------------- | ------- | -- | --------------- |
| `duration`         | 生成声音的时长（秒）。（默认：5.0）                 | FLOAT   | 是  | 0.5 到 30.0      |
| `loop`             | 创建平滑循环的音效。（默认：False）                | BOOLEAN | No | True<br />False |
| `prompt_influence` | 生成与提示的贴合程度。值越高，音效与文本的贴合度越高。（默认：0.3） | FLOAT   | 是  | 0.0 到 1.0       |

**注意：** `text` 参数不能为空；在发送声音生成请求之前会进行验证。

## 输出

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

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

***

**Source fingerprint (SHA-256):** `218ff617256cea33f310c1bcfc6407c46aaadc59201a0324b0ec64583166ce58`
