Commit Graph

3 Commits

Author SHA1 Message Date
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