ComfyUI > Nodes > Comfyui-QwenPromptRewriter > TextEncodeQwenImageEdit (Advanced)

ComfyUI Node: TextEncodeQwenImageEdit (Advanced)

Class Name

TextEncodeQwenImageEditAdv

Category
advanced/conditioning
Author
lihaoyun6 (Account age: 3650days)
Extension
Comfyui-QwenPromptRewriter
Latest Updated
2025-10-07
Github Stars
0.07K

How to Install Comfyui-QwenPromptRewriter

Install this extension via the ComfyUI Manager by searching for Comfyui-QwenPromptRewriter
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui-QwenPromptRewriter 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

TextEncodeQwenImageEdit (Advanced) Description

Enhances image editing with advanced text encoding for nuanced AI-assisted modifications.

TextEncodeQwenImageEdit (Advanced):

The TextEncodeQwenImageEditAdv node is designed to enhance the process of conditioning in image editing tasks by leveraging advanced text encoding techniques. This node is particularly useful for AI artists who wish to integrate textual prompts with image data to achieve more refined and contextually aware image modifications. By utilizing the Qwen model, this node allows for the encoding of both positive and negative prompts, which can be used to guide the image editing process in a nuanced manner. The node's ability to handle reference latents and align them appropriately ensures that the resulting image edits are coherent and aligned with the user's creative vision. This makes it an essential tool for those looking to push the boundaries of AI-assisted image editing.

TextEncodeQwenImageEdit (Advanced) Input Parameters:

clip

The clip parameter refers to the CLIP model used for encoding the text prompts. It is essential for transforming textual descriptions into a format that can be understood and utilized by the image editing process. This parameter does not have a default value and must be specified to ensure the node functions correctly.

prompt

The prompt parameter is a string input that allows you to provide a detailed description of the desired image edits. It supports multiline and dynamic prompts, enabling complex and nuanced instructions. This flexibility allows for a wide range of creative possibilities, making it a powerful tool for guiding the image editing process.

negative_prompt

The negative_prompt parameter is used to specify aspects that should be avoided or minimized in the image editing process. By providing a string input here, you can instruct the model to steer clear of certain features or styles, ensuring that the final output aligns more closely with your artistic intent.

align_latent

The align_latent parameter is a boolean option that determines whether the reference latents should be pre-scaled. By default, it is set to True, meaning that the latents will not be pre-scaled. This setting can impact the alignment and coherence of the edited image, making it an important consideration for achieving the desired results.

vae

The vae parameter is optional and refers to the Variational Autoencoder model that can be used to encode the image data. This model helps in transforming the image into a latent space representation, which is crucial for the conditioning process. Providing a VAE can enhance the quality and fidelity of the image edits.

image

The image parameter is an optional input that allows you to provide an image for editing. This image serves as the base upon which the textual prompts will be applied, and its presence is crucial for the node to perform its intended function. If no image is provided, the node will not be able to execute the editing process.

TextEncodeQwenImageEdit (Advanced) Output Parameters:

conditioning+

The conditioning+ output represents the positive conditioning derived from the provided prompt. This output is used to guide the image editing process towards the features and styles described in the prompt, ensuring that the final image aligns with your creative vision.

conditioning-

The conditioning- output captures the negative conditioning based on the negative prompt. It serves to steer the image editing process away from undesired features, helping to refine the output and maintain focus on the intended artistic direction.

latent

The latent output is a representation of the image in a latent space, which is influenced by both the positive and negative conditionings. This output is crucial for the subsequent stages of image processing, as it encapsulates the combined effects of the prompts and the original image data.

TextEncodeQwenImageEdit (Advanced) Usage Tips:

  • Ensure that your prompt and negative_prompt are clear and detailed to achieve the best results. The more specific you are, the more accurately the node can guide the image editing process.
  • Experiment with the align_latent setting to see how it affects the coherence of your edited images. Depending on your artistic goals, you may find that enabling or disabling this option yields better results.

TextEncodeQwenImageEdit (Advanced) Common Errors and Solutions:

Missing CLIP Model

  • Explanation: The clip parameter is not provided, which is essential for the node to function.
  • Solution: Ensure that you specify a valid CLIP model in the clip parameter before executing the node.

No Image Provided

  • Explanation: The image parameter is not provided, which is necessary for the node to perform image editing.
  • Solution: Provide an image in the image parameter to enable the node to execute the editing process.

Invalid Prompt Format

  • Explanation: The prompt or negative_prompt is not formatted correctly, leading to errors in processing.
  • Solution: Check that your prompts are properly formatted as strings and adhere to any specified guidelines for multiline or dynamic prompts.

TextEncodeQwenImageEdit (Advanced) Related Nodes

Go back to the extension to check out more related nodes.
Comfyui-QwenPromptRewriter
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.