Downloads · 30 days
20K
17% of all-time downloads
joyfox/Qwen-Image-Edit-2509-Upscale2K
Qwen-Image-Edit-2509-Upscale2K is a image-to-image model from joyfox. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as apache-2.0.
Downloads · 30 days
20K
17% of all-time downloads
All-time downloads
121K
Public
Repo size
606 MB
Likes
33
Trending 1
Click a slice to open those files.
.safetensors590 MB · 97%
From the Hugging Face model README
This is a model for High-definition magnification of the picture, trained on Qwen/Qwen-Image-Edit-2509, and it is mainly used for losslessly enlarging images to approximately 2K size.For use in ComfyUI.
from diffusers import QwenImageEditPipeline
import torch
from PIL import Image
# Load the pipeline
pipeline = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509")
pipeline.to(torch.bfloat16)
pipeline.to("cuda")
# Load trained LoRA weights for in-scene editing
pipeline.load_lora_weights("valiantcat/Qwen-Image-Edit-2509-Upscale2K", weight_name="qwen_image_edit_2509_upscale.safetensors")
# Load input image
image = Image.open("./result/test.jpg").convert("RGB")
# Define in-scene editing prompt
prompt = "Upscale this picture to 4K resolution."
# Generate edited image with enhanced scene understanding
inputs = {
"image": image,
"prompt": prompt,
"generator": torch.manual_seed(12345),
"true_cfg_scale": 4.0,
"negative_prompt": " ",
"num_inference_steps": 50,
}
with torch.inference_mode():
output = pipeline(**inputs)
output_image = output.images[0]
output_image.save("edited_image.png")
Upscale this picture to 4K resolution.
There is no fixed trigger word. The specific removal prompt needs to be tested more
Weights for this model are available in Safetensors format.
This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(https://vvicat.com/).Business cooperation is welcome