ComfyPilotComfyPilot
工作流 / 图像 / HiDream I1完整版
HiDream I1完整版

HiDream I1完整版

HiDream I1 Full

使用 HiDream I1 完整版生成图像,完整版本,50 步推理,输出质量最高。

图像 12 个节点 13 次使用 ComfyUI ≥ 0.3.29 ComfyUI 16 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

需要的权重

这个工作流引用了 6 个权重文件,其中 6 个能在本站模型库里找到。

ae.safetensors 在模型库查看
clip_g_hidream.safetensors 在模型库查看
clip_l_hidream.safetensors 在模型库查看
hidream_i1_full_fp8.safetensors 在模型库查看
llama_3.1_8b_instruct_fp8_scaled.safetensors 在模型库查看
t5xxl_fp8_e4m3fn_scaled.safetensors 在模型库查看

节点构成

CLIPTextEncode × 2
MarkdownNote × 2
VAEDecode × 1
EmptySD3LatentImage × 1
KSampler × 1
ModelSamplingSD3 × 1
QuadrupleCLIPLoader × 1
VAELoader × 1
UNETLoader × 1
SaveImage × 1

官方标注的模型

HiDream

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "01d66ae9-78be-4a8d-b737-24eee5e1d447",
3 "revision": 0,
4 "last_node_id": 94,
5 "last_link_id": 183,
6 "nodes": [
7 {
8 "id": 89,
9 "type": "VAEDecode",
10 "pos": [
11 560,
12 -1020
13 ],
14 "size": [
15 210,
16 46
17 ],
18 "flags": [],
19 "order": 10,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "samples",
24 "type": "LATENT",
25 "link": 181
26 },
27 {
28 "name": "vae",
29 "type": "VAE",
30 "link": 174
31 }
32 ],
33 "outputs": [
34 {
35 "name": "IMAGE",
36 "type": "IMAGE",
37 "slot_index": 0,
38 "links": [
39 175
40 ]
41 }
42 ],
43 "properties": {
44 "Node name for S&R": "VAEDecode",
45 "cnr_id": "comfy-core",
46 "ver": "0.3.28",
47 "enableTabs": false,
48 "tabWidth": 65,
49 "tabXOffset": 10,
50 "hasSecondTab": false,
51 "secondTabText": "Send Back",
52 "secondTabOffset": 80,
53 "secondTabWidth": 65
54 },
55 "widgets_values": []
56 },
57 {
58 "id": 91,
59 "type": "CLIPTextEncode",
60 "pos": [
61 -150,
62 -990
63 ],
64 "size": [
65 350,
66 170
67 ],
68 "flags": [],
69 "order": 7,
70 "mode": 0,
71 "inputs": [
72 {
73 "name": "clip",
74 "type": "CLIP",
75 "link": 176
76 }
77 ],
78 "outputs": [
79 {
80 "name": "CONDITIONING",
81 "type": "CONDITIONING",
82 "slot_index": 0,
83 "links": [
84 178
85 ]
86 }
87 ],
88 "title": "Positive Prompt",
89 "properties": {
90 "Node name for S&R": "CLIPTextEncode",
91 "cnr_id": "comfy-core",
92 "ver": "0.3.28",
93 "enableTabs": false,
94 "tabWidth": 65,
95 "tabXOffset": 10,
96 "hasSecondTab": false,
97 "secondTabText": "Send Back",
98 "secondTabOffset": 80,
99 "secondTabWidth": 65
100 },
101 "widgets_values": [
102 "A lo-fi, grungy wide shot of a ragged large red tree leaning slightly to one side Polaroid aesthetic. the tree is alone in a desolate landscape, the tree is illuminated by a red light, the background is pitch black"
103 ],
104 "color": "#232",
105 "bgcolor": "#353"
106 },
107 {
108 "id": 86,
109 "type": "EmptySD3LatentImage",
110 "pos": [
111 -520,
112 -440
113 ],
114 "size": [
115 315,
116 106
117 ],
118 "flags": [],
119 "order": 0,
120 "mode": 0,
121 "inputs": [],
122 "outputs": [
123 {
124 "name": "LATENT",
125 "type": "LATENT",
126 "slot_index": 0,
127 "links": [
128 180
129 ]
130 }
131 ],
132 "properties": {
133 "Node name for S&R": "EmptySD3LatentImage",
134 "cnr_id": "comfy-core",
135 "ver": "0.3.28",
136 "enableTabs": false,
137 "tabWidth": 65,
138 "tabXOffset": 10,
139 "hasSecondTab": false,
140 "secondTabText": "Send Back",
141 "secondTabOffset": 80,
142 "secondTabWidth": 65
143 },
144 "widgets_values": [
145 1024,
146 1024,
147 1
148 ]
149 },
150 {
151 "id": 85,
152 "type": "CLIPTextEncode",
153 "pos": [
154 -140,
155 -770
156 ],
157 "size": [
158 330,
159 180
160 ],
161 "flags": {
162 "collapsed": false
163 },
164 "order": 6,
165 "mode": 0,
166 "inputs": [
167 {
168 "name": "clip",
169 "type": "CLIP",
170 "link": 168
171 }
172 ],
173 "outputs": [
174 {
175 "name": "CONDITIONING",
176 "type": "CONDITIONING",
177 "slot_index": 0,
178 "links": [
179 179
180 ]
181 }
182 ],
183 "title": "Negative Prompt",
184 "properties": {
185 "Node name for S&R": "CLIPTextEncode",
186 "cnr_id": "comfy-core",
187 "ver": "0.3.28",
188 "enableTabs": false,
189 "tabWidth": 65,
190 "tabXOffset": 10,
191 "hasSecondTab": false,
192 "secondTabText": "Send Back",
193 "secondTabOffset": 80,
194 "secondTabWidth": 65
195 },
196 "widgets_values": [
197 "bad ugly jpeg artifacts"
198 ],
199 "color": "#322",
200 "bgcolor": "#533"
201 },
202 {
203 "id": 93,
204 "type": "KSampler",
205 "pos": [
206 230,
207 -890
208 ],
209 "size": [
210 310,
211 460
212 ],
213 "flags": [],
214 "order": 9,
215 "mode": 0,
216 "inputs": [
217 {
218 "name": "model",
219 "type": "MODEL",
220 "link": 177
221 },
222 {
223 "name": "positive",
224 "type": "CONDITIONING",
225 "link": 178
226 },
227 {
228 "name": "negative",
229 "type": "CONDITIONING",
230 "link": 179
231 },
232 {
233 "name": "latent_image",
234 "type": "LATENT",
235 "link": 180
236 }
237 ],
238 "outputs": [
239 {
240 "name": "LATENT",
241 "type": "LATENT",
242 "slot_index": 0,
243 "links": [
244 181
245 ]
246 }
247 ],
248 "properties": {
249 "Node name for S&R": "KSampler",
250 "cnr_id": "comfy-core",
251 "ver": "0.3.28",
252 "enableTabs": false,
253 "tabWidth": 65,
254 "tabXOffset": 10,
255 "hasSecondTab": false,
256 "secondTabText": "Send Back",
257 "secondTabOffset": 80,
258 "secondTabWidth": 65
259 },
260 "widgets_values": [
261 647719102242276,
262 "randomize",
263 50,
264 5,
265 "uni_pc",
266 "simple",
267 1
268 ]
269 },
270 {
271 "id": 84,
272 "type": "ModelSamplingSD3",
273 "pos": [
274 230,
275 -1020
276 ],
277 "size": [
278 210,
279 60
280 ],
281 "flags": [],
282 "order": 8,
283 "mode": 0,
284 "inputs": [
285 {
286 "name": "model",
287 "type": "MODEL",
288 "link": 182
289 }
290 ],
291 "outputs": [
292 {
293 "name": "MODEL",
294 "type": "MODEL",
295 "links": [
296 177
297 ]
298 }
299 ],
300 "properties": {
301 "Node name for S&R": "ModelSamplingSD3",
302 "cnr_id": "comfy-core",
303 "ver": "0.3.28",
304 "enableTabs": false,
305 "tabWidth": 65,
306 "tabXOffset": 10,
307 "hasSecondTab": false,
308 "secondTabText": "Send Back",
309 "secondTabOffset": 80,
310 "secondTabWidth": 65
311 },
312 "widgets_values": [
313 3
314 ]
315 },
316 {
317 "id": 82,
318 "type": "QuadrupleCLIPLoader",
319 "pos": [
320 -520,
321 -820
322 ],
323 "size": [
324 320,
325 130
326 ],
327 "flags": [],
328 "order": 1,
329 "mode": 0,
330 "inputs": [],
331 "outputs": [
332 {
333 "name": "CLIP",
334 "type": "CLIP",
335 "slot_index": 0,
336 "links": [
337 168,
338 176
339 ]
340 }
341 ],
342 "properties": {
343 "Node name for S&R": "QuadrupleCLIPLoader",
344 "cnr_id": "comfy-core",
345 "ver": "0.3.28",
346 "models": [
347 {
348 "name": "clip_l_hidream.safetensors",
349 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_l_hidream.safetensors",
350 "directory": "text_encoders"
351 },
352 {
353 "name": "clip_g_hidream.safetensors",
354 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_g_hidream.safetensors",
355 "directory": "text_encoders"
356 },
357 {
358 "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
359 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/t5xxl_fp8_e4m3fn_scaled.safetensors",
360 "directory": "text_encoders"
361 },
362 {
363 "name": "llama_3.1_8b_instruct_fp8_scaled.safetensors",
364 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors",
365 "directory": "text_encoders"
366 }
367 ],
368 "enableTabs": false,
369 "tabWidth": 65,
370 "tabXOffset": 10,
371 "hasSecondTab": false,
372 "secondTabText": "Send Back",
373 "secondTabOffset": 80,
374 "secondTabWidth": 65
375 },
376 "widgets_values": [
377 "clip_l_hidream.safetensors",
378 "clip_g_hidream.safetensors",
379 "t5xxl_fp8_e4m3fn_scaled.safetensors",
380 "llama_3.1_8b_instruct_fp8_scaled.safetensors"
381 ]
382 },
383 {
384 "id": 81,
385 "type": "VAELoader",
386 "pos": [
387 -520,
388 -630
389 ],
390 "size": [
391 320,
392 60
393 ],
394 "flags": [],
395 "order": 2,
396 "mode": 0,
397 "inputs": [],
398 "outputs": [
399 {
400 "name": "VAE",
401 "type": "VAE",
402 "links": [
403 174
404 ]
405 }
406 ],
407 "properties": {
408 "Node name for S&R": "VAELoader",
409 "cnr_id": "comfy-core",
410 "ver": "0.3.28",
411 "models": [
412 {
413 "name": "ae.safetensors",
414 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/vae/ae.safetensors?download=true",
415 "directory": "vae"
416 }
417 ],
418 "enableTabs": false,
419 "tabWidth": 65,
420 "tabXOffset": 10,
421 "hasSecondTab": false,
422 "secondTabText": "Send Back",
423 "secondTabOffset": 80,
424 "secondTabWidth": 65
425 },
426 "widgets_values": [
427 "ae.safetensors"
428 ]
429 },
430 {
431 "id": 94,
432 "type": "UNETLoader",
433 "pos": [
434 -520,
435 -970
436 ],
437 "size": [
438 310,
439 82
440 ],
441 "flags": [],
442 "order": 3,
443 "mode": 0,
444 "inputs": [],
445 "outputs": [
446 {
447 "name": "MODEL",
448 "type": "MODEL",
449 "links": [
450 182
451 ]
452 }
453 ],
454 "properties": {
455 "Node name for S&R": "UNETLoader",
456 "cnr_id": "comfy-core",
457 "ver": "0.3.56",
458 "models": [
459 {
460 "name": "hidream_i1_full_fp8.safetensors",
461 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/diffusion_models/hidream_i1_full_fp8.safetensors?download=true",
462 "directory": "diffusion_models"
463 }
464 ]
465 },
466 "widgets_values": [
467 "hidream_i1_full_fp8.safetensors",
468 "default"
469 ]
470 },
471 {
472 "id": 88,
473 "type": "MarkdownNote",
474 "pos": [
475 230,
476 -380
477 ],
478 "size": [
479 320,
480 460
481 ],
482 "flags": [],
483 "order": 4,
484 "mode": 0,
485 "inputs": [],
486 "outputs": [],
487 "title": "KSampler Settings",
488 "properties": [],
489 "widgets_values": [
490 "## Official sampling settings\n\nProvided for reference, my workflows may have slightly different settings.\n\n### HiDream Full\n\n* hidream_i1_full_fp16.safetensors\n* shift: 3.0\n* steps: 50\n* sampler: uni_pc\n* scheduler: simple\n* cfg: 5.0\n\n### HiDream Dev\n\n* hidream_i1_dev_bf16.safetensors\n* shift: 6.0\n* steps: 28\n* sampler: lcm\n* scheduler: normal\n* cfg: 1.0 (no negative prompt)\n\n### HiDream Fast\n\n* hidream_i1_fast_bf16.safetensors\n* shift: 3.0\n* steps: 16\n* sampler: lcm\n* scheduler: normal\n* cfg: 1.0 (no negative prompt)\n"
491 ],
492 "color": "#222",
493 "bgcolor": "#000"
494 },
495 {
496 "id": 90,
497 "type": "SaveImage",
498 "pos": [
499 560,
500 -890
501 ],
502 "size": [
503 570,
504 420
505 ],
506 "flags": [],
507 "order": 11,
508 "mode": 0,
509 "inputs": [
510 {
511 "name": "images",
512 "type": "IMAGE",
513 "link": 175
514 }
515 ],
516 "outputs": [],
517 "properties": {
518 "Node name for S&R": "SaveImage",
519 "cnr_id": "comfy-core",
520 "ver": "0.3.28",
521 "enableTabs": false,
522 "tabWidth": 65,
523 "tabXOffset": 10,
524 "hasSecondTab": false,
525 "secondTabText": "Send Back",
526 "secondTabOffset": 80,
527 "secondTabWidth": 65
528 },
529 "widgets_values": [
530 "ComfyUI"
531 ]
532 },
533 {
534 "id": 92,
535 "type": "MarkdownNote",
536 "pos": [
537 -1090,
538 -1030
539 ],
540 "size": [
541 510,
542 510
543 ],
544 "flags": [],
545 "order": 5,
546 "mode": 0,
547 "inputs": [],
548 "outputs": [],
549 "title": "Model links",
550 "properties": [],
551 "widgets_values": [
552 "## Model Links\n\n- [Hugging Face:Comfy-Org/HiDream-I1_ComfyUI](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/HiDream-I1_ComfyUI](https://modelscope.cn/models/Comfy-Org/HiDream-I1_ComfyUI)\n\n[Tutorial](https://docs.comfy.org/tutorials/image/hidream/hidream-i1) \n\n**diffusion models**\n- [hidream_i1_full_fp8.safetensors](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/diffusion_models/hidream_i1_full_fp8.safetensors) (15.93 GB)\n\n**text_encoders**:\n\n- [clip_l_hidream.safetensors](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_l_hidream.safetensors) (236.1 MB)\n- [clip_g_hidream.safetensors](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_g_hidream.safetensors) (1.29 GB)\n- [t5xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/t5xxl_fp8_e4m3fn_scaled.safetensors) (4.8 GB) \n- [llama_3.1_8b_instruct_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors) (8.46 GB)\n\n**VAE**\n- [ae.safetensors](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/vae/ae.safetensors) (319.8 MB) \n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── hidream_i1_full_fp8.safetensors\n│ ├── 📂 text_encoders/\n│ │ ├─── clip_l_hidream.safetensors\n│ │ ├─── clip_g_hidream.safetensors\n│ │ ├─── t5xxl_fp8_e4m3fn_scaled.safetensors\n│ │ └───llama_3.1_8b_instruct_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── ae.safetensors\n \n```"
553 ],
554 "color": "#222",
555 "bgcolor": "#000"
556 }
557 ],
558 "links": [
559 [
560 168,
561 82,
562 0,
563 85,
564 0,
565 "CLIP"
566 ],
567 [
568 174,
569 81,
570 0,
571 89,
572 1,
573 "VAE"
574 ],
575 [
576 175,
577 89,
578 0,
579 90,
580 0,
581 "IMAGE"
582 ],
583 [
584 176,
585 82,
586 0,
587 91,
588 0,
589 "CLIP"
590 ],
591 [
592 177,
593 84,
594 0,
595 93,
596 0,
597 "MODEL"
598 ],
599 [
600 178,
601 91,
602 0,
603 93,
604 1,
605 "CONDITIONING"
606 ],
607 [
608 179,
609 85,
610 0,
611 93,
612 2,
613 "CONDITIONING"
614 ],
615 [
616 180,
617 86,
618 0,
619 93,
620 3,
621 "LATENT"
622 ],
623 [
624 181,
625 93,
626 0,
627 89,
628 0,
629 "LATENT"
630 ],
631 [
632 182,
633 94,
634 0,
635 84,
636 0,
637 "MODEL"
638 ]
639 ],
640 "groups": [
641 {
642 "id": 3,
643 "title": "Step 1 - Load Models",
644 "bounding": [
645 -560,
646 -1060,
647 380,
648 520
649 ],
650 "color": "#3f789e",
651 "font_size": 24,
652 "flags": []
653 },
654 {
655 "id": 4,
656 "title": "Step 2 - Image size",
657 "bounding": [
658 -560,
659 -520,
660 380,
661 200
662 ],
663 "color": "#3f789e",
664 "font_size": 24,
665 "flags": []
666 },
667 {
668 "id": 5,
669 "title": "Step3 - Prompt",
670 "bounding": [
671 -160,
672 -1060,
673 370,
674 520
675 ],
676 "color": "#3f789e",
677 "font_size": 24,
678 "flags": []
679 }
680 ],
681 "config": [],
682 "extra": {
683 "ds": {
684 "scale": 0.5965371892817787,
685 "offset": [
686 676.30515690242,
687 1058.2756422125744
688 ]
689 },
690 "frontendVersion": "1.28.6",
691 "node_versions": {
692 "comfy-core": "0.3.28"
693 },
694 "VHS_latentpreview": false,
695 "VHS_latentpreviewrate": 0,
696 "VHS_MetadataImage": true,
697 "VHS_KeepIntermediate": true
698 },
699 "version": 0.4
700}