ComfyPilotComfyPilot
工作流 / 图像 / MOSS Simple Comfy Workflow (repost)
MOSS Simple Comfy Workflow (repost)

MOSS Simple Comfy Workflow (repost)

MOSS Simple Comfy Workflow (repost)

This is a most basic workflow for getting input and output from MOSS. I have not included LORA or upscaling or anything like that. But, if you want to understand the basic image generation process, here you go, extend fr…

图像 10 个节点 2 次使用 TheSmokingGPU 11 KB

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

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

需要的权重

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

MOSS_simple_workflow-exported.json 模型库暂未收录

节点构成

CLIPTextEncode × 2
UNETLoader × 1
CLIPLoader × 1
KSampler × 1
VAELoader × 1
EmptyFlux2LatentImage × 1
VAEDecode × 1
Image Save × 1
PreviewImage × 1

官方标注的模型

flux2-vae.safetensorsflux2-vae_small.safetensorsmossImage_sft_bf16.safetensorsmoss_image_base_int8_convrot.safetensorsqwen3.5_9b_w4a8_gptq.safetensors

工作流 JSON

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

1{
2 "id": "32667145-0f92-49ab-b90c-87a8738b85ce",
3 "revision": 0,
4 "last_node_id": 14,
5 "last_link_id": 11,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "UNETLoader",
10 "pos": [
11 0,
12 0
13 ],
14 "size": [
15 350,
16 90
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "MODEL",
25 "type": "MODEL",
26 "slot_index": 0,
27 "links": [
28 1
29 ]
30 }
31 ],
32 "properties": {
33 "Node name for S&R": "UNETLoader",
34 "models": [
35 {
36 "name": "moss_image_base_int8_convrot.safetensors",
37 "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/diffusion_models/moss_image_base_int8_convrot.safetensors",
38 "directory": "diffusion_models"
39 }
40 ]
41 },
42 "widgets_values": [
43 "mossImage_sft_bf16.safetensors",
44 "default"
45 ],
46 "widgets_values_named": {
47 "unet_name": "mossImage_sft_bf16.safetensors",
48 "weight_dtype": "default"
49 },
50 "color": "#223",
51 "bgcolor": "#335"
52 },
53 {
54 "id": 4,
55 "type": "CLIPTextEncode",
56 "pos": [
57 450,
58 0
59 ],
60 "size": [
61 450,
62 520
63 ],
64 "flags": [],
65 "order": 4,
66 "mode": 0,
67 "inputs": [
68 {
69 "name": "clip",
70 "type": "CLIP",
71 "link": 2
72 }
73 ],
74 "outputs": [
75 {
76 "name": "CONDITIONING",
77 "type": "CONDITIONING",
78 "slot_index": 0,
79 "links": [
80 4
81 ]
82 }
83 ],
84 "title": "Positive Prompt",
85 "properties": {
86 "Node name for S&R": "CLIPTextEncode"
87 },
88 "widgets_values": [
89 "an elegant portrait of johnny rotten, 70yo yelling into a microphone in a dark london punk club. wearing a black leather jacket and a Ramones Tshirt, his hair is up in a multicolored mohawk.\ndetailed, realistic."
90 ],
91 "widgets_values_named": {
92 "text": "an elegant portrait of johnny rotten, 70yo yelling into a microphone in a dark london punk club. wearing a black leather jacket and a Ramones Tshirt, his hair is up in a multicolored mohawk.\ndetailed, realistic."
93 },
94 "color": "#232",
95 "bgcolor": "#353"
96 },
97 {
98 "id": 2,
99 "type": "CLIPLoader",
100 "pos": [
101 0,
102 160
103 ],
104 "size": [
105 350,
106 140
107 ],
108 "flags": [],
109 "order": 1,
110 "mode": 0,
111 "inputs": [],
112 "outputs": [
113 {
114 "name": "CLIP",
115 "type": "CLIP",
116 "slot_index": 0,
117 "links": [
118 2,
119 3
120 ]
121 }
122 ],
123 "properties": {
124 "Node name for S&R": "CLIPLoader",
125 "models": [
126 {
127 "name": "qwen3.5_9b_w4a8_gptq.safetensors",
128 "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors",
129 "directory": "text_encoders"
130 }
131 ]
132 },
133 "widgets_values": [
134 "qwen3.5_9b_w4a8_gptq.safetensors",
135 "moss_image",
136 "default"
137 ],
138 "widgets_values_named": {
139 "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
140 "type": "moss_image",
141 "device": "default"
142 },
143 "color": "#432",
144 "bgcolor": "#653"
145 },
146 {
147 "id": 7,
148 "type": "KSampler",
149 "pos": [
150 963.3332824707031,
151 6.666660308837891
152 ],
153 "size": [
154 290,
155 290
156 ],
157 "flags": [],
158 "order": 6,
159 "mode": 0,
160 "inputs": [
161 {
162 "name": "model",
163 "type": "MODEL",
164 "link": 1
165 },
166 {
167 "name": "positive",
168 "type": "CONDITIONING",
169 "link": 4
170 },
171 {
172 "name": "negative",
173 "type": "CONDITIONING",
174 "link": 5
175 },
176 {
177 "name": "latent_image",
178 "type": "LATENT",
179 "link": 6
180 }
181 ],
182 "outputs": [
183 {
184 "name": "LATENT",
185 "type": "LATENT",
186 "slot_index": 0,
187 "links": [
188 7
189 ]
190 }
191 ],
192 "properties": {
193 "Node name for S&R": "KSampler"
194 },
195 "widgets_values": [
196 300896177676682,
197 "randomize",
198 30,
199 2.5,
200 "er_sde",
201 "simple",
202 1
203 ],
204 "widgets_values_named": {
205 "seed": 300896177676682,
206 "control_after_generate": "randomize",
207 "steps": 30,
208 "cfg": 2.5,
209 "sampler_name": "er_sde",
210 "scheduler": "simple",
211 "denoise": 1
212 }
213 },
214 {
215 "id": 3,
216 "type": "VAELoader",
217 "pos": [
218 0,
219 380
220 ],
221 "size": [
222 350,
223 60
224 ],
225 "flags": [],
226 "order": 2,
227 "mode": 0,
228 "inputs": [],
229 "outputs": [
230 {
231 "name": "VAE",
232 "type": "VAE",
233 "slot_index": 0,
234 "links": [
235 8
236 ]
237 }
238 ],
239 "properties": {
240 "Node name for S&R": "VAELoader",
241 "models": [
242 {
243 "name": "flux2-vae_small.safetensors",
244 "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/vae/flux2-vae_small.safetensors",
245 "directory": "vae"
246 }
247 ]
248 },
249 "widgets_values": [
250 "flux2-vae.safetensors"
251 ],
252 "widgets_values_named": {
253 "vae_name": "flux2-vae.safetensors"
254 },
255 "color": "#323",
256 "bgcolor": "#535"
257 },
258 {
259 "id": 6,
260 "type": "EmptyFlux2LatentImage",
261 "pos": [
262 460.83335876464844,
263 831.6666412353516
264 ],
265 "size": [
266 300,
267 120
268 ],
269 "flags": [],
270 "order": 3,
271 "mode": 0,
272 "inputs": [],
273 "outputs": [
274 {
275 "name": "LATENT",
276 "type": "LATENT",
277 "slot_index": 0,
278 "links": [
279 6
280 ]
281 }
282 ],
283 "properties": {
284 "Node name for S&R": "EmptyFlux2LatentImage"
285 },
286 "widgets_values": [
287 1024,
288 1024,
289 1
290 ],
291 "widgets_values_named": {
292 "width": 1024,
293 "height": 1024,
294 "batch_size": 1
295 },
296 "color": "#323",
297 "bgcolor": "#535"
298 },
299 {
300 "id": 5,
301 "type": "CLIPTextEncode",
302 "pos": [
303 447.5,
304 577.5
305 ],
306 "size": [
307 460,
308 180
309 ],
310 "flags": [],
311 "order": 5,
312 "mode": 0,
313 "inputs": [
314 {
315 "name": "clip",
316 "type": "CLIP",
317 "link": 3
318 }
319 ],
320 "outputs": [
321 {
322 "name": "CONDITIONING",
323 "type": "CONDITIONING",
324 "slot_index": 0,
325 "links": [
326 5
327 ]
328 }
329 ],
330 "title": "Negative Prompt (empty = reference default)",
331 "properties": {
332 "Node name for S&R": "CLIPTextEncode"
333 },
334 "widgets_values": [
335 "nsfw, worst quality, bad anatomy, watermark, jpeg artifact"
336 ],
337 "widgets_values_named": {
338 "text": "nsfw, worst quality, bad anatomy, watermark, jpeg artifact"
339 },
340 "color": "#223",
341 "bgcolor": "#335"
342 },
343 {
344 "id": 8,
345 "type": "VAEDecode",
346 "pos": [
347 1680.8332824707031,
348 4.166679382324219
349 ],
350 "size": [
351 230,
352 70
353 ],
354 "flags": [],
355 "order": 7,
356 "mode": 0,
357 "inputs": [
358 {
359 "name": "samples",
360 "type": "LATENT",
361 "link": 7
362 },
363 {
364 "name": "vae",
365 "type": "VAE",
366 "link": 8
367 }
368 ],
369 "outputs": [
370 {
371 "name": "IMAGE",
372 "type": "IMAGE",
373 "slot_index": 0,
374 "links": [
375 10
376 ]
377 }
378 ],
379 "properties": {
380 "Node name for S&R": "VAEDecode"
381 }
382 },
383 {
384 "id": 12,
385 "type": "Image Save",
386 "pos": [
387 1947.924057006836,
388 -1.2499809265136719
389 ],
390 "size": [
391 364.97920989990234,
392 754.0000915527344
393 ],
394 "flags": [],
395 "order": 8,
396 "mode": 0,
397 "inputs": [
398 {
399 "name": "images",
400 "type": "IMAGE",
401 "link": 10
402 }
403 ],
404 "outputs": [
405 {
406 "name": "images",
407 "type": "IMAGE",
408 "links": [
409 11
410 ]
411 },
412 {
413 "name": "files",
414 "type": "STRING",
415 "links": null
416 }
417 ],
418 "properties": {
419 "Node name for S&R": "Image Save"
420 },
421 "widgets_values": [
422 "d:\\comfyui_output\\[time(%Y\\%m\\%m-%d)]",
423 "moss",
424 "_",
425 4,
426 "false",
427 "png",
428 300,
429 100,
430 "true",
431 "false",
432 "false",
433 "false",
434 "true",
435 "true",
436 "false"
437 ],
438 "widgets_values_named": {
439 "output_path": "d:\\comfyui_output\\[time(%Y\\%m\\%m-%d)]",
440 "filename_prefix": "moss",
441 "filename_delimiter": "_",
442 "filename_number_padding": 4,
443 "filename_number_start": "false",
444 "extension": "png",
445 "dpi": 300,
446 "quality": 100,
447 "optimize_image": "true",
448 "lossless_webp": "false",
449 "overwrite_mode": "false",
450 "show_history": "false",
451 "show_history_by_prefix": "true",
452 "embed_workflow": "true",
453 "show_previews": "false"
454 }
455 },
456 {
457 "id": 13,
458 "type": "PreviewImage",
459 "pos": [
460 958.3333587646484,
461 343.7500762939453
462 ],
463 "size": [
464 954.9998474121094,
465 912.3334503173828
466 ],
467 "flags": [],
468 "order": 9,
469 "mode": 0,
470 "inputs": [
471 {
472 "name": "images",
473 "type": "IMAGE",
474 "link": 11
475 }
476 ],
477 "outputs": [
478 {
479 "name": "images",
480 "type": "IMAGE",
481 "links": null
482 }
483 ],
484 "properties": {
485 "Node name for S&R": "PreviewImage"
486 }
487 }
488 ],
489 "links": [
490 [
491 1,
492 1,
493 0,
494 7,
495 0,
496 "MODEL"
497 ],
498 [
499 2,
500 2,
501 0,
502 4,
503 0,
504 "CLIP"
505 ],
506 [
507 3,
508 2,
509 0,
510 5,
511 0,
512 "CLIP"
513 ],
514 [
515 4,
516 4,
517 0,
518 7,
519 1,
520 "CONDITIONING"
521 ],
522 [
523 5,
524 5,
525 0,
526 7,
527 2,
528 "CONDITIONING"
529 ],
530 [
531 6,
532 6,
533 0,
534 7,
535 3,
536 "LATENT"
537 ],
538 [
539 7,
540 7,
541 0,
542 8,
543 0,
544 "LATENT"
545 ],
546 [
547 8,
548 3,
549 0,
550 8,
551 1,
552 "VAE"
553 ],
554 [
555 10,
556 8,
557 0,
558 12,
559 0,
560 "IMAGE"
561 ],
562 [
563 11,
564 12,
565 0,
566 13,
567 0,
568 "IMAGE"
569 ]
570 ],
571 "groups": [],
572 "config": [],
573 "extra": {
574 "ds": {
575 "scale": 0.8,
576 "offset": [
577 120.83324432373047,
578 193.58338165283203
579 ]
580 },
581 "frontendVersion": "1.59.2",
582 "VHS_latentpreview": false,
583 "VHS_latentpreviewrate": 0,
584 "VHS_MetadataImage": true,
585 "VHS_KeepIntermediate": true
586 },
587 "version": 0.4
588}