Files
Nakano Kenji 6247d6b018 feat(qwen): 新增通义千问(Qwen)图像生成能力支持
## 改动
- 新增 qwen_executor.py 与对应模板
- mcp_server 增加 generate_qwen_image 接口
- 更新依赖(uv.lock/pyproject.toml)
2026-02-18 23:36:59 +08:00

125 lines
1.8 KiB
JSON

{
"1": {
"class_type": "CheckpointLoaderSimple",
"inputs": {
"ckpt_name": "_Qwen\\Qwen-Rapid-AIO-NSFW-v23.safetensors"
}
},
"2": {
"class_type": "KSampler",
"inputs": {
"model": [
"1",
0
],
"positive": [
"3",
0
],
"negative": [
"4",
0
],
"latent_image": [
"9",
0
],
"seed": 0,
"steps": 4,
"cfg": 1.0,
"sampler_name": "er_sde",
"scheduler": "simple",
"denoise": 1.0
}
},
"3": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"1",
1
],
"vae": [
"1",
2
],
"prompt": "__PROMPT__",
"image1": [
"7",
0
],
"image2": [
"8",
0
],
"image3": [
"13",
0
]
}
},
"4": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"1",
1
],
"vae": [
"1",
2
],
"prompt": ""
}
},
"5": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"2",
0
],
"vae": [
"1",
2
]
}
},
"7": {
"class_type": "LoadImage",
"inputs": {
"image": "base_image.png"
}
},
"8": {
"class_type": "LoadImage",
"inputs": {
"image": "ref_image_1.png"
}
},
"13": {
"class_type": "LoadImage",
"inputs": {
"image": "ref_image_2.png"
}
},
"9": {
"class_type": "EmptyLatentImage",
"inputs": {
"width": 1024,
"height": 1024,
"batch_size": 1
}
},
"14": {
"class_type": "SaveImage",
"inputs": {
"images": [
"5",
0
],
"filename_prefix": "QwenEdit_"
}
}
}