ホーム 暮らし Steps to try Qwen-Image-Edit-2509 in ComfyUI (using FP8/GGUF/Nunchaku, Lightning)

Steps to try Qwen-Image-Edit-2509 in ComfyUI (using FP8/GGUF/Nunchaku, Lightning)

真鍋 千夏 真鍋 千夏 • 更新: • 公開: • 読了約 60 分
目次

Last update 11-17-2025
※ (12-24-2025) A higher-performance Qwen-Image-Edit-2511 has been released. I plan to write an article about it, but it will be more concise than this one. The models available include the BF16 version by Comfy Org, the FP8 version by drbaph, the GGUF version by unsloth, and Lightning LoRA.
※ (11-30-2025) The current Nunchaku does not have a dedicated DiT Loader (it is no longer needed). Please replace it with the "Load Diffusion Model" node.
※ (11-17-2025) The Lightning version of the Nunchaku model has been updated. It is located in the lightning-251115 directory.
※ The FP8 and GGUF versions use the Lightning LoRA for Qwen-Image-Edit-2509 released on 10-6-2025. As of this writing, Nunchaku does not support Qwen-Image series LoRAs.
※ Related articles are summarized in the ComfyUI article list.


■ 0. Overview

n28cc9a27205e
▼ 0-0. Introduction

 In this article, I will explain the steps to accelerate "Qwen-Image-Edit-2509" using "Lightning" in ComfyUI. The model supports FP8, GGUF, and Nunchaku formats.

 For reference, I have two previous articles regarding older versions of Qwen-Image-Edit (→FP8 version, →GGUF version).

 If you are already using Qwen-Image-Edit on ComfyUI, you can migrate to 2509 relatively easily with just the following operations.

  • Update the ComfyUI core

  • Install the model

  • Replace with the TextEncodeQwenImageEditPlus node

  • Connect an additional Load Image (bypass unused nodes)

 Please refer to the following article for how to install ComfyUI.

▼ 0-1. About Qwen-Image-Edit-2509

 Qwen-Image-Edit-2509, a further improvement on Qwen-Image-Edit (announced on 8-19-2025), was announced in the early hours of 9-23-2025. Editing capabilities and accuracy have improved, and the number of input images has increased from one to three.

  • Qwen-Image-Edit-2509: Multi-Image Support, Improved Consistency
    https://qwen.ai/blog?id=1675c295dc29dd31073e5b3f72876e9d684e41c6&from=research.research-list

  • Qwen-Image-Edit: Image Editing with Higher Quality and Efficiency
    https://qwen.ai/blog?id=a6f483777144685d33cd3d2af95136fcbeb57652&from=research.research-list

  • QwenLM/Qwen-Image
    https://github.com/QwenLM/Qwen-Image

▼ 0-2. Related Links 1

 You can try generation for free on HF Spaces. Also, the generative AI playground 'fal' is available for $0.03/MP (as of this writing).

  • Qwen-Image-Edit-2509 (HF Spaces)
    https://huggingface.co/spaces/Qwen/Qwen-Image-Edit-2509  

  • fal-ai/qwen-image-edit-plus
    https://fal.ai/models/fal-ai/qwen-image-edit-plus

 For reference, I will also introduce the older version of Qwen-Image-Edit and Qwen-Image.

  • Qwen-Image-Edit (HF Spaces)
    https://huggingface.co/spaces/Qwen/Qwen-Image-Edit  

  • fal-ai/qwen-image-edit
    https://fal.ai/models/fal-ai/qwen-image-edit

  • Qwen-Image (HF Spaces)
    https://huggingface.co/spaces/Qwen/Qwen-Image

  • fal-ai/qwen-image
    https://fal.ai/models/fal-ai/qwen-image

