工作流 /
图像 /
HiDream I1开发版

HiDream I1开发版
HiDream I1 Dev
使用 HiDream I1 开发版生成图像,平衡版本,28 步推理,适合中端硬件。
图像
12 个节点 17 次使用 ComfyUI ≥ 0.3.29 ComfyUI 16 KB
需要的权重
这个工作流引用了 6 个权重文件,其中 6 个能在本站模型库里找到。
ae.safetensors
在模型库查看
clip_g_hidream.safetensors
在模型库查看
clip_l_hidream.safetensors
在模型库查看
hidream_i1_dev_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
EmptySD3LatentImage
× 1
VAEDecode
× 1
KSampler
× 1
SaveImage
× 1
ModelSamplingSD3
× 1
官方标注的模型
HiDream
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "01d66ae9-78be-4a8d-b737-24eee5e1d447",
3 "revision": 0,
4 "last_node_id": 81,
5 "last_link_id": 166,
6 "nodes": [
7 {
8 "id": 55,
9 "type": "VAELoader",
10 "pos": [
11 140,
12 240
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 107
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": 54,
56 "type": "QuadrupleCLIPLoader",
57 "pos": [
58 140,
59 50
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 111,
76 112
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": 76,
123 "type": "UNETLoader",
124 "pos": [
125 140,
126 -90
127 ],
128 "size": [
129 320,
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 166
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_dev_fp8.safetensors",
152 "url": "https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/diffusion_models/hidream_i1_dev_fp8.safetensors",
153 "directory": "diffusion_models"
154 }
155 ]
156 },
157 "widgets_values": [
158 "hidream_i1_dev_fp8.safetensors",
159 "default"
160 ]
161 },
162 {
163 "id": 53,
164 "type": "EmptySD3LatentImage",
165 "pos": [
166 150,
167 440
168 ],
169 "size": [
170 315,
171 106
172 ],
173 "flags": [],
174 "order": 3,
175 "mode": 0,
176 "inputs": [],
177 "outputs": [
178 {
179 "name": "LATENT",
180 "type": "LATENT",
181 "slot_index": 0,
182 "links": [
183 100
184 ]
185 }
186 ],
187 "properties": {
188 "Node name for S&R": "EmptySD3LatentImage",
189 "cnr_id": "comfy-core",
190 "ver": "0.3.28",
191 "enableTabs": false,
192 "tabWidth": 65,
193 "tabXOffset": 10,
194 "hasSecondTab": false,
195 "secondTabText": "Send Back",
196 "secondTabOffset": 80,
197 "secondTabWidth": 65
198 },
199 "widgets_values": [
200 1024,
201 1024,
202 1
203 ]
204 },
205 {
206 "id": 16,
207 "type": "CLIPTextEncode",
208 "pos": [
209 520,
210 -110
211 ],
212 "size": [
213 350,
214 170
215 ],
216 "flags": [],
217 "order": 6,
218 "mode": 0,
219 "inputs": [
220 {
221 "name": "clip",
222 "type": "CLIP",
223 "link": 111
224 }
225 ],
226 "outputs": [
227 {
228 "name": "CONDITIONING",
229 "type": "CONDITIONING",
230 "slot_index": 0,
231 "links": [
232 21
233 ]
234 }
235 ],
236 "title": "Positive Prompt",
237 "properties": {
238 "Node name for S&R": "CLIPTextEncode",
239 "cnr_id": "comfy-core",
240 "ver": "0.3.28",
241 "enableTabs": false,
242 "tabWidth": 65,
243 "tabXOffset": 10,
244 "hasSecondTab": false,
245 "secondTabText": "Send Back",
246 "secondTabOffset": 80,
247 "secondTabWidth": 65
248 },
249 "widgets_values": [
250 "A photograph of an albino woman with white skin and dark hair wearing black in the style of old baroque oil paintings, with soft focus, wearing a pearl necklace around her neck, with a dark background, with rosy cheeks, with a long veil covering her face, looking straight ahead"
251 ],
252 "color": "#232",
253 "bgcolor": "#353"
254 },
255 {
256 "id": 8,
257 "type": "VAEDecode",
258 "pos": [
259 920,
260 290
261 ],
262 "size": [
263 210,
264 46
265 ],
266 "flags": [],
267 "order": 10,
268 "mode": 0,
269 "inputs": [
270 {
271 "name": "samples",
272 "type": "LATENT",
273 "link": 160
274 },
275 {
276 "name": "vae",
277 "type": "VAE",
278 "link": 107
279 }
280 ],
281 "outputs": [
282 {
283 "name": "IMAGE",
284 "type": "IMAGE",
285 "slot_index": 0,
286 "links": [
287 51
288 ]
289 }
290 ],
291 "properties": {
292 "Node name for S&R": "VAEDecode",
293 "cnr_id": "comfy-core",
294 "ver": "0.3.28",
295 "enableTabs": false,
296 "tabWidth": 65,
297 "tabXOffset": 10,
298 "hasSecondTab": false,
299 "secondTabText": "Send Back",
300 "secondTabOffset": 80,
301 "secondTabWidth": 65
302 },
303 "widgets_values": []
304 },
305 {
306 "id": 3,
307 "type": "KSampler",
308 "pos": [
309 920,
310 -20
311 ],
312 "size": [
313 310,
314 262
315 ],
316 "flags": [],
317 "order": 9,
318 "mode": 0,
319 "inputs": [
320 {
321 "name": "model",
322 "type": "MODEL",
323 "link": 163
324 },
325 {
326 "name": "positive",
327 "type": "CONDITIONING",
328 "link": 21
329 },
330 {
331 "name": "negative",
332 "type": "CONDITIONING",
333 "link": 114
334 },
335 {
336 "name": "latent_image",
337 "type": "LATENT",
338 "link": 100
339 }
340 ],
341 "outputs": [
342 {
343 "name": "LATENT",
344 "type": "LATENT",
345 "slot_index": 0,
346 "links": [
347 160
348 ]
349 }
350 ],
351 "properties": {
352 "Node name for S&R": "KSampler",
353 "cnr_id": "comfy-core",
354 "ver": "0.3.28",
355 "enableTabs": false,
356 "tabWidth": 65,
357 "tabXOffset": 10,
358 "hasSecondTab": false,
359 "secondTabText": "Send Back",
360 "secondTabOffset": 80,
361 "secondTabWidth": 65
362 },
363 "widgets_values": [
364 426270906276990,
365 "randomize",
366 28,
367 1,
368 "lcm",
369 "normal",
370 1
371 ]
372 },
373 {
374 "id": 9,
375 "type": "SaveImage",
376 "pos": [
377 1260,
378 -140
379 ],
380 "size": [
381 570,
382 420
383 ],
384 "flags": [],
385 "order": 11,
386 "mode": 0,
387 "inputs": [
388 {
389 "name": "images",
390 "type": "IMAGE",
391 "link": 51
392 }
393 ],
394 "outputs": [],
395 "properties": {
396 "Node name for S&R": "SaveImage",
397 "cnr_id": "comfy-core",
398 "ver": "0.3.28",
399 "enableTabs": false,
400 "tabWidth": 65,
401 "tabXOffset": 10,
402 "hasSecondTab": false,
403 "secondTabText": "Send Back",
404 "secondTabOffset": 80,
405 "secondTabWidth": 65
406 },
407 "widgets_values": [
408 "ComfyUI"
409 ]
410 },
411 {
412 "id": 72,
413 "type": "MarkdownNote",
414 "pos": [
415 920,
416 390
417 ],
418 "size": [
419 320,
420 390
421 ],
422 "flags": [],
423 "order": 4,
424 "mode": 0,
425 "inputs": [],
426 "outputs": [],
427 "title": "KSampler Settings",
428 "properties": [],
429 "widgets_values": [
430 "## 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"
431 ],
432 "color": "#222",
433 "bgcolor": "#000"
434 },
435 {
436 "id": 40,
437 "type": "CLIPTextEncode",
438 "pos": [
439 530,
440 120
441 ],
442 "size": [
443 432,
444 192
445 ],
446 "flags": {
447 "collapsed": true
448 },
449 "order": 7,
450 "mode": 0,
451 "inputs": [
452 {
453 "name": "clip",
454 "type": "CLIP",
455 "link": 112
456 }
457 ],
458 "outputs": [
459 {
460 "name": "CONDITIONING",
461 "type": "CONDITIONING",
462 "slot_index": 0,
463 "links": [
464 114
465 ]
466 }
467 ],
468 "title": "Negative Prompt",
469 "properties": {
470 "Node name for S&R": "CLIPTextEncode",
471 "cnr_id": "comfy-core",
472 "ver": "0.3.28",
473 "enableTabs": false,
474 "tabWidth": 65,
475 "tabXOffset": 10,
476 "hasSecondTab": false,
477 "secondTabText": "Send Back",
478 "secondTabOffset": 80,
479 "secondTabWidth": 65
480 },
481 "widgets_values": [
482 "bad ugly jpeg artifacts"
483 ],
484 "color": "#322",
485 "bgcolor": "#533"
486 },
487 {
488 "id": 70,
489 "type": "ModelSamplingSD3",
490 "pos": [
491 920,
492 -140
493 ],
494 "size": [
495 210,
496 60
497 ],
498 "flags": [],
499 "order": 8,
500 "mode": 0,
501 "inputs": [
502 {
503 "name": "model",
504 "type": "MODEL",
505 "link": 166
506 }
507 ],
508 "outputs": [
509 {
510 "name": "MODEL",
511 "type": "MODEL",
512 "links": [
513 163
514 ]
515 }
516 ],
517 "properties": {
518 "Node name for S&R": "ModelSamplingSD3",
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 6.000000000000001
531 ]
532 },
533 {
534 "id": 81,
535 "type": "MarkdownNote",
536 "pos": [
537 -420,
538 -150
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 21,
561 16,
562 0,
563 3,
564 1,
565 "CONDITIONING"
566 ],
567 [
568 51,
569 8,
570 0,
571 9,
572 0,
573 "IMAGE"
574 ],
575 [
576 100,
577 53,
578 0,
579 3,
580 3,
581 "LATENT"
582 ],
583 [
584 107,
585 55,
586 0,
587 8,
588 1,
589 "VAE"
590 ],
591 [
592 111,
593 54,
594 0,
595 16,
596 0,
597 "CLIP"
598 ],
599 [
600 112,
601 54,
602 0,
603 40,
604 0,
605 "CLIP"
606 ],
607 [
608 114,
609 40,
610 0,
611 3,
612 2,
613 "CONDITIONING"
614 ],
615 [
616 160,
617 3,
618 0,
619 8,
620 0,
621 "LATENT"
622 ],
623 [
624 163,
625 70,
626 0,
627 3,
628 0,
629 "MODEL"
630 ],
631 [
632 166,
633 76,
634 0,
635 70,
636 0,
637 "MODEL"
638 ]
639 ],
640 "groups": [
641 {
642 "id": 1,
643 "title": "Step 1 - Load Models",
644 "bounding": [
645 110,
646 -180,
647 380,
648 520
649 ],
650 "color": "#3f789e",
651 "font_size": 24,
652 "flags": []
653 },
654 {
655 "id": 2,
656 "title": "Step 2 - Image size",
657 "bounding": [
658 110,
659 360,
660 380,
661 200
662 ],
663 "color": "#3f789e",
664 "font_size": 24,
665 "flags": []
666 },
667 {
668 "id": 3,
669 "title": "Step3 - Prompt",
670 "bounding": [
671 510,
672 -180,
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.33998058110189894,
685 "offset": [
686 850.7288880746062,
687 1086.9073331363259
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}