diff --git a/README.md b/README.md index 0d2da62..0a27bc1 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ API and command-line option may change frequently.*** - [Qwen Image](./docs/qwen_image.md) - Image Edit Models - [FLUX.1-Kontext-dev](./docs/kontext.md) + - [Qwen Image Edit/Qwen Image Edit 2509](./docs/qwen_image_edit.md) - Video Models - [Wan2.1/Wan2.2](./docs/wan.md) - [PhotoMaker](https://github.com/TencentARC/PhotoMaker) support. @@ -298,6 +299,7 @@ arguments: --clip_vision path to the clip-vision encoder --t5xxl path to the t5xxl text encoder --qwen2vl path to the qwen2vl text encoder + --qwen2vl_vision path to the qwen2vl vit --vae [VAE] path to vae --taesd [TAESD_PATH] path to taesd. Using Tiny AutoEncoder for fast decoding (low quality) --control-net [CONTROL_PATH] path to control net model diff --git a/assets/qwen/qwen_image_edit.png b/assets/qwen/qwen_image_edit.png new file mode 100644 index 0000000..c2a31ed Binary files /dev/null and b/assets/qwen/qwen_image_edit.png differ diff --git a/assets/qwen/qwen_image_edit_2509.png b/assets/qwen/qwen_image_edit_2509.png new file mode 100644 index 0000000..442ba9b Binary files /dev/null and b/assets/qwen/qwen_image_edit_2509.png differ diff --git a/docs/qwen_image_edit.md b/docs/qwen_image_edit.md new file mode 100644 index 0000000..3a5242f --- /dev/null +++ b/docs/qwen_image_edit.md @@ -0,0 +1,35 @@ +# How to Use + +## Download weights + +- Download Qwen Image + - Qwen Image Edit + - safetensors: https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/tree/main/split_files/diffusion_models + - gguf: https://huggingface.co/QuantStack/Qwen-Image-Edit-GGUF/tree/main + - Qwen Image Edit 2509 + - safetensors: https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/tree/main/split_files/diffusion_models + - gguf: https://huggingface.co/QuantStack/Qwen-Image-Edit-2509-GGUF/tree/main +- Download vae + - safetensors: https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main/split_files/vae +- Download qwen_2.5_vl 7b + - safetensors: https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main/split_files/text_encoders + - gguf: https://huggingface.co/mradermacher/Qwen2.5-VL-7B-Instruct-GGUF/tree/main + +## Examples + +### Qwen Image Edit + +``` +.\bin\Release\sd.exe --diffusion-model ..\..\ComfyUI\models\diffusion_models\Qwen_Image_Edit-Q8_0.gguf --vae ..\..\ComfyUI\models\vae\qwen_image_vae.safetensors --qwen2vl ..\..\ComfyUI\models\text_encoders\qwen_2.5_vl_7b.safetensors --cfg-scale 2.5 --sampling-method euler -v --offload-to-cpu --diffusion-fa --flow-shift 3 -r ..\assets\flux\flux1-dev-q8_0.png -p "change 'flux.cpp' to 'edit.cpp'" --seed 1118877715456453 +``` + +qwen_image_edit + + +### Qwen Image Edit 2509 + +``` +.\bin\Release\sd.exe --diffusion-model ..\..\ComfyUI\models\diffusion_models\Qwen-Image-Edit-2509-Q4_K_S.gguf --vae ..\..\ComfyUI\models\vae\qwen_image_vae.safetensors --qwen2vl ..\..\ComfyUI\models\text_encoders\Qwen2.5-VL-7B-Instruct-Q8_0.gguf --qwen2vl_vision ..\..\ComfyUI\models\text_encoders\Qwen2.5-VL-7B-Instruct.mmproj-Q8_0.gguf --cfg-scale 2.5 --sampling-method euler -v --offload-to-cpu --diffusion-fa --flow-shift 3 -r ..\assets\flux\flux1-dev-q8_0.png -p "change 'flux.cpp' to 'Qwen Image Edit 2509'" +``` + +qwen_image_edit_2509 \ No newline at end of file