▼ 0-3. Related Links 2

 Official models.

  • Qwen/Qwen-Image-Edit
    https://huggingface.co/Qwen/Qwen-Image-Edit

 This is the model used in this article. Details will be explained in the article.

  • Comfy-Org/Qwen-Image-Edit_ComfyUI
    https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI

  • QuantStack/Qwen-Image-Edit-2509-GGUF
    https://huggingface.co/QuantStack/Qwen-Image-Edit-2509-GGUF

  • nunchaku-tech/nunchaku-qwen-image-edit-2509
    https://huggingface.co/nunchaku-tech/nunchaku-qwen-image-edit-2509

  • lightx2v/Qwen-Image-Lightning
    https://huggingface.co/lightx2v/Qwen-Image-Lightning

  • Comfy-Org/Qwen-Image_ComfyUI
    https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI

  • unsloth/Qwen2.5-VL-7B-Instruct-GGUF
    https://huggingface.co/unsloth/Qwen2.5-VL-7B-Instruct-GGUF

  • QuantStack/Qwen-Image-Edit-GGUF
    https://huggingface.co/QuantStack/Qwen-Image-Edit-GGUF
    Use only the mmproj from the GGUF version

  • calcuis/pig-vae
    https://huggingface.co/calcuis/pig-vae

Information about Qwen-Image-Edit-2509 can be found in the ComfyUI Blog article.

  • WAN2.2 Animate & Qwen-Image-Edit 2509 Native Support in ComfyUI
    https://blog.comfy.org/p/wan22-animate-and-qwen-image-edit-2509


■ 1. Notes and Resource Usage

▼ 1-1. Notes

If you have not updated ComfyUI, the necessary nodes may not exist. Please keep it as up-to-date as possible, as updates often include bug fixes.

To speed up subsequent generations, models loaded into VRAM may be automatically offloaded to main RAM. Therefore, it is recommended to have at least 32GB of main RAM.

The author's article assumes that ComfyUI Manager is installed. You can find instructions by searching for "Installing ComfyUI Manager" in the article below (supports both standard and portable versions).

▼ 1-2. VRAM Usage

VRAM usage appears to increase as you add more input images. The following is for a single input image.

For the FP8 version, 16GB of VRAM is sufficient. However, it is recommended to keep VRAM (dedicated GPU memory) usage below 1.7GB before execution. If it spills over into shared GPU memory, generation time will be significantly longer.

For the GGUF version, it depends on the quantization type. Even so, an environment with 12–16GB of VRAM is generally suitable.

For the Nunchaku version, 16GB of VRAM is no problem. In terms of model size, it might even work with 12GB (unconfirmed).

▼ 1-3. Generation Time

The generation times in the author's environment (GeForce RTX 5060Ti 16GB) are as follows. Only one input image is used, and the time for loading the model from disk or processing the prompt is not included. The GGUF format varies slightly depending on the model size (quantization type).

Based on these results, it was found that the FP4 version of Nunchaku is about twice as fast as the FP8 version.

  • Lightning FP8
    Approx. 27 seconds (4 Steps), approx. 47 seconds (8 Steps)

  • Lightning GGUF Q4_K_M
    Approx. 30 seconds (4 Steps), approx. 56 seconds (8 Steps)

  • Lightning Nunchaku SVDQ FP4
    Approx. 13 seconds (r32, 4 Steps), approx. 22 seconds (r32, 8 Steps)
    Approx. 14 seconds (r128, 4 Steps), approx. 24 seconds (r128, 8 Steps)

Since the CFG value for the standard version is not 1.0, it does not scale proportionally with steps and takes more time.

  • FP8
    Approx. 198 seconds (20 Steps)

  • GGUF Q4_K_M
    Approx. 224 seconds (20 Steps)

  • Nunchaku SVDQ FP4
    Approx. 99 seconds (r128, 20 Steps)

For reference, the results for the older version of Qwen-Image-Edit are as follows.

  • Lightning FP8
    Approx. 28 seconds (4 Steps), approx. 50 seconds (8 Steps)

  • Lightning GGUF Q4_K_M
    Approx. 32 seconds (4 Steps), approx. 62 seconds (8 Steps)


■ 2. Before You Begin

▼ 2-1. Explanation

Please refer to the next section and proceed to the following explanation. I have also included sample images, so please download them if necessary.

