ComfyPilotComfyPilot
工作流 / 图像 / HiDream I1快速版
HiDream I1快速版

HiDream I1快速版

HiDream I1 Fast

使用 HiDream I1 快速版快速生成图像,轻量版本,16 步推理,适合低端硬件快速预览。

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

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

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

需要的权重

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

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

节点构成

CLIPTextEncode × 2
MarkdownNote × 2
VAELoader × 1
QuadrupleCLIPLoader × 1
UNETLoader × 1
ModelSamplingSD3 × 1
EmptySD3LatentImage × 1
KSampler × 1
VAEDecode × 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": 81,
9 "type": "VAELoader",
10 "pos": [
11 -150,
12 1160
13 ],
14 "size": [
15 320,
16 60
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "VAE",
25 "type": "VAE",
26 "links": [
27 169
28 ]
29 }
30 ],
31 "properties": {
32 "Node name for S&R": "VAELoader",
33 "cnr_id": "comfy-core",
34 "ver": "0.3.28",
35 "models": [
36 {
37 "name": "ae.safetensors",
38 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/vae/ae.safetensors?download=true",
39 "directory": "vae"
40 }
41 ],
42 "enableTabs": false,
43 "tabWidth": 65,
44 "tabXOffset": 10,
45 "hasSecondTab": false,
46 "secondTabText": "Send Back",
47 "secondTabOffset": 80,
48 "secondTabWidth": 65
49 },
50 "widgets_values": [
51 "ae.safetensors"
52 ]
53 },
54 {
55 "id": 82,
56 "type": "QuadrupleCLIPLoader",
57 "pos": [
58 -150,
59 970
60 ],
61 "size": [
62 320,
63 130
64 ],
65 "flags": [],
66 "order": 1,
67 "mode": 0,
68 "inputs": [],
69 "outputs": [
70 {
71 "name": "CLIP",
72 "type": "CLIP",
73 "slot_index": 0,
74 "links": [
75 167,
76 175
77 ]
78 }
79 ],
80 "properties": {
81 "Node name for S&R": "QuadrupleCLIPLoader",
82 "cnr_id": "comfy-core",
83 "ver": "0.3.28",
84 "models": [
85 {
86 "name": "clip_l_hidream.safetensors",
87 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_l_hidream.safetensors",
88 "directory": "text_encoders"
89 },
90 {
91 "name": "clip_g_hidream.safetensors",
92 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_g_hidream.safetensors",
93 "directory": "text_encoders"
94 },
95 {
96 "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
97 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/t5xxl_fp8_e4m3fn_scaled.safetensors",
98 "directory": "text_encoders"
99 },
100 {
101 "name": "llama_3.1_8b_instruct_fp8_scaled.safetensors",
102 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors",
103 "directory": "text_encoders"
104 }
105 ],
106 "enableTabs": false,
107 "tabWidth": 65,
108 "tabXOffset": 10,
109 "hasSecondTab": false,
110 "secondTabText": "Send Back",
111 "secondTabOffset": 80,
112 "secondTabWidth": 65
113 },
114 "widgets_values": [
115 "clip_l_hidream.safetensors",
116 "clip_g_hidream.safetensors",
117 "t5xxl_fp8_e4m3fn_scaled.safetensors",
118 "llama_3.1_8b_instruct_fp8_scaled.safetensors"
119 ]
120 },
121 {
122 "id": 93,
123 "type": "UNETLoader",
124 "pos": [
125 -140,
126 830
127 ],
128 "size": [
129 280,
130 82
131 ],
132 "flags": [],
133 "order": 2,
134 "mode": 0,
135 "inputs": [],
136 "outputs": [
137 {
138 "name": "MODEL",
139 "type": "MODEL",
140 "links": [
141 177
142 ]
143 }
144 ],
145 "properties": {
146 "Node name for S&R": "UNETLoader",
147 "cnr_id": "comfy-core",
148 "ver": "0.3.56",
149 "models": [
150 {
151 "name": "hidream_i1_fast_fp8.safetensors",
152 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/diffusion_models/hidream_i1_fast_fp8.safetensors?download=true",
153 "directory": "diffusion_models"
154 }
155 ]
156 },
157 "widgets_values": [
158 "hidream_i1_fast_fp8.safetensors",
159 "default"
160 ]
161 },
162 {
163 "id": 91,
164 "type": "ModelSamplingSD3",
165 "pos": [
166 630,
167 780
168 ],
169 "size": [
170 210,
171 60
172 ],
173 "flags": [],
174 "order": 8,
175 "mode": 0,
176 "inputs": [
177 {
178 "name": "model",
179 "type": "MODEL",
180 "link": 177
181 }
182 ],
183 "outputs": [
184 {
185 "name": "MODEL",
186 "type": "MODEL",
187 "links": [
188 178
189 ]
190 }
191 ],
192 "properties": {
193 "Node name for S&R": "ModelSamplingSD3",
194 "cnr_id": "comfy-core",
195 "ver": "0.3.28",
196 "enableTabs": false,
197 "tabWidth": 65,
198 "tabXOffset": 10,
199 "hasSecondTab": false,
200 "secondTabText": "Send Back",
201 "secondTabOffset": 80,
202 "secondTabWidth": 65
203 },
204 "widgets_values": [
205 3
206 ]
207 },
208 {
209 "id": 90,
210 "type": "CLIPTextEncode",
211 "pos": [
212 240,
213 1030
214 ],
215 "size": [
216 432,
217 192
218 ],
219 "flags": {
220 "collapsed": true
221 },
222 "order": 7,
223 "mode": 0,
224 "inputs": [
225 {
226 "name": "clip",
227 "type": "CLIP",
228 "link": 175
229 }
230 ],
231 "outputs": [
232 {
233 "name": "CONDITIONING",
234 "type": "CONDITIONING",
235 "slot_index": 0,
236 "links": [
237 180
238 ]
239 }
240 ],
241 "title": "Negative Prompt",
242 "properties": {
243 "Node name for S&R": "CLIPTextEncode",
244 "cnr_id": "comfy-core",
245 "ver": "0.3.28",
246 "enableTabs": false,
247 "tabWidth": 65,
248 "tabXOffset": 10,
249 "hasSecondTab": false,
250 "secondTabText": "Send Back",
251 "secondTabOffset": 80,
252 "secondTabWidth": 65
253 },
254 "widgets_values": [
255 "bad ugly jpeg artifacts"
256 ],
257 "color": "#322",
258 "bgcolor": "#533"
259 },
260 {
261 "id": 84,
262 "type": "EmptySD3LatentImage",
263 "pos": [
264 -140,
265 1360
266 ],
267 "size": [
268 315,
269 106
270 ],
271 "flags": [],
272 "order": 3,
273 "mode": 0,
274 "inputs": [],
275 "outputs": [
276 {
277 "name": "LATENT",
278 "type": "LATENT",
279 "slot_index": 0,
280 "links": [
281 181
282 ]
283 }
284 ],
285 "properties": {
286 "Node name for S&R": "EmptySD3LatentImage",
287 "cnr_id": "comfy-core",
288 "ver": "0.3.28",
289 "enableTabs": false,
290 "tabWidth": 65,
291 "tabXOffset": 10,
292 "hasSecondTab": false,
293 "secondTabText": "Send Back",
294 "secondTabOffset": 80,
295 "secondTabWidth": 65
296 },
297 "widgets_values": [
298 1024,
299 1024,
300 1
301 ]
302 },
303 {
304 "id": 94,
305 "type": "KSampler",
306 "pos": [
307 630,
308 890
309 ],
310 "size": [
311 310,
312 262
313 ],
314 "flags": [],
315 "order": 9,
316 "mode": 0,
317 "inputs": [
318 {
319 "name": "model",
320 "type": "MODEL",
321 "link": 178
322 },
323 {
324 "name": "positive",
325 "type": "CONDITIONING",
326 "link": 179
327 },
328 {
329 "name": "negative",
330 "type": "CONDITIONING",
331 "link": 180
332 },
333 {
334 "name": "latent_image",
335 "type": "LATENT",
336 "link": 181
337 }
338 ],
339 "outputs": [
340 {
341 "name": "LATENT",
342 "type": "LATENT",
343 "slot_index": 0,
344 "links": [
345 182
346 ]
347 }
348 ],
349 "properties": {
350 "Node name for S&R": "KSampler",
351 "cnr_id": "comfy-core",
352 "ver": "0.3.28",
353 "enableTabs": false,
354 "tabWidth": 65,
355 "tabXOffset": 10,
356 "hasSecondTab": false,
357 "secondTabText": "Send Back",
358 "secondTabOffset": 80,
359 "secondTabWidth": 65
360 },
361 "widgets_values": [
362 833271177511441,
363 "randomize",
364 16,
365 1,
366 "lcm",
367 "normal",
368 1
369 ]
370 },
371 {
372 "id": 89,
373 "type": "MarkdownNote",
374 "pos": [
375 230,
376 1100
377 ],
378 "size": [
379 360,
380 380
381 ],
382 "flags": [],
383 "order": 4,
384 "mode": 0,
385 "inputs": [],
386 "outputs": [],
387 "title": "KSampler Settings",
388 "properties": [],
389 "widgets_values": [
390 "## 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"
391 ],
392 "color": "#222",
393 "bgcolor": "#000"
394 },
395 {
396 "id": 86,
397 "type": "VAEDecode",
398 "pos": [
399 960,
400 780
401 ],
402 "size": [
403 210,
404 46
405 ],
406 "flags": [],
407 "order": 10,
408 "mode": 0,
409 "inputs": [
410 {
411 "name": "samples",
412 "type": "LATENT",
413 "link": 182
414 },
415 {
416 "name": "vae",
417 "type": "VAE",
418 "link": 169
419 }
420 ],
421 "outputs": [
422 {
423 "name": "IMAGE",
424 "type": "IMAGE",
425 "slot_index": 0,
426 "links": [
427 174
428 ]
429 }
430 ],
431 "properties": {
432 "Node name for S&R": "VAEDecode",
433 "cnr_id": "comfy-core",
434 "ver": "0.3.28",
435 "enableTabs": false,
436 "tabWidth": 65,
437 "tabXOffset": 10,
438 "hasSecondTab": false,
439 "secondTabText": "Send Back",
440 "secondTabOffset": 80,
441 "secondTabWidth": 65
442 },
443 "widgets_values": []
444 },
445 {
446 "id": 88,
447 "type": "SaveImage",
448 "pos": [
449 960,
450 890
451 ],
452 "size": [
453 570,
454 420
455 ],
456 "flags": [],
457 "order": 11,
458 "mode": 0,
459 "inputs": [
460 {
461 "name": "images",
462 "type": "IMAGE",
463 "link": 174
464 }
465 ],
466 "outputs": [],
467 "properties": {
468 "Node name for S&R": "SaveImage",
469 "cnr_id": "comfy-core",
470 "ver": "0.3.28",
471 "enableTabs": false,
472 "tabWidth": 65,
473 "tabXOffset": 10,
474 "hasSecondTab": false,
475 "secondTabText": "Send Back",
476 "secondTabOffset": 80,
477 "secondTabWidth": 65
478 },
479 "widgets_values": [
480 "ComfyUI"
481 ]
482 },
483 {
484 "id": 85,
485 "type": "CLIPTextEncode",
486 "pos": [
487 230,
488 810
489 ],
490 "size": [
491 350,
492 170
493 ],
494 "flags": [],
495 "order": 6,
496 "mode": 0,
497 "inputs": [
498 {
499 "name": "clip",
500 "type": "CLIP",
501 "link": 167
502 }
503 ],
504 "outputs": [
505 {
506 "name": "CONDITIONING",
507 "type": "CONDITIONING",
508 "slot_index": 0,
509 "links": [
510 179
511 ]
512 }
513 ],
514 "title": "Positive Prompt",
515 "properties": {
516 "Node name for S&R": "CLIPTextEncode",
517 "cnr_id": "comfy-core",
518 "ver": "0.3.28",
519 "enableTabs": false,
520 "tabWidth": 65,
521 "tabXOffset": 10,
522 "hasSecondTab": false,
523 "secondTabText": "Send Back",
524 "secondTabOffset": 80,
525 "secondTabWidth": 65
526 },
527 "widgets_values": [
528 "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"
529 ],
530 "color": "#232",
531 "bgcolor": "#353"
532 },
533 {
534 "id": 92,
535 "type": "MarkdownNote",
536 "pos": [
537 -710,
538 770
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_fast_fp8.safetensors](https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/diffusion_models/hidream_i1_fast_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_fast_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 167,
561 82,
562 0,
563 85,
564 0,
565 "CLIP"
566 ],
567 [
568 169,
569 81,
570 0,
571 86,
572 1,
573 "VAE"
574 ],
575 [
576 174,
577 86,
578 0,
579 88,
580 0,
581 "IMAGE"
582 ],
583 [
584 175,
585 82,
586 0,
587 90,
588 0,
589 "CLIP"
590 ],
591 [
592 177,
593 93,
594 0,
595 91,
596 0,
597 "MODEL"
598 ],
599 [
600 178,
601 91,
602 0,
603 94,
604 0,
605 "MODEL"
606 ],
607 [
608 179,
609 85,
610 0,
611 94,
612 1,
613 "CONDITIONING"
614 ],
615 [
616 180,
617 90,
618 0,
619 94,
620 2,
621 "CONDITIONING"
622 ],
623 [
624 181,
625 84,
626 0,
627 94,
628 3,
629 "LATENT"
630 ],
631 [
632 182,
633 94,
634 0,
635 86,
636 0,
637 "LATENT"
638 ]
639 ],
640 "groups": [
641 {
642 "id": 3,
643 "title": "Step 1 - Load Models",
644 "bounding": [
645 -180,
646 740,
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 -180,
659 1280,
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 220,
672 740,
673 370,
674 313.6000061035156
675 ],
676 "color": "#3f789e",
677 "font_size": 24,
678 "flags": []
679 }
680 ],
681 "config": [],
682 "extra": {
683 "ds": {
684 "scale": 0.40496973371095424,
685 "offset": [
686 979.3527684489309,
687 -212.75133395393988
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}