9 Commits

Author SHA1 Message Date
AIGC_Zero
01ec967e23
Merge 2bf38074084125b39bfbba61af630b10650ce5c6 into 9bc893c5bbd2838bdd15ebd40e3a3e548ce3e4f0 2025-12-05 02:18:11 +08:00
Alexander Piskun
160698eb41
convert nodes_qwen.py to V3 schema (#10049) 2025-09-27 12:25:35 -07:00
AIGCZero
ffad732482 Fix alpha channel handling in Qwen image edit nodes
- Fix TextEncodeQwenImageEditPlus to ensure only RGB channels are used
- Prevents RuntimeError when input images have alpha channels
- Ensures proper tensor shape for vision language models
2025-09-25 13:33:35 +08:00
comfyanonymous
1fee8827cb
Support for qwen edit plus model. Use the new TextEncodeQwenImageEditPlus. (#9986) 2025-09-22 16:49:48 -04:00
AIGCZero
2debbcf50e Remove Chinese comments from Qwen image edit node 2025-09-15 14:00:33 +08:00
AIGCZero
cc1c5da4f6 Add intelligent scaling algorithm selection for Qwen image edit node
- Implement automatic algorithm selection: area for downscaling, lanczos for upscaling
- Improve image quality by choosing optimal scaling method based on target size
- Add Chinese comments for better code documentation
- Ensure 8-pixel alignment for better compatibility with diffusion models
2025-09-15 13:53:09 +08:00
AIGCZero
c8bfec86b3 Add TextEncodeQwenImageEdit node with intelligent scaling
- Implements Qwen image editing functionality with CLIP text encoding
- Features intelligent scaling algorithm selection:
  - Uses 'area' method for downscaling to preserve details
  - Uses 'lanczos' method for upscaling for better quality
- Supports optional VAE encoding for reference latents
- Maintains aspect ratio with 'disabled' crop method
- Scales images to target resolution (1024x1024 pixels) with 8-pixel alignment
2025-09-15 13:50:49 +08:00
comfyanonymous
bddd69618b
Change the TextEncodeQwenImageEdit node to use logic closer to reference. (#9432) 2025-08-19 16:49:01 -04:00
comfyanonymous
4977f203fa
P2 of qwen edit model. (#9412)
* P2 of qwen edit model.

* Typo.

* Fix normal qwen.

* Fix.

* Make the TextEncodeQwenImageEdit also set the ref latent.

If you don't want it to set the ref latent and want to use the
ReferenceLatent node with your custom latent instead just disconnect the
VAE.
2025-08-18 22:38:34 -04:00