▼ 2-2. About the Procedure

 The procedure is explained for each model format, so please proceed to the relevant section. Supplementary information and extras are provided after those sections.

  • FP8 version → Go to 3.

  • GGUF version → Go to 4.

  • Nunchaku version → Go to 5.

  • Supplementary info, extras → Go to 6.

▼ 2-3. Sample Images

 I have posted sample images for input. Please feel free to use the generated images and the original images as a set.

 The first and second images are for backgrounds. These were output at 1664x928 using Qwen-Image, and then resized to 1368x760 to match the output resolution of Qwen-Image-Edit at 1MP.

 The first image uses the following LoRA at a strength of 0.8.

  • Qwen image/Simple thick brushstroke anime style
    https://civitai.com/models/1914703

 I made the second image an airport.

 The third and fourth images are of characters only. Based on images generated in the past, they were finished using the API version of Nano Banana.


■ 3. FP8 version

▼ 3-1. Introduction

 The FP8 version is supported by ComfyUI itself. As mentioned in 1-2, there is only a small margin with 16GB of VRAM, so please be careful just in case. If you are worried, you can use the GGUF version or Nunchaku version (processing will be slightly slower with the GGUF version).

▼ 3-2. Setting up the model

I organize directories by type, so I will describe it that way, but you are free to decide as you prefer.

Download each file listed at the URL below and move them to the appropriate folders. If you have already installed them, please skip this.

Since older versions of the model are also listed, please select the one with “2509” in the filename.

  • Comfy-Org/Qwen-Image-Edit_ComfyUI
    https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI

    • split_files/diffusion_models/
      qwen_image_edit_2509_fp8_e4m3fn.safetensors (19.0GB)
      → models\diffusion_models\qwen-image\

The Text Encoder and VAE are shared with Qwen-Image and Qwen-Image-Edit.

  • Comfy-Org/Qwen-Image_ComfyUI
    https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI

    • split_files/text_encoders/
      qwen_2.5_vl_7b_fp8_scaled.safetensors (8.73GB)
      → models\text_encoders\qwen-image\

    • split_files/vae/
      qwen_image_vae.safetensors (242MB)
      → models\vae\qwen-image\

Since the Lightning LoRA for Qwen-Image-Edit-2509 has been released, I will use it.

  • lightx2v/Qwen-Image-Lightning
    https://huggingface.co/lightx2v/Qwen-Image-Lightning
    Qwen-Image-Edit-2509/

    • Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors (810MB)
      Qwen-Image-Edit-2509-Lightning-8steps-V1.0-bf16.safetensors (810MB)
      → models\loras\qwen_image\

▼ 3-3. About the workflow

I will provide the workflow for generation, so please feel free to use it, including modifications and redistribution. In addition to the high-speed 4-step and 8-step versions using Lightning, I have also prepared a slower standard version.

(The 8-step version differs from the 4-step version by only one character in the steps value and the saved filename.)

The overall workflow is as follows (the standard version is slightly different). The negative side of the high-speed version uses CLIP Text Encode, while the negative side of the standard version uses TextEncodeQwenImageEdit.

If you want to input into Picture 2 or 3 additionally, select the node and press Ctrl+B (to toggle Bypass).

For any of the workflows, you can use additional LoRAs by connecting from the LoraLoaderModelOnly on the right to the bottom left (LoraLoaderModelOnly or ModelSamplingAuraFlow).

If you connect the unused "EmptySD3LatentImage (for testing)" to "Ksampler", you can output at any resolution. Since this is a processing method different from what is intended, it is strictly for testing purposes.

▼ 3-4. Generation examples

For generation examples, I have provided two different examples each in 3-4., 4-6., and 5-5. Please take a look if you like.

Edit an image of two people in a cafe to change the background to a log cabin and make the chairs wooden to match. The prompt was "change background to log cabin, change chair to made from wood". Note that Japanese is also valid for prompts.

The current Qwen-Image-Edit (2509 and below) has a phenomenon where the entire image stretches slightly. Although the images on the left and right below were cropped at the same position, you can see that they do not match when focusing on the waist area.

