Instructions to use dx8152/Qwen-Image-Edit-2509-White_to_Scene with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dx8152/Qwen-Image-Edit-2509-White_to_Scene 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("dx8152/Qwen-Image-Edit-2509-White_to_Scene", 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] - Notebooks
- Google Colab
- Kaggle
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("dx8152/Qwen-Image-Edit-2509-White_to_Scene", 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]Hi everyone overseas! ModelScope has launched its training service abroad.
My LoRa training is all done using ModelScope. Thanks to the ModelScope team for providing the training infrastructure. Give it a try!
https://www.modelscope.cn/aigc/modelTraining
Welcome everyone to use Lora of Qwen-Edit-2509 of Image Fusion, its performance is amazing!
Video tutorial:
YouTube:https://youtu.be/xhPDto-XgFs
Blibili:https://www.bilibili.com/video/BV178x5zJEcD/
Running online: https://www.runninghub.ai/model/public/1985634590226358274?inviteCode=rh-v1331
Trigger words:白底图转场景
You can add subject and scene description after the trigger word, for example: 白底图转场景,将图片中的汽车放在户外场景中(Meaning:Convert the white background image to a scene and place the car in the picture in an outdoor scene)
You also need this lora and use them together: https://huggingface.co/lightx2v/Qwen-Image-Lightning/tree/main
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
- Downloads last month
- 3,358
Model tree for dx8152/Qwen-Image-Edit-2509-White_to_Scene
Base model
Qwen/Qwen-Image-Edit-2509



