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

# AddTextPrefix - ComfyUI Built-in Node Documentation

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

Add Text Prefix 节点通过在每个输入文本的开头添加指定字符串来修改文本。它接收文本和前缀作为输入，然后返回组合后的结果。

## 输入参数

| 参数名      | 数据类型   | 必填 | 取值范围 | 描述                    |
| -------- | ------ | -- | ---- | --------------------- |
| `text`   | STRING | 是  |      | 需要添加前缀的文本。            |
| `prefix` | STRING | 否  |      | 要添加到文本开头的字符串（默认值：""）。 |

## 输出结果

| 输出名称   | 数据类型   | 描述              |
| ------ | ------ | --------------- |
| `text` | STRING | 将前缀添加到开头后得到的文本。 |