Next, edit an image of two people at an airport to have the boy hold a doll instead of a toy airplane. I added an image to Picture 2 as input.

After trying various things, the final prompt was "the right person holds a small doll of Picture 2 instead of the airplane, the doll is sitting on person's knees with legs together". This resulted in a state where he is holding a doll sitting on his knees with both hands. There will be some changes depending on the seed value.


■ 4. GGUF Version

▼ 4-1. Introduction

 The GGUF version requires an extension, so please refer to 4-3 for details. Depending on the model's quantization type, it runs on approximately 12–16GB of VRAM.

▼ 4-2. Model Installation

 I organize directories by type, so I will describe it that way, but you are free to decide as you prefer.

 Download each file posted at the URL below and move them to the appropriate folders. If you have already installed them, please skip this step.

 Since older versions of the model are also posted, please select the one with "2509" in the filename. You can also choose a quantization type other than Q4_K_M while monitoring VRAM usage and quality.

  • QuantStack/Qwen-Image-Edit-2509-GGUF
    https://huggingface.co/QuantStack/Qwen-Image-Edit-2509-GGUF

    • split_files/diffusion_models/
      Qwen-Image-Edit-2509-Q4_K_M.gguf (12.1GB)
      → models\diffusion_models\qwen-image\

 Download the Text Encoder and move it to the appropriate folder. The GGUF version also requires mmproj, so please place it in the same location.

  • unsloth/Qwen2.5-VL-7B-Instruct-GGUF
    https://huggingface.co/unsloth/Qwen2.5-VL-7B-Instruct-GGUF

    • Qwen2.5-VL-7B-Instruct-Q4_K_M.gguf (4.36GB)
      → models\text_encoders\qwen_image\

  • QuantStack/Qwen-Image-Edit-GGUF
    https://huggingface.co/QuantStack/Qwen-Image-Edit-GGUF

    • mmproj\Qwen2.5-VL-7B-Instruct-mmproj-BF16.gguf (1.26GB)
      → models\text_encoders\qwen_image\

 Download the VAE and move it to the appropriate folder.

  • calcuis/pig-vae
    https://huggingface.co/calcuis/pig-vae

    • pig_qwen_image_vae_fp32-f16.gguf (242MB)
      → models\vae\qwen_image\

Since the Lightning LoRA for Qwen-Image-Edit-2509 has been released, we will use it.

  • lightx2v/Qwen-Image-Lightning
    https://huggingface.co/lightx2v/Qwen-Image-Lightning
    Qwen-Image-Edit-2509/

    • Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors (810MB)
      Qwen-Image-Edit-2509-Lightning-8steps-V1.0-bf16.safetensors (810MB)
      → models\loras\qwen_image\

▼ 4-3. Regarding necessary extensions

When loading the workflow posted in this article, if extensions are missing, a "Some Nodes Are Missing" message will appear. In that case, you can install them using the ComfyUI Manager feature.

To learn how to install extensions, please refer to the "Automatic Installation Steps" or "Manual Installation Steps" in the article below.

The workflow in this article uses the following extensions.

  • https://github.com/calcuis/gguf

▼ 4-4. Supplementary Notes

 There is a point to note when using the GGUF version. From the second time onwards, if you change the prompt, please execute "Unload Models" before starting generation. If data remains in the dedicated GPU memory (VRAM), the Text Encoder may load into shared GPU memory, which can significantly increase the prompt processing time.

▼ 4-5. About the Workflow

 I am providing the workflow for generation, so please feel free to use it, including for modifications and redistribution. In addition to the high-speed 4-step and 8-step versions using Lightning, I have also prepared a slower standard version.

(The 8-step version differs from the 4-step version by only one character in the step value and saved filename.)

 The overall workflow is as shown below (the standard version is slightly different). The high-speed version uses CLIP Text Encode for the Negative side, while the standard version uses TextEncodeQwenImageEdit for the Negative side.

 If you want to input into Picture 2 or 3 additionally, select the node and press Ctrl + B (to toggle Bypass).

 In any of the workflows, you can use additional LoRAs by connecting from the LoraLoaderModelOnly on the right to the bottom left (LoraLoaderModelOnly or ModelSamplingAuraFlow).

 If you connect the unused "EmptySD3LatentImage (for testing)" to the "Ksampler", you can output at any resolution. Since this is a processing method different from what is intended, it is strictly for testing purposes.

