---
title: Qwen-Image-Edit-2511-Upscale2K
canonical_url: "https://www.modelscope.cn/models/valiantcat/Qwen-Image-Edit-2511-Upscale2K"
md_url: "https://www.modelscope.cn/models/valiantcat/Qwen-Image-Edit-2511-Upscale2K.md"
repository: valiantcat/Qwen-Image-Edit-2511-Upscale2K
last_updated: 2026-06-16
license: apache-2.0
pipeline_tag: image-to-image
tasks:
  - image-to-image
base_model:
  - Qwen/Qwen-Image-Edit-2511
base_model_relation: adapter
parameters: 294.9M
tensor_type:
  - F16
library_name:
  - pytorch
  - lora
  - safetensors
frameworks:
  - pytorch
language:
  - en
supports_inference: img2img
downloads: 676
stars: 4
tags:
  - image-generation
  - lora
  - Qwen-Image
---

# Qwen-Image-Edit-2511-Upscale2K

> Qwen-Image-Edit-2511-Upscale2K - valiantcat 在 ModelScope 开源的模型。valiantcat Qwen-Image-Edit-2511 LoRA

valiantcat/Qwen-Image-Edit-2511-Upscale2K 是 ModelScope 魔搭社区上的 294.9M 参数image-to-image模型，采用 apache-2.0 许可，基于 Qwen/Qwen-Image-Edit-2511 构建，并支持在线推理（img2img）。

- **Repository**: valiantcat/Qwen-Image-Edit-2511-Upscale2K
- **License**: apache-2.0
- **Tasks**: image-to-image
- **Parameters**: 294.9M
- **Base model**: Qwen/Qwen-Image-Edit-2511
- **Online inference**: img2img
- **Tags**: image-generation, lora, Qwen-Image
- **Downloads**: 676
- **Stars**: 4
- **Last updated**: 2026-06-16

Source: https://www.modelscope.cn/models/valiantcat/Qwen-Image-Edit-2511-Upscale2K

---

# valiantcat Qwen-Image-Edit-2511 LoRA

<Gallery />

## Model Card for Model ID

<!-- Provide a quick summary of what the model is/does. -->

This is a model for High-definition magnification of the picture, trained on ```Qwen/Qwen-Image-Edit-2511```, and it is mainly used for losslessly enlarging images to approximately 2K size.For use in ```ComfyUI```.

<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
  <h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
  <p>This LoRA works with a modified version of <a href="https://huggingface.co/valiantcat/Qwen-Image-Edit-2511-Upscale2K/blob/main/Upscale.json" style="color: #0366d6; text-decoration: none;">Comfy's Qwen/Qwen-Image-Edit-2511 workflow</a>. The main modification is adding a Qwen/Qwen-Image-Edit-2511 LoRA node connected to the base model.</p>
  <p>See the Downloads section above for the modified workflow.</p>
</div>

### Direct Use

```
from diffusers import QwenImageEditPipeline
import torch
from PIL import Image

# Load the pipeline
pipeline = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511")
pipeline.to(torch.bfloat16)
pipeline.to("cuda")

# Load trained LoRA weights for in-scene editing
pipeline.load_lora_weights("valiantcat/Qwen-Image-Edit-2511-Upscale2K", weight_name="qwen_image_edit_2511_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")


```

## Trigger phrase

```Upscale this picture to 4K resolution.```

There is no fixed trigger word. The specific removal prompt needs to be tested more

## Download model

Weights for this model are available in Safetensors format.

[Download](https://huggingface.co/valiantcat/Qwen-Image-Edit-2511-Upscale2K)

## Training at Chongqing Valiant Cat

This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(```https://vvicat.com/```).Business cooperation is welcome
