Skip to main content

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.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
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

ParameterData TypeRequiredRangeDescription
photomakerPHOTOMAKERYes-The PhotoMaker model used for processing the image and generating image-based embeddings
imageIMAGEYes-The reference image that provides visual characteristics for conditioning
clipCLIPYes-The CLIP model used for text tokenization and encoding
textSTRINGYes-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 NameData TypeDescription
CONDITIONINGCONDITIONINGThe 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