▼ 4-6. Generation Examples

 Generation examples are provided in 3-4., 4-6., and 5-5., with two different examples for each. Please take a look if you like.

 I will edit an image of two people in a cafe and replace the person on the left. I added an image to Picture 2 as input.

 Since they often put their hands down with the prompt as written in the workflow, I added a little bit and made it "replace the left person with the one from Picture 2 completely, keep the hands together". Often, they don't make eye contact or their socks turn black.

 Something I noticed after comparing is that the eye color did not turn red. To explain more clearly, if the features before and after the replacement are similar, editing tends not to occur. To increase the success rate, you need to specify it in the prompt, even if it is troublesome.

Next, we will edit an image of two people at an airport and swap their left and right positions. The prompt was simply "swap position of two person".

Although some changes are involved, this edit seems relatively easy to succeed.


■ 5. Nunchaku Version

▼ 5-1. Introduction

The Nunchaku version (SVDQ-FP4/INT4) requires an extension, so please refer to 5-3. for details.

Since the model size is 11.1 to 12.1 GB, it is thought to work with 12 GB of VRAM, but this has not been confirmed.

▼ 5-2. Model Installation

I organize my directories by type, so I will describe it that way, but you are free to decide as you like.

Download each file posted at the URL below and move them to the appropriate folder. If you have already installed them, please skip this.

Since there are multiple models, I will first explain the correspondence between filenames and content.

  • Filename example:
    svdq-fp4_r128-qwen-image-edit-2509-lightningv2.0-4steps.safetensors

  • "fp4" is for GeForce RTX 5xxx only. "int4" is for other cases.

  • "r128" is quality-oriented and slower. However, the speed difference with "r32" is not that large (about 2 seconds for 8 steps).

  • "lightning" allows generation in 4 steps or 8 steps (as noted in the filename). The standard version is 20 steps (the original standard is 50 steps).

Based on the above, download the necessary models.

( Since a new Lightning version model has been released, please download the one in "lightning-251115".)

  • nunchaku-tech/nunchaku-qwen-image-edit-2509
    https://huggingface.co/nunchaku-tech/nunchaku-qwen-image-edit-2509

    • svdq-_r-qwen-image-edit-2509(-lightningv2.0-*steps).safetensors (11.1–12.1GB)
      → models\diffusion_models\qwen-image\

The Text Encoder and VAE are the same as the FP8 version. The Lightning LoRA is included in the Model.

  • Comfy-Org/Qwen-Image_ComfyUI
    https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI

    • split_files/text_encoders/
      qwen_2.5_vl_7b_fp8_scaled.safetensors (8.73GB)
      → models\text_encoders\qwen-image\

    • split_files/vae/
      qwen_image_vae.safetensors (242MB)
      → models\vae\qwen-image\

▼ 5-3. Regarding necessary extensions

To use the Nunchaku version of the Model, a dedicated extension is required. Please refer to the article below for installation steps (compatible with both standard and portable versions of ComfyUI).

The workflow in this article uses the following extension.

  • nunchaku-tech/ComfyUI-nunchaku
    https://github.com/nunchaku-tech/ComfyUI-nunchaku

▼ 5-4. Regarding the workflow

I am providing the workflow for generation, so please feel free to use it, including for modifications and redistribution. In addition to the high-speed 4-step and 8-step versions using Lightning, I have also prepared a slower standard version.

(The 8-step version only differs by one character in the Steps value and the saved filename.)

The entire workflow looks like the following (the standard version is slightly different). The high-speed version uses CLIP Text Encode on the negative side, while the standard version uses TextEncodeQwenImageEdit.

The Nunchaku version does not have the Model's initial value set. Please select the Model to use in the node at the top left.

