- Rewrite nodes.py: add progress bars, model caching, memory management via comfy.model_management, batch support, more aspect ratios and quality presets (draft/max_quality) - Remove redundant QwenImageDecode node (use ComfyUI's PreviewImage) - Fix pyproject.toml: sync dependency versions, add classifiers and ComfyUI registry metadata - Update README: document actual RAM requirements (96GB+ minimum), add config merge step for DFloat11, preset quality table - Update example workflow for new node types (QWEN_PIPE) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
253 lines
5.0 KiB
JSON
253 lines
5.0 KiB
JSON
{
|
|
"last_node_id": 7,
|
|
"last_link_id": 9,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "DFloat11QwenImageLoader",
|
|
"pos": [100, 100],
|
|
"size": [330, 130],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "QWEN_PIPE",
|
|
"links": [1, 7],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DFloat11QwenImageLoader"
|
|
},
|
|
"widgets_values": [
|
|
"Qwen-Image",
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "QwenImageTextEncode",
|
|
"pos": [100, 300],
|
|
"size": [400, 180],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "positive",
|
|
"type": "STRING",
|
|
"links": [2],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "STRING",
|
|
"links": [3],
|
|
"shape": 3,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "QwenImageTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"A serene mountain landscape at sunset with a crystal clear lake reflecting the golden sky, photorealistic, highly detailed",
|
|
"en",
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "QwenImageAspectRatio",
|
|
"pos": [100, 530],
|
|
"size": [250, 80],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": [4],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": [5],
|
|
"shape": 3,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "QwenImageAspectRatio"
|
|
},
|
|
"widgets_values": [
|
|
"16:9 (1664x928)"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "QwenImageSampler",
|
|
"pos": [550, 100],
|
|
"size": [350, 300],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "QWEN_PIPE",
|
|
"link": 1
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "STRING",
|
|
"link": 2
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "STRING",
|
|
"link": 3
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"link": 4
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"link": 5
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [6],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "QwenImageSampler"
|
|
},
|
|
"widgets_values": [
|
|
1664,
|
|
928,
|
|
50,
|
|
4.0,
|
|
42,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "PreviewImage",
|
|
"pos": [950, 100],
|
|
"size": [300, 300],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 6
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "QwenImagePresetSampler",
|
|
"pos": [550, 470],
|
|
"size": [350, 220],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "QWEN_PIPE",
|
|
"link": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [8],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "QwenImagePresetSampler"
|
|
},
|
|
"widgets_values": [
|
|
"A majestic dragon soaring through clouds above an ancient castle",
|
|
"balanced",
|
|
"1:1 (1328x1328)",
|
|
12345,
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "PreviewImage",
|
|
"pos": [950, 470],
|
|
"size": [300, 300],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 8
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 4, 0, "QWEN_PIPE"],
|
|
[2, 2, 0, 4, 1, "STRING"],
|
|
[3, 2, 1, 4, 2, "STRING"],
|
|
[4, 3, 0, 4, 3, "INT"],
|
|
[5, 3, 1, 4, 4, "INT"],
|
|
[6, 4, 0, 5, 0, "IMAGE"],
|
|
[7, 1, 0, 6, 0, "QWEN_PIPE"],
|
|
[8, 6, 0, 7, 0, "IMAGE"]
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Full Control Workflow",
|
|
"bounding": [50, 50, 1250, 380],
|
|
"color": "#3f789e",
|
|
"font_size": 24
|
|
},
|
|
{
|
|
"title": "All-in-One Preset Workflow",
|
|
"bounding": [50, 430, 1250, 380],
|
|
"color": "#8A8A8A",
|
|
"font_size": 24
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
}
|