JCMODEL commited on
Commit
9a8d180
·
verified ·
1 Parent(s): c3e929a

Add ready-to-import ComfyUI text-to-image workflow

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. workflows/moss-frame-v1.0-t2i.json +451 -0
README.md CHANGED
@@ -44,11 +44,11 @@ For mixed media, specify which elements should be drawn or photographic. For exa
44
 
45
  ## ComfyUI
46
 
47
- In the MOSS Image text-to-image workflow, select Moss-Frame as the diffusion model and load the text encoder and VAE separately.
48
 
49
- - Diffusion model · [`moss-frame-v1.0-int8-4step.safetensors`](https://huggingface.co/JCMODEL/Moss-Frame/resolve/main/moss-frame-v1.0-int8-4step.safetensors)
50
- - Text encoder · [`qwen3.5_9b_int8_convrot.safetensors`](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_int8_convrot.safetensors)
51
- - VAE · [`flux2-vae_small.safetensors`](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/vae/flux2-vae_small.safetensors)
52
 
53
  ## Recommended settings
54
 
 
44
 
45
  ## ComfyUI
46
 
47
+ Place the three files below in their ComfyUI model folders. Download the JSON and drag it into ComfyUI to load the preset text-to-image workflow. [Download the ComfyUI workflow](https://huggingface.co/JCMODEL/Moss-Frame/resolve/main/workflows/moss-frame-v1.0-t2i.json)
48
 
49
+ - Diffusion model in `models/diffusion_models/` · [`moss-frame-v1.0-int8-4step.safetensors`](https://huggingface.co/JCMODEL/Moss-Frame/resolve/main/moss-frame-v1.0-int8-4step.safetensors)
50
+ - Text encoder in `models/text_encoders/` · [`qwen3.5_9b_int8_convrot.safetensors`](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_int8_convrot.safetensors)
51
+ - VAE in `models/vae/` · [`flux2-vae_small.safetensors`](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4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id": 9,
3
+ "last_link_id": 9,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 40,
10
+ 70
11
+ ],
12
+ "size": [
13
+ 345,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "MODEL",
23
+ "type": "MODEL",
24
+ "links": [
25
+ 1
26
+ ]
27
+ }
28
+ ],
29
+ "properties": {
30
+ "Node name for S&R": "UNETLoader",
31
+ "models": [
32
+ {
33
+ "name": "moss-frame-v1.0-int8-4step.safetensors",
34
+ "url": "https://huggingface.co/JCMODEL/Moss-Frame/resolve/main/moss-frame-v1.0-int8-4step.safetensors",
35
+ "directory": "diffusion_models"
36
+ }
37
+ ]
38
+ },
39
+ "widgets_values": [
40
+ "moss-frame-v1.0-int8-4step.safetensors",
41
+ "default"
42
+ ]
43
+ },
44
+ {
45
+ "id": 2,
46
+ "type": "CLIPLoader",
47
+ "pos": [
48
+ 40,
49
+ 220
50
+ ],
51
+ "size": [
52
+ 345,
53
+ 110
54
+ ],
55
+ "flags": {},
56
+ "order": 1,
57
+ "mode": 0,
58
+ "inputs": [],
59
+ "outputs": [
60
+ {
61
+ "name": "CLIP",
62
+ "type": "CLIP",
63
+ "links": [
64
+ 2,
65
+ 3
66
+ ]
67
+ }
68
+ ],
69
+ "properties": {
70
+ "Node name for S&R": "CLIPLoader",
71
+ "models": [
72
+ {
73
+ "name": "qwen3.5_9b_int8_convrot.safetensors",
74
+ "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_int8_convrot.safetensors",
75
+ "directory": "text_encoders"
76
+ }
77
+ ]
78
+ },
79
+ "widgets_values": [
80
+ "qwen3.5_9b_int8_convrot.safetensors",
81
+ "moss_image",
82
+ "default"
83
+ ]
84
+ },
85
+ {
86
+ "id": 3,
87
+ "type": "VAELoader",
88
+ "pos": [
89
+ 40,
90
+ 530
91
+ ],
92
+ "size": [
93
+ 345,
94
+ 60
95
+ ],
96
+ "flags": {},
97
+ "order": 2,
98
+ "mode": 0,
99
+ "inputs": [],
100
+ "outputs": [
101
+ {
102
+ "name": "VAE",
103
+ "type": "VAE",
104
+ "links": [
105
+ 8
106
+ ]
107
+ }
108
+ ],
109
+ "properties": {
110
+ "Node name for S&R": "VAELoader",
111
+ "models": [
112
+ {
113
+ "name": "flux2-vae_small.safetensors",
114
+ "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/vae/flux2-vae_small.safetensors",
115
+ "directory": "vae"
116
+ }
117
+ ]
118
+ },
119
+ "widgets_values": [
120
+ "flux2-vae_small.safetensors"
121
+ ]
122
+ },
123
+ {
124
+ "id": 4,
125
+ "type": "CLIPTextEncode",
126
+ "pos": [
127
+ 435,
128
+ 70
129
+ ],
130
+ "size": [
131
+ 340,
132
+ 162
133
+ ],
134
+ "flags": {},
135
+ "order": 3,
136
+ "mode": 0,
137
+ "inputs": [
138
+ {
139
+ "name": "clip",
140
+ "type": "CLIP",
141
+ "link": 2
142
+ }
143
+ ],
144
+ "outputs": [
145
+ {
146
+ "name": "CONDITIONING",
147
+ "type": "CONDITIONING",
148
+ "links": [
149
+ 4
150
+ ]
151
+ }
152
+ ],
153
+ "properties": {
154
+ "Node name for S&R": "CLIPTextEncode"
155
+ },
156
+ "widgets_values": [
157
+ "A red bicycle beside a quiet canal at blue hour. Warm light from a corner bookshop reflects in the water, with a few distant windows glowing across the canal. Rendered as a 2D anime illustration with crisp line art, flat colors, and clear cel shading."
158
+ ],
159
+ "title": "Positive prompt"
160
+ },
161
+ {
162
+ "id": 5,
163
+ "type": "CLIPTextEncode",
164
+ "pos": [
165
+ 435,
166
+ 290
167
+ ],
168
+ "size": [
169
+ 340,
170
+ 105
171
+ ],
172
+ "flags": {},
173
+ "order": 4,
174
+ "mode": 0,
175
+ "inputs": [
176
+ {
177
+ "name": "clip",
178
+ "type": "CLIP",
179
+ "link": 3
180
+ }
181
+ ],
182
+ "outputs": [
183
+ {
184
+ "name": "CONDITIONING",
185
+ "type": "CONDITIONING",
186
+ "links": [
187
+ 5
188
+ ]
189
+ }
190
+ ],
191
+ "properties": {
192
+ "Node name for S&R": "CLIPTextEncode"
193
+ },
194
+ "widgets_values": [
195
+ ""
196
+ ],
197
+ "title": "Negative prompt"
198
+ },
199
+ {
200
+ "id": 6,
201
+ "type": "EmptyFlux2LatentImage",
202
+ "pos": [
203
+ 435,
204
+ 465
205
+ ],
206
+ "size": [
207
+ 340,
208
+ 110
209
+ ],
210
+ "flags": {},
211
+ "order": 5,
212
+ "mode": 0,
213
+ "inputs": [],
214
+ "outputs": [
215
+ {
216
+ "name": "LATENT",
217
+ "type": "LATENT",
218
+ "links": [
219
+ 6
220
+ ]
221
+ }
222
+ ],
223
+ "properties": {
224
+ "Node name for S&R": "EmptyFlux2LatentImage"
225
+ },
226
+ "widgets_values": [
227
+ 1024,
228
+ 1024,
229
+ 1
230
+ ]
231
+ },
232
+ {
233
+ "id": 7,
234
+ "type": "KSampler",
235
+ "pos": [
236
+ 830,
237
+ 70
238
+ ],
239
+ "size": [
240
+ 310,
241
+ 265
242
+ ],
243
+ "flags": {},
244
+ "order": 6,
245
+ "mode": 0,
246
+ "inputs": [
247
+ {
248
+ "name": "model",
249
+ "type": "MODEL",
250
+ "link": 1
251
+ },
252
+ {
253
+ "name": "positive",
254
+ "type": "CONDITIONING",
255
+ "link": 4
256
+ },
257
+ {
258
+ "name": "negative",
259
+ "type": "CONDITIONING",
260
+ "link": 5
261
+ },
262
+ {
263
+ "name": "latent_image",
264
+ "type": "LATENT",
265
+ "link": 6
266
+ }
267
+ ],
268
+ "outputs": [
269
+ {
270
+ "name": "LATENT",
271
+ "type": "LATENT",
272
+ "links": [
273
+ 7
274
+ ]
275
+ }
276
+ ],
277
+ "properties": {
278
+ "Node name for S&R": "KSampler"
279
+ },
280
+ "widgets_values": [
281
+ 71025,
282
+ "randomize",
283
+ 4,
284
+ 1.0,
285
+ "euler",
286
+ "simple",
287
+ 1.0
288
+ ]
289
+ },
290
+ {
291
+ "id": 8,
292
+ "type": "VAEDecode",
293
+ "pos": [
294
+ 830,
295
+ 535
296
+ ],
297
+ "size": [
298
+ 200,
299
+ 54
300
+ ],
301
+ "flags": {},
302
+ "order": 7,
303
+ "mode": 0,
304
+ "inputs": [
305
+ {
306
+ "name": "samples",
307
+ "type": "LATENT",
308
+ "link": 7
309
+ },
310
+ {
311
+ "name": "vae",
312
+ "type": "VAE",
313
+ "link": 8
314
+ }
315
+ ],
316
+ "outputs": [
317
+ {
318
+ "name": "IMAGE",
319
+ "type": "IMAGE",
320
+ "links": [
321
+ 9
322
+ ]
323
+ }
324
+ ],
325
+ "properties": {
326
+ "Node name for S&R": "VAEDecode"
327
+ }
328
+ },
329
+ {
330
+ "id": 9,
331
+ "type": "SaveImage",
332
+ "pos": [
333
+ 1195,
334
+ 70
335
+ ],
336
+ "size": [
337
+ 340,
338
+ 470
339
+ ],
340
+ "flags": {},
341
+ "order": 8,
342
+ "mode": 0,
343
+ "inputs": [
344
+ {
345
+ "name": "images",
346
+ "type": "IMAGE",
347
+ "link": 9
348
+ }
349
+ ],
350
+ "outputs": [
351
+ {
352
+ "name": "images",
353
+ "type": "IMAGE",
354
+ "links": null
355
+ }
356
+ ],
357
+ "properties": {
358
+ "Node name for S&R": "SaveImage"
359
+ },
360
+ "widgets_values": [
361
+ "Moss-Frame"
362
+ ]
363
+ }
364
+ ],
365
+ "links": [
366
+ [
367
+ 1,
368
+ 1,
369
+ 0,
370
+ 7,
371
+ 0,
372
+ "MODEL"
373
+ ],
374
+ [
375
+ 2,
376
+ 2,
377
+ 0,
378
+ 4,
379
+ 0,
380
+ "CLIP"
381
+ ],
382
+ [
383
+ 3,
384
+ 2,
385
+ 0,
386
+ 5,
387
+ 0,
388
+ "CLIP"
389
+ ],
390
+ [
391
+ 4,
392
+ 4,
393
+ 0,
394
+ 7,
395
+ 1,
396
+ "CONDITIONING"
397
+ ],
398
+ [
399
+ 5,
400
+ 5,
401
+ 0,
402
+ 7,
403
+ 2,
404
+ "CONDITIONING"
405
+ ],
406
+ [
407
+ 6,
408
+ 6,
409
+ 0,
410
+ 7,
411
+ 3,
412
+ "LATENT"
413
+ ],
414
+ [
415
+ 7,
416
+ 7,
417
+ 0,
418
+ 8,
419
+ 0,
420
+ "LATENT"
421
+ ],
422
+ [
423
+ 8,
424
+ 3,
425
+ 0,
426
+ 8,
427
+ 1,
428
+ "VAE"
429
+ ],
430
+ [
431
+ 9,
432
+ 8,
433
+ 0,
434
+ 9,
435
+ 0,
436
+ "IMAGE"
437
+ ]
438
+ ],
439
+ "groups": [],
440
+ "config": {},
441
+ "extra": {
442
+ "ds": {
443
+ "scale": 0.7,
444
+ "offset": [
445
+ 35,
446
+ 75
447
+ ]
448
+ }
449
+ },
450
+ "version": 0.4
451
+ }