Skip to content

Instantly share code, notes, and snippets.

@tudoanh
Created January 16, 2025 04:24
Show Gist options
  • Save tudoanh/79eb3dbff0e8fbdcb72eba985173b633 to your computer and use it in GitHub Desktop.
Save tudoanh/79eb3dbff0e8fbdcb72eba985173b633 to your computer and use it in GitHub Desktop.
hunyuan_test_1.json
{
"last_node_id": 83,
"last_link_id": 236,
"nodes": [
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
484,
751
],
"size": [
315,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
478,
860
],
"size": [
315,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 225,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 26,
"type": "FluxGuidance",
"pos": [
520,
100
],
"size": [
317.4000244140625,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 175
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
129
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
6
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 45,
"type": "EmptyHunyuanLatentVideo",
"pos": [
475.540771484375,
432.673583984375
],
"size": [
315,
130
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
180
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyHunyuanLatentVideo"
},
"widgets_values": [
848,
480,
73,
1
]
},
{
"id": 73,
"type": "VAEDecodeTiled",
"pos": [
1150,
200
],
"size": [
210,
150
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 210
},
{
"name": "vae",
"type": "VAE",
"link": 223
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
215
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecodeTiled"
},
"widgets_values": [
256,
64,
64,
8
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1150,
90
],
"size": [
210,
46
],
"flags": {},
"order": 15,
"mode": 2,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 181
},
{
"name": "vae",
"type": "VAE",
"link": 224
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 74,
"type": "Note",
"pos": [
1150,
360
],
"size": [
210,
170
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Use the tiled decode node by default because most people will need it.\n\nLower the tile_size and overlap if you run out of memory."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
860,
200
],
"size": [
272.3617858886719,
124.53733825683594
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 180,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
181,
210
],
"slot_index": 0,
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 44,
"type": "CLIPTextEncode",
"pos": [
420,
200
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 218
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
175
],
"slot_index": 0
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"anime style anime girl with massive fennec ears and one big fluffy tail, she has blonde hair long hair blue eyes wearing a pink sweater and a long blue skirt walking in a beautiful outdoor scenery with snow mountains in the background"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 75,
"type": "SaveAnimatedWEBP",
"pos": [
1410,
200
],
"size": [
315,
366
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 215
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI",
24,
false,
80,
"default"
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
479,
618
],
"size": [
315,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
0,
"fixed"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
906.6746826171875,
-79.11027526855469
],
"size": [
222.3482666015625,
46
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 235,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 129,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 83,
"type": "ModelSamplingSD3",
"pos": [
546.8633422851562,
-46.64058303833008
],
"size": [
210,
58
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 236
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
235
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
7
]
},
{
"id": 82,
"type": "VAELoaderMultiGPU",
"pos": [
-89.73064422607422,
619.8390502929688
],
"size": [
315,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
223,
224
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"hunyuan_video_vae_bf16.safetensors",
"cuda:1"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 81,
"type": "DualCLIPLoaderGGUFMultiGPU",
"pos": [
-88.26567840576172,
421.8682556152344
],
"size": [
327.5999755859375,
130
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
218
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderGGUFMultiGPU"
},
"widgets_values": [
"ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors",
"llava-llama-3-8b-v1_1.Q4_K_M.gguf",
"hunyuan_video",
"cuda:0"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 80,
"type": "UnetLoaderGGUFMultiGPU",
"pos": [
-83.08930969238281,
268.9217224121094
],
"size": [
315,
82
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
219,
225
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUFMultiGPU"
},
"widgets_values": [
"hunyuan-video-t2v-720p-q5_1.gguf",
"cuda:1"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 77,
"type": "Note",
"pos": [
-91.70933532714844,
108.41044616699219
],
"size": [
350,
110
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Select a fp8 weight_dtype if you are running out of memory."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 78,
"type": "ApplyFBCacheOnModel",
"pos": [
-70.96595001220703,
-111.68720245361328
],
"size": [
315,
154
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 219
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
236
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ApplyFBCacheOnModel"
},
"widgets_values": [
"diffusion_model",
0.1,
0,
1,
-1
]
}
],
"links": [
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
129,
26,
0,
22,
1,
"CONDITIONING"
],
[
175,
44,
0,
26,
0,
"CONDITIONING"
],
[
180,
45,
0,
13,
4,
"LATENT"
],
[
181,
13,
0,
8,
0,
"LATENT"
],
[
210,
13,
0,
73,
0,
"LATENT"
],
[
215,
73,
0,
75,
0,
"IMAGE"
],
[
218,
81,
0,
44,
0,
"CLIP"
],
[
219,
80,
0,
78,
0,
"MODEL"
],
[
223,
82,
0,
73,
1,
"VAE"
],
[
224,
82,
0,
8,
1,
"VAE"
],
[
225,
80,
0,
17,
0,
"MODEL"
],
[
235,
83,
0,
22,
0,
"MODEL"
],
[
236,
78,
0,
83,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9308063793199859,
"offset": [
587.2465079979082,
466.0976100322956
]
},
"groupNodes": {},
"node_versions": {
"comfy-core": "0.3.10",
"comfyui-multigpu": "1.3.1",
"Comfy-WaveSpeed": "36ba3c8b74735d4521828507a4bf323df1a9a9d0"
},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0
},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment