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

# PhotoMakerEncode - ComfyUI Built-in Node Documentation

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

PhotoMakerEncode 节点处理图像和文本，为 AI 图像生成生成条件数据。它接收参考图像和文本提示，然后创建嵌入，用于根据参考图像的视觉特征引导图像生成。该节点会特别查找文本中的 "photomaker" 标记，以确定在何处应用基于图像的条件控制。

## 输入

| 参数           | 描述                                            | 数据类型       | 是否必填 | 范围 |
| ------------ | --------------------------------------------- | ---------- | ---- | -- |
| `photomaker` | 用于处理图像并生成嵌入的 PhotoMaker 模型                    | PHOTOMAKER | 是    | -  |
| `图像`         | 提供视觉特征用于条件控制的参考图像                             | IMAGE      | 是    | -  |
| `clip`       | 用于文本分词和编码的 CLIP 模型                            | CLIP       | 是    | -  |
| `文本`         | 用于生成条件控制的文本提示（默认值："photograph of photomaker"） | STRING     | 是    | -  |

**注意：** 当文本中包含 "photomaker" 一词时，节点会在提示词中的该位置应用基于图像的条件控制。如果文本中未找到 "photomaker"，节点将生成标准文本条件控制，不包含图像影响。

## 输出

| 输出名称           | 描述                      | 数据类型         |
| -------------- | ----------------------- | ------------ |
| `CONDITIONING` | 包含图像和文本嵌入的条件数据，用于引导图像生成 | CONDITIONING |

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

***

**Source fingerprint (SHA-256):** `535fd3dbbe0e48205bebde030138ffca841dc94a18fd47db768a1066fe84bce4`
