ComfyUI > Nodes > ComfyUi-TextEncodeEditAdvanced > Conditioning Add Image Reference

ComfyUI Node: Conditioning Add Image Reference

Class Name

ConditioningAddImageReference

Category
conditioning/qwen_image_edit
Author
BigStationW (Account age: 0days)
Extension
ComfyUi-TextEncodeEditAdvanced
Latest Updated
2026-03-16
Github Stars
0.05K

How to Install ComfyUi-TextEncodeEditAdvanced

Install this extension via the ComfyUI Manager by searching for ComfyUi-TextEncodeEditAdvanced
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUi-TextEncodeEditAdvanced in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Conditioning Add Image Reference Description

Enhances AI art by adding up to three image references to conditioning data using VAE encoding.

Conditioning Add Image Reference:

The ConditioningAddImageReference node is designed to enhance the conditioning process in AI art generation by incorporating image references into the conditioning data. This node allows you to add up to three image references, which are encoded into latent representations using a Variational Autoencoder (VAE). These latent representations are then appended to both positive and negative conditioning sets. By doing so, the node enables the model to leverage visual cues from the provided images, potentially improving the quality and relevance of the generated art. This functionality is particularly beneficial when you want to guide the AI model with specific visual styles or elements present in the reference images.

Conditioning Add Image Reference Input Parameters:

positive

The positive parameter represents the initial set of positive conditioning data. This data is augmented with the latent representations of the reference images, allowing the model to incorporate positive visual cues from these images into the generation process.

negative

The negative parameter is similar to the positive parameter but is used for negative conditioning data. By adding latent representations of the reference images to this set, the model can learn to avoid certain visual elements or styles present in the reference images.

max_images_allowed

This parameter specifies the maximum number of image references that can be processed, with a default value of "3". It determines how many of the provided images will be encoded and used in the conditioning process. The value must be an integer, and it controls the extent to which image references influence the conditioning.

vae

The vae parameter is a Variational Autoencoder model used to encode the reference images into latent representations. This encoding is crucial for transforming the images into a format that can be integrated into the conditioning data.

image1

The image1 parameter is the first image reference that can be used for conditioning. If provided, this image will be encoded by the VAE and its latent representation will be added to the conditioning data.

image2

The image2 parameter is the second image reference, similar to image1. It provides an additional visual cue for the conditioning process if included.

image3

The image3 parameter is the third image reference, offering yet another layer of visual guidance for the model. Like the other image parameters, it is optional and only used if provided.

Conditioning Add Image Reference Output Parameters:

positive

The positive output parameter is the augmented set of positive conditioning data, now including the latent representations of the reference images. This enriched data helps guide the model towards desired visual outcomes.

negative

The negative output parameter is the augmented set of negative conditioning data, also including the latent representations of the reference images. This helps the model to avoid undesired visual elements during generation.

Conditioning Add Image Reference Usage Tips:

  • Ensure that the VAE model is properly configured and compatible with the images you intend to use as references to achieve optimal encoding results.
  • Use high-quality and relevant images as references to provide clear visual guidance to the model, enhancing the quality of the generated art.

Conditioning Add Image Reference Common Errors and Solutions:

"VAE model not provided"

  • Explanation: The node requires a VAE model to encode the reference images into latent representations.
  • Solution: Ensure that a valid VAE model is passed to the vae parameter before executing the node.

"Image reference is None"

  • Explanation: One or more of the image reference parameters (image1, image2, image3) are not provided, which may limit the conditioning process.
  • Solution: Provide valid image references for the parameters you wish to use, ensuring they are not None.

Conditioning Add Image Reference Related Nodes

Go back to the extension to check out more related nodes.
ComfyUi-TextEncodeEditAdvanced
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Conditioning Add Image Reference