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

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/PhotoMakerEncode/en.md)

The PhotoMakerEncode node processes a reference image and a text prompt to generate conditioning data for AI image generation. It uses the PhotoMaker model to combine visual characteristics from the image with text embeddings, specifically looking for the "photomaker" token in the text to determine where to apply the image-based conditioning.

## Inputs

| Parameter    | Data Type  | Required | Range | Description                                                                              |
| ------------ | ---------- | -------- | ----- | ---------------------------------------------------------------------------------------- |
| `photomaker` | PHOTOMAKER | Yes      | -     | The PhotoMaker model used for processing the image and generating image-based embeddings |
| `image`      | IMAGE      | Yes      | -     | The reference image that provides visual characteristics for conditioning                |
| `clip`       | CLIP       | Yes      | -     | The CLIP model used for text tokenization and encoding                                   |
| `text`       | STRING     | Yes      | -     | The text prompt for conditioning generation (default: "photograph of photomaker")        |

**Note:** When the text contains the word "photomaker", the node applies image-based conditioning at that position in the prompt. If "photomaker" is not found in the text, the node generates standard text conditioning without image influence.

## Outputs

| Output Name    | Data Type    | Description                                                                                                                                  |
| -------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `CONDITIONING` | CONDITIONING | The conditioning data containing image and text embeddings for guiding image generation, along with pooled output from the CLIP text encoder |

***

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