Instructions to use dx8152/Qwen-Image-Edit-2509-Relight with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dx8152/Qwen-Image-Edit-2509-Relight with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("dx8152/Qwen-Image-Edit-2509-Relight") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
license: apache-2.0
base_model:
- Qwen/Qwen-Image-Edit-2509
pipeline_tag: image-to-image
library_name: diffusers
tags:
- qwen-edit
- comfyui
- lora
- re-light
- kontext
Welcome everyone to use Lora of Qwen-Edit-2509 of Image Fusion, its performance is amazing!
There are two ways to use it: 1. Use the prompts in the dataset to change the image directly. 2. Use the trigger word: " 重新照明 "。 (For example:重新照明,使用窗帘透光(柔和漫射)的光线对图片进行重新照明) Meaning: Relighting, using the soft, diffuse light from the curtains to relight the image.
(I also uploaded the re-light LoRAs for Kontext downloaded from the Internet. The sources are https://civit.ai/models/1779918 and https://hf.co/dong625/kontext_loras/tree/main )
Instructions: Download the lora file(Qwen-Edit-Relight.safetensors to the models/loras folder.
You also need this lora and use them together: https://huggingface.co/lightx2v/Qwen-Image-Lightning/tree/main
This is the effect used by Lora: https://youtu.be/GmDZmzoseFk
For communication/cooperation, you can join the discord group to communicate:https://discord.gg/Qbq3VdjK
If these resources are helpful to you, or if you use them for business purposes, please buy me a coffee. Thank you for supporting original content! PayPal: Daniel8152








