ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Feature/qwen eligen support

Open nolan4 opened this issue 3 weeks ago • 22 comments
trafficstars

Pull Request: Add Entity-Level Image Generation (EliGen) for Qwen Image

Summary

This update implements Entity-Level Image Generation (EliGen) for the Qwen Image model, allowing region-specific prompts through spatial masks. The feature provides fine-grained control over image generation by applying separate attention masks for each entity.

Key Features • Spatial attention masking with isolated entity prompts • Automatic mask resizing to match latent dimensions • RoPE embedding implementation aligned with DiffSynth Studio • Support for batch_size > 1 • Backward compatible with standard Qwen Image workflows

nolan4 avatar Oct 25 '25 02:10 nolan4