---
title: W.i.t.c.hQwen
canonical_url: "https://www.modelscope.ai/models/SamGold/W.i.t.c.hQwen"
md_url: "https://www.modelscope.ai/models/SamGold/W.i.t.c.hQwen.md"
repository: SamGold/W.i.t.c.hQwen
last_updated: 2026-09-26
license: "Apache License 2.0"
pipeline_tag: text-to-image-synthesis
tasks:
  - text-to-image-synthesis
base_model:
  - Qwen/Qwen-Image-Edit-2511
base_model_relation: adapter
parameters: 471.9M
tensor_type:
  - BF16
library_name:
  - pytorch
  - lora
  - safetensors
supports_inference: img2img
downloads: 37
stars: 0
tags:
  - LoRA
  - text-to-image
---

# W.i.t.c.hQwen

> W.i.t.c.hQwen - An open-source model by SamGold on ModelScope. This model is trained using the Civision/model training environment and computing resources provided by ModelScope.

SamGold/W.i.t.c.hQwen is a 471.9M-parameter text-to-image-synthesis model on ModelScope. licensed under Apache License 2.0. derived from Qwen/Qwen-Image-Edit-2511. and supports online inference (img2img).

- **Repository**: SamGold/W.i.t.c.hQwen
- **License**: Apache License 2.0
- **Tasks**: text-to-image-synthesis
- **Parameters**: 471.9M
- **Base model**: Qwen/Qwen-Image-Edit-2511
- **Online inference**: img2img
- **Tags**: LoRA, text-to-image
- **Downloads**: 37
- **Stars**: 0
- **Last updated**: 2026-09-26

Source: https://www.modelscope.ai/models/SamGold/W.i.t.c.hQwen

---

# 

## Model Introduction

This model is trained using the [Civision/model training](https://modelscope.ai/civision/modelTraining) environment and computing resources provided by ModelScope.

* Model Type: LoRA
* Base Model: [Qwen/Qwen-Image-Edit-2511](https://modelscope.ai/models/Qwen/Qwen-Image-Edit-2511)
* Training Code: [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio)
* Data amount：99
* Total training steps：4000
* License: Apache-2.0

## Inference Code

Install [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio):

```bash
pip install diffsynth
```

Inference:

```python
from diffsynth.pipelines.qwen_image import QwenImagePipeline, ModelConfig
from PIL import Image
import torch

pipe = QwenImagePipeline.from_pretrained(
    torch_dtype=torch.bfloat16,
    device="cuda",
    model_configs=[
        ModelConfig(model_id="Qwen/Qwen-Image-Edit-2511", origin_file_pattern="transformer/diffusion_pytorch_model*.safetensors"),
        ModelConfig(model_id="Qwen/Qwen-Image", origin_file_pattern="text_encoder/model*.safetensors"),
        ModelConfig(model_id="Qwen/Qwen-Image", origin_file_pattern="vae/diffusion_pytorch_model.safetensors"),
    ],
    processor_config=ModelConfig(model_id="Qwen/Qwen-Image-Edit", origin_file_pattern="processor/"),
)
pipe.load_lora(pipe.dit, ModelConfig(model_id="SamGold/W.i.t.c.hQwen", origin_file_pattern="W.i.t.c.hQwen_c1-st4000.safetensors"))
prompt = "Convert the image style to anime style."
edit_image = Image.open("your_image.jpg")
image = pipe(prompt, edit_image=[edit_image], edit_image_auto_resize=True, zero_cond_t=True)
image.save("image.jpg")
```