If you want to input into Picture 2 or 3, select the node and press Ctrl+B (to toggle Bypass).

At the time of writing, Nunchaku does not support Qwen-Image series LoRAs. The LoraLoaderModelOnly on the right is muted.

If you connect the unused "EmptySD3LatentImage (for testing)" to the "Ksampler," you can output at any resolution. Since this is a processing method different from what is intended, it is strictly for testing purposes.

▼ 5-5. Generation examples

For generation examples, I have provided two different examples each in 3-4, 4-6, and 5-5. Please take a look if you like.

Edit an image of two people in a cafe and remove everything except the people. I kept the table and cups, but removed the background, bag, and lighting. The prompt was keep only the person and chair, replace all else with white background, remove bag and the light above.

Next, edit an image of two people at an airport and replace them with the characters from two additional input images. The following is all one prompt.

1: remove the two person, woman and boy
2: place a girl of Picture 2 on the left seat
3: place a girl of Picture 3 on the right seat
4: two girl make smile and looking each other
5: keep anime style of two girls

After trial and error, I arrived at this prompt, but the success rate is low. Also, sometimes the person might be holding a toy airplane (see cover image), or the person on the left might grow a tail or ears.


■ 6. Supplementary information, bonus

▼ 6-1. Editing capabilities

As mentioned at the beginning, it is best to refer to official information to see what can be done with Qwen-Image-Edit editing.

  • Qwen-Image-Edit: Image Editing with Higher Quality and Efficiency
    https://qwen.ai/blog?id=a6f483777144685d33cd3d2af95136fcbeb57652&from=research.research-list

  • Qwen-Image-Edit-2509: Multi-Image Support, Improved Consistency
    https://qwen.ai/blog?id=1675c295dc29dd31073e5b3f72876e9d684e41c6&from=research.research-list

▼ 6-2. How to reference images

When specifying the second or third input image, there might be examples that use "Image 2" etc., similar to Nano Banana. In reality, the Qwen-Image-Edit2509 implementation seems to use "Picture", so this article also uses "Picture 2" etc.

As an aside, to convey the editing content more accurately, it is better to specifically express "what" is in the reference image and "how" to handle it. However, this loses the versatility of the prompt.

▼ 6-3. Removing the anime-style yellow tint from GPT Image 1

When generating anime-style images with GPT Image 1 in ChatGPT etc., the entire image may turn yellow. It is possible to correct such already-generated images using Qwen-Image-Edit.

The simplest prompt is keep anime style, correcting lighting to natural color, which was used during the generation above (it is also secretly written in the workflow note). Note that there is some variation in color and other elements depending on the seed value.

You can also describe it in a bit more detail, such as keep high detailed anime style, correct color tone and white balance to natural color. This also results in some fluctuation depending on the seed value, so it is recommended to use it in conjunction with photo retouching apps.

As mentioned in 3-4, Qwen-Image-Edit-2509 (including previous versions) experiences a phenomenon where the entire image stretches slightly. Please keep in mind that it will not match the original image exactly.

▼ 6-4. Bonus

I will list a few prompts and usage examples that I haven't introduced yet.

For simple operations like the ones below, you can create the desired image on your PC without consuming usage credits for services like Nano Banana.

As shown below, there are cases where the left and right sides are reversed when changing the perspective. This does not seem to be limited to Qwen-Image-Edit.

You can also isolate the background and convert it to line art. However, you will need to go through trial and error, such as adjusting the prompt while looking at the output or changing the seed value.

Conversely, you can also generate an image with the background removed.

Actually, there are many more things you can do, but I will stop here for this article. Please try various things out.


■ 7. Others

 Please follow the menu to find other articles I have written.

 A list of articles limited to ComfyUI is also available.

 If you have any questions regarding the articles, please contact me at @riddi0908 on X.

同じカテゴリの記事

真鍋 千夏
デジタルマーケター 真鍋 千夏
プロフィールを見る →

美容と暮らしの話題を担当。メーカーの公式発表、商品成分の公表資料、専門家の監修記事をもとに事実を整理します。

おすすめの関連記事