ComfyUI > Nodes > ComfyUI-QI-QwenEditSafe > Qwen Image Edit — Text Encoder (Safe) — by wallen0322

ComfyUI Node: Qwen Image Edit — Text Encoder (Safe) — by wallen0322

Class Name

QI_TextEncodeQwenImageEdit_Safe

Category
QI by wallen0322
Author
wallen (Account age: 267days)
Extension
ComfyUI-QI-QwenEditSafe
Latest Updated
2025-11-05
Github Stars
0.06K

How to Install ComfyUI-QI-QwenEditSafe

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

Qwen Image Edit — Text Encoder (Safe) — by wallen0322 Description

Node for integrating text prompts with image editing in a safe manner, enhancing AI artists' creative capabilities.

Qwen Image Edit — Text Encoder (Safe) — by wallen0322:

The QI_TextEncodeQwenImageEdit_Safe node is designed to facilitate the integration of text-based prompts with image editing processes in a safe and controlled manner. This node is part of the Qwen suite by wallen0322, which aims to enhance the creative capabilities of AI artists by providing tools that ensure consistency and quality in image editing tasks. The primary function of this node is to encode textual prompts into a format that can be effectively used to guide image modifications, ensuring that the resulting images align closely with the user's creative vision. By leveraging advanced encoding techniques, this node helps maintain the integrity of the original image while allowing for expressive and nuanced edits based on textual input. This makes it an invaluable tool for artists looking to blend textual creativity with visual artistry seamlessly.

Qwen Image Edit — Text Encoder (Safe) — by wallen0322 Input Parameters:

clip

The clip parameter represents the CLIP model used for encoding the text prompt. It plays a crucial role in determining how the text is interpreted and influences the resulting image edits. The choice of CLIP model can affect the style and accuracy of the edits, with different models offering varying levels of detail and abstraction.

prompt

The prompt parameter is the textual input that guides the image editing process. It should be a clear and descriptive text that conveys the desired changes or themes to be applied to the image. The effectiveness of the prompt depends on its clarity and relevance to the intended edits.

image

The image parameter is the original image that will be edited based on the text prompt. This image serves as the canvas for the modifications, and its quality and content can significantly impact the final output.

vae

The vae parameter refers to the Variational Autoencoder model used in the encoding process. It helps in managing the latent space where the image and text are combined, ensuring that the edits are applied smoothly and naturally.

no_resize_pad

The no_resize_pad parameter is a boolean option that determines whether the image should be resized or padded during processing. When set to True, the image is not resized, which can help preserve its original dimensions and aspect ratio.

pad_mode

The pad_mode parameter specifies the method used for padding the image if resizing is not applied. Options like "reflect" can be used to create a seamless extension of the image's edges, which is useful for maintaining visual consistency.

grid_multiple

The grid_multiple parameter defines the grid size used for aligning the image during processing. A value of 64 ensures that the image dimensions are compatible with the model's requirements, facilitating efficient and accurate edits.

inject_mode

The inject_mode parameter determines how the encoded text is integrated into the image editing process. Options like "both" allow for a balanced combination of text and image features, enhancing the coherence of the edits.

encode_fp32

The encode_fp32 parameter is a boolean option that specifies whether to use 32-bit floating-point precision during encoding. This can improve the accuracy of the edits, especially in high-detail scenarios.

vl_max_pixels

The vl_max_pixels parameter sets the maximum number of pixels allowed in the image for processing. A default value of 16,777,216 ensures that the image is manageable in size while retaining sufficient detail for quality edits.

system_template

The system_template parameter is an optional string that provides a template for the system's configuration during encoding. It can be used to customize the processing environment to better suit specific editing tasks.

image2

The image2 parameter is an optional secondary image that can be used in conjunction with the primary image for more complex edits. It allows for multi-image compositions and blending.

image3

The image3 parameter is another optional image input, similar to image2, providing additional flexibility for multi-image editing scenarios.

Qwen Image Edit — Text Encoder (Safe) — by wallen0322 Output Parameters:

conditioning

The conditioning output represents the encoded state of the text prompt, which is used to guide the image editing process. It ensures that the edits are aligned with the user's creative intent.

image

The image output is the edited version of the original image, modified according to the text prompt and other input parameters. It reflects the successful application of the desired changes.

latent

The latent output provides the latent representation of the image after encoding, which can be used for further processing or analysis. It captures the underlying features and structure of the edited image.

Qwen Image Edit — Text Encoder (Safe) — by wallen0322 Usage Tips:

  • Use clear and descriptive prompts to ensure that the edits align closely with your creative vision.
  • Experiment with different CLIP models to find the one that best suits your style and the level of detail you desire.
  • Adjust the grid_multiple parameter to ensure compatibility with your model's requirements, especially when working with high-resolution images.
  • Consider using the no_resize_pad option to maintain the original dimensions of your image, which can be important for certain artistic styles.

Qwen Image Edit — Text Encoder (Safe) — by wallen0322 Common Errors and Solutions:

Image size exceeds maximum allowed pixels

  • Explanation: The image you are trying to process exceeds the maximum pixel limit set by the vl_max_pixels parameter.
  • Solution: Reduce the size of your image or adjust the vl_max_pixels parameter to accommodate larger images.

Invalid prompt format

  • Explanation: The text prompt provided is not in a format that can be processed by the node.
  • Solution: Ensure that your prompt is a clear and concise text string that accurately describes the desired edits.

CLIP model not found

  • Explanation: The specified CLIP model is not available or incorrectly referenced.
  • Solution: Verify that the correct CLIP model is installed and referenced in your configuration.

Qwen Image Edit — Text Encoder (Safe) — by wallen0322 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-QI-QwenEditSafe
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.