Add Qwen 2.1 PE-only Comfy graphs for prompt enhance.
Keep PE CLIP separate from DiT so the 16 GB card can run rewrite then generate without loading both at once. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"5": {
|
||||||
|
"inputs": {
|
||||||
|
"clip_name": "qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors",
|
||||||
|
"type": "qwen_image",
|
||||||
|
"device": "default"
|
||||||
|
},
|
||||||
|
"class_type": "CLIPLoader",
|
||||||
|
"_meta": { "title": "Load Qwen 2.1 PE Edit CLIP" }
|
||||||
|
},
|
||||||
|
"10": {
|
||||||
|
"inputs": {
|
||||||
|
"image": "qwen21_pe_edit_source.png"
|
||||||
|
},
|
||||||
|
"class_type": "LoadImage",
|
||||||
|
"_meta": { "title": "image_1 source" }
|
||||||
|
},
|
||||||
|
"9": {
|
||||||
|
"inputs": {
|
||||||
|
"clip": ["5", 0],
|
||||||
|
"prompt": "",
|
||||||
|
"image_1": ["10", 0],
|
||||||
|
"temperature": 1.0,
|
||||||
|
"top_p": 0.95,
|
||||||
|
"presence_penalty": 0,
|
||||||
|
"max_length": 24000,
|
||||||
|
"seed": 42
|
||||||
|
},
|
||||||
|
"class_type": "QwenImage21_EditPromptRewrite",
|
||||||
|
"_meta": { "title": "Qwen 2.1 Edit Prompt Rewrite" }
|
||||||
|
},
|
||||||
|
"30": {
|
||||||
|
"inputs": { "source": ["9", 0] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE positive_prompt" }
|
||||||
|
},
|
||||||
|
"31": {
|
||||||
|
"inputs": { "source": ["9", 2] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE wh_ratio" }
|
||||||
|
},
|
||||||
|
"32": {
|
||||||
|
"inputs": { "source": ["9", 3] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE ratio_follow" }
|
||||||
|
},
|
||||||
|
"33": {
|
||||||
|
"inputs": { "source": ["9", 4] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE thinking" }
|
||||||
|
},
|
||||||
|
"34": {
|
||||||
|
"inputs": { "source": ["9", 5] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE parse_ok" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"5": {
|
||||||
|
"inputs": {
|
||||||
|
"clip_name": "qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
|
||||||
|
"type": "qwen_image",
|
||||||
|
"device": "default"
|
||||||
|
},
|
||||||
|
"class_type": "CLIPLoader",
|
||||||
|
"_meta": { "title": "Load Qwen 2.1 PE T2I CLIP" }
|
||||||
|
},
|
||||||
|
"9": {
|
||||||
|
"inputs": {
|
||||||
|
"clip": ["5", 0],
|
||||||
|
"prompt": "",
|
||||||
|
"temperature": 1.0,
|
||||||
|
"top_p": 0.95,
|
||||||
|
"top_k": 20,
|
||||||
|
"presence_penalty": 1.5,
|
||||||
|
"max_new_tokens": 16256,
|
||||||
|
"seed": 42
|
||||||
|
},
|
||||||
|
"class_type": "QwenImage21_T2IPromptRewrite",
|
||||||
|
"_meta": { "title": "Qwen 2.1 T2I Prompt Rewrite" }
|
||||||
|
},
|
||||||
|
"30": {
|
||||||
|
"inputs": { "source": ["9", 0] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE positive_prompt" }
|
||||||
|
},
|
||||||
|
"31": {
|
||||||
|
"inputs": { "source": ["9", 2] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE wh_ratio" }
|
||||||
|
},
|
||||||
|
"32": {
|
||||||
|
"inputs": { "source": ["9", 3] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE thinking" }
|
||||||
|
},
|
||||||
|
"33": {
|
||||||
|
"inputs": { "source": ["9", 4] },
|
||||||
|
"class_type": "PreviewAny",
|
||||||
|
"_meta": { "title": "PE parse_ok" }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user