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

  • Log In
  • Sign Up

Qwen
/
Qwen-Image-Edit

Image-to-Image
Diffusers
Safetensors
English
Chinese
QwenImageEditPipeline
Model card Files Files and versions
xet
Community
49

Instructions to use Qwen/Qwen-Image-Edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Qwen/Qwen-Image-Edit 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", dtype=torch.bfloat16, device_map="cuda")
    
    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
Qwen-Image-Edit
57.7 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 3 commits
naykun's picture
naykun
Update README.md
87af360 verified 9 months ago
  • processor
    Add files using upload-large-folder tool 9 months ago
  • scheduler
    Add files using upload-large-folder tool 9 months ago
  • text_encoder
    Add files using upload-large-folder tool 9 months ago
  • tokenizer
    Add files using upload-large-folder tool 9 months ago
  • transformer
    Add files using upload-large-folder tool 9 months ago
  • vae
    Add files using upload-large-folder tool 9 months ago
  • .gitattributes
    1.58 kB
    Add files using upload-large-folder tool 9 months ago
  • README.md
    11.1 kB
    Update README.md 9 months ago
  • model_index.json
    512 Bytes
    Add files using upload-large-folder tool 9 months ago