Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

dx8152
/
Qwen-Image-Edit-2509-Relight

Image-to-Image
Diffusers
qwen-edit
comfyui
lora
re-light
kontext
Model card Files Files and versions
xet
Community
11

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
  • Draw Things
Qwen-Image-Edit-2509-Relight
1.26 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 47 commits
dx8152's picture
dx8152
Update README.md
f0d2f0b verified 6 months ago
  • Kontext-Relight-Lora
    Upload kontext.json 6 months ago
  • ๆ•ฐๆฎ้›†
    Upload 9 files 6 months ago
  • .gitattributes
    6.91 kB
    Rename to workflow.png (Fix the filename) (#7) 6 months ago
  • Qwen-Edit-Relight.safetensors
    236 MB
    xet
    Rename ้‡ๆ–ฐ็…งๆ˜Ž.safetensors to Qwen-Edit-Relight.safetensors 7 months ago
  • README.md
    2.84 kB
    Update README.md 6 months ago
  • Re-Light.json
    23.5 kB
    Upload 2 files 6 months ago
  • workflow.png
    3.23 MB
    xet
    Rename to workflow.png (Fix the filename) (#7) 6 months ago