3dgenstudio-mirror/comfyui_workflows/Gen Image with Z Image Turbo and Prompt Enhancer.json
2026-05-06 11:24:18 +02:00

193 lines
No EOL
3.3 KiB
JSON

{
"43": {
"inputs": {
"filename_prefix": "z-image",
"images": [
"49",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"47": {
"inputs": {
"vae_name": "ae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE"
}
},
"48": {
"inputs": {
"conditioning": [
"50",
0
]
},
"class_type": "ConditioningZeroOut",
"_meta": {
"title": "ConditioningZeroOut"
}
},
"49": {
"inputs": {
"samples": [
"55",
0
],
"vae": [
"47",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"50": {
"inputs": {
"text": [
"57",
0
],
"clip": [
"53",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"52": {
"inputs": {
"width": 1024,
"height": 1024,
"batch_size": 1
},
"class_type": "EmptySD3LatentImage",
"_meta": {
"title": "EmptySD3LatentImage"
}
},
"53": {
"inputs": {
"clip_name": "qwen_3_4b.safetensors",
"type": "lumina2",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "Load CLIP"
}
},
"54": {
"inputs": {
"unet_name": "z_image_turbo_bf16.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": {
"title": "Load Diffusion Model"
}
},
"55": {
"inputs": {
"seed": 12346,
"steps": 10,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "linear_quadratic",
"denoise": 1,
"model": [
"54",
0
],
"positive": [
"50",
0
],
"negative": [
"48",
0
],
"latent_image": [
"52",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"56": {
"inputs": {
"value": true
},
"class_type": "PrimitiveBoolean",
"_meta": {
"title": "Enhance Prompt"
}
},
"57": {
"inputs": {
"switch": [
"56",
0
],
"on_false": [
"59",
0
],
"on_true": [
"58",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "Switch"
}
},
"58": {
"inputs": {
"model_name": "Qwen3-VL-4B-Instruct",
"quantization": "None (FP16)",
"attention_mode": "auto",
"use_torch_compile": false,
"device": "auto",
"prompt_text": [
"59",
0
],
"enhancement_style": "📝 Refine",
"custom_system_prompt": "",
"max_tokens": 256,
"temperature": 0.7,
"top_p": 0.9,
"repetition_penalty": 1.1,
"keep_model_loaded": true,
"seed": 12346
},
"class_type": "AILab_QwenVL_PromptEnhancer",
"_meta": {
"title": "QwenVL Prompt Enhancer"
}
},
"59": {
"inputs": {
"value": "An anime charismatic hero, standing in T-Pose with arms apart, front view, gray background"
},
"class_type": "PrimitiveStringMultiline",
"_meta": {
"title": "String (Multiline)"
}
}
}