Instructions to use peteromallet/Qwen-Image-Edit-InScene with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use peteromallet/Qwen-Image-Edit-InScene 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") pipe.load_lora_weights("peteromallet/Qwen-Image-Edit-InScene") 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
Download inscene-samples.png from peteromallet/Qwen-Image-Edit-InScene: direct link, hf CLI and curl.
- Browser
- Download file 6.06 MB
-
https://huggingface.co/peteromallet/Qwen-Image-Edit-InScene/resolve/a0d4cffdf60e80e1e42fe8e21a392e79387b09f3/inscene-samples.png
- Command line
-
hf download hf://peteromallet/Qwen-Image-Edit-InScene@a0d4cffdf60e80e1e42fe8e21a392e79387b09f3/inscene-samples.png
-
curl -L -o inscene-samples.png https://huggingface.co/peteromallet/Qwen-Image-Edit-InScene/resolve/a0d4cffdf60e80e1e42fe8e21a392e79387b09f3/inscene-samples.png
6.06 MB

- Xet hash:
- 7119c32960c76f6103f1f174816a21ec2323e7149c92a1fdd78d10efd434f161
- Size of remote file:
- 6.06 MB
- SHA256:
- 4f8c837b103b38c8c303a6bd49261f4360daf9a7b501697c59e7e0b9467a9b2d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.