Instructions to use joyfox/Qwen-Image-Edit-2509-photous with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Qwen-Image-Edit-2509-photous 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("joyfox/Qwen-Image-Edit-2509-photous") prompt = "保持整个照片的布局和内容不变,把这个照片做旧,每个格子中的照片色调变成颗粒感滤镜,整个画面具有老式照片的朦胧感" 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
Upload IMG_1149.jpeg
#2
by Bill094544 - opened
This comment has been hidden (marked as Spam)
Bill094544 changed pull request status to closed