HunyuanImage-2.1_fp8 / example_workflow.json
drbaph's picture
Rename hunyuanimage_2.1_fp8_example_workflow.json to example_workflow.json
388aedd verified
{
"id": "242a6140-7341-49ca-876b-c01366b39b84",
"revision": 0,
"last_node_id": 39,
"last_link_id": 68,
"nodes": [
{
"id": 26,
"type": "DualCLIPLoader",
"pos": [
-70,
310
],
"size": [
432.8055114746094,
130
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
53,
54
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "DualCLIPLoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"byt5_small_glyphxl_fp16.safetensors",
"hunyuan_image",
"default"
]
},
{
"id": 13,
"type": "UNETLoader",
"pos": [
-78.069091796875,
180
],
"size": [
433.9518737792969,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "UNETLoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"hunyuanimage2.1-fp8_e4m3fn.safetensors",
"fp8_e4m3fn_fast"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1202.1051025390625,
262.8580322265625
],
"size": [
210,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 34
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
64
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "VAEDecode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 34,
"type": "easy cleanGpuUsed",
"pos": [
1217.314453125,
367.8652648925781
],
"size": [
157.38925170898438,
26
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": 64
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": [
65
]
}
],
"properties": {
"cnr_id": "comfyui-easy-use",
"ver": "1.3.3",
"Node name for S&R": "easy cleanGpuUsed",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 15,
"type": "VAELoader",
"pos": [
-34.24553298950195,
495.9590759277344
],
"size": [
381.0045166015625,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
34
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "VAELoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"hunyuan_image_2.1_vae_fp16.safetensors"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
876.399169921875,
509.8819580078125
],
"size": [
883.3683471679688,
930.5321044921875
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"HunyuanIMG/0000"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
404.16534423828125,
187.08346557617188
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 54
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
4
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"A sleek black cat with rain-slicked fur crouches mid-motion on a cracked stone path, its glowing amber eyes fixed on the viewer while wind-whipped rain streaks diagonally through the frame, each droplet caught in razor-sharp detail by a fast shutter; behind it, a towering Victorian mansion looms under thunderous indigo skies, broken shutters clapping like skeletal hands, warm amber lamplight spilling from a half-open door to cast long, dancing shadows across the wet overgrown yard, the scene shot from a low, slightly Dutch-tilted angle on a 35 mm lens that blurs the foreground weeds into creamy bokeh and leaves the cat’s whiskers and every rain bead in hyper-real focus, color-graded with desaturated cyans and moody teals for a gothic horror aesthetic, subtle volumetric fog rolling in from the sides, the words “Hunyuan Image 2.1 FP8” ghosted into the mist like faint phosphorescent graffiti, the entire frame pulsing with cinematic tension as if the next lightning flash will freeze time forever."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
405.415771484375,
389
],
"size": [
425.27801513671875,
180.6060791015625
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 53
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
6
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"low quality, bad anatomy, extra digits, missing digits, extra limbs, missing limbs"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 39,
"type": "Reroute",
"pos": [
776.8094482421875,
724.7313842773438
],
"size": [
75,
26
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 68
}
],
"outputs": [
{
"name": "",
"type": "LATENT",
"links": [
67
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
}
},
{
"id": 29,
"type": "EmptyHunyuanImageLatent",
"pos": [
474.0664367675781,
628.437255859375
],
"size": [
273.4507751464844,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
68
]
}
],
"title": "16:9",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "EmptyHunyuanImageLatent",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
2560,
1536,
1
]
},
{
"id": 36,
"type": "EmptyHunyuanImageLatent",
"pos": [
474.8975830078125,
788.07177734375
],
"size": [
273.4507751464844,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": []
}
],
"title": "1:!",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "EmptyHunyuanImageLatent",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
2048,
2048,
1
]
},
{
"id": 37,
"type": "MarkdownNote",
"pos": [
-349.5580139160156,
179.86253356933594
],
"size": [
244.24050903320312,
250.70880126953125
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Models",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# [FP8 model](https://huggingface.co/drbaph/HunyuanImage-2.1_fp8/resolve/main/hunyuanimage2.1_fp8_e4m3fn.safetensors?download=true) \n## models/diffusion_models\n\n# [text encoders](https://huggingface.co/Comfy-Org/HunyuanImage_2.1_ComfyUI/tree/main/split_files/text_encoders) \n## models/text_encoders\n\n# [vae](https://huggingface.co/Comfy-Org/HunyuanImage_2.1_ComfyUI/resolve/main/split_files/vae/hunyuan_image_2.1_vae_fp16.safetensors?download=true) \n## models/VAE\n\n\n\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 38,
"type": "MarkdownNote",
"pos": [
225.3233642578125,
693.1898193359375
],
"size": [
216.57080078125,
141.0042724609375
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 1:1 2048x2048 \n# 16:9 2560x1536\n# 9:16 1536x2560"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 3,
"type": "KSampler",
"pos": [
863,
186
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 24
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 67
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
7
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "KSampler",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
814382105278318,
"randomize",
20,
3.5,
"euler",
"simple",
1
]
}
],
"links": [
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
24,
13,
0,
3,
0,
"MODEL"
],
[
34,
15,
0,
8,
1,
"VAE"
],
[
53,
26,
0,
7,
0,
"CLIP"
],
[
54,
26,
0,
6,
0,
"CLIP"
],
[
64,
8,
0,
34,
0,
"*"
],
[
65,
34,
0,
9,
0,
"IMAGE"
],
[
67,
39,
0,
3,
3,
"LATENT"
],
[
68,
29,
0,
39,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.5209868481924665,
"offset": [
132.0800961613071,
-176.18248430837846
]
},
"frontendVersion": "1.25.11",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}