File size: 2,041 Bytes
414de73
620e7e1
 
 
 
 
414de73
620e7e1
 
414de73
620e7e1
 
 
 
 
 
 
 
 
 
 
 
414de73
 
620e7e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
title: Qwen-Image-Edit CPU
emoji: 🎨
colorFrom: yellow
colorTo: indigo
sdk: docker
app_file: app.py
suggested_hardware: cpu-basic
startup_duration_timeout: 1h
pinned: false
license: mit
tags:
  - image-editing
  - text-to-image
  - qwen-image
  - cpu
  - gguf
  - mcp-server
short_description: Qwen-Image-Edit Rapid-AIO on CPU via GGUF
models:
  - Qwen/Qwen-Image-Edit-2511
  - Qwen/Qwen-Image-2512
---

# Qwen-Image-Edit Rapid-AIO / Free CPU

Image editing and text-to-image via GGUF on free CPU hardware.

- Diffusion: Rapid-AIO v23 Q3_K (Lightning pre-fused, 4 steps) from Arunk25
- Text encoder: Qwen2.5-VL-7B-Instruct-abliterated Q3_K_M from mradermacher
- VAE: pig_qwen_image_vae from calcuis
- Alt model: Image-2512 Q3_K_M (txt2img only) switchable via dropdown
- Engine: stable-diffusion.cpp (C++ inference, no PyTorch)
- Speed: ~45 min per 512x512 image on 2 vCPU
- RAM: ~14.9GB model + ~1GB activations

## API

```python
from gradio_client import Client, handle_file

client = Client("WeReCooking/Qwen-Image-Edit-CPU")
result = client.predict(
    prompt="transform into anime style",
    negative_prompt="worst quality, blurry",
    init_image=handle_file("photo.png"),
    model_choice="Rapid-AIO-v23 Q3 (edit)",
    aspect_ratio="Auto (match input, max 512px)",
    steps=4,
    cfg_scale=2.5,
    guidance=3.0,
    seed=-1,
    api_name="/infer",
)
print(result)
```

## MCP

```json
{
  "mcpServers": {
    "qwen-image-edit": {"url": "https://werecooking-qwen-image-edit-cpu.hf.space/gradio_api/mcp/sse"}
  }
}
```

## CLI

```bash
python app.py "transform into anime style" -i photo.png -o edited.png
python app.py "a cat on a windowsill" -o cat.png --model "Image-2512 (txt2img)"
```

## Credits

- [Rapid-AIO](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO) by Phr00t
- [GGUF](https://huggingface.co/Arunk25/Qwen-Image-Edit-Rapid-AIO-GGUF) by Arunk25
- [stable-diffusion.cpp](https://github.com/leejet/stable-diffusion.cpp) by leejet
- [Qwen-Image](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) by Qwen